/* ============================================================
   NAVYA'S KITCHEN — Warm Artisanal Editorial Redesign
   Aesthetic: Food magazine editorial × handcrafted warmth
   ============================================================ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --clay-950: #0f0906;
    --clay-900: #1a0e06;
    --clay-800: #2e1808;
    --clay-700: #4a2810;
    --clay-600: #6b3d1a;
    --terracotta: #c4652a;
    --terracotta-light: #d9844e;
    --saffron: #e8983c;
    --saffron-light: #f0b868;
    --cream: #faf5ec;
    --cream-warm: #f5ece0;
    --parchment: #efe5d5;
    --leaf: #3a6b35;
    --leaf-dark: #2a4f26;
    --leaf-pale: #e8f0e6;

    --bg: #faf7f2;
    --surface: #ffffff;
    --surface-warm: #fdf9f3;
    --border: #e8dfd0;
    --border-subtle: #f0e9dc;

    --ink: #1a1008;
    --ink-secondary: #3d2e18;
    --ink-muted: #7a6850;
    --ink-faint: #b0a08a;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
    --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

    --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;

    --shadow-subtle: 0 1px 3px rgba(26,16,8,0.06);
    --shadow-card: 0 2px 12px rgba(26,16,8,0.08);
    --shadow-lifted: 0 8px 30px rgba(26,16,8,0.12);
    --shadow-dramatic: 0 20px 60px rgba(26,16,8,0.18);

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.18s var(--ease);
    --t-mid: 0.35s var(--ease-out);
    --t-slow: 0.6s var(--ease-out);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 0;
}
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }

/* ── Shared section container ─────────────────────────────── */
.section-container {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
}
@media (min-width: 768px) {
    .section-container { padding-left: var(--space-8); padding-right: var(--space-8); }
}
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}
.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-3);
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
}
.section-heading em {
    font-style: italic;
    color: var(--terracotta);
}

/* ── Scroll reveal animation ──────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero reveal animation */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.8s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.top-nav {
    position: sticky; top: 0; z-index: 90;
    background: rgba(250,247,242,0.88);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.top-nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(26,16,8,0.06);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-3) var(--space-5);
    max-width: 1120px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: var(--space-3); }
.nav-logo {
    width: 40px; height: 40px; border-radius: var(--r-full);
    object-fit: cover; border: 2px solid var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196,101,42,0.1);
}
.nav-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clay-800);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.nav-sub {
    font-size: 0.6rem;
    color: var(--ink-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1px;
}
.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-8);
}
.nav-links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
    transition: color var(--t-fast);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1.5px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 768px) {
    .nav-links { display: flex; }
}
.nav-cart-btn {
    position: relative; width: 42px; height: 42px;
    border-radius: var(--r-full); background: var(--clay-800);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(26,16,8,0.2);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cart-btn:hover { transform: scale(1.06); box-shadow: 0 4px 16px rgba(26,16,8,0.25); }
.nav-cart-btn:active { transform: scale(0.92); }
.nav-cart-icon { font-size: 1rem; filter: grayscale(1) brightness(2); }
.nav-cart-badge {
    position: absolute; top: -3px; right: -3px;
    background: var(--terracotta); color: #fff;
    font-size: 0.6rem; font-weight: 700; width: 18px; height: 18px;
    border-radius: var(--r-full); display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    background: linear-gradient(165deg, var(--clay-900) 0%, var(--clay-800) 40%, #3a200c 100%);
    overflow: hidden;
}
.hero-bg-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

/* Mobile: image top, content bottom */
.hero-image-wrap {
    position: relative;
    width: 100%;
    height: 40vh;
    flex-shrink: 0;
    overflow: hidden;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 12s ease;
}
.hero-img:hover { transform: scale(1.03); }

.hero-content {
    flex: 1;
    padding: var(--space-8) var(--space-5) var(--space-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    position: relative;
    z-index: 2;
}
.hero-overline {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--saffron);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 9vw, 5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.02;
    letter-spacing: -0.02em;
}
.hero-title em {
    font-style: italic;
    color: var(--saffron-light);
    display: inline-block;
}
.hero-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 420px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-2);
}
.hero-cta-primary {
    background: var(--terracotta);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--r-full);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(196,101,42,0.4);
    transition: all var(--t-fast);
}
.hero-cta-primary:hover {
    background: var(--terracotta-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196,101,42,0.5);
}
.hero-cta-ghost {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 2px;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.hero-cta-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.hero-trust {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-3);
}
.trust-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--r-full);
    backdrop-filter: blur(8px);
}
.trust-icon { font-size: 0.85rem; }

