/*
 * Auntie Hal’s Bakehouse - Style Sheets
 * Warm home-bakery design system: cream, butter, cinnamon, cocoa and rose.
 * Variable names are inherited from the original theme (e.g. --forest-green is
 * now the cocoa brown) so every template keeps working.
 */

/* Self-hosted fonts (latin subset), SIL Open Font License 1.1:
   Fraunces (headings) and Nunito (body). */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/fraunces-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/fraunces-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/fonts/nunito-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg-primary: #fffaf3;      /* warm cream */
    --bg-secondary: #f8ecdd;    /* butter-crust tan */
    --forest-green: #5a3426;    /* cocoa brown (primary) */
    --forest-green-light: #7a4a37;
    --forest-green-soft: rgba(90, 52, 38, 0.08);
    --text-dark: #3b2a20;       /* dark cocoa text */
    --text-muted: #6e5648;
    --honey-amber: #b5562f;     /* cinnamon accent */
    --honey-amber-soft: rgba(181, 86, 47, 0.09);
    --blush-pink: #fdf1ef;      /* rose blush */
    --blush-pink-accent: #f6dcd6;
    --blush-dark: #d9777a;      /* rose */
    --butter: #f6d98c;
    --border-color: rgba(90, 52, 38, 0.13);
    --white: #ffffff;

    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Nunito', system-ui, sans-serif;

    --shadow-sm: 0 2px 8px rgba(59, 42, 32, 0.05);
    --shadow-md: 0 8px 24px rgba(59, 42, 32, 0.09);
    --shadow-lg: 0 16px 40px rgba(59, 42, 32, 0.13);

    --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Accessibility helper to visually hide elements but keep them for screen readers and SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Reusable Components */
/* Vertical rhythm between sections.
   100px top and bottom on a homepage with a dozen blocks added up to a page
   nobody scrolled to the end of. 64px still reads as generous whitespace and
   takes roughly a screen and a half off the height. */
.section-padding {
    padding: 64px 24px;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 44px 16px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: var(--forest-green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 52, 38, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--forest-green);
    border: 2px solid var(--forest-green);
}

.btn-secondary:hover {
    background-color: var(--forest-green);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest-green);
    margin-bottom: 20px;
}

/* Header & Navigation */
header.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 250, 243, 0.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-green);
    letter-spacing: -0.01em;
}

.header-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    /* Now a real <ul>, so its user-agent indent has to go. */
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--forest-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon-btn {
    position: relative;
    font-size: 1.4rem;
    color: var(--text-dark);
    padding: 6px;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--honey-amber);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Hamburger swaps to an X while the panel is open. */
.mobile-toggle .icon-close { display: none; }
.mobile-toggle.open .icon-open { display: none; }
.mobile-toggle.open .icon-close { display: block; }

/* Slide-down mobile navigation. Lives inside the fixed header so it stays
   pinned to the bar rather than scrolling away with the page. */
.mobile-nav,
.mobile-nav-backdrop {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }

    /* Keep the logo and the toggle clickable above the backdrop. */
    .nav-container {
        position: relative;
        z-index: 2;
    }

    .mobile-nav {
        display: block;
        position: relative;
        z-index: 2;
        /* Cancel the header's 24px side padding so the panel spans full width. */
        margin: 16px -24px -16px;
        background-color: var(--white, #fefdfb);
        border-top: 1px solid var(--border-color);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }
    .mobile-nav[hidden] {
        display: none;
    }
    .mobile-nav.open {
        max-height: 75vh;
        opacity: 1;
        overflow-y: auto;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }
    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 8px 0;
    }
    .mobile-nav a {
        display: block;
        padding: 14px 24px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-dark);
        border-bottom: 1px solid var(--border-color);
    }
    .mobile-nav li:last-child a {
        border-bottom: none;
    }
    .mobile-nav a:active,
    .mobile-nav a:hover {
        background-color: var(--honey-amber-soft, #faf5ec);
        color: var(--forest-green);
    }
    .mobile-nav .mobile-nav-account {
        font-weight: 700;
        color: var(--forest-green);
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1;
        background: rgba(0, 0, 0, 0.35);
    }
    .mobile-nav-backdrop[hidden] {
        display: none;
    }

    body.mobile-nav-locked {
        overflow: hidden;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 24px 80px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(59, 30, 20, 0.35) 0%, rgba(59, 30, 20, 0.62) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bg-secondary);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-logo {
    display: block;
    margin: 0 auto 24px;
    width: 550px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(254, 253, 251, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background-color: var(--white);
    color: var(--forest-green);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--bg-secondary);
}

.hero-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--forest-green);
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
}

