/* ==========================================================================
   OH MY MUSCLE! - COMPONENTS.CSS
   Animaties, Knoppen, Productkaarten, Product-Detail, Accordeons,
   Winkelwagen-Drawer, Quick-Add Modal, Smaak-Popup, Zoek-Overlay,
   Keuzehulp Modal & Zwevende 15% Kortingswidget
   ========================================================================== */

/* === 1. ANIMATIES & KEYFRAMES === */
@keyframes simpleFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.2) translateY(-2px); }
    70% { transform: scale(0.9) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
}

.cart-bounce {
    animation: cartBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes searchItemFade {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes searchContentFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pricePop {
    0% { opacity: 0.5; transform: translateY(-2px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes qtyPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

@keyframes pulse-green {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes cartItemIn {
    0% {
        opacity: 0;
        transform: translateY(-14px) scale(0.98);
        background-color: rgba(15, 169, 104, 0.12);
        border-radius: 10px;
    }
    60% {
        opacity: 1;
        transform: translateY(0) scale(1);
        background-color: rgba(15, 169, 104, 0.06);
        border-radius: 10px;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        background-color: transparent;
    }
}

.cart-item.new-item {
    animation: cartItemIn 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes emptyCartFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes subtleProductFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-item {
    opacity: 0;
    animation: subtleProductFade 0.18s ease-out forwards;
}

.price-update {
    animation: pricePop 0.3s ease-in-out;
}

/* === 2. KNOPPEN, BADGES & HOVER-STATES === */
.bestseller-pill-badge {
    display: inline-block;
    align-self: flex-start;
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 4px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-button);
    color: var(--color-button-text);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    border-radius: 9999px;
}

.btn.btn-accent-blue {
    background-color: var(--color-accent-blue);
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn.btn-cart-green {
    background-color: var(--color-cart-green) !important;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn:active {
    transform: scale(0.98);
    box-shadow: none;
}

@media (min-width: 768px) {
    .btn { width: auto; }
    .btn-full { width: 100%; }
}

@media (hover: hover) {
    .btn:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .btn.btn-accent-blue:hover {
        background-color: var(--color-accent-blue-hover);
        color: #ffffff !important;
        opacity: 1;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(229, 9, 20, 0.35);
    }
    .btn.btn-cart-green:hover {
        background-color: var(--color-cart-green-hover) !important;
        color: #ffffff !important;
        opacity: 1;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(15, 169, 104, 0.32);
    }
    .btn-outline:hover {
        background-color: var(--color-text);
        color: var(--color-background);
    }
    .nav-desktop a:hover {
        opacity: 1;
        color: var(--color-accent-blue);
        text-decoration: underline;
        text-underline-offset: 6px;
    }
    .product-card:hover .product-image {
        opacity: 0.9;
        transform: scale(1.02);
    }
    .category-tile:hover {
        transform: translateY(-2px);
        background-color: #ececee;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    }
    .icon-btn:hover {
        opacity: 0.8;
        transform: scale(1.08);
    }
    .product-fav-icon-btn:hover {
        transform: scale(1.12);
        opacity: 0.75;
    }
    .thumbnail:hover {
        border-color: #ccc;
    }
    .cart-item-img:hover {
        opacity: 0.8;
    }
    .cart-item-details h3:hover {
        text-decoration: underline;
    }
    .quick-add-btn:hover {
        transform: scale(1.1);
        background-color: #0C8E57;
    }
    .flavor-selector-bar:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }
    .flavor-option-row:hover {
        border-color: #999;
        background-color: #fafafa;
    }
    .size-card:hover {
        border-color: #888;
    }
    .bottom-sheet-close:hover,
    .menu-close-btn:hover {
        background-color: #e5e5e5;
    }
    .cart-close-pill-btn:hover {
        opacity: 0.9;
        transform: scale(0.98);
    }
    .flavor-sheet-close-floating:hover {
        transform: scale(1.06);
    }
    .cart-item-remove:hover {
        color: #111111;
    }
    .popular-tag-pill:hover {
        background-color: #111111;
        color: #ffffff;
        border-color: #111111;
    }
    .cart-upsell-btn:hover {
        background-color: #111111;
        color: #ffffff;
    }
}

/* === 3. CATEGORIE-PILLS, FILTER/SORTEER BALK, PRODUCT GRID & PRODUCTKAARTEN === */
.catalog-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.catalog-categories::-webkit-scrollbar {
    display: none;
}

/* Verberg de dubbele categorie-knoppenbalk op PC/desktop (daar staan ze al in de header) */
@media (min-width: 1024px) {
    #catalog-categories-bar {
        display: none !important;
    }
}

/* Filteren & Sorteren balk: op mobiel 50/50 onder de categorie-pills, op PC rechts naast de titel */
.catalog-controls-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 40;
}

@media (min-width: 1024px) {
    .catalog-controls-bar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: auto;
        margin-bottom: 0;
    }
}

.catalog-control-wrap {
    position: relative;
    width: 100%;
}

@media (min-width: 1024px) {
    .catalog-control-wrap {
        width: auto;
    }
}

.catalog-control-btn {
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border: 1.5px solid #e4e4e7;
    border-radius: 9999px;
    background: #ffffff;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-control-btn:hover,
.catalog-control-btn.active {
    border-color: #1c1c1e;
    background: #fafafa;
}

.control-label-desktop {
    display: none;
}

.control-label-mobile {
    display: inline;
}

@media (min-width: 1024px) {
    .control-label-desktop {
        display: inline;
    }
    .control-label-mobile {
        display: none;
    }
    .catalog-control-btn {
        width: auto;
        padding: 0 18px;
    }
}

.catalog-control-btn strong {
    font-weight: 800;
    color: #111111;
}

.catalog-filter-badge {
    background: #1c1c1e;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.catalog-control-chevron {
    transition: transform 0.22s ease;
}

.catalog-control-btn.active .catalog-control-chevron {
    transform: rotate(180deg);
}

.catalog-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
    z-index: 80;
}

.catalog-dropdown-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Filter Menu: op Mobiel een Bottom-Sheet van onder naar boven met afgeronde bovenhoeken, op PC een Zijpaneel aan de rechterkant */
.filter-drawer {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    max-height: 85dvh;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    background: var(--color-background);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-drawer.active {
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .filter-drawer {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 410px;
        max-width: 410px;
        height: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        transform: translateX(100%);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.16);
    }

    .filter-drawer.active {
        transform: translateX(0);
    }
}

.filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalog-filter-group {
    padding-bottom: 18px;
    border-bottom: 1px solid #efefef;
}

.catalog-filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.catalog-filter-group-title {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #71717a;
    margin-bottom: 12px;
}

.catalog-filter-options {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.catalog-filter-OptionLabel {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #18181b;
    cursor: pointer;
}

.catalog-filter-OptionLabel input {
    accent-color: #1c1c1e;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-drawer-footer {
    flex-shrink: 0;
    padding: 16px 20px 20px;
    border-top: 1px solid #ececec;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
}

.catalog-filter-reset-btn {
    height: 46px;
    border-radius: 9999px;
    border: 1.5px solid #d4d4d8;
    background: #ffffff;
    color: #111111;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.catalog-filter-reset-btn:hover {
    border-color: #111111;
    background: #f8f8f9;
}

.catalog-filter-apply-btn {
    height: 46px;
    border-radius: 9999px;
    background: #1c1c1e;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.catalog-filter-apply-btn:hover {
    opacity: 0.92;
}

.catalog-sort-dropdown {
    right: 0;
    left: auto;
    width: 245px;
    max-width: calc(100vw - 3rem);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (min-width: 1024px) {
    .catalog-sort-dropdown {
        left: 0;
        right: auto;
    }
}

.catalog-sort-option {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: transparent;
    color: #27272a;
    font-size: 0.86rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.catalog-sort-option:hover {
    background: #f4f4f5;
    color: #111111;
}

.catalog-sort-option.active {
    background: #1c1c1e;
    color: #ffffff;
    font-weight: 700;
}

.catalog-sort-option .sort-check {
    opacity: 0;
    font-weight: 800;
}

.catalog-sort-option.active .sort-check {
    opacity: 1;
}

.cat-btn,
.category-pill {
    padding: 8px 20px;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background: #ffffff;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.cat-btn:not(.active),
.category-pill:not(.active),
.cat-btn:not(.active):focus,
.cat-btn:not(.active):active,
.cat-btn:not(.active):focus-visible,
.category-pill:not(.active):focus,
.category-pill:not(.active):active,
.category-pill:not(.active):focus-visible {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: var(--color-border) !important;
    outline: none !important;
}

@media (hover: hover) {
    .cat-btn:not(.active):hover,
    .category-pill:not(.active):hover {
        border-color: #1c1c1e !important;
        background: #ffffff !important;
        color: #111111 !important;
    }
}

.cat-btn.active,
.category-pill.active,
.cat-btn.active:focus,
.cat-btn.active:active,
.category-pill.active:focus,
.category-pill.active:active {
    background: #1c1c1e !important;
    color: #ffffff !important;
    border-color: #1c1c1e !important;
    outline: none !important;
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
}

@media (min-width: 768px) { 
    .product-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 1.5rem; 
    } 
}

@media (min-width: 900px) { 
    .product-grid { 
        grid-template-columns: repeat(4, 1fr); 
        gap: 2rem; 
    } 
}

.product-card { 
    cursor: pointer; 
    position: relative; 
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease; 
    max-height: 800px; 
}

.product-card.removing-fav {
    opacity: 0;
    transform: scale(0.8);
    max-height: 0;
    overflow: hidden;
}

.product-image {
    width: 100%; 
    aspect-ratio: 1 / 1; 
    background-color: var(--color-image-placeholder);
    display: flex; 
    justify-content: center; 
    align-items: center;
    color: #888888; 
    font-size: 0.85rem;
    margin-bottom: 0.75rem; 
    transition: all 0.4s ease;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Duidelijk BESTSELLER-label linksboven op productkaarten */
.card-bestseller-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1.2;
}

.product-title { 
    font-size: 1rem; 
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.15rem; 
    line-height: 1.3;
}

/* Variant-details direct onder de titel op de productkaart (bijv. 5 smaken • 500g) */
.product-card-meta {
    font-size: 0.8rem;
    color: #666666;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.product-price { 
    font-size: 0.98rem; 
    font-weight: 700;
    color: #111111; 
}

/* Favorieten Hartje (Alleen op Favorieten pagina) */
.fav-btn-card {
    position: absolute; 
    top: 10px; 
    right: 10px;
    background: #fff; 
    border-radius: 50%;
    width: 32px; 
    height: 32px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    z-index: 10;
}

.fav-btn-card svg { 
    width: 16px; 
    height: 16px; 
    transition: fill 0.2s, stroke 0.2s; 
}

.fav-btn-card.active svg { 
    fill: #121212; 
    stroke: #121212; 
}

.animate-heart svg { 
    animation: heartBeat 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Ronde Snel-toevoegen winkelwagen knop op productkaarten: Heldergroen (#0FA968) met wit icoon */
.quick-add-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background-color: #0FA968;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(15, 169, 104, 0.28);
    z-index: 10;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.quick-add-btn:active {
    transform: scale(0.95);
}

.quick-add-btn svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    color: #ffffff;
}

/* === 4. PRODUCT DETAIL PAGINA, STERREN, QUICK-USPS, BUNDEL & VARIANT SELECTORS === */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .product-detail-layout > div:first-child {
        position: sticky;
        top: 110px;
    }
    .product-detail-info .product-title-row,
    .product-detail-info .product-quick-usps,
    .product-detail-info .product-stock,
    .product-detail-info .detail-variants,
    .product-detail-info .product-actions,
    .product-detail-info .product-bundle-box,
    .product-detail-info .product-trust-box,
    .product-detail-info .product-accordions {
        max-width: 100%;
    }
}

.product-detail-layout > div { 
    min-width: 0; 
}

.product-gallery-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-image-placeholder);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-gallery-slider::-webkit-scrollbar {
    display: none;
}

.product-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-image-placeholder);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #888888;
    scroll-snap-align: start;
    text-align: center;
    padding: 0;
    word-break: break-word;
    overflow: hidden;
    position: relative;
}

.product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-thumbnails { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    margin-top: 10px; 
}

.thumbnail { 
    aspect-ratio: 1 / 1; 
    background-color: var(--color-image-placeholder); 
    border-radius: 6px; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: all 0.2s ease; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 0.75rem; 
    color: #888888; 
    overflow: hidden; 
    box-sizing: border-box;
    outline: none;
    padding: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail.active { 
    border-color: #121212; 
}

/* Bestseller-label wrapper boven de producttitel op de productpagina */
.detail-bestseller-wrap {
    margin-bottom: 0.4rem;
}

/* Compacte titelrij met Favorieten-hartje rechts (zonder cirkel/rand) */
.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.35rem;
    width: 100%;
    max-width: 100%;
}

.product-detail-info h1 { 
    font-size: 24px; 
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0; 
}

@media (min-width: 900px) {
    .product-detail-info h1 {
        font-size: 30px;
    }
}

.product-fav-icon-btn {
    width: auto;
    height: auto;
    padding: 4px;
    border: none;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #111111;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-fav-icon-btn.active {
    color: #111111;
}

/* Grotere zwarte SVG-sterren (18px) met direct rechts daarnaast tussen haakjes het aantal reviews */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 0.75rem;
}

.rating-stars-svg {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-stars-svg svg {
    display: block;
    flex-shrink: 0;
}

.rating-count-brackets {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111111;
    line-height: 1;
}

/* 3 Korte, krachtige product-specifieke USP-vinkjes direct onder de sterren (boven de prijs) */
.product-quick-usps {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1.1rem;
    padding: 0;
    list-style: none;
    max-width: 100%;
}

.product-quick-usps li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #18181b;
    line-height: 1.35;
}

.product-quick-usps li .quick-usp-check {
    color: #108043;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.product-detail-price { 
    font-size: 1.55rem; 
    font-weight: 800;
    margin-bottom: 0.15rem; 
    color: #111111; 
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-tax-note { 
    font-size: 13px; 
    color: #666666; 
    margin-bottom: 1rem; 
}

/* Voorraad en countdown netjes op één lijn met groen "Op voorraad" */
.product-stock { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.88rem; 
    font-weight: 500;
    margin-bottom: 1.5rem; 
    color: #222222; 
    line-height: 1.4;
    max-width: 100%;
}

.stock-dot { 
    width: 9px; 
    height: 9px; 
    background-color: #16a34a; 
    border-radius: 50%; 
    position: relative; 
    flex-shrink: 0;
}

.stock-dot::after { 
    content: ''; 
    position: absolute; 
    top: -4px; 
    left: -4px; 
    right: -4px; 
    bottom: -4px; 
    border-radius: 50%; 
    border: 2px solid #16a34a; 
    animation: pulse-green 2s infinite; 
    opacity: 0; 
}

.stock-text-wrap {
    display: inline;
}

.stock-label-green {
    color: #16a34a;
    font-weight: 700;
}

/* Variant Selectors (Smaak-keuzebalk & Grootte-kaarten) */
.detail-variants {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.variant-label {
    font-size: 0.85rem;
    color: #333333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Brede klikbare Smaak-keuzebalk */
.flavor-selector-bar {
    border: 1.5px solid #111111;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #ffffff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.flavor-selector-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flavor-swatch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.flavor-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.flavor-selector-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.flavor-selector-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.2;
}

.flavor-selector-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Onderscheidend label voor de populairste smaak in rode logo-stijl */
.popular-flavor-badge {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #fef2f2;
    border: 1px solid var(--color-accent-blue);
    border-radius: 4px;
    padding: 1px 6px;
    color: #b91c1c;
    line-height: 1.35;
}

.flavor-count-text {
    font-size: 12px;
    color: #666666;
}

.flavor-selector-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
}

/* Grootte / Inhoud-kaarten in een grid (met ruimte bovenin voor de 'MEEST GEKOZEN' badge) */
.size-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    width: 100%;
    padding-top: 8px;
    box-sizing: border-box;
}

.size-card {
    position: relative;
    border-radius: 12px;
    padding: 16px 10px 14px 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.size-card.active {
    border: 2px solid #111111;
    padding: 15px 9px 13px 9px;
    background: #fafafa;
}

/* 'MEEST GEKOZEN' badge bovenop de meest gekozen inhoudsmaat in rode logo-stijl met witte tekst */
.size-most-chosen-badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-blue);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 9999px;
    white-space: nowrap;
    line-height: 1.25;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.size-card-weight {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
}

.size-card-servings {
    font-size: 0.75rem;
    color: #666666;
}

.size-card-unit-price {
    font-size: 0.75rem;
    color: #333333;
    font-weight: 600;
}

/* Aantal en Toevoegen-knop exact uitgelijnd op één rij met de kaarten erboven */
.product-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    width: 100%;
    max-width: 100%; 
    margin-bottom: 1.6rem; 
    box-sizing: border-box;
}

.product-add-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.qty-selector { 
    display: inline-flex; 
    border: 1px solid var(--color-border); 
    align-items: center; 
    height: 40px; 
    border-radius: 9999px;
    overflow: hidden;
}

.qty-btn { 
    padding: 0 15px; 
    font-size: 1.2rem; 
    color: #555; 
    height: 100%; 
}

.qty-input { 
    width: 40px; 
    text-align: center; 
    border: none; 
    font-size: 1rem; 
    pointer-events: none; 
    background: transparent; 
    transition: transform 0.2s; 
    display: inline-block;
}

.qty-input.pop {
    animation: qtyPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-add-row .qty-selector { 
    height: 52px; 
    width: 114px; 
    flex: 0 0 114px;
    border: 1.5px solid #d8d8d8; 
    justify-content: space-between; 
    box-sizing: border-box;
}

.product-add-row .qty-btn { 
    width: 36px; 
    padding: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.product-add-row .qty-input { 
    width: 38px; 
    font-weight: 700;
}

.product-add-row .product-main-cart-btn { 
    flex: 1 1 auto;
    min-width: 0;
    width: auto; 
    max-width: 100%;
    height: 52px; 
    padding: 0 1rem; 
    font-size: 13px; 
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.03em; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

/* Vaak samen gekocht / Voordeelbundel (Bespaar 10%) */
.product-bundle-box {
    border: 1.5px solid #e5e5e5;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 1.5rem;
    background: #fafafa;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.bundle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.bundle-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
}

.bundle-badge {
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.bundle-items {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.bundle-item {
    flex: 1;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bundle-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--color-image-placeholder);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.56rem;
    font-weight: 600;
    color: #888888;
    text-align: center;
    line-height: 1.1;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.bundle-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bundle-item-meta {
    min-width: 0;
}

.bundle-item-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.bundle-item-sub {
    font-size: 0.72rem;
    color: #666666;
    display: block;
}

.bundle-plus {
    font-size: 1.1rem;
    font-weight: 700;
    color: #555555;
    flex-shrink: 0;
}

.bundle-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaeaea;
}

.bundle-prices {
    display: flex;
    flex-direction: column;
}

.bundle-old-price {
    font-size: 0.8rem;
    color: #888888;
    text-decoration: line-through;
    line-height: 1.2;
}

.bundle-new-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #108043;
    line-height: 1.3;
}

.bundle-add-btn {
    padding: 10px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 9999px;
    background: #111111;
    color: #ffffff;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

/* Vernieuwde Sportieve USP- en Betaalbox op de productpagina */
.product-trust-box {
    background: #f4f4f6;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    padding: 16px;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-usps { 
    display: flex; 
    flex-direction: column; 
    gap: 11px; 
    margin-bottom: 0; 
}

.usp-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 0.86rem; 
    color: #27272a; 
    line-height: 1.35;
}

.usp-item strong {
    color: #111111;
    font-weight: 800;
}

.usp-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.usp-icon-badge svg { 
    width: 17px; 
    height: 17px; 
    flex-shrink: 0; 
    stroke: #1c1c1e; 
}

.product-payments { 
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e4e4e7;
    margin-bottom: 0; 
}

.product-payments p { 
    font-size: 0.72rem; 
    font-weight: 800;
    color: #52525b; 
    text-transform: uppercase; 
    letter-spacing: 0.06em; 
    margin-bottom: 10px; 
}

.product-payments .payment-icons { 
    justify-content: flex-start; 
    gap: 10px;
}

/* Vernieuwde Sportieve Product-accordeon kaarten (Beschrijving, Ingrediënten, Gebruiksadvies, Verzending) */
.product-accordions { 
    border-top: none; 
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

.accordion { 
    background: #f8f8fa;
    border: 1px solid #e4e4e7; 
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.accordion.active {
    border-color: #1c1c1e;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.accordion-header { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 16px 18px; 
    font-size: 16px; 
    font-weight: 800; 
    color: #111111; 
    background: none; 
    border: none; 
    cursor: pointer; 
    text-align: left; 
    transition: color 0.2s ease;
}

.accordion-chevron-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ececef;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-chevron-badge svg { 
    width: 15px; 
    height: 15px; 
}

.accordion.active .accordion-chevron-badge { 
    background: #1c1c1e;
    color: #ffffff;
    transform: rotate(180deg); 
}

.accordion-content { 
    max-height: 0; 
    opacity: 0;
    overflow: hidden; 
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.32s ease-in-out; 
}

.accordion-inner { 
    padding: 0 18px; 
    font-size: 0.91rem; 
    color: #3f3f46; 
    line-height: 1.6;
    transition: padding-bottom 0.35s ease-in-out;
}

.accordion.active .accordion-content { 
    max-height: 950px; 
    opacity: 1; 
}

.accordion.active .accordion-inner { 
    padding-bottom: 18px; 
}

.accordion-desc-text {
    margin-bottom: 12px;
    color: #27272a;
    line-height: 1.6;
}

/* Sportieve vinkjeslijst in de accordeons i.p.v. saaie zwarte bolletjes */
.sport-check-list,
.accordion-inner ul { 
    padding-left: 0; 
    list-style: none; 
    margin-top: 0.5rem; 
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sport-check-list li,
.accordion-inner ul li { 
    position: relative;
    padding-left: 24px;
    margin-bottom: 0; 
    font-weight: 600;
    color: #18181b;
    line-height: 1.45;
}

.sport-check-list li::before,
.accordion-inner ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #108043;
    font-weight: 900;
    font-size: 0.95rem;
}

/* Sport-nutrition Voedingswaardetabel met afwisselende rij-achtergronden */
.nutrition-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0.85rem;
    font-size: 0.84rem;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    overflow: hidden;
}

.nutrition-table th,
.nutrition-table td {
    padding: 9px 11px;
    border-bottom: 1px solid #ececef;
    text-align: left;
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

.nutrition-table th {
    font-weight: 800;
    color: #ffffff;
    background: #1c1c1e;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.nutrition-table tbody tr:nth-child(even) {
    background: #f4f4f6;
}

.nutrition-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.nutrition-table tbody td:first-child {
    font-weight: 700;
    color: #111111;
}

/* Cross-sell sectie op productpagina: Gebalanceerde carrousel met onderbalk */
.cross-sell-section { 
    margin-top: 2.75rem; 
    border-top: 1px solid var(--color-border); 
    padding-top: 2rem; 
}

.cross-sell-header {
    margin-bottom: 1.15rem;
}

.cross-sell-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
}

@media (min-width: 1024px) {
    .cross-sell-section {
        max-width: 1020px;
        margin-left: auto;
        margin-right: auto;
    }
    .cross-sell-header {
        margin-bottom: 1.35rem;
    }
    .cross-sell-header h2 {
        font-size: 1.45rem;
    }
}

.cross-sell-carousel-wrap {
    position: relative;
    width: 100%;
}

.cross-sell-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #d4d4d8 #f4f4f5;
}

.cross-sell-slider::-webkit-scrollbar {
    height: 6px;
    display: block;
}

.cross-sell-slider::-webkit-scrollbar-track {
    background: #f4f4f5;
    border-radius: 9999px;
}

.cross-sell-slider::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 9999px;
}

.cross-sell-slider::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* Gebalanceerde productkaarten in de 'Misschien vind je dit ook leuk' sectie */
.cross-sell-slider .product-card {
    flex: 0 0 44%;
    min-width: 155px;
    max-width: 195px;
    scroll-snap-align: start;
}

.cross-sell-slider .product-image {
    margin-bottom: 0.55rem;
    border-radius: 10px;
}

.cross-sell-slider .card-bestseller-badge {
    font-size: 9.5px;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
}

.cross-sell-slider .quick-add-btn {
    width: 32px;
    height: 32px;
    bottom: 8px;
    right: 8px;
}

.cross-sell-slider .quick-add-btn svg {
    width: 16px;
    height: 16px;
}

.cross-sell-slider .product-title {
    font-size: 0.9rem;
    margin-bottom: 0.12rem;
}

.cross-sell-slider .product-card-meta {
    font-size: 0.76rem;
    margin-bottom: 0.2rem;
}

.cross-sell-slider .product-price {
    font-size: 0.88rem;
}

@media (min-width: 640px) {
    .cross-sell-slider .product-card {
        flex: 0 0 30%;
        min-width: 175px;
        max-width: 215px;
    }
}

@media (min-width: 1024px) {
    .cross-sell-slider {
        gap: 18px;
    }
    .cross-sell-slider .product-card {
        flex: 0 0 calc((100% - 54px) / 4);
        min-width: 210px;
        max-width: 245px;
    }
}

/* === 5. STICKY ADD-TO-CART BALK === */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.10);
    z-index: 90;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
}

.sticky-cart-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-cart-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    min-height: 82px;
    gap: 12px;
}

.sticky-cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sticky-cart-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--color-image-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1.1;
    font-size: 0.58rem;
    font-weight: 600;
    color: #888888;
    overflow: hidden;
}

.sticky-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sticky-cart-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sticky-cart-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

@media (min-width: 768px) {
    .sticky-cart-title { 
        max-width: 340px; 
    }
}

.sticky-cart-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444;
}

.sticky-cart-btn {
    padding: 15px 26px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.03em;
    border-radius: 9999px;
    height: auto;
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

/* === 6. WINKELWAGEN DRAWER, QUICK-ADD MODAL, SMAAK-POPUP & ZOEK-OVERLAY === */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 1005;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transform: translateX(100%);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.14);
}