/* Desktop hero */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        min-height: 92vh;
    }
    .hero-image-wrap {
        position: absolute;
        top: 0; right: 0;
        width: 50%;
        height: 100%;
    }
    .hero-img {
        object-fit: contain;
        object-position: center center;
    }
    .hero-content {
        width: 55%;
        padding: var(--space-20) var(--space-10) var(--space-16);
        gap: var(--space-5);
    }
    .hero-title { font-size: clamp(3rem, 5.5vw, 4.6rem); }
    .hero-desc { font-size: 1rem; }
}

@media (min-width: 1100px) {
    .hero-content { padding-left: calc((100vw - 1120px)/2 + var(--space-8)); }
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════════════════════ */
.marquee-strip {
    background: var(--cream-warm);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    padding: var(--space-3) 0;
}
.marquee-track {
    display: flex;
    gap: var(--space-5);
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}
.marquee-dot {
    color: var(--terracotta);
    opacity: 0.5;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.how-it-works {
    padding: var(--space-20) 0;
    background: var(--bg);
}
.steps-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}
.step-card {
    text-align: center;
    max-width: 300px;
    padding: var(--space-6);
}
.step-number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}
.step-icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    background: var(--cream-warm);
    width: 72px; height: 72px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    border: 1px solid var(--border);
}
.step-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-2);
}
.step-desc {
    font-size: 0.84rem;
    color: var(--ink-muted);
    line-height: 1.6;
}
.step-connector {
    color: var(--border);
    transform: rotate(90deg);
}
@media (min-width: 768px) {
    .steps-grid {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
    .step-connector {
        transform: none;
        flex-shrink: 0;
        padding: 0 var(--space-3);
    }
}

/* ═══════════════════════════════════════════════════════════
   OUR STORY
═══════════════════════════════════════════════════════════ */
.story-section {
    position: relative;
    padding: var(--space-20) 0;
    background: var(--clay-900);
    color: #fff;
    overflow: hidden;
}
.story-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}
.story-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}
.story-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.story-img-frame {
    width: 260px;
    height: 260px;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}
.story-img-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 4rem;
    color: rgba(255,255,255,0.2);
}
.story-img-placeholder small {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.25);
    font-style: italic;
}
.story-accent-badge {
    position: absolute;
    bottom: -12px;
    right: calc(50% - 150px);
    background: var(--terracotta);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: var(--r-full);
}
.story-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.story-section .section-tag { color: var(--saffron); }
.story-section .section-heading {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.story-section .section-heading em { color: var(--saffron-light); }
.story-para {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.story-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: center; flex: 1; }
.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--saffron);
    line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
    .story-grid {
        flex-direction: row;
        align-items: center;
        gap: var(--space-16);
    }
    .story-visual { flex-shrink: 0; }
    .story-img-frame { width: 320px; height: 360px; }
    .story-accent-badge { right: -10px; bottom: 30px; }
}

