    /* =============================================================================
    COCOSCAPE — MASTER STYLESHEET
    Structure:
    1. Design Tokens (CSS Variables)
    2. Reset & Base
    3. Typography
    4. Layout Utilities
    5. Header & Navigation
    6. Section: Home
    7. Section: Products
    8. Section: Product Detail Page
    9. Section: Our Story
    10. Section: Contact
    11. Section: Bulk Orders Modal
    12. Auth Modal (Login / Signup)
    13. Mobile — @media (max-width: 768px)
    ============================================================================= */


/* =============================================================================
   1. DESIGN TOKENS
   Change brand colors, fonts, and spacing here — updates the whole site.
============================================================================= */
:root {
    /* Brand Colors */
    --color-bg: #1a0f0a;
    --color-bg-light: #fffdfb;
    --color-brand-dark: #2c1a10;
    --color-brand-mid: #3b1f0f;
    --color-brand-gold: #d2a679;
    --color-text-cream: #f5e6d3;
    --color-text-light: #f9f2ea;
    --color-text-muted: #8d7566;
    --color-text-body: #4a3728;
    --color-border: #e5dcd3;
    --color-border-dark: #3d2b1f;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-italic: 'Lora', serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --header-height: 70px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.2);
}


/* =============================================================================
   2. RESET & BASE
============================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    background-color: var(--color-bg);
    color: var(--color-text-cream);
    font-family: var(--font-serif);
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

ul {
    list-style: none;
}

/* Sections: base rules shared by all sections */
section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
}


/* =============================================================================
   3. TYPOGRAPHY — shared text styles used across sections
============================================================================= */
.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-brand-dark);
    margin-bottom: 50px;
}


/* =============================================================================
   4. LAYOUT UTILITIES
============================================================================= */
.mobile-cta {
    display: none;
    /* shown only in mobile media query */
}


/* =============================================================================
   5. HEADER & NAVIGATION
============================================================================= */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 15, 10, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* --- Branding / Logo --- */
.branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    letter-spacing: 3px;
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* --- Nav Links --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

/* Underline hover effect */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--color-brand-gold);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ADD THIS IN SECTION 5 OF style.css */

/* 1. The  account Circular Button */
.account-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%; /* This makes it the circle */
    background-color: var(--color-brand-mid);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: var(--font-serif);
    cursor: pointer;
    border: none; /* Removes default button border */
}

/* 2. The Wrapper (The list item in your header) */
.user-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* 3. The Dropdown Menu (Changed from .dropdown-content to .dropdown-menu) */
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: var(--color-bg);
    min-width: 180px;
    border: 1px solid var(--color-brand-mid);
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    flex-direction: column;
    padding: 10px 0;
    z-index: 9999;
}

/* 4. The Show Class (Triggered by your JS) */
.dropdown-menu.show-dropdown {
    display: flex; /* Shows the menu when clicked */
}

.dropdown-menu a {
    all: unset;
    display: block;
    padding: 12px 20px;
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--color-brand-mid);
    color: var(--color-brand-gold);
}

/* Cleanup */
.dropdown-menu hr {
    border: 0;
    border-top: 1px solid var(--color-brand-mid);
    margin: 8px 0;
}

/* --- Hamburger (mobile only, shown via media query) --- */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.login-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
}

.login-btn::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--color-brand-gold);
    transition: width var(--transition-base);
}

.login-btn:hover::after {
    width: 100%;
}


/* =============================================================================
   6. SECTION: HOME
============================================================================= */
#home {
    z-index: 2;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('Images/Ccs Bg Adjusted.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#home h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #f2ede4;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.buy-btn {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    color: #f0e8de;
    border: 1px solid var(--color-brand-gold);
    padding: 10px 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    transition: all var(--transition-base);
}

.buy-btn:hover {
    background-color: var(--color-brand-gold);
    color: var(--color-bg);
    box-shadow: 0 0 15px rgba(210, 166, 121, 0.4);
}


/* =============================================================================
   7. SECTION: PRODUCTS
============================================================================= */
#products {
    z-index: 3;
    background-image: url('Images/products\ bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--section-padding);
    display: block;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid var(--color-brand-gold);
    height: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Flavor label via pseudo-element */
.product-card::before {
    display: block;
    padding: 5px 10px 0;
    text-align: center;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand-dark);
    opacity: 0.5;
    letter-spacing: 2px;
}

.card-flavor-1::before {
    content: "Vanilla Bean";
}