.cart-drawer.instant-open,
.cart-drawer.instant-open * {
    transition: none !important;
    animation: none !important;
}

@media (min-width: 900px) {
    .cart-drawer {
        width: 430px;
        border-left: none;
    }
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    background: #111111;
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
    flex-shrink: 0;
}

.cart-header-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer-header h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.cart-header-count {
    background: #ffffff;
    color: #111111;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-close-pill-btn {
    background: #ffffff;
    color: #111111;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.cart-shipping-wrapper {
    padding: 12px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #ececec;
    transition: opacity 0.3s ease;
}

.cart-shipping-msg {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: color 0.3s ease;
}

.cart-shipping-msg.success {
    color: #108043;
    font-weight: 500;
}

.cart-shipping-bar-layout {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-shipping-bar-container {
    flex: 1;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.cart-shipping-bar-fill {
    height: 100%;
    background-color: #121212;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
}

.cart-shipping-bar-fill.success {
    background-color: #108043;
}

.cart-shipping-icon {
    width: 22px;
    height: 22px;
    color: #111;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.cart-shipping-icon.success {
    color: #108043;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    transition: opacity 0.3s ease;
}

.cart-items-container {
    padding: 16px 20px 8px 20px;
    display: flex;
    flex-direction: column;
}

.cart-items-container:has(.empty-cart-msg) {
    flex: 1;
    padding: 0;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #f2f2f2;
    transition: opacity 260ms ease, transform 260ms ease, max-height 300ms ease, margin 300ms ease, padding 300ms ease;
    max-height: 220px;
    opacity: 1;
    transform: translateX(0) scale(1);
    overflow: hidden;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0.4rem;
}

.cart-item.removing {
    opacity: 0 !important;
    transform: translateX(-20px) scale(0.96) !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom-width: 0 !important;
    overflow: hidden !important;
    pointer-events: none;
}

.cart-item-img {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    background-color: var(--color-image-placeholder);
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: #888888;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.15;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cart-item-title-block {
    min-width: 0;
    flex: 1;
}

.cart-item-details h3 {
    font-size: 0.94rem;
    font-weight: 800;
    margin-bottom: 2px;
    cursor: pointer;
    transition: text-decoration 0.2s ease;
    color: #111111;
    line-height: 1.25;
}

.cart-item-variant {
    font-size: 0.73rem;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.cart-bundle-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: #edf9f0;
    color: #108043;
    border: 1px solid #b7e4c7;
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 2px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.cart-item-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.cart-item-old-price {
    font-size: 0.75rem;
    color: #999999;
    text-decoration: line-through;
    line-height: 1.1;
}

.cart-item-price {
    font-size: 0.96rem;
    font-weight: 800;
    color: #111111;
    display: inline-block;
}

.cart-item .qty-selector {
    height: 34px;
    border: 1px solid #dcdcdc;
    border-radius: 9999px;
    flex-shrink: 0;
}

.cart-item .qty-btn {
    padding: 0 11px;
    font-size: 1.05rem;
    color: #111111;
}

.cart-item .qty-input {
    width: 28px;
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-item-remove {
    font-size: 1.35rem;
    line-height: 1;
    color: #888;
    padding: 0 2px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.cart-upsell-section {
    padding: 14px 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.cart-upsell-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
    margin-bottom: 12px;
}

/* Mobiel: uitsluitend swipen zonder onderbalk of knoppen */
.cart-upsell-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.cart-upsell-scroll::-webkit-scrollbar {
    display: none;
}

/* PC-weergave: toon onderbalk om meer producten te bekijken */
@media (min-width: 1024px) {
    .cart-upsell-scroll {
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: #d4d4d8 #f4f4f5;
    }

    .cart-upsell-scroll::-webkit-scrollbar {
        display: block;
        height: 5px;
    }

    .cart-upsell-scroll::-webkit-scrollbar-track {
        background: #f4f4f5;
        border-radius: 9999px;
    }

    .cart-upsell-scroll::-webkit-scrollbar-thumb {
        background: #d4d4d8;
        border-radius: 9999px;
    }

    .cart-upsell-scroll::-webkit-scrollbar-thumb:hover {
        background: #a1a1aa;
    }
}

.cart-upsell-card {
    min-width: 145px;
    max-width: 145px;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    overflow: hidden;
    transition: opacity 260ms ease, transform 260ms ease, min-width 260ms ease, max-width 260ms ease, padding 260ms ease, margin 260ms ease, border-width 260ms ease;
}

.cart-upsell-card.removing-upsell {
    opacity: 0;
    transform: scale(0.92);
    min-width: 0 !important;
    max-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-right: -12px !important;
    border-width: 0 !important;
    pointer-events: none;
}

.cart-upsell-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: var(--color-image-placeholder);
    margin-bottom: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: #888888;
    cursor: pointer;
}

.cart-upsell-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-upsell-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.25;
    margin-bottom: 3px;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-upsell-price {
    font-size: 0.76rem;
    font-weight: 700;
    color: #555555;
    margin-bottom: 8px;
}

.cart-upsell-btn {
    width: 100%;
    padding: 7px 10px;
    border-radius: 9999px;
    border: 1.5px solid #111111;
    background: #ffffff;
    color: #111111;
    font-size: 0.75rem;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-footer {
    flex-shrink: 0;
    padding: 16px 20px 20px;
    border-top: 1px solid #ececec;
    background: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cart-summary {
    margin-bottom: 0;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.cart-discount-row {
    color: #108043;
    font-weight: 600;
}

.cart-shipping-calc {
    color: #71717a;
    font-size: 13px;
    font-weight: 500;
}

.cart-shipping-free {
    color: #16a34a;
    font-weight: 800;
    font-size: 14px;
}

.cart-summary-divider {
    border-top: 1px solid #eee;
    margin: 10px 0;
    padding-top: 10px;
}

.cart-total-row {
    font-size: 17px;
    color: #111;
    font-weight: 600;
    margin-bottom: 0;
    align-items: center;
}

.cart-tax-note {
    font-size: 12px;
    color: #777;
    font-weight: 400;
    margin-left: 0.3rem;
}

.cart-delivery-time {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cart-delivery-time::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #108043;
    border-radius: 50%;
}

.cart-checkout-btn {
    height: 50px;
    padding: 0;
    font-weight: 800;
}

.cart-payments {
    margin-top: 14px;
    text-align: center;
}

.cart-payments p {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.empty-cart-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 140px);
    min-height: calc(100dvh - 140px);
    height: 100%;
    padding: 32px 24px;
    margin: auto 0;
    animation: emptyCartFadeIn 320ms ease forwards;
}

.empty-cart-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #71717a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.empty-cart-text {
    font-size: 1rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 1.5rem;
}

.empty-cart-btn {
    margin-top: 0;
    max-width: 250px;
    width: 100% !important;
    font-weight: 800;
}

/* Quick-Add Modal (z-index 1020: altijd gecentreerd in het midden van het scherm) */
.bottom-sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100% - 32px);
    max-width: 480px;
    margin: 0;
    background: var(--color-background);
    border-radius: 20px;
    z-index: 1020;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, calc(-50% + 14px)) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.32s ease;
}

.bottom-sheet.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bottom-sheet-handle {
    display: none;
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.bottom-sheet-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.bottom-sheet-img {
    width: 64px;
    height: 64px;
    background-color: var(--color-image-placeholder);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1.15;
    font-size: 0.65rem;
    font-weight: 600;
    color: #888888;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bottom-sheet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bottom-sheet-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.bottom-sheet-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #111111;
}

.bottom-sheet-price {
    font-size: 0.95rem;
    color: #555555;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.bottom-sheet-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f3f3f3;
    color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.bottom-sheet-body {
    max-height: 55vh;
    overflow-y: auto;
    margin-bottom: 20px;
}

.bottom-sheet-footer .btn {
    height: 50px;
}

/* Smaak-Kiezer Popup (z-index 1040: altijd gecentreerd in het midden van het scherm) */
.flavor-sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100% - 32px);
    max-width: 440px;
    margin: 0;
    z-index: 1040;
    transform: translate(-50%, calc(-50% + 14px)) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.32s ease;
}

.flavor-sheet.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.flavor-sheet-close-floating {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.flavor-sheet-close-floating:hover {
    background-color: #e5e5e5;
}

.flavor-sheet-panel {
    background: var(--color-background);
    border-radius: 20px;
    padding: 20px 22px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.flavor-sheet-header {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.flavor-sheet-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
}

.flavor-sheet-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flavor-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1.5px solid #eaeaea;
    border-radius: 12px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
}

.flavor-option-row.active {
    border-color: #111111;
    background-color: #fafafa;
}

.flavor-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flavor-option-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
}

/* Zoekbalk in de Header (Op mobiel uitklapbaar via het vergrootglas-icoon, op PC vast naast het logo) */
.header-search-container {
    display: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    z-index: 300;
}

@media (max-width: 1023px) {
    .header-search-container.mobile-open {
        display: flex;
        align-items: center;
        gap: 10px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0 14px;
        background: #1c1c1e;
        border-radius: 12px;
        z-index: 310;
    }
}

@media (min-width: 1024px) {
    .header-search-container {
        display: block;
    }
}

.mobile-search-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-search-close-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (min-width: 1024px) {
    .mobile-search-close-btn {
        display: none;
    }
}

.header-search-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    background: #ffffff;
    border: 1.5px solid #e4e4e7;
    border-radius: 9999px;
    padding: 0 14px;
    gap: 9px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-input-wrap:hover {
    border-color: #d4d4d8;
}

.header-search-input-wrap:focus-within {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22), 0 6px 18px rgba(0, 0, 0, 0.18);
}

.header-search-icon {
    color: #111111;
    flex-shrink: 0;
}

.header-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: none;
    background: transparent;
    color: #111111;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
}