/* ═══════════════════════════════════════════════════════════
   TIMING BANNER
═══════════════════════════════════════════════════════════ */
.timing-banner {
    background: var(--leaf-dark);
    color: #fff;
}
.timing-inner {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    max-width: 1120px; margin: 0 auto;
}
.timing-clock { font-size: 1.4rem; flex-shrink: 0; }
.timing-text { display: flex; flex-direction: column; gap: 1px; }
.timing-text strong { font-size: 0.85rem; font-weight: 700; }
.timing-text span { font-size: 0.74rem; opacity: 0.75; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY PILLS
═══════════════════════════════════════════════════════════ */
.categories-section {
    padding: var(--space-4) 0 var(--space-3);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky; top: 52px; z-index: 80;
}
.category-scroll {
    display: flex; gap: var(--space-2);
    padding: 0 var(--space-5);
    overflow-x: auto; scrollbar-width: none;
    max-width: 1120px; margin: 0 auto;
    /* Fade the right edge to hint at overflow content on narrow viewports */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
}
.category-scroll::-webkit-scrollbar { display: none; }
/* Once everything fits (desktop), drop the mask so the last pill isn't dimmed */
@media (min-width: 720px) {
    .category-scroll {
        -webkit-mask-image: none;
                mask-image: none;
    }
}
.cat-pill {
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap; padding: 8px 18px;
    border-radius: var(--r-full); font-size: 0.8rem; font-weight: 600;
    border: 1.5px solid var(--border); color: var(--ink-muted);
    background: var(--surface); transition: all var(--t-fast);
}
.cat-pill:hover { border-color: var(--terracotta); color: var(--terracotta); }
.cat-pill.active {
    background: var(--clay-800); color: #fff;
    border-color: var(--clay-800);
}

/* ═══════════════════════════════════════════════════════════
   MENU
═══════════════════════════════════════════════════════════ */
.menu-main {
    max-width: 1120px; margin: 0 auto;
    padding: var(--space-2) 0 var(--space-10);
}
.menu-section { padding: var(--space-8) var(--space-5) var(--space-3); }
.section-label { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.section-label-icon {
    width: 34px; height: 34px; border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.section-label-icon.green { background: var(--leaf-pale); }
.section-label-icon.amber { background: var(--cream-warm); }
.section-label-icon.red   { background: #fef0ef; }
.section-title {
    font-family: var(--font-display); font-size: 1.5rem;
    font-weight: 700; color: var(--ink);
}

/* Mobile: stacked list */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    justify-items: center;
}

/* Tablet: 2-col grid */
@media (min-width: 640px) {
    .menu-section { padding: var(--space-8) var(--space-6) var(--space-4); }
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Desktop: 3-col grid */
@media (min-width: 1024px) {
    .menu-section { padding: var(--space-8) var(--space-8) var(--space-4); }
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }
}

/* ═══════════════════════════════════════════════════════════
   PRICING CARD (podulu + sweets)
═══════════════════════════════════════════════════════════ */
.pcard {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: var(--space-5);
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: var(--shadow-subtle);
    transition: box-shadow var(--t-mid), transform var(--t-fast);
}
.pcard:hover { box-shadow: var(--shadow-card); transform: translateY(-1px); }

.pcard-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--cream-warm);
    border-radius: 12px;
    overflow: hidden;
}
.pcard-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.pcard:hover .pcard-img { transform: scale(1.04); }

.pcard-tags {
    display: flex; align-items: center; gap: var(--space-2);
    flex-wrap: wrap;
}
.pcard-tier {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px; border-radius: var(--r-full);
    background: var(--leaf-pale); color: var(--leaf-dark);
}
/* Sweet tier gets a warm-cream tint to differentiate from podulu tiers */
.pcard--single .pcard-tier {
    background: var(--cream-warm); color: var(--clay-700);
}
.pcard-benefit {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.pcard-heading {
    display: flex; flex-direction: column; gap: 2px;
}
.pcard-name {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 500;
    color: var(--ink); line-height: 1.25;
}
.pcard-sub {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta);
}
.pcard-desc {
    font-size: 0.82rem; line-height: 1.5;
    color: var(--ink-muted);
}

/* Size selector — 3-col grid, always 3 columns even on narrow phones */
.pcard-sizes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 2px;
}
.pcard-size {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px;
    padding: 10px 4px 12px;
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.pcard-size:hover { border-color: var(--leaf-dark); }
.pcard-size.is-selected {
    background: var(--leaf-pale);
    border: 2px solid var(--leaf-dark);
    /* compensate the 1.5px extra border so cells stay aligned */
    padding: 8.5px 2.5px 10.5px;
    color: var(--leaf-dark);
}
.pcard-size-badge {
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a04d16; /* darker terracotta for stronger contrast */
    min-height: 13px; /* reserve the row so all three cells align */
    line-height: 1;
}
.pcard-size.is-selected .pcard-size-badge { color: var(--leaf-dark); }
.pcard-size-label { font-size: 0.94rem; font-weight: 500; }
.pcard-size-price { font-size: 0.8rem; color: var(--ink-muted); }
.pcard-size.is-selected .pcard-size-price { color: var(--leaf-dark); }
.pcard-size-unit  { font-size: 0.65rem; color: var(--ink-faint); }
.pcard-size.is-selected .pcard-size-unit { color: var(--leaf-dark); opacity: 0.75; }

/* Main price */
.pcard-main {
    display: flex; align-items: baseline; gap: var(--space-2);
    margin-top: var(--space-1);
    flex-wrap: wrap;
}
.pcard-main-price {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 500;
    color: var(--ink); line-height: 1;
}
.pcard-main-unit {
    font-size: 0.82rem; color: var(--ink-muted);
}

/* Savings pill (empty slot when saved <= 0) */
.pcard-savings {
    display: inline-block;
    background: #fbf0d5; color: #8a6d1f;
    font-size: 0.7rem; font-weight: 600;
    padding: 4px 10px; border-radius: var(--r-full);
}
.pcard-savings-slot:empty { display: none; }

/* Nudge box */
.pcard-nudge {
    background: var(--cream);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--ink-muted);
}
.pcard-nudge:empty { display: none; }