/* Brand Intro Section */
.brand-intro {
    background-color: var(--bg-secondary);
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.pine-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 24px 0 32px;
}

.pine-divider svg {
    color: var(--forest-green);
}

.pine-divider::before, .pine-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--border-color);
}

.brand-intro p {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--forest-green);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .brand-intro p {
        font-size: 1.15rem;
    }
}

/* Our Story Section */
.our-story {
    background-color: var(--bg-primary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.story-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    pointer-events: none;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--forest-green);
}

.story-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--honey-amber);
    margin-bottom: 24px;
}

.story-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.story-content p.story-highlight {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--forest-green);
    border-left: 3px solid var(--honey-amber);
    padding-left: 20px;
    margin: 32px 0;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Shop Section & Grid */
.shop-section {
    background-color: var(--bg-secondary);
}

.shop-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.shop-header h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 16px;
}

.shop-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.shop-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

/* Horizontal Info Strip */
.info-strip {
    background-color: var(--forest-green);
    color: var(--bg-primary);
    padding: 20px 24px;
    text-align: center;
    margin-top: 60px;
    border-radius: 12px;
}

.info-strip-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.info-strip-items span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-strip-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    margin-top: 16px;
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(90, 52, 38, 0.2);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--honey-amber);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.product-image-container {
    position: relative;
    height: 240px;
    background-color: #efefef;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.5;
}

/* Sizing Selector */
.size-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.size-btn {
    flex: 1;
    text-align: center;
    border: 1px solid var(--border-color);
    padding: 6px 0;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-primary);
}

.size-btn.active, .size-btn:hover {
    /* darker text on light bg for selected variation 'light box' state (high contrast) */
    background-color: #f0f4f0;
    border-color: var(--forest-green);
    color: #1e293b;
    font-weight: 700;
}

/* Product Pricing & Buy Panel */
.product-action-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(39, 31, 24, 0.05);
    padding-top: 16px;
    margin-top: auto;
}

.product-price-block {
    display: flex;
    flex-direction: column;
}

.price-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--forest-green);
}