.header-search-input::placeholder {
    color: #71717a;
    font-weight: 500;
}

.search-clear {
    background: #f4f4f5;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    color: #52525b;
    display: none;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.search-clear.visible {
    display: flex;
}

.search-clear:hover {
    background: #e4e4e7;
    color: #111111;
}

/* Live Dropdown Zoekmenu: zweeft met nette tussenruimte onder de zoekbalk/header */
.header-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
    z-index: 500;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .header-search-dropdown {
        top: calc(100% + 12px);
        left: 0;
        right: auto;
        width: 380px;
        min-width: 360px;
        max-width: 400px;
    }
}

.header-search-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.search-content-animator {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-content-animator.open {
    grid-template-rows: 1fr;
}

.search-content-inner {
    overflow: hidden;
}

.search-results-wrapper {
    width: 100%;
    padding: 18px;
}

/* Geen afsnijden bij <= 4 producten; subtiele 4px scrollbar bij > 4 producten */
.search-results-list {
    max-height: none;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-results-list.is-scrollable {
    max-height: 272px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #d4d4d8 transparent;
}

.search-results-list::-webkit-scrollbar {
    width: 4px;
}

.search-results-list::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-list::-webkit-scrollbar-thumb {
    background-color: #d4d4d8;
    border-radius: 9999px;
}

.search-result-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    opacity: 0;
    transform: translateY(6px);
    animation: searchItemFade 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-image-placeholder);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #888;
    overflow: hidden;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-result-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
    color: #111;
}