/* CTA — filled deep-green for stronger visual pull; swaps to a soft "added" pill on confirmation */
.pcard-cta {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--leaf-dark);
    color: #fff;
    border: 1px solid var(--leaf-dark);
    border-radius: 10px;
    font-size: 0.92rem; font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 2px rgba(30, 86, 49, 0.14);
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.pcard-cta:hover { background: var(--leaf); box-shadow: 0 3px 10px rgba(30, 86, 49, 0.22); }
.pcard-cta:active { transform: scale(0.98); }
.pcard-cta.is-added {
    background: var(--leaf-pale); color: var(--leaf-dark);
    box-shadow: none;
}
.pcard-cta-icon { width: 16px; height: 16px; }

/* Delivery line */
.pcard-delivery {
    text-align: center;
    font-size: 0.75rem;
}
.pcard-delivery-ok { color: var(--leaf-dark); font-weight: 600; }
.pcard-delivery-muted { color: var(--ink-muted); }

/* ═══════════════════════════════════════════════════════════
   QTY CONTROLS (drawer)
═══════════════════════════════════════════════════════════ */
.qty-controls {
    display: flex; align-items: center;
    background: var(--leaf-dark); border-radius: var(--r-full);
    overflow: hidden;
}
.qty-btn {
    color: #fff; font-size: 1.1rem; font-weight: 700;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t-fast);
}
.qty-btn:hover { background: rgba(255,255,255,0.15); }
.qty-val {
    color: #fff; font-size: 0.88rem; font-weight: 700;
    min-width: 22px; text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════════════ */
.reviews-section {
    padding: var(--space-20) 0;
    background: var(--cream-warm);
}
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}
@media (min-width: 640px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: box-shadow var(--t-mid), transform var(--t-fast);
}
.review-card:hover {
    box-shadow: var(--shadow-lifted);
    transform: translateY(-3px);
}
.review-stars {
    color: var(--saffron);
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.review-text {
    font-size: 0.88rem;
    color: var(--ink-secondary);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}
.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
}
.review-avatar {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    background: var(--clay-800);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--ink);
}
.review-location {
    font-size: 0.7rem;
    color: var(--ink-faint);
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════ */
.final-cta-section {
    position: relative;
    padding: var(--space-24) 0;
    background: linear-gradient(165deg, var(--clay-900), var(--clay-800));
    text-align: center;
    overflow: hidden;
}
.final-cta-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}
.final-cta-content { position: relative; z-index: 1; }
.final-cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}
.final-cta-heading em {
    font-style: italic;
    color: var(--saffron-light);
}
.final-cta-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    max-width: 460px;
    margin: 0 auto var(--space-8);
    line-height: 1.7;
}
.final-cta-btn {
    background: var(--terracotta);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: var(--r-full);
    letter-spacing: 0.02em;
    box-shadow: 0 6px 28px rgba(196,101,42,0.4);
    transition: all var(--t-fast);
}
.final-cta-btn:hover {
    background: var(--terracotta-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(196,101,42,0.5);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--clay-950);
    color: rgba(255,255,255,0.6);
    padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand { }
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}
.footer-logo {
    width: 32px; height: 32px;
    border-radius: var(--r-full);
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.15);
}
.footer-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.footer-tagline {
    font-size: 0.82rem;
    line-height: 1.6;
    max-width: 280px;
}
.footer-col-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: var(--space-4);
}
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.footer-links a,
.footer-contact a,
.footer-contact span {
    font-size: 0.82rem;
    transition: color var(--t-fast);
}
.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}
.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════════════════════
   STICKY CART BAR