.sub-price-val {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.add-to-cart-btn {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.add-to-cart-btn:hover {
    background-color: var(--honey-amber);
    transform: translateY(-1px);
}

/* Ingredients Link */
.ingredient-btn {
    font-size: 0.75rem;
    color: var(--forest-green);
    text-decoration: underline;
    margin-top: 12px;
    align-self: flex-start;
}

/* Freshness & Food Safety Sections */
.freshness-safety {
    background-color: var(--bg-primary);
}

.fs-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.freshness-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.freshness-card h3 {
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 20px;
}

.freshness-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.safety-card {
    background-color: #faf8f5;
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.safety-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--honey-amber);
}

.safety-card h3 {
    font-size: 1.5rem;
    color: var(--honey-amber);
    margin-bottom: 16px;
}

.safety-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (max-width: 992px) {
    .fs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Feature section (legacy) */
.feature-section {
    background-color: #f6efe2; /* Soft tan */
    position: relative;
}

.wo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.wo-content h2 {
    font-size: 2.5rem;
    color: #5c4033; /* Soft brown tone */
    margin-bottom: 8px;
}

.wo-subtitle {
    font-weight: 600;
    color: var(--honey-amber);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.wo-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.wo-list {
    list-style: none;
    margin-bottom: 32px;
}

.wo-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.wo-list li svg {
    color: var(--honey-amber);
}

.wo-content .btn {
    background-color: #5c4033;
    color: var(--bg-primary);
}

.wo-content .btn:hover {
    background-color: #402c22;
}

@media (max-width: 992px) {
    .wo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .wo-image-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Rose feature collection */
.pink-power-section {
    background-color: var(--blush-pink);
    position: relative;
}

.pink-power-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f5e1e2" stroke-width="1.5"><path d="M12 2C9.5 2 7 4 7 7c0 3.5 5 11 5 11s5-7.5 5-11c0-3-2.5-5-5-5z"/><path d="M12 2c1.5 0 3 1.5 3 3.5 0 2-3 5.5-3 5.5s-3-3.5-3-5.5C9 3.5 10.5 2 12 2z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    pointer-events: none;
}

.pp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pp-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.pp-badge {
    background-color: var(--blush-pink-accent);
    color: #b86266;
    border: 1px solid rgba(184, 98, 102, 0.15);
}

.pp-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.pp-donation {
    font-weight: 500;
    font-size: 0.9rem;
    border-top: 1px solid rgba(184, 98, 102, 0.15);
    padding-top: 16px;
    margin-bottom: 24px;
    color: #b86266;
}

@media (max-width: 992px) {
    .pp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Where to Find Us (Stores) */
.find-us-section {
    background-color: var(--bg-secondary);
}

.find-us-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.find-us-header h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 16px;
}

.find-us-header p {
    color: var(--text-muted);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.store-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--forest-green);
}

.store-img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    background-color: #f7f5f2;
    border-bottom: 1px solid var(--border-color);
}

.store-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover .store-img {
    transform: scale(1.06);
}

.store-card-body {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-name {
    font-size: 1.1rem;
    color: var(--forest-green);
    margin-bottom: 6px;
}

.store-loc {
    font-size: 0.8rem;
    font-weight: 600;
    /* --honey-amber (#b5562f) is a brand accent that reads at 3.2:1 on white —
       fine for a large heading, short of the 4.5:1 needed for 12.8px uppercase
       text. A darker step in the same amber family clears it at 5:1 and keeps
       the palette. */
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Wholesale Section */
.wholesale-section {
    background-color: var(--bg-primary);
    text-align: center;
}

.wholesale-content {
    max-width: 700px;
    margin: 0 auto;
}

.wholesale-content h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 16px;
}

.wholesale-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Gives Back & Guarantee */
.gives-back-promise {
    background-color: var(--bg-secondary);
}

.gb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.gb-card, .promise-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.gb-card h3, .promise-card h3 {
    font-size: 1.6rem;
    color: var(--forest-green);
    margin-bottom: 16px;
}

.gb-card p, .promise-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .gb-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Carousel */
.testimonials-section {
    background-color: var(--bg-primary);
    text-align: center;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 40px;
}

.carousel-track {
    overflow: hidden;
    position: relative;
    height: 220px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--honey-amber);
    margin-bottom: 16px;
    line-height: 1;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.quote-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-green);
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 10px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    box-shadow: var(--shadow-sm);
}

.carousel-nav-btn:hover {
    background-color: var(--forest-green);
    color: var(--white);
}

.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 20px;
}

/* The dots were 8px squares — well under the 24px minimum tap target, and
   fiddly to hit on a phone. The button is now a 24px box with the visible dot
   drawn inside it, so the target grows without the design changing. */
.carousel-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-dot::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(90, 52, 38, 0.2);
    transition: width 0.25s ease, background-color 0.25s ease;
}

.carousel-dot.active::before {
    background-color: var(--forest-green);
    width: 24px;
    border-radius: 4px;
}