.card-flavor-2::before {
    content: "Velvet Mocha";
}

.card-flavor-3::before {
    content: "Coconut Crème";
}

.card-flavor-4::before {
    content: "Absolute Cocoa";
}

.product-image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

.shop-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    width: 100%;
    padding: 15px 0;
    background-color: var(--color-brand-dark);
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-base);
}

.shop-btn:hover {
    background-color: var(--color-brand-gold);
    color: var(--color-bg);
}


/* =============================================================================
   8. SECTION: PRODUCT DETAIL PAGE
============================================================================= */
.product-detail-page {
    background: var(--color-bg-light);
    min-height: 100vh;
    padding: 120px 5% 60px;
    display: flex;
    justify-content: center;
}

.detail-wrapper {
    display: flex;
    gap: 100px;
    max-width: 1200px;
    width: 100%;
}

/* --- Left: Gallery --- */
.detail-left {
    flex: 1.2;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 650px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

/* Blurred background layer inside gallery */
.gallery-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../Images/cocoa powder background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    filter: blur(3px);
    transform: scale(1.15);
    z-index: 1;
}

.product-view {
    position: relative;
    z-index: 2;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mainProductImg {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 20px 30px rgba(44, 26, 16, 0.15));
}

/* Gallery nav arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    color: var(--color-brand-dark);
    border: 1px solid var(--color-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.nav-arrow:hover {
    background: var(--color-brand-dark);
    color: white;
    border-color: var(--color-brand-dark);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Thumbnails */
.side-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity var(--transition-base), border-color var(--transition-base);
}

.thumb.active,
.thumb:hover {
    opacity: 1;
    border-color: var(--color-brand-dark);
}

/* Zoom overlay */
.split-zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100vh;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    background: transparent;
    pointer-events: none;
    padding-left: 200px;
}

.zoom-black-box {
    position: relative;
    width: 90%;
    height: 90%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.zoomed-image-frame {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: white;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #333;
    line-height: 1;
    z-index: 100000;
}

.close-btn:hover {
    color: #ff4d4d;
    background-color: #111;
}

/* --- Right: Product Info --- */
.detail-right {
    flex: 1;
    text-align: left;
}

.back-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-sans);
}

.product-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-brand-dark);
    line-height: 1.1;
    margin-bottom: 5px;
}

.product-subtitle {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-family: var(--font-italic);
}

.product-description-brief {
    color: var(--color-brand-gold);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.1rem;
    color: var(--color-brand-dark);
    margin-bottom: 30px;
}

.content-block {
    margin-bottom: 30px;
}

.content-block h3 {
    color: var(--color-brand-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 5px;
}

.content-block p,
.content-block ul {
    color: var(--color-text-body);
    line-height: 1.7;
    font-family: var(--font-sans);
}

.product-specs {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-text-body);
    font-family: var(--font-sans);
    line-height: 1.8;
}

.cta-button {
    background: var(--color-brand-dark);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
}

.cta-button:hover {
    background-color: var(--color-brand-gold);
    color: var(--color-bg);
}


/* =============================================================================
   9. SECTION: OUR STORY
============================================================================= */
#story {
    z-index: 4;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('Images/cocoa powder background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #f2ede4;
    padding: 60px 20px;
    text-align: center;
}

.story-container {
    max-width: 800px;
    width: 100%;
}

.founder-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #f2ede4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.founder-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Story section overrides section-title color */
#story .section-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: #f2ede4;
    opacity: 0.9;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #d1cbc1;
}


/* =============================================================================
   10. SECTION: CONTACT
============================================================================= */
#contact {
    z-index: 5;
    background-image: url('Images/contact\ us\ bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-bg);
    padding: var(--section-padding);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-container {
    position: relative;
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 80px;
    background: #ffffff;
    padding: 60px 60px 100px;
    border-radius: 15px;
    box-shadow: var(--shadow-deep);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-brand-dark);
    margin-bottom: 30px;
}