═══════════════════════════════════════════════════════════ */
.cart-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
    display: none; align-items: center; justify-content: space-between;
    background: var(--clay-800);
    box-shadow: 0 -4px 32px rgba(26,10,0,0.3);
    padding: var(--space-4) var(--space-5) calc(var(--space-4) + env(safe-area-inset-bottom));
}
.cart-bar-left { display: flex; flex-direction: column; gap: 1px; }
.cart-bar-count { font-size: 0.74rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.cart-bar-total { font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1; }
.cart-bar-btn {
    background: var(--terracotta); color: #fff;
    font-size: 0.9rem; font-weight: 700;
    padding: 13px 28px; border-radius: var(--r-md);
    letter-spacing: 0.02em;
    transition: all var(--t-fast);
}
.cart-bar-btn:hover { background: var(--terracotta-light); transform: scale(1.02); }
.cart-bar-btn:active { transform: scale(0.95); }

@media (min-width: 768px) {
    .cart-bar { padding: var(--space-4) var(--space-8); }
}

/* ═══════════════════════════════════════════════════════════
   OVERLAY + DRAWER
═══════════════════════════════════════════════════════════ */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(15,9,6,0.6); backdrop-filter: blur(6px);
    z-index: 100; display: none; opacity: 0;
    transition: opacity var(--t-mid);
}
.drawer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 101;
    background: var(--bg); border-radius: var(--r-xl) var(--r-xl) 0 0;
    max-height: 92vh; overflow-y: auto;
    transform: translateY(100%); transition: transform var(--t-slow);
    box-shadow: 0 -16px 48px rgba(26,16,8,0.2);
}
@media (min-width: 640px) {
    .drawer { max-width: 520px; left: 50%; right: auto; transform: translateX(-50%) translateY(100%); }
}
.drawer-handle {
    width: 36px; height: 4px; background: var(--border);
    border-radius: var(--r-full); margin: var(--space-3) auto var(--space-1);
}
.drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-2) var(--space-6) var(--space-4);
    border-bottom: 1px solid var(--border); background: var(--surface);
    position: sticky; top: 0; z-index: 2;
}
.drawer-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.drawer-close {
    width: 34px; height: 34px; border-radius: var(--r-full);
    background: var(--cream-warm); color: var(--ink-muted); font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t-fast);
}
.drawer-close:hover { background: var(--border); }
.drawer-body { padding: var(--space-5) var(--space-6) var(--space-12); }

