@media (max-width: 768px) {
   .footer-producten ul li a { color: #666; }
}

@media (max-width: 768px) {
   .page-footer .footer-producten ul li a {
       color: #ffffff !important;
   }
}

@media (max-width:767px){
   .page-footer {
       background-color:#21314B !important;
       color:#ffffff !important;
   }
}

/* Container voor de icoontjes homepage usp*/
@media (max-width: 768px) {
    .icon-box {
        flex-direction: column;      /* Icoon boven tekst  */
        text-align: center;          /* Tekst centreren    */
        gap: 10px;
        margin-bottom: 30px;         /* ? extra ruimte onder elke box */
    }

    .icon-box i {
        font-size: 35px;
        margin-bottom: 8px;
    }

    .icon-box .title {
        font-size: 2.1rem;
    }

    .icon-box .text {
        font-size: 1.5rem;
    }
}

/* ===== Desktop styling montagepunten container ===== */
@media (max-width: 768px) {
  .step {
    flex-direction: column;  /* icoon boven tekst */
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px;
  }

  .step-icon {
    font-size: 2.5rem;       /* iets groter voor mobiel */
  }

  .step-content .step-title {
    font-size: 1.5rem;
  }

  .step-content .step-text {
    font-size: 1.15rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {  /* voor schermen kleiner dan 768px */
    #sorter {
        width: 90%;      /* kleiner dan desktop */
        max-width: 150px; /* optioneel: fixeer maximale breedte */
    }
}

@media (max-width: 768px) {
    .action.tocart.primary {
        width: 95% !important;           /* knop vult container */
        font-size: 1.1rem !important;     /* grotere tekst */
        padding: 14px 0 !important;       /* meer klikruimte */
        text-align: center !important;
        background-color: #21314B !important; /* normale kleur forceren */
        color: #ffffff !important;            /* tekst wit */
    }

    .action.tocart.primary:hover {
        background-color: #EF5B33 !important; /* hover kleur mobiel */
        color: #ffffff !important;
    }
}

@media (max-width: 768px) {
    .actions-secondary .action.tocompare,
    .action.tocompare {
        display: none !important;
    }
}

/* Mobiele styling voor .heading-balk zonder tekstgrootte aan te passen */
@media (max-width: 768px) {
  .heading-balk {
    font-weight: bold;
  }
}

@media (max-width: 768px) {
  .icon-box i.fa-solid {
    color: #EF5B33 !important;
  }
}

@media only screen and (max-width: 767px) {
    .brand-divider {
        display: none !important;
    }
}

@media (max-width: 768px) {
  .page-footer .footer-producten ul li {
    margin: 0 !important;
    padding: 3px 0 !important;     /* hier regel je verticale ruimte */
    line-height: 1.3 !important;   /* iets luchtiger tekst */
  }

  .page-footer .footer-producten ul li a {
    display: block !important;
    padding: 3px 0 !important;     /* idem */
    color: #ffffff !important;
    text-decoration: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .footer-social {
    display: flex !important;        /* voorkom overschrijving */
    flex-direction: row !important;  /* horizontaal */
    justify-content: center;         /* of flex-start, naar wens */
    gap: 1.5rem;                      /* kleinere tussenruimte */
  }

  .footer-social a i {
    font-size: 3.0rem !important;     /* kleinere iconen */
    color: #fff !important;           /* zelfde kleur als desktop */
  }

  .footer-social a:hover i {
    color: #EF5B33 !important;        /* zelfde hoverkleur als desktop */
  }
}

@media only screen and (max-width: 767px) {
  .step-icon {
    color: #EF5B33;      /* andere kleur op mobiel */
    font-size: 1.6rem;   /* evt. iets kleiner icoon */
  }
}

/* Mobile Responsive Design */

/* Mobile Responsive Design */

/* Energielabels - A to F with specific colors */
.product-attribute-item.energielabel.a {
    background-color: #016531;
    border-color: #016531;
    color: #ffffff;
}

.product-attribute-item.energielabel.b {
    background-color: #40a72c;
    border-color: #40a72c;
    color: #ffffff;
}

.product-attribute-item.energielabel.c {
    background-color: #9ac10f;
    border-color: #9ac10f;
    color: #ffffff;
}

.product-attribute-item.energielabel.d {
    background-color: #feed02;
    border-color: #feed02;
    color: #000000; /* Black text for better contrast on yellow */
}

.product-attribute-item.energielabel.e {
    background-color: #f19500;
    border-color: #f19500;
    color: #ffffff;
}

.product-attribute-item.energielabel.f {
    background-color: #e8501d;
    border-color: #e8501d;
    color: #ffffff;
}

/* Grip op glad wegdek */
.product-attribute-item.grip-op-glad-wegdek {
    background-color: #4ba6dd;
    border-color: #4ba6dd;
    color: #ffffff;
}

/* Externe rolgeluid auto db */
.product-attribute-item.externe-rolgeluid-auto-db {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    max-width: 2.25cm;
    padding: 2px 5px;
    width: auto;
}

@media (max-width: 768px) {
    .product-attributes {
        gap: 8px;
    }
    
    .product-attribute-item {
        font-size: 12px;
        padding: 6px 10px;
        border-width: 2px;
        min-height: 30px;
        border-radius: 4px;
    }
    
    .product-attribute-item .attribute-icon {
        margin-right: 6px;
        font-size: 14px;
    }
    
    .product-attribute-item .attribute-icon i {
        font-size: 14px;
    }
    
    /* Mobile: Better alignment for first 3 attributes */
    .product-attributes-row:first-child .product-attribute-item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 60px;
        flex: 0 0 auto;
    }
    
    /* Mobile: Keep first 3 attributes horizontal, stack others vertically */
    .product-attributes-row:first-child {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        margin-bottom: 12px;
    }
    
    .product-attributes-row.second-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    /* Mobile: Larger attribute items */
    .product-attribute-item {
        font-size: 14px;
        padding: 8px 12px;
        min-height: 35px;
        border-width: 3px;
    }
    
    /* Mobile: Larger icons */
    .product-attribute-item .attribute-icon {
        margin-right: 8px;
        font-size: 18px;
    }
    
    .product-attribute-item .attribute-icon i {
        font-size: 18px;
    }
    
    .product-attribute-item.voertuigtype .attribute-icon {
        width: 25px;
        height: 25px;
    }
    
    /* Mobile: Larger headings */
    .voertuigtype-container h4,
    .extra-info-container h4 {
        font-size: 16px;
        margin: 0 0 8px 0;
        font-weight: bold;
    }
    
    /* Mobile: Larger voertuigtype and extra informatie text */
    .product-attribute-item.voertuigtype,
    .product-attribute-item.extra-informatie {
        font-size: 16px;
        padding: 10px 15px;
        min-height: 40px;
    }
    
    /* Mobile: Adjust externe rolgeluid for smaller screens */
    .product-attribute-item.externe-rolgeluid-auto-db {
        width: auto;
        min-width: 60px;
        padding: 6px 10px;
        font-size: 12px;
        min-height: 30px;
        border-width: 2px;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    .product-attributes {
        gap: 6px;
    }
    
    .product-attributes-row:first-child {
        gap: 6px;
    }
    
    .product-attribute-item {
        font-size: 10px;
        padding: 4px 8px;
        min-height: 26px;
        border-width: 2px;
        border-radius: 3px;
    }
    
    .product-attribute-item .attribute-icon {
        margin-right: 4px;
        font-size: 12px;
    }
    
    .product-attribute-item .attribute-icon i {
        font-size: 12px;
    }
    
    /* Extra small mobile: Better alignment for first 3 attributes */
    .product-attributes-row:first-child .product-attribute-item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        flex: 0 0 auto;
    }
    
    .product-attribute-item.voertuigtype .attribute-icon {
        width: 20px;
        height: 20px;
    }
    
    .voertuigtype-container h4,
    .extra-info-container h4 {
        font-size: 14px;
        margin: 0 0 6px 0;
        font-weight: bold;
    }
    
    /* Extra small mobile: Larger voertuigtype and extra informatie text */
    .product-attribute-item.voertuigtype,
    .product-attribute-item.extra-informatie {
        font-size: 14px;
        padding: 8px 12px;
        min-height: 35px;
    }
    
    .product-attribute-item.externe-rolgeluid-auto-db {
        width: auto;
        min-width: 50px;
        padding: 4px 8px;
        font-size: 10px;
        min-height: 26px;
        border-width: 2px;
    }
}

/* Hover effects */
.product-attribute-item:hover {
    opacity: 0.8;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Ensure Font Awesome icons are properly aligned */
.fas {
    vertical-align: middle;
}

/* Mobile quantity field styling */
@media (max-width: 768px) {
    .product-item-actions .field.qty {
        margin-right: 8px;
    }
    
    .product-item-actions .field.qty .label {
        font-size: 11px;
    }
    
    .product-item-actions .select.qty {
        width: 50px;
        padding: 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-item-actions .field.qty {
        margin-right: 6px;
    }
    
    .product-item-actions .field.qty .label {
        font-size: 10px;
    }
    
    .product-item-actions .select.qty {
        width: 45px;
        padding: 3px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
  .features {
    --card-border: #e6e8ec;
    --card-bg: #fff;
    --text: #0f172a;
    --muted: #475569;
    --accent: #16a34a;
  }

.features-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;           /* vult altijd de container */
  max-width: 100%;       /* voorkomt dat het blok breder wordt dan scherm */
  box-sizing: border-box; /* telt padding en border bij de breedte */
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

  .features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
  }

  .features-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
    color: var(--muted);
    font-size: 15px;
  }

  .features-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
  }

  .features-item:hover {
    color: var(--text);
  }

  .custom-block-below-addtocart > * + * {
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  .reviews-actions .action.add {
    font-size: 13px;       /* iets groter */
    border-radius: 8px;    /* ronder oogt vriendelijker */
  }
}
