/* =====================================================
   BEF COFFEE — Editorial premium UI
   Brand: specialty coffee + bean-to-bar chocolatier
   Aesthetic: calm, magazine-quality, generous whitespace
   ===================================================== */

:root {
    /* NEW palette */
    --espresso:   #2B1810;
    --cocoa:      #4A2C20;
    --caramel:    #C7956D;
    --gold:       #BC8F5D;
    --cream:      #F8F0E3;
    --ivory:      #FAF5ED;
    --mocha:      #8B6F5C;
    --muted-text: #6B5D52;
    --line:       #E8DDD0;
    --white:      #FFFFFF;

    /* Backward-compat aliases — legacy class names still resolve */
    --hot:        var(--caramel);
    --hot-deep:   var(--cocoa);
    --lemon:      var(--gold);
    --mint:       var(--mocha);
    --ink:        var(--espresso);
    --ink-2:      var(--cocoa);
    --paper:      var(--cream);
    --muted:      var(--muted-text);
    --blue:       var(--cocoa);
    --red:        var(--caramel);
    --red-deep:   var(--cocoa);
    --yellow:     var(--gold);
    --yellow-soft:#F2E4CE;

    --radius-sm: 8px;
    --radius:    16px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(43,24,16,.04);
    --shadow:    0 4px 24px rgba(43,24,16,.06);
    --shadow-pop:0 8px 30px rgba(43,24,16,.10);

    --gradient-hero:        linear-gradient(135deg, var(--espresso) 0%, var(--cocoa) 100%);
    --gradient-pink-yellow: linear-gradient(135deg, var(--caramel), var(--gold));
    --gradient-blue-mint:   linear-gradient(135deg, var(--cocoa), var(--mocha));
    --gradient-iridescent:  linear-gradient(135deg, var(--caramel) 0%, var(--gold) 100%);

    --container: 480px;
    --pad: 24px;

    --font-display: 'Fraunces', 'Source Serif Pro', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
}

[data-lucide], i[data-lucide] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
[data-lucide] svg, i[data-lucide] svg { display: block; }

/* Tight numerals in serif prices */
.hp-price,
.product-price,
.camp-price,
.product-detail-price,
.hero-v2-card-price > span:first-child,
.add-btn-price,
.cart-total-amount {
    letter-spacing: .01em;
    font-feature-settings: "tnum" 1;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--cream); }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--espresso);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

main { max-width: var(--container); margin: 0 auto; padding-bottom: 0; }
body.has-floatbar main { padding-bottom: 96px; }

.u-red    { color: var(--caramel); }
.u-yellow { color: var(--gold); }
.u-mint   { color: var(--mocha); }
.u-blue   { color: var(--cocoa); }

/* Y2K legacy decorations -> made subtle editorial */
.sticker {
    display: inline-block;
    background: transparent;
    color: var(--caramel);
    padding: 2px 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.starburst {
    color: var(--caramel);
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.chrome-text {
    color: var(--espresso);
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
}

/* =====================================================
   HEADER
   ===================================================== */

.site-header {
    position: sticky; top: 0; z-index: 100;
    max-width: var(--container);
    margin: 0 auto;
    background: var(--cream);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
    background: var(--cream);
    border-bottom-color: var(--line);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px var(--pad);
    min-height: 68px;
    background: transparent;
    color: var(--espresso);
}

.icon-btn {
    width: 40px; height: 40px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--espresso);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    flex-shrink: 0;
}
.icon-btn:active { background: var(--ivory); }

/* Header right cluster (lang switcher + login) */
.header-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher {
    position: relative;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--espresso);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease;
}
.lang-toggle:active { background: var(--ivory); }
.lang-toggle i { transition: transform .2s ease; }
.lang-switcher.open .lang-toggle i { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(43,24,16,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 90;
}
.lang-switcher.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-menu li { margin: 0; }
.lang-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    color: var(--espresso);
    font-family: var(--font-body);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: background .15s ease;
}
.lang-menu button:hover,
.lang-menu button.is-active { background: var(--cream); }
.lang-menu button span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--muted);
}
.lang-menu button.is-active span { color: var(--caramel); }

#menuToggle {
    background: transparent;
    color: var(--espresso);
    border-color: var(--line);
}
#menuToggle:active { background: var(--ivory); }

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    min-height: 40px;
}
.brand:active { opacity: .8; }
.brand-logo { display: none; }
.brand-wordmark {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.01em;
    color: var(--espresso);
    line-height: 1;
}
@media (min-width: 380px) {
    .brand-wordmark { font-size: 22px; }
}

.foot-logo {
    height: 56px;
    width: auto;
    display: block;
    opacity: .85;
}

/* Inner header */
.site-header--inner .header-top {
    background: transparent;
    color: var(--espresso);
}
.header-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    color: var(--espresso);
    letter-spacing: -0.01em;
    flex: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 8px;
}
.site-header--inner .back-btn-header {
    background: transparent;
    border-color: var(--line);
    color: var(--espresso);
}

/* =====================================================
   HERO V2 — slider
   ===================================================== */

.hero-v2 {
    padding: 8px var(--pad) 0;
}
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.hero-slider-track {
    position: relative;
    height: 420px;
}
.hero-slider-track .hero-v2-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}
.hero-slider-track .hero-v2-card.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}
.hero-dot {
    width: 20px; height: 2px;
    border-radius: 0;
    background: rgba(250,245,237,.4);
    border: none;
    cursor: pointer;
    transition: background .2s ease, width .25s ease;
}
.hero-dot.is-active {
    background: var(--caramel);
    width: 32px;
}

.hero-v2-card {
    position: relative;
    display: block;
    background: var(--ivory);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.hero-v2-card:active { transform: scale(.99); }
.hero-slider-track .hero-v2-card:active { transform: none; }

.hero-v2-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-v2-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,24,16,0) 40%, rgba(43,24,16,.6) 100%);
}

.hero-v2-card-corner {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(250,245,237,.92);
    color: var(--espresso);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 999px;
}
.hero-v2-card-corner i { color: var(--caramel); }

.hero-v2-card-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    color: var(--ivory);
}
.hero-v2-card-cat {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ivory);
    opacity: .85;
    margin-bottom: 8px;
}
.hero-v2-card-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ivory);
}
.hero-v2-card-price {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    color: var(--ivory);
}
.hero-v2-card-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 999px;
    background: var(--caramel);
    color: var(--white);
    transition: background .2s ease;
}
.hero-v2-card-add:active { background: var(--gold); }

