:root {
    /* Brand Colors */
    --bg-color: #fef6ef; /* Warm cream */
    --text-color: #401f20; /* Dark chocolate brown */
    --border-color: #401f20; 
    
    /* Font Variables */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Space Mono', monospace;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- HARDWARE ACCELERATION & PERFORMANCE FIXES --- */
.panel {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.product-tub, 
.flavor-image-container img {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    touch-action: pan-y; 
}
/* ------------------------------------------------- */

.border-b { border-bottom: 2px solid var(--border-color); }
.border-r { border-right: 2px solid var(--border-color); }
.border-t { border-top: 2px solid var(--border-color); }

.huge-text {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 15rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 6rem);
    line-height: 1;
    padding: 2rem;
}

/* --- THE 3-LAYER NAVIGATION SANDWICH --- */

.solid-brown-nav-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--text-color); 
    z-index: 100;
    transition: height 0.3s ease;
}

.overlap-text {
    position: relative;
    z-index: 101; 
    margin: 0;
    
    background-image: linear-gradient(to bottom, var(--bg-color) var(--clip-y, 0px), var(--text-color) var(--clip-y, 0px));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent; 
    color: var(--bg-color); 
    z-index: 102; 
    padding: 0 2rem;
    pointer-events: none; 
    transition: padding 0.3s ease, height 0.3s ease;
}

.header-links, .logo-link {
    pointer-events: auto; 
}

.logo-img {
    height: 120px; 
    filter: brightness(0) invert(1); 
}

.header-links {
    display: flex;
    gap: 2rem;
    font-weight: 700;
}

.header-links a {
    position: relative;
    overflow: hidden;
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.header-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========================================
   NEW HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 4rem 4rem;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-transform: none;
    line-height: 1.5;
    max-width: 90%;
    position: relative;
    z-index: 10; 
}

.hero-cta {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--bg-color);
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--text-color);
    position: relative;
    z-index: 10; 
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--text-color);
    transform: translateY(-5px);
}

/* Product Cluster Showcase */
.hero-product-showcase {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
    z-index: 5;
}

.product-tub {
    width: 45%;
    max-width: 320px;
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0px 25px 35px rgba(74, 44, 42, 0.15));
}

.tub-left {
    transform: translateX(-55%) translateY(10%) rotate(-12deg);
    z-index: 1;
}

.tub-center {
    transform: translateX(0) scale(1.15);
    z-index: 3;
}

.tub-right {
    transform: translateX(55%) translateY(10%) rotate(12deg);
    z-index: 2;
}

/* Playful Hover Interaction */
.hero-product-showcase:hover .tub-left {
    transform: translateX(-65%) translateY(5%) rotate(-18deg);
}

.hero-product-showcase:hover .tub-right {
    transform: translateX(65%) translateY(5%) rotate(18deg);
}

.hero-product-showcase:hover .tub-center {
    transform: translateX(0) scale(1.2);
}

/* Hero Marquee remains untouched */
.hero-marquee {
    white-space: nowrap;
    overflow: hidden;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    background: var(--text-color);
    color: var(--bg-color);
}

/* Horizontal Scroll Section */
.horizontal-wrapper {
    width: 100%;
    background-color: var(--text-color);
    color: var(--bg-color);
    position: relative;
}

@media (min-width: 900px) {
    .horizontal-wrapper { height: 100vh; overflow: hidden; }
    .horizontal-container { display: flex; width: 400vw; height: 100%; }
    .panel { width: 100vw; height: 100%; display: flex; align-items: center; border-right: 2px solid rgba(248, 245, 240, 0.2); padding: 8rem 4rem 4rem 4rem; }
    .panel-flavor { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; height: 100%; align-items: center; }
    .flavor-image-container { height: 80%; display: flex; justify-content: center; align-items: center; }
}

@media (max-width: 899px) {
    .horizontal-wrapper { height: auto; padding: 4rem 0; }
    .horizontal-container { 
        display: flex; 
        width: 100%; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .horizontal-container::-webkit-scrollbar { display: none; }
    .panel { 
        flex: 0 0 100vw; 
        width: 100vw; 
        padding: 8rem 2rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .panel-flavor {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }
    .flavor-image-container { height: 40vh; margin: 0 auto; display: flex; justify-content: center;}
    .flavor-info h3 { font-size: clamp(2rem, 10vw, 4rem); }
}

.panel-intro { flex-direction: column; justify-content: center; align-items: flex-start; }
.panel-intro h2 { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 8rem); line-height: 0.9; margin-bottom: 2rem; }
.panel-intro p { font-size: 1.2rem; max-width: 600px; text-transform: none; }

.flavor-info h3 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1; margin-bottom: 1rem; }
.flavor-info p { font-size: 1.1rem; text-transform: none; line-height: 1.6; }

