/*
Theme Name:   Envo eCommerce Clima
Theme URI:    https://example.com/envo-ecommerce-clima
Description:  A custom child theme for Envo Ecommerce.
Author:       Your Name
Author URI:   https://example.com
Template:     envo-ecommerce
Version:      1.0.0
*/

/* Import the parent theme's style.css */
@import url("../envo-ecommerce/style.css");

html body{
    line-height: 1.5;
}

input[type="number"] {
    -webkit-appearance: textfield; /* Removes default WebKit styling */
    -moz-appearance: textfield; /* Removes default Firefox styling */
    appearance: textfield; /* Standard property */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button; /* Ensures arrows are visible */
    opacity: 1; /* Keeps arrows fully visible at all times */
    display: block; /* Ensures visibility */
}

input[type="number"]::-moz-number-spin-box {
    -moz-appearance: spin-button; /* Ensures arrows in Firefox */
}

.site-header .site-branding-logo img{
    width: calc((200px / 240) * 202);
}

.footer-main .footer-content .footer-item-image{
    max-width: calc((170px / 240) * 202);
}

.main-menu #site-navigation{
    border-top: none;
}

.offcanvas-header{
    padding-top: 32px !important;
}

.cookie-consent{
    border-radius: 4px;
}

.klantenservice a:hover{
    text-decoration: underline;
    color: #0090e3;
    transition: all 0.3s;
}

.klantenservice .entry-content .cn-revoke-inline{
    display: inline-block;
    margin-bottom: 16px;
    color: #fff;
    text-decoration: none;
}

.klantenservice .entry-content .cn-revoke-inline:hover{
    background-color: #22a523 !important;
}

.wp-block-button__link{
    padding: 8.5px 10px;
}

.wp-block-button__link:hover{
    text-decoration: none !important;
    background-color: #22a523 !important;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#cookie-notice .cn-button{
    font-weight: 400;
    border: 0;
}

button#cn-refuse-cookie{
    background-color: #fbfbfb !important;
    color: #000;
}

button#cn-more-info{
    background-color: #6c757d !important;
    background-color: #fbfbfb !important;
    color: #000;
}

.woocommerce div.product .product-item-bottom .product-item-bottom-footer form.cart .single_add_to_cart_button{
    height: 40px;
    border: 0;
    background-color: #70cc0a;
}

.cart .button span.bestellen-text{    
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    color: #fff;
    margin-left: 7px;
    vertical-align: middle;
    outline: none;
}

.navbar-collapse.show, .navbar-collapse{
    width: 100%;
}

.navbar-header .menu-item .dropdown-item:hover{
    color: #ff6600;
    color: #fff;
}

.navbar-nav .dropdown-menu{
    padding: 0;
    border: 0;
}

.navbar-header .navbar-nav > li > a{
    font-weight: 400;
    text-transform: unset;
}

.navbar-header .navbar-nav .dropdown-menu > li > a, .navbar-header .navbar-nav .dropdown-menu > li > a:hover{
    font-size: 16px;
    font-weight: 400;
}

.navbar-header .navbar-nav .dropdown-menu > .active > a.dropdown-item, .navbar-header .navbar-nav .dropdown-menu > .active > a.dropdown-item:hover, .navbar-header .navbar-nav .dropdown-menu > .active > a.dropdown-item:focus{
    color: #fff;
}

.navbar .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    top: 100% !important;
    margin-top: 0.5rem;
}

.product-item-grid h2.woocommerce-loop-product__title{
    font-size: 14px;
    font-weight: 400;
}

.variations .value select{
    appearance: none; /* Remove default styles (use -webkit-appearance for Safari) */
    -webkit-appearance: none;
    background-color: #0090e3;
    background-color: #efefef;
    color: #fff;
    color: #000;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    height: 50px;
    cursor: pointer;
    vertical-align: middle;
    outline: none;
}

/* Add a custom arrow for the dropdown */
.variations .value select:after {
    content: "▼";
    position: absolute;
    right: 10px;
    pointer-events: none;
}

.variations .value select option {
    background-color: #0090e3;
    background-color: #efefef;
    color: #fff;
    color: #000;
    font-size: 15px;
    padding: 10px;
}