/* FAQ Accordion Section */
.faq-section {
    background-color: var(--bg-secondary);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question-btn {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.faq-question-btn:hover {
    color: var(--forest-green);
}

.faq-icon-arrow {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--honey-amber);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    border-top-color: rgba(39, 31, 24, 0.05);
}

.faq-answer-inner {
    padding: 20px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Newsletter Email Section */
.newsletter-section {
    background-color: var(--forest-green);
    color: var(--bg-primary);
    text-align: center;
    padding: 56px 24px;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: rgba(254, 253, 251, 0.8);
    font-size: 1rem;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(254, 253, 251, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    background-color: var(--white);
    color: var(--forest-green);
}

.newsletter-form .btn:hover {
    background-color: var(--bg-secondary);
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Footer Section */
.site-footer {
    background-color: #3a2219; /* deep cocoa */
    color: rgba(254, 253, 251, 0.7);
    padding: 60px 24px 30px;
    font-size: 0.85rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(254, 253, 251, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 12px;
}

.footer-brand p {
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link-icon {
    font-size: 1.2rem;
}

.social-link-icon:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-certs {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
}

/* Sliding Shopping Cart Tray Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 31, 24, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 1001;
    box-shadow: none;
    visibility: hidden;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    visibility: visible;
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
    color: var(--forest-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart-btn {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.close-cart-btn:hover {
    color: var(--text-dark);
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Empty State */
.cart-empty-state {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.cart-empty-state svg {
    margin-bottom: 16px;
    color: var(--border-color);
}

/* Cart Item Card */
.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid rgba(39, 31, 24, 0.05);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background-color: var(--bg-secondary);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

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

.qty-btn {
    padding: 4px 10px;
    font-weight: 700;
    font-size: 0.85rem;
    background-color: var(--bg-secondary);
}

.qty-btn:hover {
    background-color: var(--border-color);
}

.qty-val {
    padding: 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.remove-item-btn {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
}

.remove-item-btn:hover {
    text-decoration: underline;
}

.cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--forest-green);
}

/* Cart Footer panel */
.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.cart-summary-line.total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-top: 1px solid rgba(39, 31, 24, 0.05);
    padding-top: 12px;
}

.checkout-btn {
    width: 100%;
}

/* Wholesale Modal Form */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 31, 24, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-container {
    background-color: var(--bg-primary);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

.modal-header {
    background-color: var(--forest-green);
    color: var(--bg-primary);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.4rem;
}

.close-modal-btn {
    font-size: 1.5rem;
    color: rgba(254, 253, 251, 0.8);
}

.close-modal-btn:hover {
    color: var(--white);
}

.modal-body {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--white);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(90, 52, 38, 0.1);
}

/* Dynamic Notification Popups */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--forest-green);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success-icon {
    color: #34d399;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.gallery-grid-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-secondary);
    transition: transform 0.5s ease;
}
.gallery-grid-item:hover img {
    transform: scale(1.05);
}

.gallery-justified {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}
.gallery-justified-item {
    height: 280px;
    flex-grow: 1;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.gallery-justified-item img {
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-secondary);
    transition: transform 0.5s ease;
}
.gallery-justified-item:hover img {
    transform: scale(1.05);
}

.gallery-tile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
    margin-top: 30px;
}
.gallery-tile-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.gallery-tile-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-secondary);
    transition: transform 0.5s ease;
}
.gallery-tile-item:hover img {
    transform: scale(1.05);
}
.gallery-tile-item:nth-child(3n) {
    grid-column: span 2;
}
.gallery-tile-item:nth-child(4n) {
    grid-row: span 2;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 24px;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .gallery-masonry {
        column-count: 2;
    }
}
@media (max-width: 480px) {
    .gallery-masonry {
        column-count: 1;
    }
}
.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.gallery-masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-masonry-item:hover img {
    transform: scale(1.05);
}

/* Aesthetic Slider (Carousel) Styles */
.aesthetic-slider {
    position: relative;
    max-width: 800px;
    margin: 30px auto 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}
.slider-wrapper {
    overflow: hidden;
    width: 100%;
}
.slider-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}
.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 480px;
    position: relative;
    opacity: 0.6;
    transform: scale(0.96);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.slider-slide.active {
    opacity: 1;
    transform: scale(1);
}
.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-secondary);
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: var(--forest-green);
    z-index: 10;
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-prev:hover, .slider-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
    color: var(--honey-amber);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
    width: 20px;
    border-radius: 4px;
}