/* Enable internal scrolling and optimize performance */
.flavor-info {
    /* CHANGED: Calculation updated to reflect 8rem top + 4rem bottom padding (12rem total) */
    max-height: calc(100vh - 12rem); 
    overflow-y: auto; 
    padding-right: 1.5rem; 
    scrollbar-width: thin;
    scrollbar-color: var(--bg-color) transparent; 
    overscroll-behavior-y: contain; 
    -webkit-overflow-scrolling: touch; 
}

/* Custom Scrollbar for Webkit (Chrome, Safari, Edge) */
.flavor-info::-webkit-scrollbar {
    width: 4px; 
}

.flavor-info::-webkit-scrollbar-track {
    background: rgba(248, 245, 240, 0.05); 
    border-radius: 10px;
}

.flavor-info::-webkit-scrollbar-thumb {
    background-color: var(--bg-color); 
    border-radius: 10px; 
}

.flavor-info::-webkit-scrollbar-thumb:hover {
    background-color: rgba(248, 245, 240, 0.7); 
}

.flavor-image-container img { max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
@media (hover: hover) { .flavor-image-container img:hover { transform: scale(1.05) rotate(2deg); } }

/* Map & Social Grid Section */
.grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid var(--border-color);
}

.map-wrapper { border-right: 2px solid var(--border-color); }
.map-info { padding: 2rem; border-bottom: 2px solid var(--border-color); }
.map-info p { text-transform: none; margin-top: 1rem; }

#map { 
    width: 100%; 
    height: 600px; 
    z-index: 1; 
    background-color: var(--bg-color) !important;
}


/* --- INGREDIENTS ACCORDION COMPONENT --- */
.ingredient-accordion {
    /* CHANGED: Margin-top from 2rem to 1.25rem to pull the tabs up slightly */
    margin-top: 1.25rem;
    border-top: 1px solid var(--bg-color); 
    border-bottom: 1px solid var(--bg-color); 
    width: 100%;
}

/* Prevents doubling up borders if there are multiple accordions next to each other */
.ingredient-accordion + .ingredient-accordion {
    margin-top: 0;
    border-top: none;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 1rem 0;
    color: var(--bg-color); 
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.accordion-trigger:hover {
    opacity: 0.7;
}

.accordion-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-inner {
    overflow: hidden;
}

.accordion-inner p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-transform: none;
    padding-bottom: 1.5rem; 
    margin: 0;
}

/* Added to handle image specifically within the accordion gracefully */
.accordion-inner img {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 1.5rem;
}

/* Active States */
.ingredient-accordion.is-open .accordion-content {
    grid-template-rows: 1fr;
}

.ingredient-accordion.is-open .accordion-icon {
    transform: rotate(45deg); 
}

.social-wrapper { display: flex; flex-direction: column; }
.social-header { padding: 2rem; border-bottom: 2px solid var(--border-color); }
.social-embed { flex-grow: 1; display: flex; justify-content: center; align-items: center; padding: 2rem; background: var(--bg-color); }

/* Footer */
footer {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-bottom: 10px solid var(--border-color);
}
.footer-logo { width: 120px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 1rem; font-size: 1.2rem; font-weight: bold; }
.footer-bottom { grid-column: span 3; text-align: center; padding-top: 2rem; font-size: 0.9rem; text-transform: none; }

/* =========================================
   HERO BACKGROUND TYPOGRAPHY WATERMARKS (REPEATING)
   ========================================= */
.hero-bg-text {
    position: absolute;
    /* Oversize the container so the rotation doesn't expose empty corners */
    top: -30%; 
    left: -10%;
    width: 120%;
    height: 160%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transform: rotate(-8deg); /* Playful diagonal tilt */
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bg-row {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 6rem); /* Scales beautifully on all devices */
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
    opacity: 0.06;
    white-space: nowrap;
    user-select: none;
    
    /* Hardware acceleration for the continuous slide animation */
    will-change: transform;
    animation: slideBg 30s linear infinite;
}