.product .summary .woocommerce-cart-wrapper form.cart .single_add_to_cart_button{
    border: 0;
    background-color: #70cc0a;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.woocommerce div.product .summary form.cart .variations td.label{
    vertical-align: middle;
    padding: 0;
}

.woocommerce div.product .summary form.cart .variations td.label label{
    line-height: 2;
}

.woocommerce div.product .summary form.cart .variations td.value{
    vertical-align: middle;
    padding: 0;
}

.woocommerce .main-container div.product form.cart .variations label{    
    font-weight: 600;
}

.woocommerce div.product .summary form.cart .single_add_to_cart_button.button:hover{
    background-color: #00b900 !important;
}

#sidebar button#toggleFilters{
    border-radius: 4px;
    height: unset;
    padding: 8px 30px;
}

#filtersDiv .bapf_body .bapf_reset{
    background-color: #ff6600;
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: unset;
    border-radius: 4px;
}

#sidebar .bapf_head h3{
    font-size: 15px;
    font-weight: 400;
}
#sidebar .bapf_body{
    max-height: 300px;
}
#sidebar .bapf_body ul li{
    font-size: 15px;
}

#content #breadcrumbs{
    margin-bottom: 10px;
    margin-bottom: 18px;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .wc-forward{
    color: #0242a3;
    background-color: transparent;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .wc-forward:hover{
    text-decoration: underline;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .checkout{
    color: #fff;
    background-color: #70cc0a;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .checkout:hover{
    background-color: #00b900;
    text-decoration: none;
}

.verder-winkelen-cart a{
    color: #0242a3;
}

.woocommerce table.shop_table tfoot td{
    font-weight: 400;
    text-align: right;
}

.woocommerce table.shop_table th.product-total{
    text-align: right;
}

.woocommerce table.shop_table td.product-total{
    text-align: right;
}

.woocommerce #shipping_method li label{
    font-weight: 400;
}

.woocommerce .cart_totals .shop_table tbody .order-total td, .woocommerce .shop_table tfoot .order-total td{
    font-weight: 600;
}

#content .entry-header-page{
    margin-bottom: 8px;
}
#content .entry-header-page h1{
    font-size: 17px;
    line-height: 26px;
    color: #777;
}

.hidden{display: none !important;}

.card-wrapper{
    background-color: #fff;
    border: 1px solid #bcbcbc;
    border-radius: 0.5rem;
}

.content-wrapper{
    display: flex;
    position: relative;
    height: 100%;
    min-height: 92px;
    transition: all var(--cb-motion-duration-base) var(--cb-motion-easing-ease-in-out);
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.content-wrapper .title-block{
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.content-wrapper .image-block{
    height: 100%;
    width: 100%;
    aspect-ratio: 3/2;
    position: relative;
    padding: 0;
}

.image-block-container{
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-block-outer{
    width: 100%;
    height: 100%;
}

.image-block-container .image-block-outer img{
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: auto;
    object-fit: cover;
}

/*
* Card testing home
*/
.product-cat-cards a{
    text-decoration: none;
}
.card:hover{
    border-color: #bcbcbc;
}
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.spacer {
  flex-grow: 1;
}
.image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.category-card {
    /* Stap 1: De Ratio */
    aspect-ratio: 1 / 1.14;
    width: 100%;
    height: auto !important; /* Forceert ratio boven Bootstrap height klassen */
    display: flex;
    flex-direction: column;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}

.category-card .title {
    flex: 0 0 auto; /* Neemt alleen de ruimte in die nodig is voor de tekst */
    padding: 15px 10px;
    padding: 0;
    z-index: 2;
}

.category-card .card-span-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

/* Stap 2: De Afbeelding centreren in de overgebleven ruimte */
.category-card .image {
    flex-grow: 1; /* Claimt alle resterende verticale ruimte onder de titel */
    display: flex;
    justify-content: center; /* Horizontaal centreren */
    align-items: center;     /* Verticaal centreren binnen beschikbare ruimte */
    padding: 5px;           /* Voorkomt dat afbeelding de randen raakt */
    background-color: #fff;
}

.category-card .image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Behoudt verhouding van de afbeelding zelf */
}

.col-xl-3.col-lg-4.col-md-4.col-6, .col-lg-3.col-md-4.col-6{
    margin-bottom: 16px;
}

.card.flex-column{
    border-radius: 4px;
}   
.card-span-title{
    font-size: 15px;
    font-weight: 600;
    padding: 5px 10px;
}
/*
* End Card testing home
*/  

.products .product span.onsale{
    padding: .25em .65em;
    top: 2em;
    left: 2em;
    top: 2em;
    left: 3em;
    font-size: 14px;
}

.products .product-shop-page{
    border-radius: 4px;

}

#content .page-area{
    padding-top: 10px;
    padding-top: 30px;
    padding-top: 20px;
}

#the-order-review{
    width: 50%;
    float: right;
}