/* Responsive CSS Accordion Card Slider */
.gallery-accordion-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    max-width: 1100px;
    margin: 30px auto 0;
}

.gallery-accordion {
    display: flex;
    gap: 20px;
    width: max-content; /* Allow overflow so container can translate-center the active card */
    padding: 10px 0;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.accordion-card {
    width: 120px; /* Collapsed width */
    height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    transition: width 0.7s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.7s;
    flex-shrink: 0;
}

.accordion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

/* Enlarged active main card (made 500px, about 4x collapsed size) */
.accordion-card.active {
    width: 500px;
}

.accordion-card.active img {
    transform: scale(1.03);
}

/* Card Overlay */
.accordion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 60%, rgba(15, 23, 42, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    box-sizing: border-box;
}

.accordion-card.active .accordion-overlay {
    opacity: 1;
}

.accordion-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.accordion-card.active .accordion-content {
    transform: translateY(0);
}

.accordion-content h3 {
    font-family: var(--font-outfit);
    font-size: 1.6rem;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-green);
    white-space: nowrap;
}

.accordion-content p {
    font-family: var(--font-inter);
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.4;
    white-space: nowrap;
}

/* Responsive Stacking for Small Screens */
@media (max-width: 768px) {
    .gallery-accordion-container {
        overflow: visible;
    }
    
    .gallery-accordion {
        width: 100%;
        flex-direction: column;
        transform: none !important;
        gap: 12px;
        padding: 0;
    }
    
    .accordion-card {
        width: 100% !important;
        height: 150px;
        transition: height 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    }
    
    .accordion-card.active {
        height: 350px;
    }
}

/* ---------------------------------------------------------------------------
   Auth pages (login / register / welcome)
   The site header is position:fixed, but these pages only had .section-padding
   (60px top on mobile) which is roughly the header's own height — so the card
   sat underneath it. They also used a fixed 40px card padding and a two-column
   name row, both of which are too wide for a phone.
   --------------------------------------------------------------------------- */
.auth-main {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    padding: 140px 24px 80px;
}

.auth-card {
    background: var(--bg-card, #fff);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 460px;
    border: 1px solid var(--border-color);
}

.auth-card .form-input,
.auth-card .form-select {
    width: 100%;
    /* 16px keeps iOS Safari from zooming the viewport on focus. */
    font-size: 16px;
}

.auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .auth-main { padding: 110px 16px 60px; }
    .auth-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .auth-name-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    .auth-name-row .form-group { margin-bottom: 16px !important; }
    .auth-card h2 { font-size: 1.5rem; }
}

/* ---------------------------------------------------------------------------
   Moments in the Market Marquee Gallery (Core Creative Style)
   --------------------------------------------------------------------------- */
.marquee-gallery-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Full bleed scrolling container */
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    padding: 40px 0;
}

.marquee-gallery-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

/* Pause the scrolling marquee on hover */
.marquee-gallery-wrapper:hover .marquee-gallery-track {
    animation-play-state: paused;
}

.marquee-gallery-set {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* Match gap spacing for continuous flow */
}

.marquee-gallery-box {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1), box-shadow 0.4s ease;
}

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

