/*
 * ══════════════════════════════════════════════════════════════
 *  SINGLE PRODUCT PAGE – Webweek WooCommerce Snippets
 *  CSS voor single-product.php
 *  Bevat: gallery, product-info kolom, prijs/stock, add-to-cart,
 *  USP's, hulp-blok, tabs sectie, gerelateerde producten.
 * ══════════════════════════════════════════════════════════════
 */

/* ──────────────────────────────────────────────
   PRODUCT GALLERY
────────────────────────────────────────────── */
.product-gallery-wrapper {
    position: sticky;
    top: 24px;
}

/* ── Gallery layout: thumbs links (25%), main rechts (75%) ── */
.product-gallery-wrapper {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    position: sticky;
    top: 75px;
}

/* Thumbs: links, verticale kolom */
.product-gallery-thumbs {
    order: 1;
    width: 82px;
    flex-shrink: 0;
    overflow: hidden;
    height: 100%;        /* strek tot hoogte van main */
    align-self: stretch;
}
/* Interne wrapper: toon enkel volledige thumbs */
.product-gallery-thumbs .swiper-container,
.product-gallery-thumbs.swiper {
    height: 100%;
    overflow: hidden;
}
.product-gallery-thumbs .swiper-wrapper {
    flex-direction: column !important;
}
.product-gallery-thumbs .swiper-slide {
    width: 100% !important;
    height: 78px !important;
}

/* Hoofdslider: rechts */
.product-gallery-main {
    order: 2;
    flex: 1;
    margin-bottom: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ww-thumb-bg, #f2ead8);
}
.product-gallery-main .swiper-slide .img {
    width: 100%;
    aspect-ratio: 3 / 2.5;
    background-size: cover;             /* default: cover, override via body class */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px !important;
    display: block;
    background-color: var(--ww-thumb-bg, #f2ead8);
    margin: 4px;
    box-sizing: border-box;
}
/* Img fit via body class (uit CMS instelling) */
.ww-img-fit-contain .product-gallery-main .swiper-slide .img {
    background-size: contain !important;
}
.ww-img-fit-cover .product-gallery-main .swiper-slide .img {
    background-size: cover !important;
}
/* Swiper slide: transparante achtergrond zodat img's radius zichtbaar is */
.product-gallery-main .swiper-slide {
    background: transparent !important;
    border-radius: 0 !important;
}
.product-gallery-main {
    background: transparent !important;
    border-radius: 0 !important;
}

/* Pijltjes: wit bolletje, subtiele schaduw */
.product-gallery-main .swiper-button-next,
.product-gallery-main .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transition: box-shadow .2s, transform .2s;
}
.product-gallery-main .swiper-button-next:hover,
.product-gallery-main .swiper-button-prev:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,.18);
    transform: scale(1.06) translateY(-50%) !important;
}
.product-gallery-main .swiper-button-next::after,
.product-gallery-main .swiper-button-prev::after {
    font-size: 16px;
    color: #2c2015;
    font-weight: 800;
}

/* Thumbnails – stijl (positie via wrapper hierboven) */
.product-gallery-thumbs .swiper-slide {
    cursor: pointer;
    opacity: .45;
    transition: opacity .2s;
    border-radius: 8px;
    overflow: hidden;
    height: 78px !important;
}
.product-gallery-thumbs .swiper-slide.swiper-slide-thumb-active { opacity: 1; }
.product-gallery-thumbs .swiper-slide .img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--ww-thumb-bg, #f2ead8);
    border: 1px solid rgba(0,0,0,.08);
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: outline-color .2s;
    display: block;
}
.product-gallery-thumbs .swiper-slide.swiper-slide-thumb-active .img {
    outline-color: var(--primary, #c0392b);
}
.product-gallery-thumbs .swiper-slide.swiper-slide-thumb-active .img {
    border-color: var(--primary, #c0392b);
}

/* ──────────────────────────────────────────────
   VIDEO POPUP
────────────────────────────────────────────── */
#video-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.82);
    display: flex;
    align-items: center;
    justify-content: center;
}
#video-popup .video-popup-inner {
    position: relative;
    width: 90%;
    max-width: 900px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
#video-popup .video-close {
    position: absolute;
    right: -10px;
    top: -42px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    opacity: .85;
    transition: opacity .15s, transform .15s;
}
#video-popup .video-close:hover {
    opacity: 1;
    transform: scale(1.1);
}
#video-popup iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* ──────────────────────────────────────────────
   PRODUCT SECTIE – GRID WRAPPER