.checkout #order_review #payment .place-order{
    padding: 1.75rem;
}

.woocommerce #breadcrumbs > span > span > a {
    color: #0242a3 !important;
}

#breadcrumbs .breadcrumb_last{
    color: #0090e3 !important;
}

#payment .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text{
    font-size: 14px;
}

#payment .place-order .validate-required{
    padding: 0;
}

#payment li.payment_method_mollie_wc_gateway_ideal label{
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

#payment li.payment_method_mollie_wc_gateway_ideal label img{
    display: block;
}

#the-order-review #order_review .shop_table thead .product-quantity, .woocommerce-order .woocommerce-order-details .order_details thead .product-quantity{
    text-align: center;
}

#the-order-review #order_review .shop_table tbody .product-quantity, .woocommerce-order .woocommerce-order-details .order_details tbody .product-quantity{
    text-align: center;
}

.woocommerce-order-details__title{
    font-size: 18px;
    margin-bottom: 8px;
}

.order-confirmation-email{
    margin-bottom: 32px;
}

.woocommerce .woocommerce-shipping-totals ul#shipping_method{
    display: inline-block;
    text-align: right;
    width: 100%;
    padding: 0;
    margin: 0;
}

.woocommerce .woocommerce-shipping-totals ul#shipping_method li{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.woocommerce .cart-collaterals .woocommerce-shipping-totals ul#shipping_method li{
    justify-content: flex-start;
}

.woocommerce ul#shipping_method li input{
    margin: 0 10px 0 0;
}

.product-item-grid .product-shop-page{
    margin-bottom: 16px;
    border-radius: 4px;
}

.woocommerce .product-item-grid .product-item-bottom{
    height: 100%;
}

.product-info h2.woocommerce-loop-product__title{
    font-weight: 400;
}

.gerelateerde-producten .product-shop-page .product-item-bottom{
    padding: 12px;
}

.gerelateerde-producten .product-shop-page .product-item-bottom .prices{
    padding: 0 8px 8px 8px;
}

.gerelateerde-producten .product-item-bottom form.cart .quantity, .gerelateerde-producten .product-item-bottom form.cart .single_add_to_cart_button{
    float: left;
}
.gerelateerde-producten .product-item-bottom form.cart .single_add_to_cart_button{
    background-color: #70cc0a;
}

.section-title{
    font-size: 16px;
    margin-bottom: 8px;
}

.mb-18{
    margin-bottom: 18px;
}
.mb-20{
    margin-bottom: 20px;
}

.offcanvas-body .bapf_sfilter{
    margin-bottom: 20px;
}

.btn-filters{
    background-color: #ff6600;
    border-color: #ff6600;
    color: #fff;
    cursor: pointer;
    display: block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: top;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.160rem 0.300rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s 
        ease-in-out, background-color 0.15s 
        ease-in-out, border-color 0.15s 
        ease-in-out, box-shadow 0.15s 
        ease-in-out;
    min-width: 140px;
    height: 45px;
}