/* Marquee — subtle */
.hero-v2-marquee {
    margin-top: 16px;
    background: var(--espresso);
    color: var(--ivory);
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid var(--cocoa);
}
.hero-v2-marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    padding: 10px 0;
    animation: hd-marquee 38s linear infinite;
}
.hero-v2-marquee-track span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ivory);
    padding-right: 32px;
    opacity: .85;
}
@keyframes hd-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =====================================================
   SECTIONS / EDITORIAL TYPOGRAPHY
   ===================================================== */

.section {
    padding: 40px var(--pad) 8px;
}
.section-tight { padding-top: 24px; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--espresso);
}
.section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--cocoa);
}
.section-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--espresso);
    text-decoration: none;
    border-bottom: 1px solid var(--espresso);
    padding-bottom: 2px;
    flex-shrink: 0;
    transition: color .2s ease, border-color .2s ease;
}
.section-link:hover { color: var(--caramel); border-color: var(--caramel); }

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .15s ease;
    border: 1px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary {
    background: var(--espresso);
    color: var(--ivory);
    border-color: var(--espresso);
}
.btn-primary:active { background: var(--cocoa); }
.btn-ghost {
    background: transparent;
    color: var(--espresso);
    border-color: var(--line);
}
.btn-full { width: 100%; }

/* =====================================================
   CAMPAIGNS
   ===================================================== */

.campaign-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 var(--pad) 16px;
    margin: 0 calc(var(--pad) * -1);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.campaign-rail::-webkit-scrollbar { display: none; }

.campaign-card {
    position: relative;
    flex: 0 0 78%;
    min-width: 280px;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    isolation: isolate;
}
.campaign-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: inherit;
    z-index: 0;
}
.campaign-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,24,16,0) 35%, rgba(43,24,16,.7) 100%);
    z-index: 1;
}
.campaign-card > * { position: relative; z-index: 2; }

/* New theme variants */
.camp-espresso { color: var(--ivory); }
.camp-espresso::after { background: linear-gradient(180deg, rgba(43,24,16,.25) 0%, rgba(43,24,16,.85) 100%); }
.camp-caramel  { color: var(--ivory); }
.camp-caramel::after { background: linear-gradient(180deg, rgba(74,44,32,.10) 0%, rgba(74,44,32,.75) 100%); }
.camp-ivory    { color: var(--ivory); }
.camp-ivory::after { background: linear-gradient(180deg, rgba(43,24,16,.10) 0%, rgba(43,24,16,.65) 100%); }

/* Legacy theme aliases */
.camp-hot    { color: var(--ivory); }
.camp-hot::after { background: linear-gradient(180deg, rgba(43,24,16,.20) 0%, rgba(43,24,16,.80) 100%); }
.camp-lemon  { color: var(--ivory); }
.camp-lemon::after { background: linear-gradient(180deg, rgba(43,24,16,.10) 0%, rgba(43,24,16,.65) 100%); }
.camp-mint   { color: var(--ivory); }
.camp-mint::after { background: linear-gradient(180deg, rgba(43,24,16,.20) 0%, rgba(43,24,16,.75) 100%); }
.camp-blue   { color: var(--ivory); }
.camp-blue::after { background: linear-gradient(180deg, rgba(43,24,16,.20) 0%, rgba(43,24,16,.80) 100%); }
.camp-red    { color: var(--ivory); }
.camp-red::after { background: linear-gradient(180deg, rgba(43,24,16,.20) 0%, rgba(43,24,16,.80) 100%); }
.camp-yellow { color: var(--ivory); }
.camp-yellow::after { background: linear-gradient(180deg, rgba(43,24,16,.10) 0%, rgba(43,24,16,.65) 100%); }
.camp-cream  { color: var(--ivory); }
.camp-cream::after { background: linear-gradient(180deg, rgba(43,24,16,.25) 0%, rgba(43,24,16,.85) 100%); }
.camp-dark   { color: var(--ivory); }
.camp-dark::after { background: linear-gradient(180deg, rgba(43,24,16,.40) 0%, rgba(43,24,16,.92) 100%); }

.camp-badge {
    display: inline-block;
    width: fit-content;
    background: transparent;
    color: var(--ivory);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 0 0 8px 0;
    border: none;
    border-bottom: 1px solid rgba(250,245,237,.5);
    margin-bottom: 14px;
}
.camp-badge.dark  { color: var(--gold); border-bottom-color: rgba(199,149,109,.5); }
.camp-badge.light { color: var(--ivory); border-bottom-color: rgba(250,245,237,.5); }
.camp-mint .camp-badge { color: var(--ivory); }
.camp-mint .camp-badge.dark { color: var(--gold); }

.campaign-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.campaign-card p {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    opacity: .9;
    margin-bottom: 18px;
}
.campaign-card p strong {
    font-weight: 600;
    font-style: italic;
    font-family: var(--font-display);
}

.camp-foot {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.camp-price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    color: var(--ivory);
    letter-spacing: -0.01em;
}
.camp-price.dark  { color: var(--gold); }
.camp-price.light { color: var(--gold); }
.camp-cream .camp-price.dark { color: var(--ivory); }
.camp-cream .camp-badge.dark { color: var(--ivory); border-bottom-color: rgba(250,245,237,.5); }

.camp-old {
    font-family: var(--font-body);
    font-size: 13px;
    text-decoration: line-through;
    opacity: .6;
}
.camp-tag {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .8;
    padding: 4px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
}
.camp-yellow .camp-tag,
.camp-lemon .camp-tag,
.camp-mint .camp-tag,
.camp-cream .camp-tag,
.camp-tag.light { color: inherit; }

/* =====================================================
   CATEGORY RAIL (home)
   ===================================================== */

.cat-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px var(--pad) 12px;
    margin: 0 calc(var(--pad) * -1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }

.cat-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-align: center;
    width: 84px;
}
.cat-story:active { opacity: .8; }
.cat-avatar {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--ivory);
    border: 1px solid var(--line);
    transition: transform .2s ease;
}
.cat-story:active .cat-avatar { transform: scale(.96); }
.cat-story.active .cat-avatar {
    border-color: var(--caramel);
}
.cat-name {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--espresso);
    padding-bottom: 2px;
}
.cat-story.active .cat-name {
    color: var(--caramel);
    border-bottom: 1px solid var(--caramel);
}

