#ratingStars i {
    cursor: pointer;    font-size: 26px;     padding-right: 5px;     color: #ccc;     transition: color 0.2s ease;
}

#ratingStars i.fill, #ratingStars i:hover {
    /*color: orange !important;*/
    color:  var(--primary-color) ;
}

.img-caption { text-align: center; font-size: 14px; color: #555;  margin-top: 5px;}
/*.gi-service-image { height: 80px !important; vertical-align: top; position: absolute;top:50px;margin-bottom :10px;     }*/
/*.gi-service-desc { height: 320px !important;  position:relative;margin-top: 20px !important; }*/
/*.gi-service-desc.h3 { height: 80px !important;margin-top: 60px !important;   }*/


.gi-single-pro-tab-desc   {
    font-size: 15px;     list-style: outside;     color: #777 !important;
}

.gi-single-product .single-pro-content .gi-single-desc {
    margin-bottom: 12px;
    color: #777;
    font-size: 14px;
    letter-spacing: 0;
    word-break: initial;
    line-height: 26px;
}

.gi-single-product .single-pro-content .gi-single-desc p {
    font-weight: normal;
}

.gi-cart-content .table-content table tbody > tr td.gi-cart-pro-name {
    width: auto;
}

a.download-link { color: #777; background-color: white; ;border-color: white;  height: 56px;  }

a.download-link:hover  {  background-color: white; color: var(--primary-color) ; ;border-color: var(--primary-color) }

/*a.download-link:before {margin-right: 6px;height: 30px }*/
a.download-link[href$='.pdf']:before {content: url('/images/icons/pdf.png') }
a.download-link[href$='.jpg']:before {content: url('/images/icons/jpg.png') }
a.download-link[href$='.ppt']:before {content: url('/images/icons/ppt.png') }

a.download-link[href$='.rtf']:before, a.download-link[href$='.txt']:before {  content: url('/images/icons/doc.gif'); }
a.download-link[href$='.docx'] , a.download-link[href$='.doc']:before { content: url('/images/icons/docx.png') }

a.download-link[href$='.avi']:before, a.download-link[href$='.mov']:before, a.download-link[href$='.mp4']:before {
    content: url('/images/icons/video-icon2.png');
}
a.download-link[href$='.rar']:before {content: url('/images/icons/compressed.png') }
a.download-link[href$='.zip']:before {content: url('/images/icons/zip.png') }
a.download-link[href$='.exe']:before {content: url('/images/icons/exe.png') }
a.download-link[href$='.xlsx']:before , a.download-link[href$='.xls']:before {
    content: url('/images/icons/xls.png')
}

a.download-link[href$='.dmg']:before {content: url('/images/icons/dmg.png') }

.download-link {
    display: flex !important; /* Overrulled de inline style 'display: block' */
    align-items: center;
    justify-content: flex-start; /* Behoudt uitlijning aan de linkerkant */
    gap: 8px; /* Optioneel: voeg wat ruimte toe tussen het icoon en de tekst */
}

.download-link.btn-icon::before {  align-self: center;  }

/* Verklein de grootte van alle download-icoontjes */
a.download-link[href$='.pdf']:before,
a.download-link[href$='.jpg']:before,
a.download-link[href$='.ppt']:before,
a.download-link[href$='.rtf']:before,
a.download-link[href$='.txt']:before,
a.download-link[href$='.docx']:before,
a.download-link[href$='.doc']:before,
a.download-link[href$='.avi']:before,
a.download-link[href$='.mov']:before,
a.download-link[href$='.mp4']:before,
a.download-link[href$='.rar']:before,
a.download-link[href$='.zip']:before,
a.download-link[href$='.exe']:before,
a.download-link[href$='.xlsx']:before,
a.download-link[href$='.xls']:before,
a.download-link[href$='.dmg']:before {
    /* Verklein de afbeelding tot 80% van de originele grootte */
    transform: scale(0.8);

    /* Zorg ervoor dat de transformatie goed werkt */
    display: inline-block;
}


.zoomable { transition: transform 0.2s ease; cursor: zoom-in; }
.zoomable:hover { transform: scale(2); z-index: 1000; }
.zoomable-2 { display: inline-block; transition: transform 0.3s ease; transform-origin: top left;  }/* zorgt dat zoom vanuit linkerbovenhoek start */
.zoomable-2:hover { transform: scale(1.5);  z-index: 10; }
.custom-popover-width { max-width: 440px;    width: auto; }

.gi-single-qty {
    display: inline-flex;     width: 100%;
}

.qty-plus-minus {
    /*width: 120px;*/
    /*height: 40px;*/
    width: 80px;
    height: 30px;
    background-color: white;
    padding: 10px;
    border: 1px solid #eee;
    display: inline-block;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;

}

.gi-qtybt
{
    color: #777;
}
.gi-qtybtn:hover
{
    cursor: pointer;
    background-color: lightgrey;

}



.ms_qtybtn {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    font-size: 22px;
}

input.qty-input {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    color: #777;
    float: left;
    font-size: 15px;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 40px;
    outline: none;
    font-weight: 500;

}

.dec.ms_qtybtn {
    border-right: 1px solid  #eee;;
    color: #777;
}

.inc.ms_qtybtn {
    border-left: 1px solid  #eee;;
    color: #777;
}

.gi-single-cart {
    .gi-btn-1 {
        display: flex;
        height: 40px;
        line-height: 50px;
        text-align: center;
        font-size: 14px;
        margin: 0 10px;
        text-transform: uppercase;
        justify-content: center;
        align-items: center;
        min-width: 160px;
        letter-spacing: .02rem;
        border: 0;

        svg {
            margin-right: 8px;
        }
    }
}

.gi-single-product .single-pro-content .gi-single-qty .gi-single-wishlist {
    margin-right: 10px;
    padding-top: 9px;
}

.gi-single-qty .gi-btn-group {
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    text-decoration: none;
    color: #17181c !important;
    /*background-color: #fff;*/
    /*background-color: red !important;*/
    border: 1px solid #eee !important;
    border-radius: 5px;
}

.gi-single-product .single-pro-content .gi-single-qty .gi-btn-group i {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: var(--checkline-color2);
    line-height: 0;
}

.gi-single-qty
{
    padding-top: 10px;
}

.gi-single-wishlist .wishlist {
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 6px;       /* optioneel */
    padding: 6px 10px;        /* optioneel */
    display: inline-block;
}

.gi-single-wishlist .wishlist i {
    color: inherit;           /* neemt kleur van parent over */
    transition: color 0.3s ease;
}

.gi-single-wishlist .wishlist:hover {
    background: var(--primary-color) ;        /* achtergrond oranje */
    color: #fff;              /* parent kleur = wit */
}

.gi-single-wishlist .wishlist:hover i {
    color: #fff;              /* icoon expliciet wit */
}


.final-price {
    margin-bottom: 15px;
    color: var(--checkline-color2);
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    font-family: "Poppins, sans-serif";
    letter-spacing: 0;
}


.fa-info-circle {
    color: var(--checkline-color2);
}

.shop-add , .shop-remove {
    padding: 7px 10px; !important;
    width: 30px !important;
}



.section-title-2 {
    align-items: center !important;
}

.gi-cart-content .table-content table tbody > tr td:nth-child(2) {
    /*padding: 12px 5px;*/
    width: 30px;
    padding-right: 0;
    text-align: right !important;
}



/* Alleen toepassen op mobiel/tablet portrait   voor buy now header*/
@media (max-width: 767px) {
    /* 1. De Container: Zet elementen onder elkaar */
    .custom-responsive-header {
        flex-direction: column !important; /* Dwingt onder elkaar */
        height: auto !important;
        text-align: center;
        padding-bottom: 10px; /* Beetje ruimte onderaan */
    }

    /* 2. De Titel: Reset de absolute positionering */
    .custom-responsive-header .gi-title {
        position: relative !important; /* Haal hem terug in de 'flow' */
        left: auto !important;         /* Reset de horizontale positie */
        top: auto !important;
        transform: none !important;    /* Reset de 'translate-middle-x' */
        margin-bottom: 15px;           /* Ruimte tussen tekst en knop */
    }

    /* 3. De Button: Reset de margin-left (ms-auto) */
    .custom-responsive-header .request_info_quote {
        margin-left: 0 !important;     /* Niet meer naar rechts duwen */
        width: auto;                   /* Optioneel: maak knop breder indien gewenst */
    }
}

@media only screen and (max-width: 600px) {
    /* --- Algemene reset voor de tabelkop --- */
    .responsive-table thead {
        display: none; /* Verberg de kolomkoppen op mobiel */
    }

    /* --- Transformatie van de Rij (<tr>) --- */
    .responsive-table tbody .product-row-responsive {
        display: flex !important; /* Maak er een flexibele container van */
        flex-direction: row;      /* Items naast elkaar op de hoofd-as */
        flex-wrap: wrap;          /* Laat items naar de volgende regel springen */
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: var(--table-border-radius);
    }

    /* --- Transformatie van de Cellen (<td>) --- */
    .responsive-table tbody .product-row-responsive td {
        display: block !important; /* Zorg dat elke cel een eigen blok is */
        border: none !important;
        padding: 5px 0 !important;
        width: 100%; /* Standaard volledige breedte */
        text-align: left !important;
    }

    /* --- Lay-out Specifieke Regels (Volgens jouw schets) --- */

    /* Item ID, I & Productnaam (Deel 1) */
    /* Groepeer de eerste 2 cellen op een aparte rij in de flex-container */
    .responsive-table tbody .product-row-responsive td:nth-child(1), /* Item ID */
    .responsive-table tbody .product-row-responsive td:nth-child(2) { /* Productnaam */
        order: 1; /* Zorg dat ze bovenaan komen */
        width: 100% !important; /* Deze groep pakt de volle breedte */
        display: flex !important; /* Maak ze flexibel intern */
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Verberg de data-label van deze cellen */
    .responsive-table tbody .product-row-responsive td:nth-child(1):before,
    .responsive-table tbody .product-row-responsive td:nth-child(2):before {
        content: none;
        display: none;
    }






    .responsive-table tbody .product-row-responsive td:nth-child(1) { /* Item ID */
        font-weight: bold;
        width: auto !important; /* Neemt alleen benodigde breedte */
        margin-right: 10px;
    }
    .responsive-table tbody .product-row-responsive td:nth-child(2) { /* Productnaam */
        width: 100% !important; /* Zorg dat de naam de rest pakt */
        padding-left: 5px;
    }


    /* Prijs, Quantity & Action (Deel 2) */
    .responsive-table tbody .product-row-responsive td:nth-child(3), /* Price */
    .responsive-table tbody .product-row-responsive td:nth-child(4), /* Quantity */
    .responsive-table tbody .product-row-responsive td:nth-child(5) { /* Action */
        order: 2; /* Komt onder Deel 1 */
        width: 33.33% !important; /* Drie kolommen per rij */
        box-sizing: border-box;
        text-align: center !important;
    }

    /* Vaste indeling 2 rijen van 3 kolommen voor de onderste rij */

    /* Prijs (links) */
    .responsive-table tbody .product-row-responsive td:nth-child(3) {
        text-align: left !important;
        padding-left: 5px !important;
    }

    /* Action (rechts) */
    .responsive-table tbody .product-row-responsive td:nth-child(5) {
        text-align: right !important;
        padding-right: 5px !important;
    }

    /* Labeling (alleen voor Price, Quantity, Action - als je labels wilt) */
    .responsive-table tbody .product-row-responsive td:nth-child(3):before,
    .responsive-table tbody .product-row-responsive td:nth-child(4):before,
    .responsive-table tbody .product-row-responsive td:nth-child(5):before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #777; /* Of een andere kleur */
    }

    /* --- Algemene transformatie (behoud deze) --- */
    .responsive-table thead { display: none; }

    .responsive-table tbody .product-row-responsive {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: var(--table-border-radius);
    }

    .responsive-table tbody .product-row-responsive td {
        display: block !important;
        border: none !important;
        padding: 5px 0 !important;
        width: 100%; /* Standaard volle breedte */
        text-align: left !important;
    }

    /* --- De Eerste Visuele Rij (Product ID, Info, Naam) --- */

    /* Groepeer de eerste 3 cellen op een aparte rij in de flex-container */
    .responsive-table tbody .product-row-responsive td:nth-child(1), /* Item ID */
    .responsive-table tbody .product-row-responsive td:nth-child(2) { /* Productnaam */
        order: 1; /* Zorg dat ze bovenaan komen */
        width: 100% !important; /* Deze groep pakt de volle breedte */
        display: flex !important; /* Maak ze flexibel intern */
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Verberg de data-label van deze cellen, ze hebben geen label nodig */
    .responsive-table tbody .product-row-responsive td:nth-child(1):before,
    .responsive-table tbody .product-row-responsive td:nth-child(2):before {
        content: none;
        display: none;
    }

    /* Product ID (Cel 1) - Zorgt dat het ID op de eerste regel staat */
    .responsive-table tbody .product-row-responsive td:nth-child(1) {
        font-size: 1.1em;
        font-weight: bold;
        width: auto !important; /* Pakt alleen de benodigde breedte */
        margin-right: 5px;
    }

    /*!* Info Icoon (Cel 2) *!*/
    /*.responsive-table tbody .product-row-responsive td:nth-child(2) {*/
    /*    width: auto !important; !* Pakt alleen de benodigde breedte *!*/
    /*    padding-right: 5px !important;*/
    /*}*/

    /* Product Naam (Cel 3) - Zorgt dat de naam netjes doorloopt op de rest van de eerste regel */
    .responsive-table tbody .product-row-responsive td:nth-child(2) {
        width: auto !important; /* Neemt de rest van de ruimte in */
        flex-grow: 1;           /* Zorgt dat het de overige ruimte inneemt */
        padding-left: 0;
    }

    /* --- De Tweede Visuele Rij (Prijs, Quantity, Action) --- */

    .responsive-table tbody .product-row-responsive td:nth-child(3), /* Price */
    .responsive-table tbody .product-row-responsive td:nth-child(4), /* Quantity */
    .responsive-table tbody .product-row-responsive td:nth-child(5) { /* Action */
        order: 2; /* Komt op de volgende visuele rij */
        width: 33.33% !important;
        box-sizing: border-box;
    }

    /* ... (rest van de stijl voor Price, Quantity, Action behouden) ... */

    /* Prijs (links) */
    .responsive-table tbody .product-row-responsive td:nth-child(3) {
        text-align: left !important;
        padding-left: 5px !important;
    }

    /* Action (rechts) */
    .responsive-table tbody .product-row-responsive td:nth-child(5) {
        text-align: right !important;
        padding-right: 5px !important;
    }

    /* Labeling (weer aanzetten voor de onderste 3 cellen) */
    .responsive-table tbody .product-row-responsive td:nth-child(3):before,
    .responsive-table tbody .product-row-responsive td:nth-child(4):before,
    .responsive-table tbody .product-row-responsive td:nth-child(5):before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #777;
    }

    /* 1. Ruimte onder de Productnaam creëren (Tussen rij 1 en rij 2) */
    /* Target de cellen van de onderste visuele rij (Price, Quantity, Action) */
    .responsive-table tbody .product-row-responsive td:nth-child(3), /* Price */
    .responsive-table tbody .product-row-responsive td:nth-child(4), /* Quantity */
    .responsive-table tbody .product-row-responsive td:nth-child(5) { /* Action */
        /* Extra padding bovenaan om de hele rij naar beneden te duwen */
        padding-top: 15px !important;

        /* Zorgt ervoor dat de 3 kolommen correct worden weergegeven */
        order: 2;
        width: 33.33% !important;
        box-sizing: border-box;
    }

    /* 2. Ruimte onder het 'Action' label creëren (Action label vs Shopping Cart icon) */
    .responsive-table tbody .product-row-responsive td:nth-child(5):before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #777;
        margin-bottom: 5px; /* Voeg marge toe onder het label */
    }


}

@media only screen and (max-width: 600px) {
    /* ... (vorige regels voor de tabel) ... */

    /* 1. Zorg dat de algemene tekst op een aparte regel komt */
    .truck-legend-responsive > span:first-child {
        display: block;
        margin-bottom: 10px;
    }

    /* 2. Zorg dat de 'Availability:' label op een aparte regel komt */
    .truck-legend-responsive .availability-info {
        display: block;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    /* 3. Zorg dat elke truck-informatiegroep op een nieuwe regel komt */
    .truck-legend-responsive .truck-item {
        display: block; /* Maakt van de span een blok, waardoor deze een nieuwe regel begint */
        margin-bottom: 5px;
        margin-left: 0 !important; /* Reset eventuele inline margins */
    }

    /* Verwijder de komma's op mobiel */
    .truck-legend-responsive .truck-item + span {
        display: none;
    }
}

li.product_variant {
    background-color: #f8f8fb !important;
}

/* Zorgt ervoor dat de inhoud in de kolom verticaal gecentreerd wordt.
   Dit helpt bij de uitlijning van de knop zelf t.o.v. de rij. */
.vertical-center {
    display: flex;
    align-items: center;
}



.buy-now  thead tr th,  .gi-vendor-card-header  {
    color: var(--checkline-color2)  ;

}

.shop-price
{
    color: var(--checkline-color2)   ;
}

.gi-single-product .gi-single-pro-tab-content .gi-single-pro-tab-desc p {
    font-size: 15px;
}


/* youtube video */

.video-preview {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: var(--table-border-radius);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.video-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);


    /* 1. KLEINER MAKEN */

    font-size: 2.1em; /* Was 3em, nu 2.5em */

    color: white;

    /* 2. YOUTUBE STIJL (Rood) */
    background: rgba(255, 0, 0, 0.85); /* Donkerder rood, lijkt op YouTube */

    /* 3. VORM AANPASSEN */
    border-radius: 20%; /* Maakt het een afgeronde rechthoek, minder een perfecte cirkel */
    width: 2.2em; /* Breedte van de achtergrond */
    height: 1.6em; /* Hoogte van de achtergrond (maakt het ovaal) */
    line-height: 1.6em;
    text-align: center;

    /* Optioneel: voeg een subtiele rand toe, zoals op YouTube */
    padding-left: 0.1em; /* Om de driehoek (▶) te centreren */

    transition: background 0.3s, transform 0.3s;
}

.video-preview:hover .play-icon {
    /* Bij hover nog steeds rood, of eventueel iets lichter */
    background: rgba(255, 0, 0, 1.0); /* Volledig dekkend rood bij hover */
    /* Optioneel: Icoontje iets vergroten bij hover */
    transform: translate(-50%, -50%) scale(1.1);
}


.section-title-2 span {
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    line-height: 38px;
    font-weight: 600;
    color: var(--checkline-color);
    text-transform: capitalize;
    line-height: 1;
}

.section-title-2 span span   {
    color: var(--primary-color);
}
.section-title-2 span span {
    color: var(--primary-color);
}





/* De wrapper voor de afbeelding en het icoon */
.zoom-image-wrapper {
    position: relative;
    display: inline-block; /* Zodat de container niet de volle breedte inneemt */
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

/* Styling voor het vergrootglas-icoon */
.zoom-icon {
    position: absolute;
    top: 10px;        /* Afstand vanaf de bovenrand */
    right: 10px;      /* Afstand vanaf de rechterrand (HIER GEWIIZIGD) */
    left: auto;       /* Zorgt ervoor dat 'right' werkt en 'left' wordt genegeerd */

    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 50%;
    transition: opacity 0.2s;
    z-index: 10;      /* Optioneel: Zorg ervoor dat het altijd boven de afbeelding ligt */
}

.zoom-image-wrapper:hover .zoom-icon {
    opacity: 1;
}



/* Modal basis voor image lightbox (scoped to #imageModal to avoid breaking Bootstrap modals) */
#imageModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* Standaard verborgen */
    align-items: center;
    justify-content: center;
}

/* Modal content container */
#imageModal .modal-dialog {
    background-color: #fff;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 90vh;
    margin: 1.75rem auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    /* Animatie voor fade-in */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Toon/Actieve status */
#imageModal.show {
    display: flex;
}
#imageModal.show .modal-dialog {
    opacity: 1;
    transform: scale(1);
}