.woocommerce .summary .prices-sale .prijs, .summary .prices-regular .prijs{display: inline-block; color: #ff6600; font-weight: 700;}
.woocommerce .product-shop-page .product-item-bottom .prices, .product-item, .item-content-bottom .prices{color: #ff6600;}
.woocommerce .summary .prices-sale .prijs, .woocommerce .summary .prices-regular .prijs{color: #ff6600;}

.woocommerce .product table.shop_attributes td{
    font-style: normal;
}

.woocommerce .product table.shop_attributes th{
    width: 60% !important;
}

header.entry-header h1{
    font-weight: 600;
}

th.spec-heading{
    text-align: center;
}

/* Outcommented op 12-01-26
.product-card {
    height: 100%;
}

.product-card__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    background-color: #fff;
}

.product-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-card__media {
    position: relative;
    border-bottom: 1px solid #bcbcbc;
}

.product-card__media img{
    display: block;
    width: 100%;
    height: auto;
}

.product-card__body {
    padding: 0.75rem;
    flex-grow: 1;
}

.product-card__footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.75rem;
    margin-top: auto;
}

.product-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background-color: #e2e8f0;
    min-height: 80px;
}
*/

/* ==========================================================================
   PRODUCT CARD - ORIGINELE BASIS MET MOBIELE TWEAK (Foto Rechts)
   ========================================================================== */

.product-card {
    height: 100%;
    margin-bottom: 1rem;
}

.product-card__inner {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
}

.product-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/*
.product-card__body h2 {
    Basis voor mobiel (< 576px) 
    font-size: 15px;
    font-weight: 600; 
    line-height: 1.2;
    margin-bottom: 5px;
    color: #333; Zorg voor hoog contrast 
}*/

.product-card__title {
    /* Reset */
    all: unset; 
    display: block;
    
    /* Styling op basis van advies */
    font-family: inherit;
    font-weight: 600;    /* Semi-bold voor hiërarchie */
    color: #333;
    margin-bottom: 0px;

    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maximaal 3 regels zichtbaar */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    /* Hoogte berekening: line-height * aantal regels */
    line-height: 1.3; 
    min-height: 3.9em; /* 1.3 * 3 regels = 3.9em */
}

@media (min-width: 576px) {
    .product-card__title {
        font-size: 16px; 
        text-align: center;
    }
}

/* --- SPECIFIEK VOOR MOBIEL (< 576px) --- */
@media (max-width: 575px) {
    .product-card__inner {
        flex-wrap: wrap; /* Zorgt dat de footer naar de volgende regel gaat */
    }

    .product-card__body {
        order: 2;
        flex: 0 0 60%; /* Titel krijgt 65% breedte */
        max-width: 60%;
        padding: 0.75rem;
    }

    .product-card__title {
        font-size: 15px;
        line-height: 20px; /* Vaste hoogte per regel */
        min-height: 60px;  /* 3 regels x 20px = exact 60px */
        text-align: left;
    }

    .product-card__media {
        order: 1;
        flex: 0 0 40%; /* Foto krijgt 35% breedte */
        max-width: 40%;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-card__media img {
        width: 100%;
        height: auto;
        object-fit: contain;
        padding: 5px;
    }

    .product-card__footer {
        order: 3;
        flex: 0 0 100%; /* Footer over de hele breedte onder de foto/titel */
        max-width: 100%;
        padding: 0 0.75rem 0.75rem 0.75rem;
    }

    .product-card__actions {
        flex-direction: row; /* Zet prijs/knop naast elkaar zoals op je foto */
        justify-content: space-between;
        padding: 0.5rem 0.75rem;
        background-color: #f1f5f9;
    }
}

/* --- JOUW ORIGINELE DESKTOP CSS (Vanaf 576px) --- */
@media (min-width: 576px) {
    .product-card__inner {
        flex-direction: column;
    }

    .product-card__media {
        position: relative;
        border-bottom: 1px solid #bcbcbc;
        flex: 0 0 auto;
        max-width: 100%;
    }

    .product-card__media img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: contain;
        padding: 10px;
    }

    .product-card__body {
        padding: 0.75rem;
        padding-bottom: 0;
        flex-grow: 1;
        text-align: center;
    }

    .product-card__title {
        font-size: 15px;
        line-height: 22px; /* Iets meer ruimte voor de grotere letter */
        min-height: 66px;  /* 3 regels x 22px = exact 66px */
        text-align: center;
    }

    /*
    .product-card__body h2 {
        font-size: 16px;
        min-height: 40px;
    }*/

    .product-card__footer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0.75rem;
        padding-top: 0;
        margin-top: auto;
    }

    .product-card__actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        background-color: #f1f5f9;
        min-height: 80px;
        border-radius: 4px;
    }
}

/* Stock tekst */
.product-card__actions .stock {
    width: 100%;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-card__inner .product-card__footer .product-card__actions p.stock{
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    margin: 0;
    margin-bottom: 8px;
}

.product-card__inner .product-card__footer .product-card__actions p.stock.in-stock{
    color: #00b900;
}

.product-card__actions .stock::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.product-card__actions .stock.in-stock::before {
    background-color: #00b900;
}

.product-card__actions .stock.out-of-stock::before {
    background-color: #d63638; /* WC-rood */
}

.product-card__actions,
.product-card__actions * {
    max-width: 100%;
    box-sizing: border-box;
}

.product .product-card__inner .product-card__actions form.cart {
    width: 100%;
    margin-top: auto;
    padding-top: 3.5px;
}

.product-card__actions .add_to_cart_button {
    position: static;
}

.product-card__actions .quantity,
.product-card__actions button {
    float: none;
}

.product-card__footer {
    margin-top: auto;
    min-height: 90px; /* hier wel OK */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    white-space: nowrap;
}

.product-card__footer .product-pricing{
    padding: 0.25rem 0.5rem;
    max-width: 100%;
    display: block;
    overflow: hidden;
    word-wrap: break-word;
}

.product-card__footer .product-card__actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.product-price-current {
    color: #ff6600;
    font-weight: 600;
}

.product-price-tax {
    color: #718096;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

.product-price-old {
    color: #718096;
    text-decoration: line-through;
    font-size: 0.875rem;
}

.product-price-tax {
    color: #718096;        /* grijs */
    font-size: 0.75rem;    /* subtiel kleiner */
    font-weight: 400;
    margin-left: 0.25rem;
}

.product-card__inner .product-pricing .product-price-old {
    font-size: 0.875rem;        /* 14px ongeveer */
    color: #718096;
    text-decoration: line-through;
    margin-right: 5px;
}

.product-card__inner .product-pricing .product-price-current {
    font-size: 16px;            /* iets kleiner dan single-product */
    font-weight: 700;
    color: #ff6600;
}

.product .summary .product-pricing .product-price-old {
    font-size: 15px;            /* oude prijs iets kleiner */
    color: #718096;
    text-decoration: line-through;
}

.product .summary .product-pricing .product-price-current {
    font-size: 20px;            /* huidige prijs groter */
    font-weight: 700;
    color: #ff6600;
}

.product-pricing .product-price-tax {
    color: #718096;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

.summary ul.ul-summary-footer{
    margin: 1rem 0rem;
}

.summary ul.ul-summary-footer li{
    font-size: 13px;
    line-height: 1.6;
}

/* Forceer kleur voor onze custom levertijd status */
.custom-levertijd-style, 
.available-on-backorder, .product-card__footer .product-card__actions .stock.available-on-backorder{
    color: #e67e22; /* Oranje (signaal voor levertijd) */
    color: #ff6600;
}
.product .available-on-backorder.stock.custom-levertijd-style::before {
    background-color: #e67e22; /* Voor het bolletje als je thema ::before gebruikt */
    background-color: #ff6600;
}

.product .summary .woocommerce-cart-wrapper .available-on-backorder.stock{
    color: #ff6600;
}

.woocommerce .product span.onsale{
    background-color: #ff6600;
}

.header-search-form input.header-search-input{
    font-size: 16px;
}

section.similar-products, section.customers-also-bought{
    clear: both;
}

.woocommerce-tabs{
    margin-bottom: 16px;
}

/* De container voor de beschrijving */
.woocommerce-Tabs-panel--description {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease-in-out;
    /* Scroll margin voor sticky header compensatie */
    scroll-margin-top: 120px; 
}

/* De subtiele witte vervaging onderaan */
.woocommerce-Tabs-panel--description.is-truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

/* Staat van de container wanneer uitgeklapt */
.woocommerce-Tabs-panel--description.is-expanded {
    max-height: 10000px; /* Ruim genoeg voor lange teksten */
}

/* Read more/less knop - ALLEEN voor description tabblad */
#woo-read-more-btn {
    appearance: none;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 25px;
    transition: all 0.3s ease;
    min-height: 42px;
    cursor: pointer;
    display: inline-flex;
}

#woo-read-more-btn i {
    transition: transform 0.3s ease;
}

/* Hover effect */
#woo-read-more-btn:hover {
    background-color: #000;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Focus state voor toegankelijkheid */
#woo-read-more-btn:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Read More/Less Button - Custom Styling */
#woo-read-more-btn {
    background-color: #0090e3 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 30px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 144, 227, 0.2);
    max-height: 50px;
    height: 50px;
    line-height: 1.2;
}

#woo-read-more-btn span{
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
}