/* =====================================================
   PRODUCT GRID + CARDS (home)
   ===================================================== */

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.product-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(43,24,16,.04);
    transition: transform .2s ease, box-shadow .25s ease;
}
.product-card:active {
    transform: translateY(1px);
    box-shadow: 0 1px 6px rgba(43,24,16,.06);
}
.product-visual {
    position: relative;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-color: var(--ivory);
    border-bottom: 1px solid var(--line);
}
.product-visual[style*="background-image"]::after { display: none; }
.product-visual > * { z-index: 2; position: relative; }

.visual-red    { background-color: var(--caramel); }
.visual-yellow { background-color: var(--gold); }
.visual-mint   { background-color: var(--mocha); }
.visual-blue   { background-color: var(--cocoa); }
.visual-cream  { background-color: var(--cream); }
.visual-dark   { background-color: var(--espresso); }

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(250,245,237,.92);
    color: var(--espresso);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
}
.product-badge.dark  { background: var(--espresso); color: var(--gold); }
.product-badge.light { background: var(--ivory); color: var(--espresso); }

.product-info {
    padding: 16px;
}
.product-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted-text);
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.rating { color: var(--espresso); font-weight: 600; }
.dot-sep {
    display: inline-block;
    width: 3px; height: 3px;
    border-radius: 999px;
    background: var(--line);
}
.product-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--espresso);
    margin-bottom: 12px;
    min-height: 2.4em;
}
.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.product-price {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    color: var(--caramel);
}
.add-btn {
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--caramel);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .15s ease;
}
.add-btn:active { transform: scale(.94); background: var(--gold); }

/* =====================================================
   ORDER PROVIDERS
   ===================================================== */

.order-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 var(--pad) 8px;
    margin: 0 calc(var(--pad) * -1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.order-grid::-webkit-scrollbar { display: none; }

.order-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 200px;
    transition: border-color .2s ease;
}
.order-card:active { border-color: var(--caramel); }

.order-ys, .order-getir, .order-migros, .order-uber {
    background: var(--white);
}
.order-ys::after, .order-getir::after, .order-migros::after, .order-uber::after {
    display: none;
}

.order-logo-wrap {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ivory);
    flex-shrink: 0;
    overflow: hidden;
}
.order-svg, .order-mark, .order-logo-svg {
    width: 32px; height: 32px;
    display: block;
    object-fit: contain;
}
.order-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.order-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--espresso);
}
.order-eta {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--muted-text);
    letter-spacing: .14em;
    text-transform: uppercase;
}
.order-arrow { display: none; }

/* =====================================================
   CTA — WhatsApp / Instagram (side-by-side)
   ===================================================== */

.cta-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cta-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s ease;
    position: relative;
}
.cta-block:active { border-color: var(--caramel); }
.cta-wa::before, .cta-ig::before { display: none; content: ''; }
.cta-wa { }
.cta-ig { }

.cta-pill-icon {
    width: 36px; height: 36px;
    border-radius: 999px;
    background: var(--ivory);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cta-ig .cta-pill-icon { background: var(--ivory); }
.cta-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.cta-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    color: var(--espresso);
    letter-spacing: -0.01em;
}
.cta-sub {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted-text);
    letter-spacing: .04em;
}
.cta-badge {
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    border-top: 1px solid var(--line);
    padding-top: 10px;
    margin-top: 4px;
    width: 100%;
}
.cta-badge-ig {
    color: var(--caramel);
}

/* =====================================================
   STORY / link arrow (legacy)
   ===================================================== */

.story {
    margin: 0 var(--pad);
    padding: 30px 24px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.story::before { display: none; content: ''; }
.story .eyebrow { color: var(--caramel); }
.story-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.story p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted-text);
    margin-bottom: 16px;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--espresso);
    border-bottom: 1px solid var(--espresso);
    padding-bottom: 2px;
}
.link-arrow span { transition: transform .2s ease; }
.link-arrow:active span { transform: translateX(3px); }

/* =====================================================
   FOOTER — minimal editorial
   ===================================================== */

.site-footer {
    max-width: var(--container);
    margin: 80px auto 0;
    padding: 40px var(--pad) 32px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-family: var(--font-body);
}

.ft-mark {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--espresso);
    margin-bottom: 18px;
}

.ft-meta,
.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    line-height: 1.6;
}

.ft-meta {
    color: var(--muted);
    margin-bottom: 14px;
}
.ft-meta a {
    color: var(--espresso);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1px;
    transition: border-color .2s ease, color .2s ease;
}
.ft-meta a:hover { border-bottom-color: var(--caramel); color: var(--caramel); }

.ft-bottom {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .02em;
}
.ft-bottom a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}
.ft-bottom a:hover { color: var(--espresso); }

.ft-sep {
    color: var(--line);
    user-select: none;
}

/* =====================================================
   FLOAT BAR
   ===================================================== */

.float-bar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    width: calc(100% - 32px);
    max-width: calc(var(--container) - 32px);
    padding: 0;
}
.float-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--espresso);
    color: var(--ivory);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .04em;
    box-shadow: 0 6px 20px rgba(43,24,16,.18);
    transition: background .2s ease;
}
.float-action:active { background: var(--cocoa); }
.float-action span:first-of-type { flex: 1; }
.float-arrow {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--caramel);
    line-height: 1;
}
.float-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--caramel);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
}

/* =====================================================
   BOTTOM SHEET
   ===================================================== */

.sheet {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
.sheet[aria-hidden="false"] { pointer-events: auto; }
.sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43,24,16,.45);
    opacity: 0;
    transition: opacity .3s ease;
}
.sheet[aria-hidden="false"] .sheet-backdrop { opacity: 1; }

.sheet-panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: 100%;
    max-width: var(--container);
    max-height: 92vh;
    background: var(--cream);
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    overflow: hidden;
    border-top: 1px solid var(--line);
}
.sheet[aria-hidden="false"] .sheet-panel { transform: translate(-50%, 0); }