#imageModal .modal-header {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#imageModal .modal-body {
    padding: 0.5rem;
    overflow: auto;
    text-align: center;
    max-height: 100%;
    object-fit: contain;
}

#imageModal .modal-body img {
    max-width: 900%;
    height: auto;
    display: block;
    margin: 0 auto;
}



/* Fix z-index stacking: sticky gallery (.single-product-scroll position:sticky)
   can render on top of content below it. Ensure desc, tabs and edit panel win. */
.gi-single-product .single-pro-desc {
    position: relative;
    z-index: 2;
}
.gi-single-pro-tab {
    position: relative;
    z-index: 5;
}

.gi-single-product .gi-single-pro-tab-content {
    padding-left: 0;
    padding-right: 0;
    border: 0;
    border-radius: 0;
}

.section-title-2 h2, .section-title-2 span {
    align-items: center !important;
 }


#imageModalLabel {
    font-size: 15px;
     color : var(--checkline-color) !important;
    font-family: Poppins, sans-serif;
}

.buy-now-header {
    padding: 8px 12px;
    font-weight: 600 !important;
    font-size: 14px;
    font-family: Poppins, sans-serif;
}

.shop-add {
    background-color: #777 !important;
}


.shop-add:hover {
    background-color: var(--checkline-color) !important;
}


.gi-cart-leftside  .gi-btn-1 {
    background-color: #777  !important;
}

.gi-cart-leftside  .gi-btn-1:hover {
    background-color: var(--checkline-color) !important;
}


.gi-single-pro-tab-desc .section-title-2 .gi-title  ,   .gi-products .section-title-2 h2
{
    background-color: #f8f8fb  !important;
    width: 100%; ; padding:10px;
    border-radius: var(--table-border-radius);
}