/* ═══════════════════════════════════════════════════════════
   CART ITEMS
═══════════════════════════════════════════════════════════ */
.cart-items-list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); }
.cart-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-3); padding-bottom: var(--space-3);
    border-bottom: 1px dashed var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.cart-item-price { font-size: 0.78rem; color: var(--ink-muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   BILL BOX
═══════════════════════════════════════════════════════════ */
.bill-box {
    background: var(--cream-warm); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: var(--space-4);
    margin-bottom: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3);
}
.bill-row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-muted); }
.bill-divider { height: 1px; background: var(--border); }
.bill-total { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.free-delivery-hint { font-size: 0.75rem; color: var(--leaf-dark); font-weight: 600; text-align: center; }

/* ═══════════════════════════════════════════════════════════
   CHECKOUT FORM
═══════════════════════════════════════════════════════════ */
.form-section-title {
    font-weight: 700; font-size: 0.84rem; color: var(--ink-secondary);
    letter-spacing: 0.03em; margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-3); background: var(--leaf-pale);
    border-radius: var(--r-xs); border-left: 3px solid var(--leaf-dark);
}
.checkout-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: 0.76rem; font-weight: 700; color: var(--ink-secondary); letter-spacing: 0.02em; }
.form-group input, .form-group textarea {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--r-md); padding: 12px var(--space-4);
    font-size: 0.88rem; color: var(--ink); outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196,101,42,0.1);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.pay-btn {
    background: linear-gradient(135deg, var(--terracotta), #a04e1a);
    color: #fff; font-size: 1rem; font-weight: 700;
    padding: 16px var(--space-5); border-radius: var(--r-lg);
    width: 100%; text-align: center;
    box-shadow: 0 4px 20px rgba(196,101,42,0.3);
    transition: all var(--t-fast); margin-top: var(--space-2);
    /* Keep the pay button in reach while the form scrolls inside the drawer */
    position: sticky; bottom: var(--space-2); z-index: 3;
}
.pay-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(196,101,42,0.4); }
.pay-btn:active { transform: scale(0.97); }
.pay-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.pay-note {
    text-align: center; font-size: 0.72rem; color: var(--ink-faint); margin-top: var(--space-1);
    /* Sit under the sticky pay button so the last visible line doesn't blur under it */
    position: sticky; bottom: 0; background: var(--bg); padding-top: var(--space-2); z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   SUCCESS SCREEN
═══════════════════════════════════════════════════════════ */
.success-screen {
    position: fixed; inset: 0; z-index: 200; background: var(--bg);
    display: none; align-items: center; justify-content: center;
    padding: var(--space-6); overflow-y: auto;
}
.success-inner {
    width: 100%; max-width: 420px;
    display: flex; flex-direction: column; align-items: center;
    gap: var(--space-4); text-align: center;
}
.success-lottie {
    font-size: 5rem; line-height: 1;
    animation: popBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.5);
}
@keyframes popBounce {
    0%   { transform: scale(0); opacity: 0; }
    80%  { transform: scale(1.18); opacity: 1; }
    100% { transform: scale(1); }
}
.success-title { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--leaf-dark); }
.success-subtitle { font-size: 0.88rem; color: var(--ink-muted); max-width: 290px; }
.success-order-card {
    background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg);
    padding: var(--space-4) var(--space-5); width: 100%;
    font-size: 0.82rem; color: var(--ink-secondary); text-align: left;
    line-height: 2.1; box-shadow: var(--shadow-card);
}
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #1aad54); color: #fff;
    font-size: 0.95rem; font-weight: 700; padding: 16px var(--space-5);
    border-radius: var(--r-lg); width: 100%;
    display: flex; align-items: center; justify-content: center; gap: var(--space-2);
    box-shadow: 0 6px 20px rgba(37,211,102,0.30); transition: all var(--t-fast);
}
.whatsapp-btn:hover { transform: translateY(-1px); }
.ghost-btn {
    background: transparent; border: 1.5px solid var(--border);
    color: var(--ink-muted); font-size: 0.9rem; font-weight: 600;
    padding: 13px var(--space-5); border-radius: var(--r-lg); width: 100%;
    transition: all var(--t-fast);
}
.ghost-btn:hover { border-color: var(--ink-faint); color: var(--ink); }