.sheet-panel > * { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.sheet[aria-hidden="false"] .sheet-panel > * { opacity: 1; transform: none; }
.sheet[aria-hidden="false"] .sheet-head   { transition-delay: .14s; }
.sheet[aria-hidden="false"] .sheet-search { transition-delay: .18s; }
.sheet[aria-hidden="false"] .sheet-scroll { transition-delay: .22s; }
.sheet[aria-hidden="false"] .sheet-foot   { transition-delay: .28s; }

.sheet-scroll .sheet-section { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.sheet[aria-hidden="false"] .sheet-scroll .sheet-section { opacity: 1; transform: none; }
.sheet[aria-hidden="false"] .sheet-scroll .sheet-section:nth-child(1) { transition-delay: .26s; }
.sheet[aria-hidden="false"] .sheet-scroll .sheet-section:nth-child(2) { transition-delay: .32s; }
.sheet[aria-hidden="false"] .sheet-scroll .sheet-section:nth-child(3) { transition-delay: .38s; }
.sheet[aria-hidden="false"] .sheet-scroll .sheet-section:nth-child(4) { transition-delay: .44s; }

.sheet-handle {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    border-radius: 999px;
    background: var(--line);
    border: none;
    cursor: pointer;
}

.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px var(--pad) 12px;
}
.sheet-logo {
    height: 36px;
    width: auto;
}
.sheet-close {
    width: 36px; height: 36px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--espresso);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sheet-close:active { background: var(--ivory); }

.sheet-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    margin: 0 var(--pad) 12px;
    border-bottom: 1px solid var(--line);
}
.sheet-search:focus-within {
    border-bottom-color: var(--caramel);
}
.search-icon { color: var(--muted-text); flex-shrink: 0; }
.sheet-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--espresso);
    padding: 6px 0;
}
.sheet-search input::placeholder { color: var(--muted-text); }
.search-kbd {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted-text);
    padding: 3px 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.sheet-scroll {
    overflow-y: auto;
    flex: 1;
    padding: 0 var(--pad) 20px;
    scrollbar-width: none;
}
.sheet-scroll::-webkit-scrollbar { width: 0; }
.sheet-section {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.sheet-section:last-child { border-bottom: none; }
.sheet-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 14px;
}

.sheet-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.sheet-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    transition: border-color .2s ease;
}
.sheet-cat:active { border-color: var(--caramel); }
.sc-num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    color: var(--caramel);
    letter-spacing: -0.01em;
}
.sc-name {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--espresso);
    font-weight: 500;
}

.sheet-nav {
    display: flex;
    flex-direction: column;
}
.sheet-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    transition: opacity .2s ease;
}
.sheet-link:last-child { border-bottom: none; }
.sheet-link:active { opacity: .7; }
.sl-mark {
    display: inline-block;
    width: 4px; height: 28px;
    background: transparent;
    border-radius: 0;
}
.sheet-link.is-active .sl-mark { background: var(--caramel); }
.sheet-link.is-active strong { color: var(--caramel); }
.sl-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}
.sl-text strong {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--espresso);
    letter-spacing: -0.01em;
}
.sl-text small {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted-text);
    letter-spacing: .04em;
}
.sl-badge {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    padding: 3px 8px;
    border: 1px solid var(--caramel);
    border-radius: 999px;
}
.sheet-link > svg:last-child {
    color: var(--muted-text);
    flex-shrink: 0;
}

.sheet-providers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.sp-chip {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease;
    overflow: hidden;
    padding: 8px;
}
.sp-chip:active { border-color: var(--caramel); }

.sheet-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ss-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--espresso);
    transition: border-color .2s ease;
}
.ss-btn:active { border-color: var(--caramel); }
.ss-ig, .ss-tt, .ss-fb { background: var(--white); color: var(--espresso); }
.sheet-social .ss-btn { border: 1px solid var(--line); box-shadow: none; }
.sheet-social .ss-btn:active { border-color: var(--caramel); }

.sheet-foot {
    display: flex;
    gap: 10px;
    padding: 14px var(--pad) 18px;
    border-top: 1px solid var(--line);
    background: var(--cream);
}
.sheet-foot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .04em;
    transition: background .2s ease;
}
.sheet-foot-btn:active { opacity: .9; }
.sf-wa {
    width: 52px;
    height: 52px;
    background: var(--ivory);
    border: 1px solid var(--line);
    flex-shrink: 0;
    padding: 0;
}
.sf-primary {
    flex: 1;
    background: var(--espresso);
    color: var(--ivory);
}
.sf-primary:active { background: var(--cocoa); }

/* =====================================================
   PAGE HERO (interior pages)
   ===================================================== */

.page-hero {
    padding: 28px var(--pad) 8px;
}
.page-hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--espresso);
    margin-top: 8px;
    margin-bottom: 12px;
}
.page-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--cocoa);
}
.page-hero-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-text);
    line-height: 1.55;
    max-width: 90%;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--espresso);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}
.back-btn:active { border-color: var(--caramel); }

/* =====================================================
   MENU PAGE — editorial hero + intro
   ===================================================== */

.menu-hero {
    padding: 56px var(--pad) 8px;
    max-width: var(--container);
    margin: 0 auto;
}
.menu-hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--espresso);
    margin-top: 10px;
    margin-bottom: 14px;
}
.menu-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--cocoa);
}
.menu-hero-sub {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted-text);
    max-width: 36ch;
    margin-bottom: 14px;
}
.menu-hero-signature {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--caramel);
    letter-spacing: 0;
}
.menu-hero-signature em {
    font-style: italic;
    font-weight: 400;
}
.menu-intro {
    padding: 16px var(--pad) 8px;
    max-width: var(--container);
    margin: 0 auto;
}
.menu-intro p {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--muted-text);
    max-width: 48ch;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

/* =====================================================
   PRODUCT DETAIL (urun.php) — editorial
   ===================================================== */

.product-page { background: var(--cream); }
.product-page main { background: transparent; }

/* =====================================================
   PRODUCT DETAIL — editorial (compact hero + flat sections)
   ===================================================== */