/* WooCommerce Tabs Container */
.woocommerce-tabs {
    margin-top: 50px;
}

/* Tabs lijst styling met horizontale scroll */
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs .tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    gap: 40px;
    flex-wrap: nowrap; /* Voorkom wrapping */
    overflow-x: auto; /* Horizontale scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling op iOS */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #e5e5e5 transparent; /* Firefox */

    /* BELANGRIJK voor touch scroll */
    touch-action: pan-x pan-y; /* Sta horizontaal EN verticaal pannen toe */
    overscroll-behavior-x: contain; /* Voorkom bounce effect */
    scroll-snap-type: none; /* Geen snap points */
}

/* Webkit scrollbar styling (Chrome, Safari, Edge) */
.woocommerce-tabs .wc-tabs::-webkit-scrollbar,
.woocommerce-tabs .tabs::-webkit-scrollbar {
    height: 4px;
}

.woocommerce-tabs .wc-tabs::-webkit-scrollbar-track,
.woocommerce-tabs .tabs::-webkit-scrollbar-track {
    background: transparent;
}

.woocommerce-tabs .wc-tabs::-webkit-scrollbar-thumb,
.woocommerce-tabs .tabs::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 2px;
}

.woocommerce-tabs .wc-tabs::-webkit-scrollbar-thumb:hover,
.woocommerce-tabs .tabs::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