/* Make every other row slide in the opposite direction for a dynamic feel */
.bg-row:nth-child(even) {
    animation: slideBgReverse 30s linear infinite;
    margin-left: -5%; /* Offsets the text alignment slightly for a staggered look */
}

/* Keyframes for the buttery smooth endless scroll */
@keyframes slideBg {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-15%, 0, 0); }
}

@keyframes slideBgReverse {
    0% { transform: translate3d(-15%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* =========================================
   NEW HERO MOBILE & TABLET OVERRIDES (COMPACT VERSION)
   ========================================= */
   
/* 1. iPad Portrait & Tablet Watermarks */
@media (min-width: 600px) and (max-width: 899px) {
    .word-1 {
        font-size: 32vw; 
        top: 2%; 
        left: -2%;
    }
    
    .word-2 {
        font-size: 36vw; 
        bottom: 0%; 
        right: -5%;
    }
}

/* 2. Mobile Phone Watermarks */
@media (max-width: 599px) {
    .word-1 {
        font-size: 45vw;
        top: 2%; 
        left: -5%;
    }
    
    .word-2 {
        font-size: 52vw;
        bottom: -2%; 
        right: -10%;
    }
}

/* 3. General Mobile/Tablet Layout Overrides */
@media (max-width: 899px) {
    .solid-brown-nav-bg { height: 80px; }
    header { padding: 0 1rem; height: 80px; }
    .header-links { gap: 1rem; font-size: 0.85rem; }
    .logo-img { height: 80px; } 
    
    .hero {
        flex-direction: column;
        padding: 110px 1.5rem 2rem; 
        text-align: center;
        justify-content: flex-start;
        min-height: auto;
    }

    .hero-content {
        margin-bottom: 1rem; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-headline {
        margin-bottom: 1rem; 
    }

    .hero-subheadline {
        max-width: 100%;
        margin-bottom: 1.5rem; 
    }

    .hero-product-showcase {
        width: 100%;
        min-height: 250px; 
        margin-top: 1rem;
    }

    .product-tub {
        width: 40%; 
    }

    .tub-left {
        transform: translateX(-40%) translateY(15%) rotate(-10deg);
    }

    .tub-right {
        transform: translateX(40%) translateY(15%) rotate(10deg);
    }
    
    .tub-center {
        transform: translateX(0) scale(1.1);
    }
    
    .hero-product-showcase:hover .tub-left {
        transform: translateX(-40%) translateY(15%) rotate(-10deg);
    }
    .hero-product-showcase:hover .tub-right {
        transform: translateX(40%) translateY(15%) rotate(10deg);
    }
    .hero-product-showcase:hover .tub-center {
        transform: translateX(0) scale(1.1);
    }
    
    .grid-section { grid-template-columns: 1fr; }
    .map-wrapper { border-right: none; border-bottom: 2px solid var(--border-color); }
    #map { height: 400px; }
    
    .section-title { padding: 1.5rem; }
    .map-info, .social-header { padding: 1.5rem; }
    
    footer { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 3rem 1.5rem; }
    .footer-logo { margin: 0 auto; }
    .footer-bottom { grid-column: span 1; }

    /* --- HORIZONTAL TO VERTICAL STACK FIX --- */
    .horizontal-wrapper {
        height: auto;
        display: block; 
        padding: 4rem 0;
    }
    .horizontal-container {
        display: flex;
        flex-direction: column; 
        width: 100%;
        overflow: visible; 
    }
    .panel {
        width: 100%;
        min-height: 100vh;
        height: auto;
        flex: none !important; 
        padding: 4rem 1.5rem; 
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .flavor-info {
        max-height: none; 
        overflow-y: visible;
        padding-right: 0;
    }
    .flavor-image-container {
        height: auto;
        margin-top: 2rem;
    }
    .flavor-image-container img {
        max-height: 40vh;
        width: auto;
    }
}
/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-info {
    padding: 2rem;
    border-right: 2px solid var(--border-color); /* Inherits your grid-section borders */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 90%;
}

.contact-form-wrapper {
    padding: 2rem;
    background-color: var(--bg-color); /* Matches your creamy background */
    display: flex;
    align-items: center;
}

.contact-form {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-family: var(--font-body); /* Uses Space Mono */
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-color); /* Matches dark brown text */
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem;
    background-color: transparent;
    border: 2px solid var(--border-color); 
    color: var(--text-color);
    border-radius: 0; /* Keeps the sharp, brutalist look of your social embed */
    outline: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(74, 44, 42, 0.5); /* 50% opacity of var(--text-color) */
}

/* Playful brutalist focus state */
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 6px 6px 0px var(--border-color);
    transform: translate(-3px, -3px);
}

/* Inherits the exact styling of your .hero-cta button */
.submit-btn {
    font-family: var(--font-display); 
    font-size: 1.5rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 1rem 3rem;
    border: 2px solid var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    margin-top: 1rem;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--text-color);
    transform: translateY(-5px);
}

/* Mobile & Tablet Overrides - Matching your 899px breakpoint */
@media (max-width: 899px) {
    .contact-info {
        border-right: none;
        border-bottom: 2px solid var(--border-color);
    }
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    .submit-btn {
        width: 100%; /* Full width button on mobile */
    }
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-left: 1rem;
}

.lang-link {
    color: currentColor;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.lang-link.active {
    opacity: 1;
    pointer-events: none; /* Prevents clicking the language you're already on */
}

.lang-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.lang-separator {
    opacity: 0.5;
    user-select: none;
}

/* Mobile adjustments */
@media (max-width: 899px) {
    .lang-switcher {
        margin-left: 0;
        gap: 0.3rem;
    }
}
 /* =========================================
           ADDED VALUE PROPS SECTION (BRUTALIST IDENTITY)
           ========================================= */
        .brutalist-values {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            background-color: var(--bg-color);
            border-bottom: 2px solid var(--border-color);
        }

        .value-card {
            padding: 4rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        .value-card:hover {
            background-color: var(--text-color);
            color: var(--bg-color);
        }

        .value-card.border-r {
            border-right: 2px solid var(--border-color);
        }

        .icon-brutalist {
            font-size: 2rem;
            width: 80px;
            height: 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid var(--border-color);
            border-radius: 0; /* Sharp edges for brand consistency */
            box-shadow: 6px 6px 0px var(--border-color);
            margin-bottom: 2rem;
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .value-card:hover .icon-brutalist {
    box-shadow: 0px 0px 0px var(--border-color);
    transform: translate(6px, 6px);
    background-color: var(--text-color);
    border-color: var(--bg-color);
    color: var(--bg-color); /* This forces the SVG to turn cream on hover */
}

        .value-title {
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            line-height: 1.1;
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .value-desc {
            font-family: var(--font-body);
            font-size: 0.95rem;
            text-transform: none;
            line-height: 1.4;
        }

        @media (max-width: 899px) {
            .brutalist-values {
                grid-template-columns: 1fr 1fr;
            }
            .value-card {
                padding: 3rem 1.5rem;
                border-bottom: 2px solid var(--border-color);
            }
            .value-card:nth-child(even) {
                border-right: none;
            }
            .value-card:nth-child(odd) {
                border-right: 2px solid var(--border-color);
            }
            .value-card:nth-last-child(-n+2) {
                border-bottom: none;
            }
        }

        @media (max-width: 599px) {
            .brutalist-values {
                grid-template-columns: 1fr;
            }
            .value-card {
                border-right: none !important;
                border-bottom: 2px solid var(--border-color) !important;
            }
            .value-card:last-child {
                border-bottom: none !important;
            }
        }
        /* =========================================
   FLAVOR SPECIFIC BACKGROUNDS & CONTRAST
   ========================================= */

/* Pink background & dark text */
.flavor-strawberry {
    background-color: #F97597;
    
}

/* Orange background & dark text */
.flavor-cookie {
    background-color: #FDA961;
    
}

/* Keeps the original dark brown background and cream text */
.flavor-darkchoco {
    background-color: #4E170F; 
    
}

/* Adjust accordion text and borders for the lighter backgrounds */
.flavor-strawberry .accordion-trigger,
.flavor-cookie .accordion-trigger {
    color: var(--text-color);
}

.flavor-strawberry .ingredient-accordion,
.flavor-cookie .ingredient-accordion {
    border-color: var(--text-color);
}

/* Adjust inner scrollbar color for contrast on the light panels */
.flavor-strawberry .flavor-info::-webkit-scrollbar-thumb,
.flavor-cookie .flavor-info::-webkit-scrollbar-thumb {
    background-color: var(--text-color);
}

.flavor-strawberry .flavor-info::-webkit-scrollbar-track,
.flavor-cookie .flavor-info::-webkit-scrollbar-track {
    background: rgba(74, 44, 42, 0.1); 
}
/* =========================================
   GDPR COOKIE BANNER & MODALS
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-top: 2px solid var(--border-color);
    padding: 2rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 -10px 30px rgba(64, 31, 32, 0.1);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-content p {
    font-size: 1rem;
    line-height: 1.5;
    text-transform: none;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Inheriting your existing .hero-cta button style */
.btn-primary, .btn-secondary {
    font-family: var(--font-display);
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    border: 2px solid var(--text-color);
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-color);
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

/* Modals (Preferences & Privacy Policy) */
.gdpr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 31, 32, 0.85); /* Dark brown overlay */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gdpr-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gdpr-modal {
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 12px 12px 0px var(--border-color); /* Brutalist shadow */
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.gdpr-modal-overlay.is-open .gdpr-modal {
    transform: translateY(0);
}

.gdpr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
}

.gdpr-modal-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
}

.close-modal {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
}

.gdpr-modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    text-transform: none;
    /* Custom Scrollbar for Modal */
    scrollbar-width: thin;
    scrollbar-color: var(--text-color) var(--bg-color);
}

.gdpr-modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 1.5rem 0 0.5rem;
    text-transform: uppercase;
}

.gdpr-modal-body p, .gdpr-modal-body ul {
    margin-bottom: 1rem;
}

.gdpr-modal-body ul {
    padding-left: 1.5rem;
}

.gdpr-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* Cookie Toggle Switches */
.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(64, 31, 32, 0.2);
}

.cookie-category-info {
    flex: 1;
    padding-right: 2rem;
}

.cookie-category-info h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.cookie-category-info p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* Custom Toggle Switch styling matching brand */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: transparent;
    border: 2px solid var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-color);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--text-color);
}