.pd-hero {
    position: relative;
    width: 100%;
    height: 44vh;
    min-height: 280px;
    max-height: 440px;
    overflow: hidden;
    background: var(--ivory);
    isolation: isolate;
}
.pd-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.pd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(43,24,16,.10) 0%, rgba(43,24,16,0) 30%, rgba(43,24,16,.65) 100%);
    pointer-events: none;
}
.pd-hero-back,
.pd-hero-fav {
    position: absolute;
    top: 18px;
    width: 38px; height: 38px;
    border-radius: 999px;
    background: rgba(250,245,237,.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--espresso);
    border: 1px solid rgba(232,221,208,.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background .2s ease;
}
.pd-hero-back { left: 18px; }
.pd-hero-fav  { right: 18px; }
.pd-hero-back:active,
.pd-hero-fav:active { background: rgba(250,245,237,.98); }

.pd-hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    padding: 0 var(--pad);
    max-width: var(--container);
    margin: 0 auto;
    z-index: 3;
    color: var(--ivory);
}
.pd-hero-cat {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 8px;
}
.pd-hero-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ivory);
    margin: 0;
    max-width: 18ch;
}

/* Summary block */
.pd-summary {
    padding: 24px var(--pad) 4px;
    max-width: var(--container);
    margin: 0 auto;
}
.pd-summary-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted-text);
    letter-spacing: .02em;
    margin-bottom: 16px;
}
.pd-summary-meta i { color: var(--caramel); vertical-align: middle; }
.pd-summary-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pd-dot { color: var(--caramel); }
.pd-summary-short {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: var(--cocoa);
    margin-bottom: 14px;
    max-width: 44ch;
}
.pd-summary-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: var(--espresso);
    max-width: 56ch;
}

/* Sections */
.pd-section {
    padding: 28px var(--pad);
    max-width: var(--container);
    margin: 0 auto;
    border-top: 1px solid var(--line);
}
.pd-section-title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 18px;
}
.pd-section-title small {
    font-weight: 500;
    color: var(--muted-text);
    letter-spacing: .12em;
}
.pd-note {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 16px;
}
.pd-note em { font-style: italic; font-weight: 400; }

/* Detail / nutrition shared list */
.pd-detail-list {
    margin: 0;
    padding: 0;
}
.pd-detail-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.pd-detail-row:first-child { border-top: none; padding-top: 0; }
.pd-detail-row dt {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted-text);
    margin: 0;
}
.pd-detail-row dd {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--espresso);
    margin: 0;
}
/* Nutrition variant — short value, align right, serif numeric */
.pd-section--nut .pd-detail-row { grid-template-columns: 1fr auto; }
.pd-section--nut .pd-detail-row dd {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    text-align: right;
    color: var(--espresso);
    letter-spacing: -0.005em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Allergens — grouped */
.pd-allerg-group {
    margin-bottom: 18px;
}
.pd-allerg-head {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted-text);
    margin-bottom: 10px;
}
.pd-allerg-head--var {
    color: var(--cocoa);
}
.pd-allerg-head--var i { color: var(--caramel); }
.pd-allerg-empty {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--muted-text);
}
.pd-note--foot {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 11px;
    color: var(--muted-text);
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.pd-allerg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pd-allerg-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px dashed var(--line);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted-text);
    letter-spacing: .02em;
    background: transparent;
    text-decoration: line-through;
    text-decoration-color: rgba(107,93,82,.4);
    opacity: .65;
}
.pd-allerg-chip.is-var {
    background: var(--cocoa);
    border: 1px solid var(--cocoa);
    color: var(--ivory);
    font-weight: 600;
    opacity: 1;
    text-decoration: none;
    letter-spacing: .04em;
}
.pd-allerg-chip.is-var::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--caramel);
    flex-shrink: 0;
}

/* =====================================================
   CATEGORY DETAIL (menu-detail.php) — editorial
   ===================================================== */

.cat-hero-ed {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px var(--pad) 8px;
}
.cat-hero-ed-img {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: var(--ivory);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(43,24,16,.08);
    margin-bottom: 22px;
}
.cat-hero-ed-body {
    padding: 0 2px;
}
.cat-hero-ed-num {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}
.cat-hero-ed-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--espresso);
    margin-bottom: 10px;
}
.cat-hero-ed-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-text);
    max-width: 44ch;
    margin-bottom: 12px;
}
.cat-hero-ed-count {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--mocha);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Magazine-style product list */
.prod-list-ed {
    display: flex;
    flex-direction: column;
}
.prod-row-ed {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    border-radius: 0;
    align-items: stretch;
}
.prod-row-ed:first-child { padding-top: 4px; }
.prod-row-ed-img {
    width: 96px;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    background-color: var(--ivory);
    border-radius: 4px;
    flex-shrink: 0;
}
.prod-row-ed-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.prod-row-ed-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-text);
}
.prod-row-ed-cat { color: var(--caramel); }
.prod-row-ed-sep { color: var(--caramel); font-weight: 400; }
.prod-row-ed-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--espresso);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}
.prod-row-ed-rating i { color: var(--caramel); }
.prod-row-ed-weight { color: var(--muted-text); }
.prod-row-ed-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--espresso);
    margin-top: 2px;
}
.prod-row-ed-desc {
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.prod-row-ed-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}
.prod-row-ed-price {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    color: var(--espresso);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}
.prod-row-ed-add {
    width: 26px; height: 26px;
    border-radius: 999px;
    background: var(--caramel);
    color: var(--ivory);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none;
    transition: background .2s ease;
}
.prod-row-ed-add:active { background: var(--cocoa); }

.empty-state {
    padding: 56px 20px;
    text-align: center;
    border: none;
    border-radius: 0;
    background: transparent;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.empty-state i { color: var(--caramel); margin-bottom: 14px; }
.empty-state p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    color: var(--muted-text);
}

/* =====================================================
   LEGACY PRODUCT DETAIL / LIST helpers (kept just in case)
   ===================================================== */

.cat-detail-hero, .cat-detail-hero-bg, .cat-detail-hero::after, .cat-detail-hero-content,
.cat-detail-title, .cat-detail-count, .product-list, .product-row, .product-row-img,
.product-row-body, .product-row-meta, .product-row-name, .product-row-desc,
.product-hero, .product-hero-img, .product-hero::after, .product-hero-badges,
.product-hero-badge, .product-detail-head, .product-detail-meta, .product-cat-badge,
.product-weight, .product-detail-name, .product-detail-price-row, .product-detail-price,
.tab-content-inner, .product-detail-desc, .detail-bullets, .nutrition-header,
.nutrition-list, .nutrition-row, .nutrition-label, .nutrition-value,
.allergen-note, .allergen-grid, .allergen-chip, .allergen-icon, .allergen-chip small,
.product-action-bar, .qty-control, .qty-btn, .qty-val, .product-add-btn, .product-add-price {
    font-family: inherit;
}