/* Individuele tab items */
.woocommerce-tabs .wc-tabs li,
.woocommerce-tabs .tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    position: relative;
    flex-shrink: 0; /* Voorkom dat tabs krimpen */
    white-space: nowrap; /* Voorkom text wrapping */
}

/* WooCommerce Tabs Container */
.woocommerce-tabs {
    margin-top: 50px;
}

/* Tabs lijst styling met horizontale scroll */
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs .tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    overflow-x: auto; /* Dit maakt handmatig scrollen mogelijk */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling op mobiel */
    padding-bottom: 10px;
    cursor: grab; /* Geeft aan dat je kunt slepen */
}

/* Cursor veranderen tijdens slepen (optioneel) */
.woocommerce-tabs .wc-tabs:active,
.woocommerce-tabs .tabs:active {
    cursor: grabbing;
}

/* Firefox scrollbar - altijd zichtbaar WANNEER NODIG */
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs .tabs {
    scrollbar-width: auto;
    scrollbar-color: #d1d1d1 #f5f5f5;
}

/* Chrome/Safari/Edge scrollbar */
.woocommerce-tabs .wc-tabs::-webkit-scrollbar,
.woocommerce-tabs .tabs::-webkit-scrollbar {
    height: 10px;
}

.woocommerce-tabs .wc-tabs::-webkit-scrollbar-track,
.woocommerce-tabs .tabs::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 5px;
    margin: 0 10px;
}

.woocommerce-tabs .wc-tabs::-webkit-scrollbar-thumb,
.woocommerce-tabs .tabs::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 5px;
    border: 2px solid #f5f5f5;
}

.woocommerce-tabs .wc-tabs::-webkit-scrollbar-thumb:hover,
.woocommerce-tabs .tabs::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

/* Extra ruimte na scrollbar */
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs .tabs {
    margin-bottom: 25px;
}

/* Individuele tab items */
.woocommerce-tabs .wc-tabs li,
.woocommerce-tabs .tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Tab links */
.woocommerce-tabs .wc-tabs li a,
.woocommerce-tabs .tabs li a {
    display: inline-block;
    padding: 0 0 15px 0;
    color: #6c757d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: none;
    background: none;
    transition: color 0.3s ease;
    position: relative;
}

/* Hover effect */
.woocommerce-tabs .wc-tabs li a:hover,
.woocommerce-tabs .tabs li a:hover {
    color: #212529;
}