────────────────────────────────────────────── */
.product_section {
    padding-top: 5px;
    padding-bottom: 48px;
}

/* Linker (gallery) kolom: sticky */
.col_product_left {
    padding-right: 28px;
}

/* Rechter (info) kolom */
.col_product_side {
    padding-left: 24px;
}
.col_product_inner_side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 575px;
}

/* ──────────────────────────────────────────────
   BREADCRUMBS
────────────────────────────────────────────── */
.product_wrapper .breadcrumbs {
    padding: 12px 0;
    font-size: 13px;
    color: #8a7060;
}
.product_wrapper .breadcrumbs a {
    color: #8a7060;
    text-decoration: none;
}
.product_wrapper .breadcrumbs a:hover { color: var(--primary, #c0392b); }
.product_wrapper .breadcrumbs #breadcrumbs { margin: 0; }

/* ──────────────────────────────────────────────
   PRODUCTTITEL
────────────────────────────────────────────── */
.product_title.entry-title {
    font-size: var(--heading3_size, 28px);
    font-weight: 800;
    color: #1a1008;
    line-height: var(--heading3_line_height, 1.2);
    margin: 0;
    letter-spacing: -.01em;
}

/* ──────────────────────────────────────────────
   KORTE BESCHRIJVING
────────────────────────────────────────────── */
.short_description {
    font-size: 15px;
    color: #5a4a3a;
    line-height: 1.65;
}
.short_description ul.check {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.short_description ul.check li {
    padding-left: 22px;
    position: relative;
    font-size: 14px;
    color: #4a3a2e;
}
.short_description ul.check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary, #c0392b);
    font-weight: 700;
    font-size: 13px;
}

/* ──────────────────────────────────────────────
   PRIJS + VOORRAAD RIJ
────────────────────────────────────────────── */
.row_price_stock {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: rgba(255,255,255,.15);
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0,0,0,.07);
    border-bottom: 1px solid rgba(0,0,0,.07);
}

/* Prijs */
.row_price_stock .price {
    display: flex;
    align-items: center;   /* center i.p.v. baseline zodat price/stock uitlijnen */
    gap: 6px;
    flex-wrap: wrap;
}
.row_price_stock .price .woocommerce-Price-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary, #c0392b);
    font-family: var(--headingFont, inherit);
    line-height: 1;
}
.row_price_stock .price del {
    text-decoration: none;   /* browser voegt anders 2e streep toe */
}
.row_price_stock .price del .woocommerce-Price-amount {
    font-size: 16px;
    font-weight: 400;
    color: #b0a090;
    text-decoration: line-through;
    text-decoration-color: #b0a090;
    opacity: .65;
}
.row_price_stock .price ins {
    text-decoration: none;
}
.row_price_stock .price ins .woocommerce-Price-amount {
    color: var(--primary, #c0392b);
}
.row_price_stock .after_price {
    font-size: 15px;
    color: #8a7060;
    font-weight: 400;
    margin-left: -4px;
}

/* Voorraad badges */
.stock_wrap { display: flex; align-items: center; }
.stock_item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.stock_item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.stock_item.stock {
    background: #e8f5e9;
    color: #2e7d32;
}
.stock_item.stock::before { background: #4caf50; }
.stock_item.backorder {
    background: #fff8e1;
    color: #e65100;
}
.stock_item.backorder::before { background: #ff9800; }
.stock_item.no_stock {
    background: #fce4ec;
    color: #c62828;
}
.stock_item.no_stock::before { background: #e53935; }

/* ──────────────────────────────────────────────
   ADD TO CART – WooCommerce form
────────────────────────────────────────────── */

/* Variaties tabel (wordt door variation_swatches.php vervangen,
   maar als fallback hier ook netjes): */
.single-product table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}
.single-product table.variations th.label {
    font-size: 13px;
    font-weight: 600;
    color: #5a4a3a;
    padding: 8px 0;
    width: 90px;
    vertical-align: middle;
}
.single-product table.variations td.value {
    padding: 8px 0;
    vertical-align: middle;
}
.single-product table.variations td.value select {
    padding: 10px 14px !important;
    border: 1px solid #e8e4e0 !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    background: #fdfcfb !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100%;
}

/* "Wissen" link */
.single-product .reset_variations {
    font-size: 12px;
    color: #8a7060;
    text-decoration: underline;
    margin-left: 8px;
}

/* Variations form: table + qty/button ONDER ELKAAR */
.single-product form.variations_form,
.single-product .single_variation_wrap {
    width: 100%;
}
/* Quantity + button rij */
.single-product .cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;     /* kinderen altijd 100% breed */
    gap: 12px;
    margin-top: 4px;
    width: 100%;
}
/* Qty + knop op dezelfde regel */
.single-product .cart > .ww-qty-wrapper,
.single-product .cart > .quantity,
.single-product .cart > button.single_add_to_cart_button,
.ww-atc-row {
    /* worden via JS gewrapped – zie addons.php */
}
.single-product .quantity input.qty {
    width: 62px !important;
    height: 50px !important;
    padding: 0 10px !important;
    border: 1px solid #e8e4e0 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600;
    text-align: center;
    background: #fdfcfb !important;
    box-shadow: none !important;
    outline: none !important;
    color: #2c2015 !important;
}
.single-product .quantity input.qty:focus {
    border-color: #c5b8ae !important;
    box-shadow: 0 0 0 3px rgba(192,57,43,.08) !important;
}

/* Add-to-cart knop */
.single-product button.single_add_to_cart_button,
.single-product .single_add_to_cart_button {
    flex: 1;
    height: 50px !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--primary, #c0392b) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    box-shadow: none !important;
    outline: none !important;
    white-space: nowrap;
    min-width: 160px;
}
.single-product button.single_add_to_cart_button:hover:not(:disabled) {
    opacity: .88;
    transform: translateY(-1px);
}
.single-product button.single_add_to_cart_button:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

/* Uitgeschakeld bestellen melding */
.wc-disable-order-message {
    background: #fff8e1;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #5a4a3a;
}

/* ──────────────────────────────────────────────
   USP's BLOK
────────────────────────────────────────────── */
.main_usps.single_usps {
    background: #fff;
    border: 1px solid #ede8e3;
    border-radius: 14px;
    padding: 14px 16px;
}
.main_usps.single_usps .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.main_usps.single_usps .inner ul li {
    font-size: 14px;
    color: #4a3a2e;
    line-height: 1.5;
    display: block;   /* geen flex – zodat strong inline blijft in de tekst */
    padding-left: 22px;
    position: relative;
}
.main_usps.single_usps .inner ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary, #c0392b);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.5;
}

/* ──────────────────────────────────────────────
   HULP BLOK (need_help_wrapper)
────────────────────────────────────────────── */
.need_help_wrapper {
    background: #faf7f4;
    border: 1px solid #ede8e3;
    border-radius: 14px;
    overflow: hidden;
}
.need_help_wrapper .within {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: 100%;
}
.need_help_wrapper .des {
    font-size: 14px;
    color: #5a4a3a;
    line-height: 1.55;
}
.need_help_wrapper .cta_wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.need_help_wrapper .img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    background-size: cover !important;
    background-position: center top !important;
}