.info-details p {
    color: var(--color-brand-dark);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.info-details strong {
    color: var(--color-brand-dark);
    font-weight: 800;
}

.contact-form {
    flex: 1.2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 1.5px solid var(--color-brand-gold);
    background: #fff;
    font-size: 1rem;
    color: var(--color-brand-dark);
    outline: none;
    border-radius: 5px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #5c4033;
    opacity: 0.8;
}

#word-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-brand-dark);
    margin-top: -10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.send-btn {
    padding: 18px 60px;
    background: var(--color-brand-dark);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color var(--transition-base), transform var(--transition-base);
    border-radius: 5px;
}

.send-btn:hover {
    background: var(--color-brand-gold);
    transform: translateY(-2px);
}

.contact-socials {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-socials span {
    font-size: 0.95rem;
    color: var(--color-brand-dark);
    font-style: italic;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--color-brand-dark);
    font-size: 1.6rem;
    transition: color var(--transition-base), transform var(--transition-base);
}

.social-icons a:hover {
    color: var(--color-brand-gold);
    transform: scale(1.2);
}


/* =============================================================================
   11. BULK ORDERS MODAL
============================================================================= */
#bulk-orders {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(44, 26, 16, 0.95);
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

#bulk-orders.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.close-bulk {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: var(--color-brand-dark);
    cursor: pointer;
    font-weight: bold;
}

.bulk-container {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 650px;
    width: 90%;
    margin: auto auto 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.bulk-header {
    border-bottom: 2px solid var(--color-brand-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.bulk-header h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-brand-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.bulk-header p {
    font-family: var(--font-serif);
    color: var(--color-brand-dark);
    font-size: 1.1rem;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.form-group label {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-brand-dark);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    outline: none;
    font-size: 1rem;
}

.form-group input:focus {
    border-bottom: 2px solid var(--color-brand-dark);
}

.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-input {
    border: none;
    border-bottom: 1px solid #ccc;
    width: auto;
    flex: 1;
    outline: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-bulk {
    background: var(--color-brand-dark);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color var(--transition-base);
}

.submit-bulk:hover {
    background: var(--color-brand-gold);
    color: var(--color-bg);
}

.clear-form {
    background: none;
    border: none;
    color: #db4437;
    cursor: pointer;
    font-size: 0.9rem;
}


/* =============================================================================
   12. AUTH MODAL (LOGIN / SIGNUP)
============================================================================= */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: var(--color-bg);
    width: 100%;
    max-width: 600px;
    min-height: 500px;
    padding: 40px;
    border: 1px solid var(--color-border-dark);
    border-radius: 4px;
    position: relative;
    text-align: center;
}

.close-auth {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--color-text-cream);
    cursor: pointer;
}

.auth-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.auth-toggle button {
    background: none;
    border: none;
    color: #8a7a6a;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    cursor: pointer;
    padding-bottom: 5px;
    transition: color var(--transition-fast);
}

.auth-toggle button.active {
    color: var(--color-text-cream);
    border-bottom: 2px solid var(--color-text-cream);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    background: transparent;
    border: 1px solid var(--color-border-dark);
    padding: 12px;
    color: var(--color-text-cream);
    font-family: inherit;
    outline: none;
}

.auth-submit {
    background: var(--color-text-cream);
    color: var(--color-bg);
    border: none;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color var(--transition-base);
}

.auth-submit:hover {
    background: #d4c4b0;
}

.forgot-pass {
    font-size: 0.8rem;
    color: #8a7a6a;
    text-decoration: none;
    text-align: right;
}

.show-pass-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0 15px 5px;
    font-size: 0.85rem;
    color: var(--color-text-cream);
    cursor: pointer;
}

.show-pass-container input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--color-brand-mid);
}

.show-pass-container label {
    cursor: pointer;
    user-select: none;
}

.auth-divider {
    margin: 25px 0;
    position: relative;
    border-bottom: 1px solid var(--color-brand-mid);
}

.auth-divider span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg);
    padding: 0 10px;
    font-size: 0.8rem;
    color: #8a7a6a;
}

.google-btn {
    width: 100%;
    background: white;
    color: #333;
    border: none;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color var(--transition-fast);
}

.google-btn:hover {
    background: #f1f1f1;
}

.google-btn img {
    width: 20px;
}


