/* Omotola's Kitchen — purple theme, mobile first.
   Tokens on :root; components below use only the tokens. */

:root {
  --plum-950: #170A29;
  --plum-900: #22103B;
  --plum-800: #3A1260;
  --purple-700: #5A189A;
  --purple-600: #7B2CBF;
  --purple-500: #9D4EDD;
  --purple-300: #C9A2F0;
  --lilac-100: #F1E6FD;
  --lilac-50: #FAF6FE;
  --gold: #F5B83D;
  --gold-deep: #C98A0B;

  --bg: #FFFFFF;
  --text: #20152F;
  --muted: #675A78;
  --line: #E9DEF5;
  --card: #FFFFFF;
  --ok: #2E7D32;
  --danger: #B3261E;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(58, 18, 96, .25);
  --shadow-sm: 0 2px 10px -4px rgba(58, 18, 96, .2);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 64px;
  color-scheme: light;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.has-basket-bar { padding-bottom: 84px; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; color: var(--plum-900); }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
a { color: var(--purple-600); text-decoration: none; }
a:hover { color: var(--purple-700); }
img { max-width: 100%; height: auto; }
.text-muted, .muted { color: var(--muted) !important; }
.text-purple { color: var(--purple-600) !important; }
.container-xl { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .container-xl { padding-left: 24px; padding-right: 24px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--plum-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; }

/* ---- Buttons ---- */
.btn { font-weight: 700; border-radius: 999px; padding: .72rem 1.4rem; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-purple { background: linear-gradient(135deg, var(--purple-600), var(--purple-700)); color: #fff; border: 0; box-shadow: 0 8px 20px -8px rgba(123, 44, 191, .7); }
.btn-purple:hover, .btn-purple:focus { background: linear-gradient(135deg, var(--purple-500), var(--purple-600)); color: #fff; }
.btn-gold { background: var(--gold); color: var(--plum-950); border: 0; }
.btn-gold:hover, .btn-gold:focus { background: #FFC85A; color: var(--plum-950); }
.btn-outline-purple { border: 2px solid var(--purple-600); color: var(--purple-700); background: transparent; }
.btn-outline-purple:hover { background: var(--purple-600); color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .95rem; font-size: .88rem; }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: var(--purple-600); font-weight: 600; }

/* ---- Announcement + header ---- */
.announce { background: var(--plum-900); color: #EBDDFC; text-align: center; font-size: .85rem; padding: 7px 16px; }
.announce a { color: var(--gold); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--plum-900); flex-shrink: 0; }
.brand:hover { color: var(--plum-900); }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--purple-600); margin-top: 4px; }
.main-nav { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 4px; }
.main-nav a { color: var(--text); font-weight: 600; padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.main-nav a:hover { background: var(--lilac-50); color: var(--purple-700); }
.main-nav a.active { background: var(--lilac-100); color: var(--purple-700); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
@media (min-width: 992px) { .main-nav { display: flex; } .header-actions { margin-left: 12px; } }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--plum-900); font-size: 1.3rem; position: relative; }
.icon-btn:hover { background: var(--lilac-50); color: var(--purple-700); }
.basket-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--plum-900); color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .92rem; }
.basket-btn:hover { background: var(--purple-700); color: #fff; }
.basket-btn .count { background: var(--gold); color: var(--plum-950); border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; padding: 0 6px; }
.basket-btn .count.zero { background: rgba(255, 255, 255, .2); color: #fff; }
@media (max-width: 420px) { .basket-btn .label { display: none; } .basket-btn { padding: 9px 12px; } }

.mobile-nav { --bs-offcanvas-width: min(320px, 86vw); background: var(--plum-900); color: #fff; }
.mobile-nav .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-nav .icon-btn { color: #fff; }
.mobile-nav .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.mobile-nav nav a { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1.08rem; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav nav a i { color: var(--purple-300); font-size: 1.15rem; }
.mobile-nav .contact-mini { color: #D9C6F2; font-size: .92rem; margin-top: 24px; }
.mobile-nav .contact-mini a { color: var(--gold); }

/* ---- Flash + toasts ---- */
.flash-wrap { position: relative; z-index: 5; }
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); margin: 12px 0 0; font-weight: 500; background: var(--lilac-100); color: var(--plum-900); }
.flash-success { background: #E7F5E8; color: #1B5E20; }
.flash-error { background: #FCE8E6; color: #8C1D18; }
.flash-warning { background: #FFF4D6; color: #6B4A00; }
.flash .btn-close { margin-left: auto; }
.toast-zone { position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 1090; width: min(420px, calc(100% - 32px)); display: grid; gap: 8px; pointer-events: none; }
.toast-msg { background: var(--plum-900); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-weight: 600; animation: toastIn .25s ease-out; pointer-events: auto; }
.toast-msg i { color: var(--gold); font-size: 1.2rem; }
.toast-msg.error i { color: #FF8A80; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, #7B2CBF 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #5A189A 0%, transparent 55%), var(--plum-950); padding: 48px 0 56px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero .container-xl { position: relative; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: #E3D3F7; font-size: 1.12rem; max-width: 34rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-600); margin-bottom: 12px; }
.hero .eyebrow { color: var(--gold); background: rgba(255, 255, 255, .08); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-ctas .btn { flex: 1 1 auto; }
@media (min-width: 576px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: #D5C1F0; font-size: .92rem; }
.hero-facts span { display: inline-flex; gap: 6px; align-items: center; }
.hero-facts i { color: var(--gold); }
.hero-plate { position: relative; margin: 36px auto 8px; width: min(280px, 70vw); aspect-ratio: 1; }
.hero-plate .ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #fff 0 54%, #F4ECFD 55% 84%, #DCC6F6 85% 100%); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 -10px 24px rgba(90, 24, 154, .18); }
.hero-plate .food { position: absolute; inset: 18%; display: grid; place-items: center; font-size: clamp(5rem, 22vw, 8.5rem); filter: drop-shadow(0 10px 14px rgba(58, 18, 96, .35)); }
.plate-photos { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: #F4ECFD; box-shadow: inset 0 0 0 1px rgba(90, 24, 154, .12); }
.plate-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease-out; }
.plate-photos img.on { opacity: 1; transform: scale(1); }
.hero-plate .chip [data-hero-label] { transition: opacity .4s; }
.hero-plate .chip { position: absolute; background: #fff; color: var(--plum-900); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero-plate .chip.c1 { top: 4%; left: -14%; }
.hero-plate .chip.c2 { bottom: 14%; right: -16%; }
.hero-plate .chip.c3 { bottom: -4%; left: -2%; }
@media (min-width: 992px) { .hero { padding: 80px 0 90px; } .hero-plate { margin-top: 0; width: 400px; } }

.page-hero { background: linear-gradient(160deg, var(--plum-900), var(--plum-800)); color: #fff; padding: 36px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(157, 78, 221, .55), transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 2.8rem); margin: 0; position: relative; z-index: 1; }
.page-hero p { color: #DCCAF3; margin: 10px 0 0; max-width: 40rem; position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold); position: relative; z-index: 1; }
.crumbs { font-size: .85rem; color: #CBB4EC; margin-bottom: 10px; position: relative; z-index: 1; }
.crumbs a { color: #fff; }

/* ---- Sections ---- */
.section { padding: 56px 0; }
.section-tint { background: var(--lilac-50); }
.section-head { margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 38rem; margin: 8px 0 0; }
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .section { padding: 84px 0; } }

/* ---- Category chips (sticky on the menu) ---- */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--plum-900); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.cat-chip:hover, .cat-chip.active { border-color: var(--purple-600); background: var(--purple-600); color: #fff; }
.menu-nav { position: sticky; top: var(--header-h); z-index: 1020; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 10px 0; }

.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .cat-tiles { grid-template-columns: repeat(6, 1fr); } }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; color: var(--plum-900); font-weight: 700; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile span { display: block; font-size: 2.2rem; line-height: 1.1; margin-bottom: 8px; }
.cat-tile b { font-weight: 700; }
.cat-tile.has-photo { position: relative; overflow: hidden; aspect-ratio: 1; padding: 0; display: flex; align-items: flex-end; color: #fff; border: 0; }
.cat-tile.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(34, 16, 59, .85)); }
.cat-tile.has-photo span { display: none; }
.cat-tile.has-photo b { position: relative; z-index: 1; padding: 12px 14px; text-align: left; line-height: 1.2; }
.cat-tile.has-photo:hover { color: #fff; }
.cat-tile.has-photo:hover img { transform: scale(1.05); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--purple-300); color: var(--purple-700); }

/* ---- Dish cards ---- */
.dish-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }
.dish-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.dish-card:hover { box-shadow: var(--shadow); }
.dish-media { position: relative; aspect-ratio: 16 / 10; display: block; overflow: hidden; background: linear-gradient(135deg, var(--lilac-100), #E7D4FB); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dish-media > .gallery-link { position: absolute; inset: 0; }
@media (hover: hover) { .dish-card:hover .dish-media img { transform: scale(1.04); } }
.dish-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.2rem; }
.dish-placeholder::after { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .55); z-index: 0; }
.dish-placeholder span { position: relative; z-index: 1; filter: drop-shadow(0 6px 8px rgba(58, 18, 96, .25)); }
.dish-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge-pill { background: rgba(255, 255, 255, .95); color: var(--plum-900); font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.badge-pill.veg { color: var(--ok); }
.badge-pill.spice { color: #C2410C; }
.badge-pill.off { background: var(--plum-900); color: #fff; }
.dish-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-size: 1.22rem; margin: 0 0 6px; }
.dish-body h3 a { color: var(--plum-900); }
.dish-body h3 a:hover { color: var(--purple-600); }
.dish-desc { color: var(--muted); font-size: .93rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-price { font-weight: 800; color: var(--purple-700); font-size: 1.15rem; }
.dish-price small { color: var(--muted); font-weight: 600; font-size: .78rem; margin-right: 4px; }
.add-form { margin-top: auto; }

/* portion picker: radio pills */
.portions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; border: 0; padding: 0; }
.portions legend { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; float: none; width: 100%; }
.portion input { position: absolute; opacity: 0; pointer-events: none; }
.portion span { display: inline-flex; flex-direction: column; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .86rem; font-weight: 600; line-height: 1.25; background: #fff; transition: border-color .15s, background .15s; }
.portion span b { color: var(--purple-700); font-size: .9rem; }
.portion input:checked + span { border-color: var(--purple-600); background: var(--lilac-50); box-shadow: inset 0 0 0 1px var(--purple-600); }
.portion input:focus-visible + span { outline: 3px solid var(--purple-500); outline-offset: 2px; }
.add-row { display: flex; gap: 10px; align-items: center; }
.add-row .btn { flex: 1; padding-top: .68rem; padding-bottom: .68rem; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; flex-shrink: 0; }
.qty button { width: 38px; height: 42px; border: 0; background: transparent; color: var(--purple-700); font-size: 1.15rem; font-weight: 700; border-radius: 999px; }
.qty button:hover { background: var(--lilac-50); }
.qty input { width: 38px; border: 0; text-align: center; font-weight: 700; color: var(--plum-900); background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.no-js .qty button { display: none; }
.no-js .qty input { width: 64px; padding: 8px; }

.menu-section { padding-top: 34px; }
.menu-section h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.5rem, 4.5vw, 2rem); margin-bottom: 18px; }
.menu-section h2 span { font-size: 1.6rem; }

/* ---- Dish detail ---- */
.dish-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--lilac-100), #E7D4FB); position: relative; }
.dish-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.dish-hero-img .dish-placeholder { font-size: 7rem; }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
/* spice picker: compact chips that wrap on phones */
.spice-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; border: 0; padding: 0; }
.spice-pick legend { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; float: none; width: 100%; }
.spice-opt { position: relative; }
.spice-opt input { position: absolute; opacity: 0; pointer-events: none; }
.spice-opt span { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .84rem; font-weight: 600; background: #fff; transition: border-color .15s, background .15s; white-space: nowrap; }
.spice-opt input:checked + span { border-color: #C2410C; background: #FFF4EC; box-shadow: inset 0 0 0 1px #C2410C; color: #7C2D12; }
.spice-opt input:focus-visible + span { outline: 3px solid var(--purple-500); outline-offset: 2px; }
.heat { font-style: normal; display: inline-flex; gap: 0; font-size: .8rem; }
.heat .bi + .bi { margin-left: -3px; }
.heat-0 { color: #0284C7; }
.heat-1 { color: #F59E0B; }
.heat-2 { color: #EA580C; }
.heat-3 { color: #DC2626; }
.heat-4 { color: #991B1B; }
.spice-line { color: #C2410C; }
.buy-box .portions { flex-direction: column; }
.buy-box .portion span { flex-direction: row; justify-content: space-between; width: 100%; padding: 12px 14px; font-size: .95rem; }
.buy-box .portion { display: block; }

/* ---- Steps ---- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.step .num { width: 44px; height: 44px; border-radius: 14px; background: var(--lilac-100); color: var(--purple-700); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step::after { counter-increment: step; content: counter(step); position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--lilac-100); line-height: 1; }

/* ---- Testimonials ---- */
.quotes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.quote p { margin: 0 0 14px; font-size: 1.02rem; }
.quote footer { font-weight: 700; color: var(--plum-900); font-size: .92rem; }
.quote footer span { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--purple-700), var(--plum-900)); color: #fff; border-radius: 24px; padding: 34px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E0CFF6; max-width: 34rem; margin: 10px auto 22px; }
.cta-band::before { content: ""; position: absolute; left: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(245, 184, 61, .18); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; position: relative; }

/* ---- Cards / forms ---- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .panel { padding: 28px; } }
.panel h2 { font-size: 1.35rem; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--plum-900); }
.field .req { color: var(--purple-600); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=time], .field input[type=number], .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; min-height: 48px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--purple-500); box-shadow: 0 0 0 4px rgba(157, 78, 221, .18); }
.field .help { display: block; color: var(--muted); font-size: .84rem; margin-top: 5px; }
.field .err { display: block; color: var(--danger); font-size: .86rem; margin-top: 5px; font-weight: 600; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.field-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .field-row { grid-template-columns: 1fr 1fr; } }

.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-cards label { margin: 0; }
.choice-cards input { position: absolute; opacity: 0; pointer-events: none; }
.choice-cards span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 700; text-align: center; }
.choice-cards span i { font-size: 1.5rem; color: var(--purple-600); }
.choice-cards span small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.choice-cards input:checked + span { border-color: var(--purple-600); background: var(--lilac-50); box-shadow: inset 0 0 0 1px var(--purple-600); }
.choice-cards input:focus-visible + span { outline: 3px solid var(--purple-500); outline-offset: 2px; }

/* ---- Basket ---- */
.basket-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.basket-line:first-child { padding-top: 0; }
.basket-thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--lilac-100); display: grid; place-items: center; font-size: 1.9rem; }
.basket-thumb img { width: 100%; height: 100%; object-fit: cover; }
.basket-line h3 { font-size: 1.02rem; margin: 0; font-family: var(--font-body); font-weight: 700; }
.basket-line .opt { color: var(--muted); font-size: .88rem; }
.basket-line .controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.basket-line .line-total { font-weight: 800; color: var(--plum-900); }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 1.15rem; color: var(--plum-900); }
.summary-item { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; padding: 4px 0; }
.summary-item span:first-child { color: var(--muted); }
.notice { background: var(--lilac-50); border: 1px dashed var(--purple-300); border-radius: 14px; padding: 12px 14px; font-size: .92rem; color: var(--plum-800); display: flex; gap: 10px; }
.notice i { color: var(--purple-600); font-size: 1.1rem; }
.empty-state { text-align: center; padding: 48px 16px; }
.empty-state .big { font-size: 4rem; }

/* Sticky "view order" bar (mobile) */
.basket-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1040; display: flex; align-items: center; gap: 12px; background: var(--plum-900); color: #fff; border-radius: 18px; padding: 12px 14px 12px 18px; box-shadow: 0 16px 40px -10px rgba(23, 10, 41, .6); transition: transform .3s; }
.basket-bar:hover { color: #fff; background: var(--plum-800); }
.basket-bar .n { background: var(--gold); color: var(--plum-950); border-radius: 10px; min-width: 30px; height: 30px; display: grid; place-items: center; font-weight: 800; }
.basket-bar .t { font-weight: 700; }
.basket-bar .go { margin-left: auto; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .12); padding: 8px 14px; border-radius: 12px; }
.basket-bar.hidden { transform: translateY(150%); }
@media (min-width: 992px) { .basket-bar { display: none; } body.has-basket-bar { padding-bottom: 0; } }

/* ---- Order page ---- */
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 6px 0 4px; }
.tracker div { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.tracker div::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 8px; }
.tracker div.done { color: var(--purple-700); }
.tracker div.done::before { background: linear-gradient(90deg, var(--purple-600), var(--purple-500)); }
.tracker div.current::before { background: linear-gradient(90deg, var(--purple-600), var(--gold)); }
@media (min-width: 576px) { .tracker div { font-size: .82rem; } }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--lilac-100); color: var(--purple-700); font-weight: 700; font-size: .88rem; }
.status-pill.cancelled { background: #FCE8E6; color: #8C1D18; }
.success-burst { text-align: center; padding: 8px 0 18px; }
.success-burst .ic { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-500), var(--purple-700)); color: #fff; display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 12px 30px -10px rgba(123, 44, 191, .8); }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .06em; background: var(--lilac-100); color: var(--plum-900); padding: 3px 10px; border-radius: 8px; }
dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
dl.kv dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
dl.kv dd { margin: 0; font-weight: 600; }

/* ---- About ---- */
.about-figure { border-radius: 24px; background: linear-gradient(150deg, var(--purple-600), var(--plum-900)); aspect-ratio: 4 / 5; display: grid; place-items: center; font-size: 8rem; position: relative; overflow: hidden; }
.about-figure::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); }
.values { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 20px; border-radius: var(--radius); background: var(--lilac-50); }
.value i { font-size: 1.6rem; color: var(--purple-600); }
.value h3 { font-size: 1.1rem; margin: 10px 0 6px; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- Footer ---- */
.site-footer { background: var(--plum-950); color: #CDB9E8; padding: 48px 0 28px; margin-top: 56px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #E9DDFA; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: var(--purple-300); }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 1.15rem; }
.socials a:hover { background: var(--purple-600); color: #fff; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 1035; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: none; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { color: #fff; background: #1EBE5B; }
@media (min-width: 992px) { .wa-float { display: grid; } }

/* ---- Reveal on scroll ---- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
/* Photo galleries: native swipe (scroll-snap) everywhere; site.js adds arrows, dots and the counter. */
.gallery { position: relative; height: 100%; }
.gallery-track { position: relative; display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.no-js .gallery-track { scrollbar-width: thin; }
.gallery-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-link { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
button.gallery-link { cursor: zoom-in; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 30px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(20, 8, 36, .75)); pointer-events: none; }
.gallery-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--plum-900); box-shadow: 0 4px 14px rgba(34, 16, 59, .25); place-items: center; font-size: 1.1rem; transition: opacity .2s, background .2s; }
.gallery-nav:hover { background: #fff; color: var(--purple-700); }
.gallery-nav:disabled { opacity: 0 !important; pointer-events: none; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.js .gallery.is-multi .gallery-nav { display: grid; }
.gallery-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(34, 16, 59, .15); transition: width .2s, background .2s; }
.gallery-dots span.on { width: 18px; border-radius: 4px; background: #fff; }
.gallery-count { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(20, 8, 36, .6); color: #fff; font-size: .74rem; font-weight: 700; pointer-events: none; }
.gallery-card .gallery-count, .gallery-strip .gallery-count { display: none; }
.gallery-hero .gallery-dots { display: none; }
/* Cards: swipe on touch screens, arrows on hover with a mouse */
.gallery-card .gallery-nav { width: 34px; height: 34px; font-size: .95rem; opacity: 0; }
@media (hover: hover) { .dish-card:hover .gallery-card .gallery-nav, .gallery-card:focus-within .gallery-nav { opacity: 1; } }
@media (hover: none) { .js .gallery-card .gallery-nav { display: none; } }
/* Dish page thumbnails */
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--lilac-100); opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button.on { border-color: var(--purple-600); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) { .gallery-thumbs button { flex-basis: 76px; height: 76px; } }
/* Category strip on the menu: next photo peeks in so it reads as swipeable */
.cat-banner { margin: -4px 0 20px; }
.gallery-strip .gallery-track { gap: 10px; scroll-padding-inline: 0; }
.gallery-strip .gallery-slide { flex-basis: 82%; aspect-ratio: 16 / 10; height: auto; border-radius: var(--radius-sm); }
.gallery-strip.gallery:not(.is-multi) .gallery-slide { flex-basis: 100%; aspect-ratio: 21 / 9; }
@media (min-width: 768px) { .gallery-strip .gallery-slide { flex-basis: calc((100% - 10px) / 2); } }
@media (min-width: 1200px) { .gallery-strip .gallery-slide { flex-basis: calc((100% - 20px) / 3); } }
.gallery-strip .gallery-dots { bottom: 0; }
.gallery-strip .gallery-dots span { background: var(--lilac-100); box-shadow: none; }
.gallery-strip .gallery-dots span.on { background: var(--purple-600); }
.gallery-strip.is-multi { padding-bottom: 14px; }
/* Full-screen viewer on the dish page */
.photo-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0d0518; color: #fff; }
.photo-viewer::backdrop { background: rgba(13, 5, 24, .92); }
html:has(.photo-viewer[open]) { overflow: hidden; }
.gallery-viewer .gallery-slide img { object-fit: contain; }
.gallery-viewer .gallery-nav { background: rgba(255, 255, 255, .14); color: #fff; width: 46px; height: 46px; }
.gallery-viewer .gallery-count { top: max(14px, env(safe-area-inset-top)); bottom: auto; left: 14px; right: auto; }
.gallery-viewer .gallery-dots { bottom: max(16px, env(safe-area-inset-bottom)); }
.gallery-viewer .gallery-caption { padding-bottom: 44px; text-align: center; font-size: 1rem; }
@media (hover: none) { .js .gallery-viewer .gallery-nav { display: none; } }
.viewer-close { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; display: grid; place-items: center; }
.viewer-close:hover { background: rgba(255, 255, 255, .25); }

@media (prefers-reduced-motion: reduce) {
  .plate-photos img { transition: none; transform: none; }
  .gallery-track { scroll-behavior: auto; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