/* ──────────────────────────────────────────────
   PRODUCT TABS SECTIE
────────────────────────────────────────────── */
.section_product_tabs {
    padding: 40px 0 60px;
    border-top: 1px solid #ede8e3;
}

.product-tabs .tabs {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #ede8e3;
    flex-wrap: wrap;
}
.product-tabs .tabs .tab-link {
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #8a7060;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s, background .2s;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
    letter-spacing: .01em;
}
.product-tabs .tabs .tab-link:hover {
    color: #2c2015;
    background: rgba(44,32,21,.03);
}
.product-tabs .tabs .tab-link.active {
    color: var(--primary, #c0392b);
    font-weight: 700;
    border-bottom-color: var(--primary, #c0392b);
    background: rgba(192,57,43,.04);
    letter-spacing: 0;
}
/* Verberg de mobile_append_content li's */
.product-tabs .tabs .mobile_append_content { display: none; }

/* Tab content */
.product-tabs .tab-content {
    display: none;
}
.product-tabs .tab-content.active {
    display: block;
}
.product-tabs .tab-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c2015;
    margin: 0 0 16px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Omschrijving tekst */
.product-description {
    font-size: 15px;
    color: #4a3a2e;
    line-height: 1.7;
}
.product-description p { margin: 0 0 14px; }
.product-description p:last-child { margin-bottom: 0; }
.product-description ul, .product-description ol {
    padding-left: 20px;
    margin: 0 0 14px;
}
.product-description li { margin-bottom: 4px; }

/* Specificaties / extra informatie tabel */
.product-specifications .woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}
.product-specifications .woocommerce-product-attributes th,
.product-specifications .woocommerce-product-attributes td {
    padding: 11px 14px;
    font-size: 14px;
    border-bottom: 1px solid #f0ebe6;
    text-align: left;
    vertical-align: top;
}
.product-specifications .woocommerce-product-attributes th {
    font-weight: 600;
    color: #5a4a3a;
    background: #faf7f4;
    width: 38%;
}
.product-specifications .woocommerce-product-attributes td {
    color: #2c2015;
}
.product-specifications .woocommerce-product-attributes tr:last-child th,
.product-specifications .woocommerce-product-attributes tr:last-child td {
    border-bottom: none;
}

/* Rechter kolom naast tabs (afbeelding/extra) */
.col_tab_img .inner {
    background: #faf7f4;
    border: 1px solid #ede8e3;
    border-radius: 14px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5b8ae;
    font-size: 14px;
    position: sticky;
    top: 24px;
}

/* ──────────────────────────────────────────────
   GERELATEERDE PRODUCTEN SECTIE
────────────────────────────────────────────── */
.section_product_related {
    padding: 60px 0;
}
.section_product_related .headings {
    margin-bottom: 28px;
}
.section_product_related .headings h2 {
    font-size: 24px;
    font-weight: 800;
    color: #2c2015;
    margin: 0;
}
.section_product_related ul.related_products {
    /* Erft van ul.products grid */
}

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 991px) {
    .col_product_left {
        padding-right: 0;
        margin-bottom: 24px;
    }
    /* col_product_side behoudt padding tot 768px */
    .product-gallery-wrapper { position: static; }
    .product_title.entry-title { font-size: 22px; }
}