/* Active tab styling */
.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .tabs li.active a {
    color: #212529;
    font-weight: 600;
}

/* Onderstreping voor actieve tab */
.woocommerce-tabs .wc-tabs li.active a::after,
.woocommerce-tabs .tabs li.active a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0090e3;
}

/* Tab panels */
.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 30px 0;
}

/* Panel headings (h2) */
.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-tabs .wc-tabs,
    .woocommerce-tabs .tabs {
        gap: 25px;
    }
    
    .woocommerce-tabs .wc-tabs li a,
    .woocommerce-tabs .tabs li a {
        font-size: 15px;
    }
}

/* Description panel specifiek */
.woocommerce-Tabs-panel--description {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease-in-out;
    scroll-margin-top: 120px; 
}

.woocommerce-Tabs-panel--description.is-truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.woocommerce-Tabs-panel--description.is-expanded {
    max-height: 10000px;
}

.woocommerce-Tabs-panel--description.is-expanded::after {
    display: none;
}

/* Read More/Less Button */
#woo-read-more-btn {
    background-color: #0090e3 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px;
    padding: 10px 30px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 144, 227, 0.2);
    max-height: 50px;
    height: 50px;
    line-height: 1.2;
    min-width: 160px;
}

#woo-read-more-btn span {
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
    #woo-read-more-btn:hover {
        background-color: #00a8ff !important;
        box-shadow: 0 4px 12px rgba(0, 144, 227, 0.4);
    }
}

#woo-read-more-btn:active {
    background-color: #00a8ff !important;
}

#woo-read-more-btn i {
    font-size: 0.9em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
    padding: 0 !important;
}

@media (max-width: 425px){
    .products .product span.onsale{
        font-size: 10px;
    }
}

@media (min-width: 576px){
    .woocommerce div.product form.cart .variations select{
        width: 200px;
        min-width: unset;
    }
}

@media (max-width: 767px){
    .header-cart-inner .cart-contents span.count{
        top: -3px;
    }
    .mobile-cart .header-cart .header-cart-block .header-cart-inner .site-header-cart{
        display: none;
    }
    .mobile-cart .header-cart .header-cart-block .header-cart-inner a.cart-link-custom svg{
        height: 46px;
    }
    .navbar-header .mobile-cart .header-cart{
        padding: 0;
    }
    #sidebar .bapf_body ul li{
        margin-bottom: 3px;
    }
    .menu-item a.nav-link{
        font-size: 18px;
        font-weight: 400;
        line-height: 30px;
    }
    .navbar-nav > li > a.nav-link{
        padding: 7px 1.5rem;
    }
    .menu-item ul.dropdown-menu li a.dropdown-item{
        font-size: 17px;
        font-weight: 400;
        padding: 9px 40px;
    }
    h2.title-shop-home{
        display: block;
    }
    #the-order-review{
        width: 100%;
        margin-top: 32px;
    }
    #customer_details h3.factuurgegevens-h3, #the-order-review h3{
        font-size: 20px;
    }
    header.entry-header h1{
        font-size: 16px;
        margin-bottom: 18px;
    }
    .header-search-form input.header-search-input{
        font-size: 17px;
    }
    .site-heading .site-branding-text, .site-heading .site-branding-logo{
        margin-bottom: 0;
    }
    .main-content-standaard form{
        max-width: 100% !important;
    }
}