.search-result-info p {
    font-size: 0.85rem;
    color: #555;
}

.search-result-chevron {
    color: #ccc;
    font-size: 1.5rem;
    font-weight: 300;
    padding-right: 0.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.search-result-item:hover .search-result-chevron {
    color: #111;
    transform: translateX(3px);
}

.search-empty {
    text-align: center;
    color: #777;
    padding: 2rem 0;
    font-size: 0.95rem;
    animation: searchContentFadeIn 0.28s ease-out forwards;
}

.recent-searches {
    max-height: 360px;
    opacity: 1;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, margin 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.recent-searches.closing {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.recent-searches-inner {
    overflow: hidden;
}

.recent-searches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.recent-searches-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recent-searches-clear {
    font-size: 0.75rem;
    color: #777;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
}

.recent-searches-clear:hover {
    color: #111;
}

.recent-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    border-radius: 4px;
    max-height: 50px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.recent-search-item:hover {
    background-color: #f9f9f9;
}

.recent-search-item.removing {
    opacity: 0;
    transform: translateX(-8px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    border-color: transparent;
}

.recent-search-text {
    font-size: 0.95rem;
    color: #111;
    flex: 1;
}

.recent-search-remove {
    color: #999;
    padding: 0.2rem 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
}

.recent-search-remove:hover {
    color: #111;
}

.popular-searches {
    padding-top: 0.25rem;
}

.popular-searches-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-tag-pill {
    padding: 7px 15px;
    border-radius: 9999px;
    background-color: #f3f3f3;
    border: 1px solid #e5e5e5;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-all-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    margin-top: 12px;
    background-color: #f4f4f5;
    color: #111111;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
    animation: searchContentFadeIn 0.28s ease-out forwards;
}

.view-all-btn:hover {
    background-color: #f0f0f0;
}

/* === 7. COMPLETE INTERACTIEVE KEUZEHULP MODAL === */
/* z-index 250 zodat Winkelwagen (300) en Quick-Add (340) er bovenop kunnen openen */
.quiz-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0;
}

/* Geen open-flits bij terugkeren via de Terug-knop vanaf een productpagina */
.quiz-modal-overlay.instant-open,
.quiz-modal-overlay.instant-open .quiz-modal,
.quiz-modal-overlay.instant-open .quiz-step-container,
.quiz-modal-overlay.instant-open .quiz-progress-fill {
    transition: none !important;
    animation: none !important;
}

@media (min-width: 768px) {
    .quiz-modal-overlay {
        padding: 20px;
    }
}

.quiz-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.quiz-modal {
    background: #ffffff;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(16px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .quiz-modal {
        height: auto;
        max-height: 90vh;
        border-radius: 20px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    }
}

.quiz-modal-overlay.active .quiz-modal {
    transform: translateY(0);
}

.quiz-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.quiz-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-topbar-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111111;
}

.quiz-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.quiz-nav-btn:hover {
    background: #e4e4e7;
}

.quiz-nav-btn.hidden-btn {
    visibility: hidden;
    pointer-events: none;
}

/* Voortgangsbalk met bolletje in rode logo-stijl */
.quiz-progress-wrap {
    padding: 14px 22px 6px 22px;
    background: #ffffff;
    flex-shrink: 0;
}

.quiz-progress-track {
    width: 100%;
    height: 6px;
    background: #ececef;
    border-radius: 9999px;
    position: relative;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--color-accent-blue);
    border-radius: 9999px;
    position: relative;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-progress-dot {
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111111;
    border: 3px solid var(--color-accent-blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.quiz-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 20px 32px 20px;
    -webkit-overflow-scrolling: touch;
}

.quiz-step-container {
    animation: simpleFade 0.22s ease-out;
}

.quiz-question-title {
    font-size: clamp(1.3rem, 3.2vw, 1.6rem);
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.quiz-question-sub {
    font-size: 0.92rem;
    color: #555555;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Informatieblokje bij Vraag 4 */
.quiz-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: #1e293b;
    line-height: 1.45;
}

.quiz-info-icon {
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Antwoordkaarten met > pijltje */
.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option-card {
    width: 100%;
    text-align: left;
    background: #f8f8f9;
    border: 1.5px solid #e5e5e8;
    border-radius: 12px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option-card:hover {
    border-color: #111111;
    background: #ffffff;
}

.quiz-option-card.selected {
    border-color: #111111;
    background: #fef2f2;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.12);
}

.quiz-option-label {
    font-size: 0.96rem;
    font-weight: 700;
    color: #111111;
}

.quiz-option-arrow {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111;
    flex-shrink: 0;
}

/* Checkbox rechts bij Vraag 6 */
.quiz-checkbox-indicator {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #c4c4c8;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.quiz-option-card.selected .quiz-checkbox-indicator {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.quiz-submit-btn {
    margin-top: 1.4rem;
    height: 52px;
    width: 100% !important;
    font-size: 0.96rem;
}

/* Keuzehulp Resultaatscherm */
.quiz-results-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-results-header h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.7rem);
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.35rem;
}

.quiz-results-header p {
    font-size: 0.9rem;
    color: #555555;
}

.quiz-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz-result-card {
    border: 1.5px solid #e4e4e7;
    border-radius: 16px;
    padding: 18px;
    background: #ffffff;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.quiz-result-card.best-match {
    border: 2px solid #111111;
}

.quiz-best-match-badge {
    display: inline-block;
    background: var(--color-accent-blue);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.quiz-result-top {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.quiz-result-img {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: var(--color-image-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888888;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.quiz-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quiz-result-info h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 2px;
}

.quiz-rating-row {
    margin-bottom: 5px;
    margin-top: 3px;
}

.quiz-result-price {
    font-size: 0.96rem;
    font-weight: 800;
    color: #111111;
}

.quiz-result-desc {
    font-size: 0.86rem;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* Twee strak uitgelijnde volledige-breedte pil-knoppen met 10px ruimte ertussen */
.quiz-result-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}

.quiz-btn-cart,
.quiz-btn-view {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 9999px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    margin: 0;
    text-transform: none;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

/* Bovenste knop in Keuzehulp (In winkelwagen): heldergroen (#0FA968), hover (#0C8E57) + dikgedrukte witte tekst + wit SVG icoon */
.quiz-btn-cart {
    background-color: #0FA968 !important;
    color: #ffffff !important;
    border: none !important;
}

.quiz-btn-cart svg {
    stroke: #ffffff !important;
    stroke-width: 2.3;
    flex-shrink: 0;
}

.quiz-btn-cart:hover {
    background-color: #0C8E57 !important;
}

/* Onderste knop (Bekijk product ->): witte achtergrond, zwarte rand (1.5px solid #111111), zwarte tekst */
.quiz-btn-view {
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
}

.quiz-btn-view:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}

.quiz-result-matches {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.quiz-match-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #108043;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* === 8. ZWEVENDE '15% KORTING' WIDGET LINKSONDER (3 STAPPEN) === */
/* z-index 200: zweeft boven pagina-inhoud en header (100), maar netjes onder Keuzehulp (250), Winkelwagen (300) en Zijmenu (330) */
.discount-widget {
    position: fixed;
    bottom: 20px;
    left: 16px;
    z-index: 200;
    display: flex;
    align-items: center;
}

/* Verplaats iets omhoog als de sticky add-to-cart balk op de productpagina zichtbaar is */
body:has(.sticky-cart-bar.visible) .discount-widget {
    bottom: 94px;
}

.discount-widget.hidden-permanently {
    display: none !important;
}

/* Stap 1: Ingeklapt rondje + klein kruisje rechtsboven */
.discount-step1-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.discount-step1-wrap.hidden-step {
    display: none;
}

.discount-step1-wrap.returning-step {
    animation: circleReturn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes circleReturn {
    from {
        opacity: 0;
        transform: scale(0.75);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.discount-widget-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1a1a1a;
    color: var(--color-accent-blue);
    border: 2px solid var(--color-accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.discount-widget-circle:hover {
    transform: scale(1.06);
    background: #111111;
}

.discount-widget-dismiss {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    border: 1px solid #d4d4d8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 2;
}

/* Stap 2: Uitgeklapte pil-knop */
.discount-widget-pill {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid var(--color-accent-blue);
    border-radius: 9999px;
    padding: 12px 20px;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    transform-origin: left center;
    animation: pillExpand 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.discount-widget-pill.active-step {
    display: flex;
}

.discount-widget-pill.collapsing-step {
    position: absolute;
    left: 0;
    bottom: 0;
    pointer-events: none;
    animation: pillCollapse 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pillExpand {
    from {
        opacity: 0;
        transform: scaleX(0.6);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes pillCollapse {
    from {
        opacity: 1;
        transform: scaleX(1);
    }
    to {
        opacity: 0;
        transform: scaleX(0.35);
    }
}

.discount-pill-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    cursor: pointer;
}

.discount-pill-icon {
    color: var(--color-accent-blue);
    display: inline-flex;
    align-items: center;
}

.discount-pill-text {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.discount-pill-minimize {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 800;
    padding-left: 8px;
    margin-left: 2px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    line-height: 1;
}

.discount-pill-minimize:hover {
    color: #ffffff;
}

/* Stap 3: Korting Pop-up Modal */
.discount-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.discount-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.discount-modal {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 400px;
    width: 92%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(16px) scale(0.96);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.discount-modal-overlay.active .discount-modal {
    transform: translateY(0) scale(1);
}

.discount-modal-banner {
    height: 145px;
    background: linear-gradient(135deg, #121214 0%, #27272c 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 16px 20px 0 20px;
}

.discount-banner-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.discount-banner-tag {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--color-accent-blue);
    margin-bottom: 10px;
}

.discount-banner-jars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.mini-jar {
    width: 54px;
    height: 64px;
    background: #1f1f23;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 4px solid var(--color-accent-blue);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.mini-jar.tall {
    width: 66px;
    height: 80px;
    background: #2b2b30;
}

.discount-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.discount-modal-body {
    padding: 24px 22px 22px 22px;
    text-align: left;
}

.discount-modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 2px;
    line-height: 1.15;
}

.discount-modal-subtitle {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.discount-modal-desc {
    font-size: 0.86rem;
    color: #52525b;
    line-height: 1.5;
    margin-bottom: 16px;
}

.discount-modal-form {
    display: flex;
    flex-direction: column;
}

.discount-modal-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}

.discount-modal-input {
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    padding: 14px;
    width: 100%;
    font-size: 0.95rem;
    font-family: inherit;
    color: #111111;
    margin-bottom: 12px;
}

.discount-modal-input:focus {
    border-color: #111111;
}

.discount-modal-submit {
    border-radius: 9999px;
    width: 100% !important;
    height: 48px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 800;
}

.discount-code-result {
    background: #fef2f2;
    border: 1.5px dashed var(--color-accent-blue);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    text-align: center;
}

.discount-code-success-msg {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
}

.discount-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    padding: 8px 12px;
}

#discount-code-value {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #111111;
}

.discount-copy-btn {
    background: #111111;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.discount-modal-TinyNote {
    font-size: 0.73rem;
    color: #71717a;
    line-height: 1.45;
    margin-top: 14px;
}

/* === 9. ZWEVENDE 'SCROLL NAAR BOVEN' (BACK TO TOP) KNOP RECHTSONDER === */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: calc(16px + var(--scrollbar-comp, 0px));
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1c1c1e;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 195;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.92);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease, background-color 0.2s ease, border-color 0.2s ease, bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
}

.back-to-top-btn:active {
    transform: translateY(0) scale(0.96);
}

/* Verplaats automatisch omhoog als op de productpagina de sticky add-to-cart balk zichtbaar is */
body:has(.sticky-cart-bar.visible) .back-to-top-btn {
    bottom: 94px;
}

@media (min-width: 1024px) {
    .back-to-top-btn {
        bottom: 24px;
        right: calc(24px + var(--scrollbar-comp, 0px));
        width: 48px;
        height: 48px;
    }
}