/* Alternating rotation and vertical offset for organic "photo deck" appearance */
.marquee-gallery-box:nth-child(4n+1) {
    transform: rotate(-4deg) translateY(-8px);
    animation: float-1 6s ease-in-out infinite alternate;
}
.marquee-gallery-box:nth-child(4n+2) {
    transform: rotate(5deg) translateY(6px);
    animation: float-2 7s ease-in-out infinite alternate;
}
.marquee-gallery-box:nth-child(4n+3) {
    transform: rotate(-3deg) translateY(4px);
    animation: float-3 5.5s ease-in-out infinite alternate;
}
.marquee-gallery-box:nth-child(4n) {
    transform: rotate(4deg) translateY(-5px);
    animation: float-4 6.5s ease-in-out infinite alternate;
}

/* Card hover scaling and straightening */
.marquee-gallery-box:hover {
    transform: scale(1.08) rotate(0deg) translateY(0) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Scrolling Track Animation */
@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Float Animations */
@keyframes float-1 {
    0% { transform: rotate(-4deg) translateY(-8px); }
    100% { transform: rotate(-1deg) translateY(6px); }
}
@keyframes float-2 {
    0% { transform: rotate(5deg) translateY(6px); }
    100% { transform: rotate(2deg) translateY(-8px); }
}
@keyframes float-3 {
    0% { transform: rotate(-3deg) translateY(4px); }
    100% { transform: rotate(-5deg) translateY(-6px); }
}
@keyframes float-4 {
    0% { transform: rotate(4deg) translateY(-5px); }
    100% { transform: rotate(1deg) translateY(8px); }
}

/* Responsive Overrides */
@media (max-width: 767px) {
    .marquee-gallery-box {
        flex: 0 0 173px;
        width: 173px;
        height: 173px;
        border-radius: 24px;
    }
    .marquee-gallery-set {
        gap: 20px;
        padding-right: 20px;
    }
    .marquee-gallery-wrapper {
        padding: 20px 0;
    }
}

/* ==========================================================================
   Auntie Hal’s Bakehouse additions
   ========================================================================== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-optical-sizing: auto; }
.btn-primary { background-color: var(--honey-amber); color: #fff; }
.btn-primary:hover { background-color: #9a4524; }

/* Header wordmark logo */
.ahb-logo { gap: 10px; text-decoration: none; }
.ahb-logo-mark {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--forest-green); color: var(--butter);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 3px var(--butter), inset 0 0 0 5px var(--forest-green);
}
.ahb-logo-text { display: flex; flex-direction: column; line-height: 1; color: var(--forest-green); }
.ahb-logo-text span { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; }
.ahb-logo-text small { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--honey-amber); margin-top: 4px; }

/* Hero */
.ahb-hero { min-height: 88vh; }
.ahb-hero .ahb-wordmark {
    font-family: var(--font-heading); font-weight: 700; font-style: italic;
    font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; color: #fff3e0;
    text-shadow: 0 4px 24px rgba(40, 18, 10, 0.35); margin-bottom: 22px;
}
.ahb-hero .hero-subtitle { color: var(--butter); }
.ahb-hero .hero-buttons .btn-primary { background: var(--butter); color: var(--forest-green); }
.ahb-hero .hero-buttons .btn-primary:hover { background: #fff3e0; }
.ahb-ribbon {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
    background: var(--forest-green); color: #fff3e0; padding: 14px 20px;
    font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
}

/* Page heads */
.ahb-page-head { padding: 130px 20px 10px; text-align: center; background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary)); }
.ahb-page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--forest-green); margin: 10px 0 12px; }
.ahb-page-head p { max-width: 640px; margin: 0 auto 20px; color: var(--text-muted); font-size: 1.08rem; }
.ahb-cat {
    display: inline-block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--honey-amber); margin-bottom: 6px;
}
h2.ahb-cat { display: block; font-size: 0.95rem; text-align: center; margin: 10px 0 22px; }