/* =====================================================
   AUTH (login/register)
   ===================================================== */

.auth-page { background: var(--cream); }
.auth-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 24px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.auth-logo-wrap {
    text-align: center;
    margin-bottom: 28px;
}
.auth-wordmark {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
    font-size: 36px;
    letter-spacing: -0.02em;
    color: var(--espresso);
    margin-bottom: 6px;
}
.auth-logo {
    height: 48px;
    width: auto;
    margin: 0 auto;
    display: block;
    opacity: .85;
}
.auth-tagline {
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--muted-text);
}

.tab-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.tab-bar--auth { gap: 24px; }
.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-text);
    cursor: pointer;
    margin-bottom: -1px;
    transition: color .2s ease, border-color .2s ease;
}
.tab-btn.active {
    color: var(--espresso);
    border-bottom-color: var(--caramel);
}
.tab-btn:active { opacity: .7; }
.tab-bar--auth .tab-btn { padding: 14px 0; }
.tab-bar--auth .tab-btn.active { color: var(--espresso); border-bottom-color: var(--caramel); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-text);
}
.form-input {
    width: 100%;
    padding: 14px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--espresso);
    outline: none;
    transition: border-color .2s ease;
}
.form-input::placeholder { color: var(--muted-text); }
.form-input:focus {
    border-color: var(--caramel);
}
.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.form-input-wrap .form-input { width: 100%; }
.form-prefix {
    position: absolute;
    left: 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--espresso);
    pointer-events: none;
}
.form-input--with-prefix { padding-left: 80px; }
.form-eye-btn {
    position: absolute;
    right: 12px;
    color: var(--muted-text);
    padding: 4px;
}
.form-forgot {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--caramel);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    align-self: flex-end;
}
.form-forgot:hover { border-color: var(--caramel); }
.form-select { appearance: none; }
.form-textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.form-check-group { gap: 0; flex-direction: row; }
.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted-text);
    cursor: pointer;
    line-height: 1.5;
}
.form-checkbox {
    width: 18px; height: 18px;
    flex-shrink: 0;
    accent-color: var(--caramel);
    margin-top: 1px;
}
.form-link {
    color: var(--espresso);
    border-bottom: 1px solid var(--line);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 18px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-text);
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.social-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--espresso);
    transition: border-color .2s ease;
}
.social-btn:active { border-color: var(--caramel); }

.social-btn-svg { width: 20px; height: 20px; display: block; }
.cta-pill-svg { width: 22px; height: 22px; display: block; }
.ft-bubble-svg { width: 18px; height: 18px; display: block; }
.map-open-svg { width: 16px; height: 16px; display: block; }
.sp-chip-svg { width: 100%; height: 100%; display: block; padding: 0; object-fit: contain; }
.ss-btn-svg { width: 16px; height: 16px; display: block; flex-shrink: 0; border-radius: 4px; }
.sf-wa-svg { width: 22px; height: 22px; display: block; }

.auth-foot {
    margin-top: auto;
    padding-top: 28px;
    text-align: center;
}
.auth-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted-text);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}
.auth-foot-link:hover { color: var(--espresso); border-color: var(--line); }

/* =====================================================
   DEMO BANNER + TOAST
   ===================================================== */

.demo-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-left: 3px solid var(--caramel);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--espresso);
    margin-bottom: 22px;
}
.demo-banner svg { flex-shrink: 0; color: var(--caramel); }

.demo-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) translateY(20px);
    z-index: 999;
    background: var(--espresso);
    color: var(--ivory);
    padding: 12px 18px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .08em;
    box-shadow: 0 6px 20px rgba(43,24,16,.25);
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}
.demo-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =====================================================
   CONTACT
   ===================================================== */

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.contact-card + .contact-card { margin-top: 16px; }
.contact-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.contact-icon-wrap {
    width: 40px; height: 40px;
    border-radius: 999px;
    background: var(--ivory);
    color: var(--caramel);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon-wrap--red    { color: var(--caramel); }
.contact-icon-wrap--yellow { color: var(--gold); }
.contact-card-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 2px;
}
.contact-card-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    color: var(--espresso);
    letter-spacing: -0.01em;
    display: block;
}
.contact-card-sub {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted-text);
}
.contact-address {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--espresso);
    margin-bottom: 16px;
}

.map-placeholder {
    position: relative;
    height: 180px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.map-grid { position: absolute; inset: 0; }
.map-line { position: absolute; background: var(--line); opacity: .8; }
.map-line--h { left: 0; right: 0; height: 1px; }
.map-line--v { top: 0; bottom: 0; width: 1px; }
.map-pin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.map-pin-dot {
    width: 14px; height: 14px;
    border-radius: 999px;
    background: var(--caramel);
    box-shadow: 0 0 0 4px rgba(199,149,109,.25);
}
.map-pin-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--espresso);
    background: rgba(250,245,237,.94);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--line);
}
.map-open-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--espresso);
    padding: 8px 12px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    transition: border-color .2s ease;
}
.map-open-btn:active { border-color: var(--caramel); }

.contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.contact-action-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--espresso);
    transition: border-color .2s ease;
}
.contact-action-btn:active { border-color: var(--caramel); transform: scale(.98); }
.contact-action-btn--call,
.contact-action-btn--wa,
.contact-action-btn--mail { color: var(--espresso); }