/* ============================================================================================
   13. MOBILE — max-width: 768px
   Edit ONLY mobile styles here. Desktop is completely untouched.
============================================================================================== */
@media (max-width: 768px) {

    /* FORCE SLIM HEADER */
    .main-header {
        padding: 8px 5% !important;
        /* Forces the thickness down */
        height: 55px !important;
        /* Hard-sets the height */
        display: flex !important;
        align-items: center !important;
    }

    /* FIX BRAND NAME SIZE */
    .brand-name {
        font-size: 1rem !important;
    }

    .hamburger {
        display: flex !important;
        /* Makes it visible */
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #f5e6d3 !important;
        /* Luxury cream color */
        border-radius: 2px;
    }

    /* --- Navigation --- */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        height: 40vh;
        width: 30%;
        background-color: rgba(44, 26, 16, 0.9);
        backdrop-filter: blur(8px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right var(--transition-base);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hamburger {
        display: block;
        z-index: 1100;
    }

    /* --- Home --- */
    #home h1 {
        top: 35%;
        font-size: 2.1rem;
        width: 90%;
        text-align: center;
    }

    .buy-btn {
        top: 80%;
        padding: 10px 25px;
        font-size: 0.8rem;
    }

    /* --- Product Cards --- */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .product-card {
        height: 300px;
    }

    .product-card::before {
        font-size: 0.9rem;
        padding-top: 15px;
    }

    .shop-btn {
        padding: 20px;
        font-size: 1rem;
    }

    /* --- Product Detail --- */
    .product-detail-page {
        padding-top: 40px !important;
        background: #fff;
        display: block;
    }

    .detail-wrapper {
        display: flex;
        flex-direction: column;
        padding-top: 20px;
        gap: 20px;
    }

    .back-link {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 0.85rem;
        text-decoration: underline;
        color: var(--color-bg);
        z-index: 10;
        margin-bottom: 0;
    }

    .detail-left,
    .detail-right {
        width: 100%;
        max-width: 100%;
    }

    .gallery-container {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 12;
        margin-bottom: 12px;
    }

    .main-stage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 15px;
    }

    .product-view {
        width: 100%;
        height: 100%;
    }

    .side-gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .thumb {
        width: 100%;
        height: 80px;
        border-radius: 6px;
    }

    /* Mobile CTA button — below thumbnails */
    .mobile-cta {
        display: flex !important;
        /* FIX: Makes the WHOLE box clickable, not just letters */
        justify-content: center;
        align-items: center;
        width: 80%;
        margin: 0 auto 5px !important;
        padding: 12px 0 !important;
        border-radius: 6px;
        text-align: center;
        text-decoration: none !important;

        /* Base Colors */
        background-color: #2c1e1a !important;
        color: #fff !important;
        font-family: inherit !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        transition: all 0.3s ease !important;
        /* Smooth transition */
    }

    a.mobile-cta:hover,
    .mobile-cta:active {
        background-color: #4a332a !important;
        /* Lighter brown on hover */
        color: #ffffff !important;
        opacity: 1 !important;
        cursor: pointer !important;
    }

    /* 2. Tighten the flex gap in the text container */
    .detail-right {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0px;
        /* Reduced from 12px to 5px to pull text closer together */
        margin-top: 0;
        /* Ensures no extra push from the top */
    }

    /* 3. Ensure the title has no top margin */
    .product-title {
        font-size: 1.7rem;
        font-weight: 600;
        line-height: 1.2;
        color: var(--color-bg);
        margin-top: 0 !important;
    }

    .product-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    /* Hide desktop CTA on mobile */
    .detail-right .cta-button {
        display: none;
    }

    /* --- Our Story --- */
    #story {
        background-attachment: scroll;
        min-height: 60vh;
        padding: 60px 20px;
    }

    /* --- Contact --- */
    #contact {
        padding: 60px 20px;
    }

    .contact-container {
        flex-direction: column;
        padding: 40px 25px;
        gap: 40px;
        position: static;
    }

    .contact-info h2 {
        font-size: 2.4rem;
        text-align: center;
    }

    .info-details p {
        text-align: center;
        font-size: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        /* prevents iOS zoom-on-focus */
        padding: 15px;
    }

    #word-count {
        text-align: center;
        margin-top: -5px;
    }

    .send-btn {
        width: 100%;
        padding: 16px;
    }

    .contact-socials {
        position: static;
        margin-top: 20px;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* --- Bulk Orders --- */
    #bulk-orders {
        padding: 40px 15px;
    }

    .bulk-container {
        padding: 20px;
        margin: 0 10px 50px;
        border-radius: 8px;
    }

    .bulk-header h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .bulk-header p {
        text-align: center;
        font-size: 0.9rem;
    }

    .form-group {
        padding: 15px;
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 1rem;
    }

    .check-item {
        padding: 8px 0;
        font-size: 0.95rem;
    }

    .form-footer {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .submit-bulk {
        width: 100%;
        padding: 15px;
        order: 1;
    }

    .clear-form {
        order: 2;
        padding: 10px;
    }

}

/* END @media (max-width: 768px) */