/* Placeholder slots */
.ahb-slot { border: 2px dashed rgba(181, 86, 47, 0.35); background: rgba(255, 250, 243, 0.7); box-shadow: none; }
.ahb-slot-img {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1;
    background: repeating-linear-gradient(45deg, #f8ecdd, #f8ecdd 14px, #f3e2cd 14px, #f3e2cd 28px);
}
.ahb-slot-img span { font-size: 3rem; opacity: 0.55; }
.ahb-slot .product-title { color: var(--text-muted); font-style: italic; }
.ahb-ph { opacity: 0.78; font-style: italic; border-left: 3px dashed rgba(181, 86, 47, 0.45); padding-left: 12px; }
.ahb-photo-slot {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    aspect-ratio: 4/5; border-radius: 22px; border: 2px dashed rgba(181, 86, 47, 0.4);
    background: repeating-linear-gradient(45deg, #f8ecdd, #f8ecdd 14px, #f3e2cd 14px, #f3e2cd 28px);
    color: var(--text-muted); font-style: italic; font-weight: 600;
}
.ahb-photo-slot span { font-size: 2.6rem; font-style: normal; opacity: 0.6; }

/* Values */
.ahb-values { background: var(--bg-secondary); }
.ahb-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 30px; }
.ahb-value-card { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.ahb-value-card.ahb-ph { border-left: 1px dashed rgba(181, 86, 47, 0.45); padding-left: 22px; }
.ahb-value-icon { font-size: 2rem; margin-bottom: 10px; }
.ahb-value-card h3 { color: var(--forest-green); font-size: 1.2rem; margin-bottom: 8px; }
.ahb-value-card p { color: var(--text-muted); font-size: 0.95rem; }

/* How ordering works */
.ahb-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.ahb-steps li, .ahb-step { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 26px 22px; position: relative; box-shadow: var(--shadow-sm); }
.ahb-steps h3, .ahb-step h4 { color: var(--forest-green); font-size: 1.15rem; margin: 10px 0 6px; }
.ahb-steps p, .ahb-step p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }
.ahb-step-n, .ahb-step > span {
    display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--honey-amber); color: #fff; font-weight: 800; font-family: var(--font-heading);
}

/* Checkout helpers */
.ahb-notice { background: var(--honey-amber-soft); border: 1px solid rgba(181, 86, 47, 0.28); color: var(--forest-green); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 0.92rem; line-height: 1.55; }
.ahb-help { font-size: 0.8rem; color: var(--text-muted); margin: 6px 0 0; }
.ahb-pay-options { display: grid; gap: 10px; }
.ahb-pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border-color); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.ahb-pay-option:has(input:checked) { border-color: var(--honey-amber); box-shadow: 0 0 0 3px var(--honey-amber-soft); }
.ahb-pay-option input { margin-top: 4px; width: auto; }
.ahb-pay-option span { display: flex; flex-direction: column; }
.ahb-pay-option small { color: var(--text-muted); font-size: 0.8rem; }

/* 404 */
.ahb-404 { text-align: center; padding: 150px 20px 70px; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.ahb-404-mark { font-family: var(--font-heading); font-style: italic; font-size: 6rem; color: var(--honey-amber); line-height: 1; }
.ahb-404 h1 { color: var(--forest-green); font-size: clamp(2rem, 5vw, 2.8rem); margin: 12px 0; }
.ahb-404 p { max-width: 520px; margin: 0 auto 20px; color: var(--text-muted); font-size: 1.1rem; }
.ahb-404 .error-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ahb-404-help { font-size: 0.92rem; margin-top: 28px !important; }

@media (max-width: 640px) {
    .ahb-logo-text span { font-size: 1.12rem; }
    .ahb-logo-mark { width: 38px; height: 38px; font-size: 0.92rem; }
    .ahb-ribbon { gap: 6px 18px; font-size: 0.82rem; }
    .ahb-hero { min-height: 78vh; }
}