.hours-table {
    display: flex;
    flex-direction: column;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.hours-row:last-child { border-bottom: none; }
.hours-row--highlight { background: none; }
.hours-row--highlight .hours-day { font-weight: 600; color: var(--caramel); }
.hours-day {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--espresso);
}
.hours-time {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    color: var(--espresso);
    letter-spacing: -0.01em;
}
.hours-open {
    color: var(--mocha);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hours-open::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--mocha);
    margin-right: 6px;
    vertical-align: middle;
}
.hours-closed {
    color: var(--muted-text);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =====================================================
   404 / DEMO page
   ===================================================== */

.demo-page { background: var(--cream); }
.demo-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.demo-illustration {
    margin-bottom: 24px;
    opacity: .9;
}
.demo-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 12px;
}
.demo-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--espresso);
    margin-bottom: 12px;
}
.demo-title em {
    font-style: italic;
    color: var(--cocoa);
    font-weight: 400;
}
.demo-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-text);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 320px;
}
.demo-home-btn { margin-bottom: 36px; }
.demo-available {
    width: 100%;
    text-align: left;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 12px;
}
.demo-available-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 14px;
}
.demo-pages-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.demo-pages-list li {
    border-bottom: 1px solid var(--line);
}
.demo-pages-list li:last-child { border-bottom: none; }
.demo-page-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    transition: opacity .2s ease;
}
.demo-page-link:active { opacity: .7; }
.demo-page-icon {
    width: 36px; height: 36px;
    border-radius: 999px;
    background: var(--ivory);
    border: 1px solid var(--line);
    color: var(--caramel);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.demo-page-link div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.demo-page-link strong {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--espresso);
    letter-spacing: -0.01em;
}
.demo-page-link small {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted-text);
}
.demo-page-link > svg:last-child { color: var(--muted-text); flex-shrink: 0; }
.demo-brand {
    margin-top: 40px;
    display: inline-block;
}
.demo-brand:hover { opacity: .8; }
.demo-brand-wordmark {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    color: var(--espresso);
    opacity: .55;
    letter-spacing: -.01em;
}

/* =====================================================
   LEGACY hero (unused but defensively styled)
   ===================================================== */

.hero {
    padding: 24px var(--pad);
}
.hero-text { margin-bottom: 16px; }
.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
}
.hero-eyebrow .dot { color: var(--caramel); }
.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--espresso);
}
.hero-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-text);
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.hero-product {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 16px;
}
.hero-product:active { transform: scale(.99); }
.hero-product::after { display: none; content: ''; }
.hero-product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.hp-badge {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--caramel);
}
.hp-rank {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--muted-text);
}
.hero-product-visual {
    aspect-ratio: 1/1;
    background: var(--cream);
    border-radius: 12px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}
.hp-steam, .hp-steam.s1, .hp-steam.s2, .hp-steam.s3 { display: none; }
.hero-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.hp-cat {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted-text);
    letter-spacing: .04em;
}
.hp-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    color: var(--espresso);
    letter-spacing: -0.01em;
}
.hp-price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hp-price {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--caramel);
}
.hp-add {
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--caramel);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   LEGACY product detail / list (kept for safety)
   ===================================================== */

.product-list { display: flex; flex-direction: column; gap: 12px; padding: 0 var(--pad); }
.product-row {
    display: flex; gap: 12px; padding: 12px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.product-row:active { border-color: var(--caramel); }
.product-row-img { width: 96px; aspect-ratio: 1/1; border-radius: 10px; background-size: cover; background-position: center; background-color: var(--ivory); }
.product-row-body { flex: 1; }
.product-row-meta { font-family: var(--font-body); font-size: 11px; color: var(--muted-text); }
.product-row-name { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--espresso); }
.product-row-desc { font-family: var(--font-body); font-size: 12px; color: var(--muted-text); }

.product-hero { position: relative; aspect-ratio: 1/1; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.product-hero::after { display: none; content: ''; }
.product-hero-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.product-hero-badge { background: rgba(250,245,237,.92); color: var(--espresso); font-size: 10px; padding: 4px 8px; border-radius: 999px; font-family: var(--font-body); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

.product-main { padding: 0 var(--pad); }
.product-detail-head { padding: 20px 0; }
.product-detail-meta { display: flex; gap: 8px; font-family: var(--font-body); font-size: 11px; color: var(--muted-text); }
.product-cat-badge { color: var(--caramel); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.product-weight { color: var(--muted-text); }
.product-detail-name { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.05; color: var(--espresso); letter-spacing: -0.02em; margin: 8px 0; }
.product-detail-price-row { display: flex; align-items: center; gap: 12px; }
.product-detail-price { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--caramel); }

.tab-content-inner { padding: 16px 0; }
.product-detail-desc { font-family: var(--font-body); font-size: 14px; line-height: 1.65; color: var(--espresso); }
.detail-bullets { list-style: none; padding: 0; }
.detail-bullets li { padding: 8px 0 8px 18px; position: relative; font-size: 13px; color: var(--espresso); border-bottom: 1px solid var(--line); }
.detail-bullets li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--caramel); }

.nutrition-header { font-family: var(--font-body); font-size: 11px; color: var(--muted-text); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.nutrition-list { display: flex; flex-direction: column; }
.nutrition-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nutrition-row:last-child { border-bottom: none; }
.nutrition-row--highlight { background: none; }
.nutrition-label { font-family: var(--font-body); font-size: 13px; color: var(--espresso); }
.nutrition-value { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--espresso); }
.nutrition-row--highlight .nutrition-value { color: var(--caramel); }

.allergen-note { font-family: var(--font-body); font-size: 12px; color: var(--muted-text); margin-bottom: 12px; }
.allergen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.allergen-chip { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.allergen-chip--var { border-color: var(--caramel); }
.allergen-chip--yok { }
.allergen-icon { width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.allergen-chip--var .allergen-icon { background: var(--caramel); color: var(--white); }
.allergen-chip--yok .allergen-icon { background: var(--mocha); color: var(--white); }
.allergen-chip small { font-family: var(--font-body); font-size: 10px; color: var(--muted-text); letter-spacing: .08em; }

.product-action-bar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: var(--container);
    display: flex; gap: 10px; padding: 14px var(--pad) 18px;
    background: var(--cream); border-top: 1px solid var(--line); z-index: 90;
}
.qty-control { display: inline-flex; align-items: center; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.qty-btn { width: 34px; height: 34px; border-radius: 999px; background: transparent; color: var(--espresso); display: inline-flex; align-items: center; justify-content: center; }
.qty-btn:active { background: var(--ivory); }
.qty-val { font-family: var(--font-display); font-weight: 500; font-size: 15px; min-width: 22px; text-align: center; color: var(--espresso); }
.product-add-btn { flex: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--espresso); color: var(--ivory); border-radius: 999px; font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.product-add-price { font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--gold); letter-spacing: 0; text-transform: none; }

/* =====================================================
   Body lock when sheet open
   ===================================================== */

body.sheet-open { overflow: hidden; }

/* =====================================================
   HOMEPAGE v3 — Hero background slider (full-bleed)
   ===================================================== */

.hero-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--espresso);
}
.hero-bg-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    min-height: 480px;
    overflow: hidden;
}
.hero-bg-track {
    position: absolute;
    inset: 0;
}
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}
.hero-bg-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(43,24,16,.85) 100%);
}
.hero-bg-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0 var(--pad) 56px;
    color: var(--ivory);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hero-bg-eyebrow {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ivory);
    opacity: .82;
}
.hero-bg-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ivory);
    margin: 0;
    max-width: 22ch;
}
.hero-bg-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--caramel);
}
.hero-bg-sub {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ivory);
    opacity: .78;
    max-width: 28ch;
    margin: 2px 0 6px;
}
.hero-bg-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ivory);
    border-bottom: 1px solid rgba(250,245,237,.65);
    transition: border-color .2s ease, color .2s ease;
}
.hero-bg-cta:active { color: var(--caramel); border-color: var(--caramel); }