@media (max-width: 767px) {
    /* Qty kleiner op mobiel */
    .ww-qty-wrapper { min-width: 0; }
    .ww-qty-btn { width: 36px !important; }
    .ww-qty-wrapper input.qty { width: 36px !important; }

    /* Productpagina: minder ruimte bovenaan op mobiel */
    .product_section { padding-top: 5px !important; }

    /* Mobiel: wrapper stapelt, main boven (order-1), thumbs eronder (order-2) */
    .product-gallery-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .product-gallery-main  { order: 1; width: 100%; }
    .product-gallery-thumbs {
        order: 2;
        width: 100%;
        max-height: none;
    }
    .product-gallery-thumbs .swiper-slide {
        height: 64px !important;
        width: 64px !important;
    }
    .product-gallery-thumbs .swiper-wrapper { flex-direction: row !important; }

    .product_section { padding-top: 20px; padding-bottom: 32px; }
    .section_product_tabs { padding: 28px 0 40px; }
    .section_product_related { padding: 36px 0; }

    .row_price_stock {
        padding: 12px 14px;
        gap: 10px;
    }
    .row_price_stock .price .woocommerce-Price-amount { font-size: 22px; }

    .product-tabs .tabs .tab-link {
        font-size: 14px;
        padding: 10px 14px;
    }

    .single-product .cart {
        flex-wrap: wrap;
    }
    .single-product button.single_add_to_cart_button {
        width: 100%;
        flex: unset;
    }

    .need_help_wrapper .mobile_1 { order: -1; }
    .need_help_wrapper .img { min-height: 120px; }

    .col_tab_img { margin-top: 24px; }
    .col_tab_img .inner { position: static; min-height: 140px; }
}