input:checked + .slider:before {
    background-color: var(--bg-color);
    transform: translateX(26px);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 899px) {
    .cookie-banner { padding: 1.5rem; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .cookie-category { flex-direction: column; gap: 1rem; }
}
/* =========================================
   MOBILE HEADER & LOGO OVERRIDES
   ========================================= */
@media (max-width: 899px) {
    /* Prevent the logo from being squished and guarantee spacing */
    .logo-link {
        flex-shrink: 0;
        margin-right: 1.5rem; 
        display: flex;
        align-items: center;
    }
    
    /* Optimize logo height to balance better with the nav text */
    .logo-img { 
        height: 55px; /* Down from 80px to prevent layout crowding */
        width: auto;
        object-fit: contain;
    }

    /* Allow the navigation to swipe horizontally if it runs out of room */
    .header-links {
        flex: 1;
        justify-content: flex-end;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
        scrollbar-width: none; /* Hides scrollbar on Firefox */
        padding-bottom: 2px; /* Prevents text clipping */
    }
    
    /* Hides scrollbar on Chrome/Safari/Edge */
    .header-links::-webkit-scrollbar {
        display: none;
    }
}

/* Extra safety net for very small screens (e.g., iPhone SE) */
@media (max-width: 450px) {
    .logo-img {
        height: 60px; 
    }
    
    .logo-link {
        margin-right: 1rem;
    }
    
    .header-links {
        font-size: 0.75rem; 
        gap: 0.75rem; 
    }
}
/* =========================================
   GDPR CONSENT CHECKBOX
   ========================================= */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem; /* Slightly smaller to contrast with uppercase labels */
    color: var(--text-color);
    text-transform: none; /* Keeps the legal sentence readable */
    line-height: 1.4;
}

/* Hide the default browser checkbox entirely */
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create the Brutalist custom checkbox */
.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background-color: transparent;
    border: 2px solid var(--border-color);
    margin-top: 2px; /* Aligns visually with the first line of text */
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

/* Match the playful hover/focus states of existing inputs */
.checkbox-label:hover .custom-checkbox,
.checkbox-label input[type="checkbox"]:focus-visible ~ .custom-checkbox {
    box-shadow: 4px 4px 0px var(--border-color);
    transform: translate(-2px, -2px);
}

/* Solid fill when checked */
.checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox {
    background-color: var(--text-color);
}

/* Draw the inner checkmark using CSS borders */
.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 11px;
    border: solid var(--bg-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox::after {
    display: block;
}

/* Styling the link to look clickable */
.consent-text a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.consent-text a:hover {
    opacity: 0.7;
}