@media (min-width: 768px){
    .header-right .header-cart{
        padding-right: 0px;
    }
    .header-right div.header-cart .cart-link-custom .count{
        right: -7px;
    }
    .navbar-collapse:before, .nav:before{
        content: none;
    }
    .navbar-header .navbar-expand-md .navbar-collapse{
        display: flex !important;
        padding: 0;
        margin: 0 auto;
    }
    .navbar-expand-md ul.navbar-nav{
        -ms-flex-direction: row;
        flex-direction: row;
        display: flex;
        justify-content: flex-start;
        gap: 40px;
        gap: 30px;
        height: 40px;
        padding: 0;
        margin: 0;
        list-style: none;
        width: max-content;
    }
    .navbar-expand-md .navbar-nav li.menu-item{
        height: 100%;
        display: flex;
        align-items: center;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        border-radius: 3px;
    }
    .navbar-expand-md .navbar-nav a.nav-link{
        padding: 8px 16px;
        line-height: 1;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        border-radius: 3px;
    }
    /*
    #filtersDiv{display: block !important;}
    #toggleFilters{display: none;}*/
    .navbar-header .navbar-nav ul.dropdown-menu{
        background-color: #0090e3;
        border-radius: 3px;
    }
    .navbar-header .navbar-nav li a.nav-link:hover{
        background-color: #0090e3;
    }
    .navbar-header .navbar-nav .menu-item ul.dropdown-menu li:hover{
        background-color: #0090e3;
        background-color: #0242a3;
    }
    .navbar-header .navbar-nav .menu-item ul.dropdown-menu li.active{
        background-color: #0090e3;
        background-color: #0242a3;
    }
    .navbar-header .navbar-nav .menu-item ul.dropdown-menu li.nav-link:hover{
        background-color: #0090e3;
    }
    .navbar-header .navbar-nav li.menu-item:hover ul.dropdwon-menu{
        border-radius: 0.5rem;
    }
    #customer_details h3.factuurgegevens-h3, #the-order-review h3{
        font-size: 20px;
    }
    header.entry-header h1{
        font-size: 22px;
        margin-bottom: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px){
    .navbar-expand-md ul.navbar-nav{
        gap: 20px;
    }
    .navbar .navbar-nav > li > a{
        font-size: 16px;
    }
    .product-item-grid .product-shop-page .product-item-pic{
        width: 100%;
    }
    .product-item-grid .product-shop-page .product-info{
        width: 100%;
        padding: 0;
    }
    .product-item-grid .product-shop-page .product-item-bottom{
        width: 100%;
    }
    h2.title-shop-home{
        display: block;
    }   
    .woocommerce #content div.product div.woocommerce-product-gallery{
        width: 100% !important;
    }
    .woocommerce #content div.product div.woocommerce-product-gallery figure.woocommerce-product-gallery__wrapper{
        width: 100%;
        max-width: 500px;
        height: auto;       
        margin: 0 auto;
    }
    .woocommerce div.product div.summary{
        width: 100% !important;
        width: 52% !important;
        padding-left: 16px;
    }
    .products .product span.onsale{
        font-size: 12px;
    }
    .woocommerce .wc-tabs-wrapper{
        width: 100%;
        padding: 0;
    }
    .product-card__inner .product-pricing .product-price-old {
        font-size: 0.75rem;
    }
}

@media (max-width: 991px){
    .content-wrapper .image-block{
        padding: 0 10px;
    }
    #sidebar .bapf_body ul li{
        line-height: 1.6;
    }
}

@media (min-width: 992px){
    .product-item-grid .product-item-pic{
        height: auto !important;
    }
    .content-wrapper .image-block{
        padding: 20px;
    }
    .category-card .card-span-title{
        font-size: 17px;
    }
    .main-menu #site-navigation{
        height: 42px;
    }
    .product-shop-page .product-info{
        height: 75px;
    }
    #sidebar .d-md-block{
        display: block !important;
    }
    #sidebar .d-md-none{
        display: none !important;
    }
    .offcanvas {
        position: relative !important;
        transform: none !important;
        visibility: visible !important;
        display: block !important;
        width: 100%;
        height: auto;
    }
    #sidebar .offcanvas-lg .offcanvas-body{
        display: block;
    }
    #filtersOffcanvas {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        background: transparent !important;
        border: none !important;
    }

    /* Verberg de header (met sluitknop) */
    #filtersOffcanvas .offcanvas-header {
        display: none;
    }

    /* Verwijder de overlay (backdrop) */
    body::before {
        display: none !important;
    }
}

@media (min-width: 1200px){
    .summary h1{
        font-size: 21px;
    }
    .card .image{
        height: 263px;
        height: 303px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1200px) and (max-width: 1279px){
    body .container{
        max-width: 1140px;
    }
}

@media (min-width: 1280px){
    body .container{
        max-width: 1264px;
    }
    .image-block{
        min-height: unset;
        display: block;
    }
}

/* Offcanvas Styles for Smooth Transition */
.offcanvas {
    max-width: 75%;
    transition: transform 0.3s ease;
}