/* ──────────────────────────────────────────────
   QUANTITY +/- KNOPPEN
────────────────────────────────────────────── */
.ww-qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #ebe7e3;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(44,32,21,.06);
}
.ww-qty-btn {
    width: 44px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 300;
    color: #8a7060;
    cursor: pointer;
    line-height: 1;
    transition: background .12s, color .12s;
    padding: 0;
    flex-shrink: 0;
    user-select: none;
    font-family: var(--bodyFont, inherit);
}
.ww-qty-btn:hover { background: #faf7f4; color: var(--primary, #c0392b); }
.ww-qty-btn:active { background: #f5f1ed; }

/* Input: geen browser spinner, subtiele scheidingslijn */
.ww-qty-wrapper input.qty {
    width: 44px !important;
    height: 48px !important;
    border: none !important;
    border-left: 1px solid #ebe7e3 !important;
    border-right: 1px solid #ebe7e3 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    text-align: center;
    font-size: 15px !important;
    font-weight: 600;
    font-family: var(--bodyFont, inherit) !important;
    color: #2c2015 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}
.ww-qty-wrapper input.qty::-webkit-outer-spin-button,
.ww-qty-wrapper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Add-to-cart knop: naast de qty wrapper, zelfde hoogte */
.single-product .cart {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}
.single-product button.single_add_to_cart_button {
    font-family: var(--bodyFont, inherit) !important;
    height: 50px !important;
    flex: 1;
}

/* Video-thumbnail play icoon */
.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
    pointer-events: none;
}
.video-thumb { position: relative; }

/* Geen beschrijving tekst */
.product-no-description {
    color: #c5b8ae;
    font-size: 14px;
    font-style: italic;
    opacity: .7;
    padding: 8px 0;
}

/* ──────────────────────────────────────────────
   VARIATIONS: gekozen waarde naast label
────────────────────────────────────────────── */
.single-product table.variations {
    width: 100%;
    border-collapse: collapse;
}
.single-product table.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
/* Bovenste rij: label links + gekozen waarde rechts */
.single-product table.variations th.label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #5a4a3a;
    width: 100%;
    border-bottom: none;
}
/* td.value: full breedte, swatches eronder */
.single-product table.variations td.value {
    padding: 0;
    width: 100%;
}
.ww-chosen-val {
    font-weight: 400;
    color: var(--primary, #c0392b);
    margin-left: 6px;
    font-size: 12px;
}

/* ──────────────────────────────────────────────
   ATC RIJ: qty + knop naast elkaar
────────────────────────────────────────────── */
.ww-atc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.ww-atc-row .ww-qty-wrapper { flex-shrink: 0; }
.ww-atc-row button.single_add_to_cart_button {
    flex: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ww-atc-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   WISHLIST KNOP SINGLE PRODUCT
────────────────────────────────────────────── */
.ww-single-wishlist-btn.pwish {
    display: inline-block;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    color: #8a7060;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--bodyFont, inherit);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s;
    transform: scale(1.0) !important;   /* override elke schaling van .pwish */
    position: static !important;         /* niet absoluut */
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    margin-top: 6px;
}
.ww-single-wishlist-btn.pwish:hover {
    color: var(--primary, #c0392b);
    transform: scale(1.0) !important;   /* geen scale bij hover */
}
.ww-single-wishlist-btn.pwish svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    vertical-align: middle;
    margin-right: 4px;
}
.ww-single-wishlist-btn.pwish.ww-active {
    color: var(--primary, #c0392b);
}
.ww-single-wishlist-btn.pwish.ww-active svg {
    fill: var(--primary, #c0392b);
    stroke: var(--primary, #c0392b);
}
.ww-single-wishlist-btn.pwish.ww-adding { opacity: .65; }

/* ──────────────────────────────────────────────
   KORTING BADGE
────────────────────────────────────────────── */
.ww-discount-badge {
    display: inline-block;
    background: rgba(192,57,43,.1);
    color: var(--primary, #c0392b);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 4px;
}

/* Stock flicker: verberg initieel bij variabel product (JS toont na found_variation) */
.stock_wrap.ww-stock-hidden { visibility: hidden; }

/* Tabs – mobiel: horizontale scroll */
@media (max-width: 767px) {
    .product-tabs .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 2px solid #ede8e3;
        gap: 0;
    }
    .product-tabs .tabs::-webkit-scrollbar { display: none; }
    .product-tabs .tabs .tab-link {
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* Maten gelijke breedte op smal scherm */
@media (max-width: 600px) {
    .ww-size-swatches {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    }
    .ww-swatch-size {
        max-width: none;
        flex: none;
        width: 100%;
    }
}

/* Add-to-cart notice op single product pagina */
.single-product .woocommerce-notices-wrapper .woocommerce-message {
    background: #e8f5e9;
    border-left: 4px solid #388e3c;
    border-radius: 10px;
    padding: 13px 18px 13px 46px;
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    outline: none !important;
}
.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #388e3c;
}
.single-product .woocommerce-notices-wrapper .woocommerce-message a.button {
    float: right;
    padding: 6px 14px;
    font-size: 13px;
    background: #388e3c;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 12px;
}

/* gx-7 custom gutter */
.gx-7 { --bs-gutter-x: 3.5rem; }

/* Voorkom JS flash: verberg qty/atc-row tot JS ze klaar heeft */
.single-product .cart .quantity:not(.ww-qty-done) input.qty { opacity: 0; }
.single-product button.single_add_to_cart_button { visibility: visible; }

/* Variaties tabel: geen layout shift */
.single-product table.variations { table-layout: fixed; }

/* Stock wrap: geen flash (JS zet ww-stock-hidden) */
.stock_wrap.ww-stock-hidden { visibility: hidden !important; }

/* ──────────────────────────────────────────────
   FAQ ACCORDEON
────────────────────────────────────────────── */
.ww-faq-list { display: flex; flex-direction: column; gap: 8px; }
.ww-faq-item {
    border: 1px solid #ede8e3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.ww-faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #2c2015;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--bodyFont, inherit);
    gap: 12px;
}
.ww-faq-q::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #c5b8ae;
    flex-shrink: 0;
    transition: transform .2s;
}
.ww-faq-item.open .ww-faq-q::after {
    transform: rotate(45deg);
    color: var(--primary, #c0392b);
}
.ww-faq-a {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: #5a4a3a;
    line-height: 1.65;
    border-top: 1px solid #f5f1ed;
}
.ww-faq-item.open .ww-faq-a { display: block; }

/* Wachten op jQuery slideToggle: initieel verbergen via CSS */
.ww-faq-a[style*="display: block"] { display: block !important; }

/* ──────────────────────────────────────────────
   INFO ACCORDEON (standaard tabbladen uit CMS)
   Transparante achtergrond, subtiele border-bottom
────────────────────────────────────────────── */
.ww-info-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ede8e3;
}
.ww-info-acc-item {
    border-bottom: 1px solid #ede8e3;
}
.ww-info-acc-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 13px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c2015;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--bodyFont, inherit);
    gap: 10px;
}
.ww-info-acc-q::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    color: #c5b8ae;
    flex-shrink: 0;
    transition: transform .18s;
}
.ww-info-acc-item.open .ww-info-acc-q::after {
    transform: rotate(45deg);
    color: var(--primary, #c0392b);
}
.ww-info-acc-a {
    display: none;
    padding: 0 0 14px;
    font-size: 14px;
    color: #5a4a3a;
    line-height: 1.65;
}
.ww-info-acc-item.open .ww-info-acc-a { display: block; }

/* ──────────────────────────────────────────────
   BEOORDELINGEN TAB
────────────────────────────────────────────── */
.ww-reviews-wrap {
    font-size: 14px;
    color: #4a3a2e;
}
.ww-reviews-wrap #reviews { padding: 0; margin: 0; }
.ww-reviews-wrap #comments { margin-bottom: 24px; }
.ww-reviews-wrap .comment-text {
    background: #faf7f4;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.ww-reviews-wrap .woocommerce-review__author { font-weight: 600; }
.ww-reviews-wrap .star-rating { color: var(--primary, #c0392b); }
/* Formulier */
.ww-reviews-wrap #review_form_wrapper { margin-top: 24px; }
.ww-reviews-wrap #review_form input[type="text"],
.ww-reviews-wrap #review_form input[type="email"],
.ww-reviews-wrap #review_form textarea {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #e8e4e0 !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    background: #fdfcfb !important;
    box-sizing: border-box;
}
.ww-reviews-wrap #review_form input[type="submit"] {
    padding: 11px 24px !important;
    border-radius: 8px !important;
    background: var(--primary, #c0392b) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    cursor: pointer;
}

/* Max 5 thumbs tonen */
.product-gallery-thumbs .swiper-slide:nth-child(n+6) { display: none; }

/* ──────────────────────────────────────────────
   BEOORDELINGEN – uitgebreide styling
────────────────────────────────────────────── */
/* Rating summary onder h1 */
.ww-rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
    cursor: pointer;
}
.ww-rating-stars {
    position: relative;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}
.ww-stars-bg { color: #e0dbd5; }
.ww-stars-fill {
    position: absolute;
    top: 0; left: 0;
    overflow: hidden;
    color: #f5a623;
    white-space: nowrap;
}
.ww-rating-avg {
    font-weight: 700;
    font-size: 15px;
    color: #2c2015;
}
.ww-rating-count {
    font-size: 13px;
    color: #8a7060;
}
.ww-rating-link {
    font-size: 13px;
    color: var(--primary, #c0392b);
    text-decoration: underline;
    cursor: pointer;
}

/* Reviews wrap – netter */
.ww-reviews-wrap #reviews { padding: 0; margin: 0; }
.ww-reviews-wrap .woocommerce-Reviews-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #5a4a3a !important;
    margin: 0 0 16px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0ebe6;
}

/* Bestaande review items */
.ww-reviews-wrap .commentlist {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ww-reviews-wrap .comment_container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #faf7f4;
    border-radius: 12px;
    padding: 14px 16px;
}
.ww-reviews-wrap .comment_container .avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}
.ww-reviews-wrap .comment-text { padding: 0; background: transparent; border-radius: 0; margin: 0; flex: 1; }

/* Sterren in reviews: geel */
.ww-reviews-wrap .star-rating,
.star-rating {
    overflow: hidden;
    position: relative;
    width: 5.3em;
    height: 1em;
    line-height: 1;
    font-size: 14px;
    font-family: star, sans-serif;
    color: #f5a623 !important;
}
.ww-reviews-wrap .star-rating::before,
.star-rating::before {
    content: '\2605\2605\2605\2605\2605';
    color: #e0dbd5;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}
.ww-reviews-wrap .star-rating span,
.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
.ww-reviews-wrap .star-rating span::before,
.star-rating span::before {
    content: '\2605\2605\2605\2605\2605';
    top: 0;
    position: absolute;
    left: 0;
    color: #f5a623 !important;
}

/* Meta rij */
.ww-reviews-wrap .meta {
    font-size: 12px;
    color: #8a7060;
    margin: 4px 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ww-reviews-wrap .woocommerce-review__author {
    font-weight: 700;
    color: #2c2015;
    font-size: 14px;
}
.ww-reviews-wrap .description p {
    font-size: 14px;
    color: #4a3a2e;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Formulier titel */
.ww-reviews-wrap .comment-reply-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2c2015 !important;
    display: block;
    margin-bottom: 14px;
}

/* Sterren klikken in formulier */
.ww-reviews-wrap .stars a {
    color: #e0dbd5;
    font-size: 22px;
    text-decoration: none;
    transition: color .15s;
}
.ww-reviews-wrap .stars a:hover,
.ww-reviews-wrap .stars a.active,
.ww-reviews-wrap .stars span.selected a {
    color: #f5a623;
}
.ww-reviews-wrap .stars { display: flex; gap: 4px; margin: 6px 0 12px; }

/* Rating label */
.ww-reviews-wrap .comment-form-rating label {
    font-size: 13px;
    font-weight: 600;
    color: #5a4a3a;
    display: block;
    margin-bottom: 4px;
}

/* Cross-sells inline */
.ww-inline-crosssells {
    padding-top: 10px;
}
.ww-crosssells-title {
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
    margin: 0 0 8px;
    letter-spacing: .02em;
}
.ww-crosssells-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ww-cs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(0,0,0,.075);
    transition: opacity .15s;
}
.ww-cs-row:last-child { border-bottom: none; }
.ww-cs-row:hover { opacity: .75; }
.ww-cs-row img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #ede8e3;
    background: var(--ww-thumb-bg, #f2ead8);
    flex-shrink: 0;
}
.ww-cs-row .ww-cs-name {
    flex: 1;
    font-size: 13px;
    color: #2c2015;
    line-height: 1.35;
    font-weight: 500;
}
.ww-cs-row .ww-cs-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, #c0392b);
    white-space: nowrap;
    flex-shrink: 0;
}
.ww-cs-row::after {
    content: '';
    display: inline-flex;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f5f1ed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7060' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-left: auto;
}

/* Responsive reviews */
@media (max-width: 600px) {
    .ww-reviews-wrap .comment_container { flex-direction: column; gap: 8px; }
    .ww-reviews-wrap .comment_container .avatar { width: 32px !important; height: 32px !important; }
    .ww-crosssells-items { gap: 6px; }
    .ww-cs-item { width: 60px; }
    .ww-cs-item img { width: 54px; height: 54px; }
}

/* Review titel */
.ww-review-title {
    font-size: 14px;
    font-weight: 700;
    color: #2c2015;
    margin: 0 0 4px;
    font-style: normal;
}
.ww-reviews-wrap .comment-form-review-title label {
    font-size: 13px;
    font-weight: 600;
    color: #5a4a3a;
    display: block;
    margin-bottom: 5px;
}
.ww-reviews-wrap .comment-form-review-title input {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #e8e4e0 !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    background: #fdfcfb !important;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* ──────────────────────────────────────────────
   ADD-TO-CART NOTICE op product pagina
────────────────────────────────────────────── */
.ww-product-notices { min-height: 0; }

.ww-product-notices .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-message {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #e8f5e9 !important;
    border: none !important;
    border-left: 4px solid #43a047 !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    font-weight: 500;
    color: #2e7d32 !important;
    margin-bottom: 16px;
    outline: none !important;
    list-style: none !important;
}
.ww-product-notices .woocommerce-message::before,
.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
    display: none !important;   /* verwijder het WC-icoon dat ruimte verstoort */
}

/* 'Bekijk winkelwagen' knop – rood, niet grijs */
.ww-product-notices .woocommerce-message a.button,
.single-product .woocommerce-notices-wrapper .woocommerce-message a.button,
.single-product .woocommerce-notices-wrapper .woocommerce-message .button {
    display: inline-flex !important;
    align-items: center;
    padding: 8px 16px !important;
    border-radius: 7px !important;
    background: var(--primary, #c0392b) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    order: -1;
    margin: 0 !important;
    transition: opacity .15s;
}
.ww-product-notices .woocommerce-message a.button:hover { opacity: .85; }

/* Mobiel: alles onder elkaar */
@media (max-width: 600px) {
    .ww-product-notices .woocommerce-message,
    .single-product .woocommerce-notices-wrapper .woocommerce-message {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .ww-product-notices .woocommerce-message a.button { order: 0; }
}

/* Qty input iets smaller op desktop */
.single-product .ww-qty-wrapper input.qty { transform: scale(0.85); transform-origin: center; }

/* ──────────────────────────────────────────────
   TAB SIDEBAR (col_tab_img)
────────────────────────────────────────────── */
.ww-tab-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100px;
}

/* Categorie afbeelding */
.ww-tab-cat-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
}

/* USP's compact */
.ww-tab-usps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ww-tab-usps li {
    font-size: 13px;
    color: #4a3a2e;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}
.ww-tab-usps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary, #c0392b);
    font-weight: 700;
    font-size: 12px;
}

/* Betaalmethode iconen */
.ww-tab-payment { border-top: 1px solid #f0ebe6; padding-top: 12px; }
.ww-tab-payment-label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 8px;
}

/* Mobiel: col_tab_img verbergen */
@media (max-width: 991px) {
    .col_tab_img { display: none; }
}

/* ──────────────────────────────────────────────
   CATEGORIE TERUG-LINK boven h1
────────────────────────────────────────────── */
.ww-product-cat-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #8a7060;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color .15s;
}
.ww-product-cat-back:hover { color: var(--primary, #c0392b); }
.ww-product-cat-back svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   TAB SIDEBAR: galerij + review card
────────────────────────────────────────────── */
.ww-tab-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100px;
}
.ww-tab-cat-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 14px;
    overflow: hidden;
}

/* Review card in sidebar */
.ww-tab-review-card {
    background: #fff;
    border: 1px solid #ede8e3;
    border-radius: 12px;
    padding: 14px 16px;
    transition: box-shadow .2s;
}
.ww-tab-review-card:hover { box-shadow: 0 4px 16px rgba(44,32,21,.08); }
.ww-tab-review-stars {
    color: #f5a623;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.ww-tab-review-title {
    font-size: 13px;
    font-weight: 700;
    color: #2c2015;
    margin-bottom: 6px;
}
.ww-tab-review-text {
    font-size: 13px;
    color: #5a4a3a;
    line-height: 1.55;
    margin: 0 0 10px;
    font-style: italic;
}
.ww-tab-review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #f5f1ed;
}
.ww-tab-review-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary, #c0392b);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ww-tab-review-name { font-size: 12px; font-weight: 600; color: #2c2015; }

@media (max-width: 991px) {
    .col_tab_img { display: none !important; }
}

/* Quantity wrapper altijd 100% breed (ook bij simpele producten) */
.single-product form.cart .quantity.ww-qty-done,
.single-product .quantity.ww-qty-done { width: 100% !important; }
.single-product form.cart { width: 100%; }

/* Mobiel swiper: slides netjes */
@media (max-width: 767px) {
    .product-gallery-main .swiper-slide .img {
        margin: 0 4px !important;
        border-radius: 14px !important;
        width: calc(100% - 8px) !important;
    }
    /* overflow visible zodat peek werkt */
    .product-gallery-main .swiper-container,
    .product-gallery-main { overflow: visible !important; }
    /* Clip de ruimte buiten de gallery wrapper */
    .product-gallery-wrapper { overflow: hidden; }
}

@media (max-width: 767px) {
    .col_product_side { padding-left: 0 !important; }
}

/* ── 1 foto: altijd 100% breed op mobiel, geen peek-effect ── */
@media (max-width: 767px) {
    .product-gallery-main.ww-single-photo .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .ww-single-photo-wrap {
        overflow: hidden !important;
    }
}