.hero-bg-dots {
    position: absolute;
    left: 0; right: 0; bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.hero-bg-dot {
    width: 22px;
    height: 2px;
    border-radius: 0;
    background: rgba(250,245,237,.35);
    border: none;
    padding: 0;
    transition: background .25s ease, width .25s ease;
    cursor: pointer;
}
.hero-bg-dot.is-active {
    background: var(--ivory);
    width: 32px;
}

@media (min-width: 380px) {
    .hero-bg-title { font-size: 42px; }
}

/* =====================================================
   HOMEPAGE v3 — Editorial product card restyle
   ===================================================== */

.product-grid--editorial {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
}
.product-grid--editorial .product-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 18px;
    overflow: visible;
}
.product-grid--editorial .product-card:active {
    transform: none;
    box-shadow: none;
}
.product-grid--editorial .product-visual {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 32px rgba(43,24,16,.08);
    background-color: var(--ivory);
    background-size: cover;
    background-position: center;
    transition: transform .4s ease;
}
.product-grid--editorial .product-card:hover .product-visual,
.product-grid--editorial .product-card:active .product-visual {
    transform: scale(1.02);
}
.product-grid--editorial .product-info {
    padding: 14px 0 0;
}
.product-grid--editorial .product-cat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 8px;
}
.product-grid--editorial .product-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--espresso);
    margin-bottom: 6px;
    min-height: 0;
}
.product-grid--editorial .product-desc {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.product-grid--editorial .product-foot {
    border-top: none;
    padding-top: 4px;
}
.product-grid--editorial .product-price {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    color: var(--espresso);
    letter-spacing: 0;
}
.product-grid--editorial .add-btn {
    width: 24px;
    height: 24px;
    background: var(--caramel);
    color: var(--ivory);
    border-radius: 999px;
}
.product-grid--editorial .add-btn:active {
    background: var(--gold);
    transform: scale(.94);
}

/* =====================================================
   HOMEPAGE v3 — Category editorial grid
   ===================================================== */

.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.cat-grid-tile {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--ivory);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--line);
    color: var(--ivory);
    transition: transform .35s ease;
}
.cat-grid-tile:active { transform: translateY(1px); }
.cat-grid-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,24,16,0) 35%, rgba(43,24,16,.78) 100%);
    pointer-events: none;
}
.cat-grid-img {
    display: none;
}
.cat-grid-body {
    position: absolute;
    left: 14px; right: 14px; bottom: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cat-grid-num {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(250,245,237,.78);
    margin-bottom: 2px;
}
.cat-grid-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ivory);
}
.cat-grid-tagline {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.4;
    color: rgba(250,245,237,.72);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-grid-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(250,245,237,.12);
    border: 1px solid rgba(250,245,237,.28);
    color: var(--ivory);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* =====================================================
   FULL-SCREEN TAKEOVER MENU (rewrites .sheet-* behaviour)
   ===================================================== */

.sheet.takeover {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
.sheet.takeover[aria-hidden="false"] { pointer-events: auto; }
.sheet.takeover .sheet-backdrop {
    background: transparent;
    opacity: 0;
}

.sheet.takeover .sheet-panel,
.takeover-panel {
    position: fixed;
    inset: 0;
    left: auto;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: none;
    background: var(--cream);
    border: none;
    border-radius: 0;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.22,1,.36,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sheet.takeover[aria-hidden="false"] .sheet-panel {
    transform: translateX(0);
}

/* Disable old per-child stagger transforms (would collide w/ translateX) */
.sheet.takeover .sheet-panel > * {
    opacity: 1;
    transform: none;
    transition: none;
}
.sheet.takeover .sheet-scroll .sheet-section {
    opacity: 1;
    transform: none;
    transition: none;
}

.takeover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px var(--pad) 14px;
}
.takeover-brand .brand-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--espresso);
}
.takeover-close {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--espresso);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.takeover-close:active { background: var(--ivory); }

.takeover-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px var(--pad) 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted-text);
}
.takeover-search:focus-within { border-bottom-color: var(--espresso); }
.takeover-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--espresso);
    padding: 2px 0;
}
.takeover-search input::placeholder {
    color: var(--muted-text);
    font-style: italic;
}

.takeover-scroll {
    padding: 16px var(--pad) 32px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
}
.takeover-scroll::-webkit-scrollbar { width: 0; }

.takeover-cats {
    display: flex;
    flex-direction: column;
    padding: 12px 0 18px;
}
.sheet-cat.takeover-cat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: opacity .2s ease;
}
.sheet-cat.takeover-cat:active { opacity: .65; border-color: transparent; }
.takeover-cat-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--espresso);
    transition: color .2s ease, text-decoration-color .2s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}
.sheet-cat.takeover-cat:hover .takeover-cat-name {
    text-decoration-color: var(--espresso);
}
.takeover-cat-count {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--muted-text);
    flex-shrink: 0;
}

@media (min-width: 380px) {
    .takeover-cat-name { font-size: 40px; }
}

.takeover-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    margin-top: 4px;
}
.sheet-link.takeover-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--espresso);
    transition: opacity .2s ease;
}
.sheet-link.takeover-nav-link:last-child { border-bottom: none; }
.sheet-link.takeover-nav-link:active { opacity: .65; }
.sheet-link.takeover-nav-link.is-active { color: var(--caramel); }
.sheet-link.takeover-nav-link i { color: var(--muted-text); }

.takeover-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    margin-top: 16px;
    border-top: 1px solid var(--line);
}
.takeover-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--espresso);
    letter-spacing: .02em;
    transition: color .2s ease;
}
.takeover-social-link i { color: var(--muted-text); }
.takeover-social-link:active { color: var(--caramel); }
