/* ============================================================
   Sagar Pure Veg - storefront stylesheet
   Identity preserved: deep green #146B45, saffron #E28A2B, cream.
   Display: Rozha One  ·  Body: Nunito Sans
   ============================================================ */
:root {
  --bg: #F7FBF4;
  --surface: #FEFEFB;
  --surface-2: #F1F7ED;
  --ink: #1C2B20;
  --muted: #66786B;
  --border: #DDE8DA;
  --accent: #146B45;
  --accent-press: #0F5536;
  --gold: #E28A2B;
  --gold-ink: #6B4410;
  --danger: #B3261E;
  --warn: #B26A00;
  --good: #2E7D32;
  --accent-soft: color-mix(in oklch, var(--accent) 9%, transparent);
  --gold-soft: color-mix(in oklch, var(--gold) 14%, transparent);
  --danger-soft: color-mix(in oklch, var(--danger) 10%, transparent);
  --fg-soft: color-mix(in oklch, var(--ink) 6%, transparent);
  --font-display: 'Rozha One', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, monospace;
  --fs-display: clamp(40px, 6vw, 72px);
  --fs-h1: clamp(30px, 4.2vw, 48px);
  --fs-h2: clamp(25px, 3.2vw, 35px);
  --fs-h3: 19px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-meta: 13px;
  --gap-xs: 8px; --gap-sm: 12px; --gap-md: 20px; --gap-lg: 32px;
  --gap-xl: 56px; --gap-2xl: 92px;
  /* One vertical step for every full-width band, so the page has a single rhythm. */
  --space-section: clamp(56px, 7vw, 104px);
  --container: 1140px;
  --gutter: clamp(18px, 4vw, 32px);
  --radius: 10px; --radius-lg: 18px; --radius-pill: 999px;
  --shadow: 0 2px 10px color-mix(in oklch, var(--ink) 7%, transparent);
  --shadow-lift: 0 16px 40px color-mix(in oklch, var(--ink) 14%, transparent);
  --z-nav: 50; --z-drawer: 90; --z-toast: 120;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: top .15s ease; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 7vw, var(--gap-2xl)); }
.section + .section { border-top: 1px solid var(--border); }
.section-tint { background: var(--surface); }
.section-head { max-width: 56ch; margin-bottom: var(--gap-xl); }
.section-head.center { margin-inline: auto; text-align: center; }
.stack { display: flex; flex-direction: column; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.hidden { display: none !important; }

/* ------------------------------------------------------------------ photo band
   Three images directly under the hero. They give the food a moment of its own without
   competing with the headline, and the hairline gaps make the strip read as one object
   rather than three cards. */
.photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--border);
  border-block: 1px solid var(--border);
}
.photo-band figure { margin: 0; position: relative; overflow: hidden; background: var(--surface-2); }
.photo-band img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(.22, .61, .36, 1);
}
.photo-band figure:hover img { transform: scale(1.04); }
.photo-band figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
@media (max-width: 760px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-band img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-band img { transition: none; }
  .photo-band figure:hover img { transform: none; }
}


/* ------------------------------------------------------------------ spacing rhythm
   One ladder, one vertical step. Every full-width band uses --space-section so the page
   reads as a single continuous document rather than a stack of separately-tuned blocks.
   This block is last so it wins over the individual values above; nothing here changes a
   layout, only the space between things. */
.hero-band    { padding-block: calc(var(--space-section) + 16px) var(--space-section); }
.section      { padding-block: var(--space-section); }
.cta-strip    { padding-block: var(--space-section); }
.signature    { padding-block: var(--space-section); }
.festive-banner { padding-block: var(--gap-xl); }

/* Card grids and rails share one gap, so no two grids on the page disagree. */
.grid-2, .grid-3, .grid-4, .steps-3, .dish-grid,
.rail, .gallery-grid, .form-grid, .highlight-grid, .menu-list {
  gap: var(--gap-md);
}

/* Blocks get one internal padding. */
.menu-card, .highlight-card, .summary-card, .dish-card, .crave-card {
  padding: var(--gap-md);
}

/* A heading is always followed by the same small step, and a section head by the same
   larger one. */
.section-head { margin-bottom: var(--gap-xl); }
.section-head .lead, .section-head p { margin-top: var(--gap-sm); }
h2 + p, h3 + p { margin-top: var(--gap-sm); }

/* Small inline clusters (buttons, chips, tags) all sit on the 8px step. */
.hero-cta, .trust-chips, .tags, .highlight-actions, .tab-row, .search-quick, .suggest-row {
  gap: var(--gap-xs);
}

@media (max-width: 920px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- type ---------- */
.display, h1 { font-family: var(--font-display); font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.015em; font-weight: 400; margin: 0; }
.h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.14; font-weight: 400; margin: 0; }
.h3, h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.35; margin: 0; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 var(--gap-md); }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 46px; border-radius: var(--radius); border: 1px solid transparent; font-size: 15px; font-weight: 700; letter-spacing: .01em; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .06s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-press); }
.btn-gold { background: var(--gold); color: #2B1A14; border-color: var(--gold); }
.btn-gold:hover { background: color-mix(in oklch, var(--gold) 86%, black); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: color-mix(in oklch, var(--ink) 45%, transparent); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--accent); border-color: color-mix(in oklch, var(--accent) 40%, transparent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-danger { background: transparent; color: var(--danger); border-color: color-mix(in oklch, var(--danger) 40%, transparent); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: 13.5px; }
.btn-lg { padding: 14px 28px; min-height: 54px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; }

/* ---------- nav ---------- */
.topnav { position: sticky; top: 0; z-index: var(--z-nav); background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--gold); border-radius: 11px; font-family: var(--font-display); font-size: 21px; }
.brand-name { font-family: var(--font-display); font-size: 23px; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink); margin-top: 3px; }
.topnav nav { display: flex; gap: clamp(12px, 2.2vw, 26px); }
.topnav nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); padding: 8px 2px; border-bottom: 2px solid transparent; }
.topnav nav a:hover { color: var(--ink); }
.topnav nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--gold); }
.topnav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink); place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--gold); color: #2B1A14; font-family: var(--font-mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.cart-count.pulse { animation: cart-pop .45s ease; }
@keyframes cart-pop { 0% { transform: scale(1); } 40% { transform: scale(1.42); } 100% { transform: scale(1); } }
@media (max-width: 960px) {
  .topnav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px var(--gutter) 16px; box-shadow: var(--shadow-lift); }
  .topnav nav.open { display: flex; }
  .topnav nav a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: grid; }
  .topnav-actions .hide-sm { display: none; }
}

/* ---------- hero ---------- */
.hero-band { background: radial-gradient(120% 120% at 100% 0%, color-mix(in oklch, var(--gold) 10%, transparent), transparent 55%), linear-gradient(180deg, color-mix(in oklch, var(--accent) 8%, var(--bg)), var(--bg)); border-bottom: 2px solid var(--gold); }
.hero { padding-block: clamp(44px, 6vw, 86px); }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: var(--gap-md); }
.hero .lead { margin-bottom: var(--gap-lg); }
.hero-cta { display: flex; gap: var(--gap-sm); flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.hero-media::before { content: ''; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; pointer-events: none; }
.hero-badge { position: absolute; left: -12px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 9px 16px; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 700; }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); flex: none; }
@media (max-width: 920px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media::before { display: none; }
  .hero-badge { left: 12px; bottom: 12px; }
}

.offer-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--gold-soft); color: var(--gold-ink); font-size: 13.5px; font-weight: 700; }
.offer-pill svg { width: 17px; height: 17px; flex: none; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.trust-chips li { padding: 6px 13px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .01em; }

.page-hero { padding-block: clamp(40px, 6vw, 70px) clamp(28px, 4vw, 44px); }

.ticker { border-bottom: 1px solid var(--border); background: var(--surface); }
.ticker-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding-block: 13px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticker-inner a, .ticker-inner span { color: inherit; }
.ticker-inner a { display: inline-flex; align-items: center; transition: color .15s ease; }
.ticker-inner a:hover { color: var(--accent); }
.ticker-inner a::before, .ticker-inner span::before { content: '\25C6'; color: var(--gold); font-size: 10px; margin-right: 9px; }

.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .steps-3 { grid-template-columns: 1fr; gap: var(--gap-md); } }
.steps-3 li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px 22px; }
.steps-3 .step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 15px; margin-bottom: 15px; }
.steps-3 h3 { margin-bottom: 7px; }
.steps-3 p { margin: 0; color: var(--muted); font-size: 14.5px; }
.steps-cta { text-align: center; margin: var(--gap-xl) 0 0; }

/* ---------- festive offer ---------- */
.festive-strip { background: linear-gradient(90deg, #0F5536, #146B45 46%, #8A5B12); color: #fff; font-size: 13.5px; }
.festive-strip-inner { display: flex; align-items: center; gap: 12px; padding-block: 9px; flex-wrap: wrap; }
.festive-strip strong { font-weight: 800; letter-spacing: .02em; }
.festive-strip-text { opacity: .95; flex: 1; min-width: 220px; }
.festive-spark { width: 16px; height: 16px; color: var(--gold); flex: none; }
.festive-close { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.festive-close:hover { background: rgba(255,255,255,.26); }
.festive-close svg { width: 14px; height: 14px; }
.festive-row span:first-child { color: var(--gold-ink); font-weight: 700; }
.festive-inline { color: var(--gold-ink); }
.festive-note { color: var(--gold-ink); background: var(--gold-soft); border-radius: var(--radius); padding: 7px 12px; }

.festive-banner { background: radial-gradient(120% 150% at 0% 0%, color-mix(in oklch, var(--gold) 24%, transparent), transparent 62%), linear-gradient(135deg, #0F5536, #146B45 58%, #2E7D32); color: #F7F1E3; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.festive-banner .container { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding-block: clamp(34px, 5vw, 58px); }
@media (max-width: 860px) { .festive-banner .container { grid-template-columns: 1fr; } }
.festive-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--gold); color: #2B1A14; font-family: var(--font-mono); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.festive-banner h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); line-height: 1.08; }
.festive-banner p { color: color-mix(in oklch, #F7F1E3 88%, transparent); max-width: 52ch; }
.festive-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; font-weight: 600; }
.festive-points li { background: rgba(255,255,255,.08); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 11px 14px; }

/* ---------- dish cards ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
@media (max-width: 920px) { .dish-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .dish-grid { grid-template-columns: 1fr; } }
.dish-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.dish-card .ph { position: relative; overflow: hidden; }
.dish-card .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.dish-card:hover .ph img { transform: scale(1.04); }
.dish-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish-name { font-size: 17.5px; font-weight: 700; }
.dish-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); white-space: nowrap; }
.dish-desc { color: var(--muted); font-size: 14px; margin: 0; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.dish-card.clickable, .info-card.clickable { cursor: pointer; }
.dish-card.clickable:focus-visible, .info-card.clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.info-card.clickable { display: block; }
.card-add-hint { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); opacity: 0; transition: opacity .18s ease; }
.dish-card:hover .card-add-hint, .dish-card:focus-visible .card-add-hint,
.info-card:hover .card-add-hint, .info-card:focus-visible .card-add-hint { opacity: 1; }
@media (hover: none) { .card-add-hint { opacity: .75; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); }
.pill-gold { background: var(--gold-soft); color: var(--gold-ink); }
.pill-solid { background: var(--accent); color: #fff; }
.pill-muted { background: var(--fg-soft); color: var(--muted); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.spice { display: inline-flex; gap: 4px; align-items: center; }
.spice i { width: 8px; height: 12px; border-radius: 2px 6px 6px 2px; background: color-mix(in oklch, var(--ink) 22%, transparent); }
.spice i.on { background: var(--accent); }

.feature .feature-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--border); border-radius: 12px; color: var(--accent); margin-bottom: var(--gap-md); background: var(--surface); }
.feature .feature-mark svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: 7px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.signature { background: var(--ink); color: #F5EBDD; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.signature .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.signature img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.signature h2 { color: #F5EBDD; }
.signature .gold-rule { width: 64px; height: 2px; background: var(--gold); margin: 18px 0; }
.signature p { color: color-mix(in oklch, #F5EBDD 78%, transparent); margin: 0 0 20px; }
.signature .price-tag { font-family: var(--font-display); font-size: 34px; color: var(--gold); }
@media (max-width: 920px) { .signature .container { grid-template-columns: 1fr; } .signature img { order: -1; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 320px); gap: var(--gap-md); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 34%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.rail-btn:hover { border-color: var(--gold); color: var(--gold); }
.rail-btn.prev { left: -10px; } .rail-btn.next { right: -10px; }
.rail-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .rail-btn { display: none; } }

.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.info-card h3 { margin-bottom: 6px; }
.info-card p, .info-card address { margin: 0; color: var(--muted); font-size: 14.5px; font-style: normal; line-height: 1.65; }
.info-card .info-icon { color: var(--accent); margin-bottom: 12px; }
.info-card .info-icon svg { width: 22px; height: 22px; }
.map-block { border: 1px solid var(--border); border-radius: var(--radius-lg); background: repeating-linear-gradient(0deg, transparent 0 34px, var(--fg-soft) 34px 35px), repeating-linear-gradient(90deg, transparent 0 34px, var(--fg-soft) 34px 35px), var(--surface); min-height: 300px; display: grid; place-items: center; text-align: center; padding: var(--gap-lg); }
.map-pin { width: 52px; height: 52px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); box-shadow: var(--shadow-lift); }
.map-pin svg { width: 24px; height: 24px; transform: rotate(45deg); }

/* ---------- menu ---------- */
.menu-chips { position: sticky; top: 66px; z-index: 30; background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding-block: 10px; }
.menu-tools { padding-block: 16px 2px; }
.tab-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); }
.tab-row::-webkit-scrollbar { display: none; }
.tab-row.scroll-end { mask-image: none; -webkit-mask-image: none; }
/* Desktop: let every category chip be visible - nothing clipped, no sideways hunting */
@media (min-width: 921px) {
  .tab-row { flex-wrap: wrap; overflow-x: visible; mask-image: none; -webkit-mask-image: none; padding-bottom: 0; }
  .menu-group { scroll-margin-top: 220px; }
}
.tab-btn { flex: none; padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 600; transition: all .15s ease; min-height: 40px; }
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
/* ---------- menu search (industrial grade) ---------- */
.menu-search-wrap { position: relative; max-width: 600px; }
.menu-search { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 8px 0 16px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-pill); transition: border-color .15s ease, box-shadow .15s ease; }
.menu-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.menu-search .search-icon { width: 19px; height: 19px; color: var(--muted); flex: none; }
.menu-search .input { flex: 1; border: 0; height: 100%; min-height: 0; padding: 0; background: transparent; box-shadow: none; font-size: 15.5px; }
.menu-search .input:focus { outline: none; }
.menu-search .input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: var(--fg-soft); color: var(--muted); display: grid; place-items: center; }
.search-clear:hover { background: var(--accent-soft); color: var(--accent); }
.search-clear svg { width: 15px; height: 15px; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 45; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 8px; max-height: 400px; overflow-y: auto; }
.search-suggest[hidden] { display: none; }
.suggest-label { padding: 8px 12px 4px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.suggest-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius); cursor: pointer; }
.suggest-row:hover, .suggest-row.active { background: var(--accent-soft); }
.suggest-row .s-icon { width: 16px; height: 16px; color: var(--muted); flex: none; }
.suggest-row .s-name { flex: 1; font-weight: 600; font-size: 14.5px; }
.suggest-row .s-cat { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; font-weight: 500; }
.suggest-row .s-price { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.veg-mark.sm { width: 13px; height: 13px; border-width: 1.5px; transform: none; }
.veg-mark.sm::after { width: 5px; height: 5px; }
.search-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; transition: all .14s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
mark { background: #FBE6AC; color: var(--ink); border-radius: 3px; padding: 0 3px; font-weight: 800; box-shadow: inset 0 -2px 0 var(--gold); }
.menu-card.hit { outline: 2px solid var(--gold); outline-offset: 3px; }
#menu-result-bar strong { color: var(--ink); }
.linkish { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.menu-group { padding-block: clamp(34px, 5vw, 54px) 0; scroll-margin-top: 150px; }
.menu-group[hidden] { display: none; }
.menu-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--gap-lg); flex-wrap: wrap; }
.menu-group-head .rule { flex: 1; border: 0; border-top: 1px solid var(--border); min-width: 40px; }
.menu-count { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: var(--radius-pill); padding: 4px 11px; }
.tab-count { display: inline-block; margin-left: 7px; font-size: 11px; opacity: .65; font-variant-numeric: tabular-nums; }

/* structured dish cards (fast-food style grid) */
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 920px) { .menu-list { grid-template-columns: 1fr; } }
.menu-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 15px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklch, var(--accent) 32%, var(--border)); }
.menu-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu-card.unavailable { opacity: .55; cursor: default; }
.menu-card-head { display: flex; align-items: baseline; gap: 8px; }
.veg-mark { width: 15px; height: 15px; flex: none; border: 2px solid var(--accent); border-radius: 3px; display: inline-grid; place-items: center; transform: translateY(2px); }
.veg-mark::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.menu-card-name { flex: 1; font-weight: 700; font-size: 16px; line-height: 1.3; }
.menu-card-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }
.menu-card-desc { margin: 0; color: var(--muted); font-size: 13.5px; }
.menu-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.menu-item-add { flex: none; }
.menu-empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- cart drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: var(--z-drawer); background: color-mix(in oklch, var(--ink) 55%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; z-index: calc(var(--z-drawer) + 1); width: min(420px, 100%); height: 100%; background: var(--bg); border-left: 1px solid var(--border); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .24s cubic-bezier(.16,1,.3,1); box-shadow: -20px 0 50px rgba(0,0,0,.18); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--gutter); border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-family: var(--font-display); font-size: 24px; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--gap-md) var(--gutter); }
.drawer-foot { border-top: 1px solid var(--border); padding: var(--gap-md) var(--gutter) calc(var(--gap-md) + env(safe-area-inset-bottom)); background: var(--surface); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.cart-line-name { font-weight: 700; font-size: 15px; }
.cart-line-meta { font-size: 13px; color: var(--muted); }
.cart-line-price { font-family: var(--font-mono); font-weight: 700; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; background: var(--surface); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 18px; line-height: 1; display: grid; place-items: center; color: var(--accent); }
.qty button:hover { background: var(--accent-soft); }
.qty input { width: 38px; height: 34px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.totals { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.totals-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.totals-row.grand { color: var(--ink); font-weight: 800; font-size: 18px; border-top: 1px solid var(--border); padding-top: 10px; }
.totals-row .mono { color: var(--ink); }

.mobile-cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--accent); color: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
.mobile-cart-bar strong { font-family: var(--font-mono); }
@media (max-width: 720px) { .mobile-cart-bar.show { display: flex; } body { padding-bottom: 72px; } }

/* ---------- options modal ---------- */
.modal { position: fixed; left: 50%; bottom: 0; z-index: calc(var(--z-drawer) + 1); width: min(560px, 100%); max-height: 88vh; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -20px 50px rgba(0,0,0,.22);
  transform: translate(-50%, 104%); transition: transform .24s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.modal.open { transform: translate(-50%, 0); }

/* A CLOSED DIALOG MUST NOT SWALLOW CLICKS.
   The options modal and the cart drawer stay in the DOM after they are closed - the modal
   only slides out of view, and on desktop it is merely faded to opacity 0 while still
   positioned over the centre of the page. An element with opacity 0 is still hit-tested by
   the browser, so after the first time a customer opened an item with options, an invisible
   panel sat over the middle of the page and every button under it stopped responding. */
.modal:not(.open),
.drawer:not(.open) { pointer-events: none; }
.modal.open,
.drawer.open { pointer-events: auto; }

/* Also keep closed dialogs out of the tab order and the accessibility tree. The visibility
   flip is delayed by the length of the slide so the closing animation still plays. */
.modal:not(.open),
.drawer:not(.open) {
  visibility: hidden;
  transition: transform .24s cubic-bezier(.16,1,.3,1), opacity .2s ease, visibility 0s linear .24s;
}
.modal.open,
.drawer.open {
  visibility: visible;
  transition: transform .24s cubic-bezier(.16,1,.3,1), opacity .2s ease, visibility 0s linear 0s;
}
@media (min-width: 720px) {
  .modal { top: 50%; bottom: auto; border-radius: var(--radius-lg); opacity: 0; transform: translate(-50%, -46%) scale(.97); }
  .modal.open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px var(--gap-md); border-bottom: 1px solid var(--border); }
.modal-head h2 { font-family: var(--font-display); font-size: 22px; }
.modal-body { padding: var(--gap-md); overflow-y: auto; }
.modal-foot { border-top: 1px solid var(--border); padding: var(--gap-md) var(--gap-md) calc(var(--gap-md) + env(safe-area-inset-bottom)); background: var(--surface); }
.modal-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.modal-total strong { font-size: 22px; color: var(--ink); }
.opt-choice { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 8px; cursor: pointer; }
.opt-choice:hover { border-color: var(--accent); }
.opt-choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft) inset; }
.opt-choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-choice input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.opt-choice-name { flex: 1; font-weight: 600; font-size: 15px; }
.opt-choice-price { font-family: var(--font-mono); font-size: 13.5px; color: var(--muted); }
.cart-line-extras { display: block; font-size: 12.5px; color: var(--accent); margin-top: 2px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-md); }
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field .req { color: var(--accent); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .textarea, .select { width: 100%; padding: 12px 14px; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.textarea { min-height: 104px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: color-mix(in oklch, var(--muted) 80%, white); }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 12.5px; color: var(--danger); display: none; }
.field.invalid .field-error { display: block; }
.radio-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.radio-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft) inset; }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.radio-card strong { font-size: 14.5px; }
.radio-card span { font-size: 12.5px; color: var(--muted); }
.form-success, .form-alert { display: none; border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; line-height: 1.55; margin-bottom: var(--gap-md); }
.form-success { border: 1px solid var(--gold); background: var(--gold-soft); color: var(--gold-ink); }
.form-alert { border: 1px solid color-mix(in oklch, var(--danger) 45%, transparent); background: var(--danger-soft); color: var(--danger); }
.form-success.show, .form-alert.show { display: block; }

.cta-strip { background: var(--accent); color: #fff; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-lg); flex-wrap: wrap; padding-block: clamp(36px, 5vw, 56px); }
.cta-strip h2 { color: #fff; }
.cta-strip p { margin: 8px 0 0; color: color-mix(in oklch, #fff 82%, transparent); max-width: 46ch; }
.cta-strip .btn-primary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-strip .btn-outline { color: #fff; border-color: color-mix(in oklch, #fff 55%, transparent); }
.cta-strip .btn-outline:hover { background: #fff; color: var(--accent); }

.pagefoot { border-top: 1px solid var(--border); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap-xl); padding-block: var(--gap-xl) var(--gap-lg); }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-family: var(--font-mono); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--ink); font-size: 14.5px; }
.foot-col a:hover { color: var(--accent); }
.foot-col p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.65; }
.foot-bottom { border-top: 1px solid var(--border); padding-block: 18px; display: flex; justify-content: space-between; gap: var(--gap-md); flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
@media (max-width: 920px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; padding: 0; background: var(--surface); cursor: zoom-in; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, color-mix(in oklch, var(--ink) 72%, transparent)); color: #fff; font-size: 13px; font-weight: 600; text-align: left; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: color-mix(in oklch, var(--ink) 88%, transparent); display: none; place-items: center; padding: var(--gutter); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 82vh; border-radius: var(--radius-lg); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in oklch, #fff 40%, transparent); background: transparent; color: #fff; display: grid; place-items: center; }

/* ---------- states ---------- */
.skeleton { background: linear-gradient(90deg, var(--fg-soft) 25%, color-mix(in oklch, var(--ink) 3%, transparent) 37%, var(--fg-soft) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skeleton-line { height: 14px; margin: 8px 0; }
.skeleton-line.w60 { width: 60%; } .skeleton-line.w40 { width: 40%; }
.empty-state { text-align: center; padding: clamp(36px, 6vw, 64px) var(--gap-md); border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state svg { width: 38px; height: 38px; margin: 0 auto 14px; color: var(--gold); }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0 auto 16px; max-width: 44ch; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.status-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-info { background: color-mix(in oklch, var(--accent) 12%, transparent); color: var(--accent); }
.tone-warn { background: var(--gold-soft); color: var(--gold-ink); }
.tone-good { background: color-mix(in oklch, var(--good) 14%, transparent); color: var(--good); }
.tone-bad  { background: var(--danger-soft); color: var(--danger); }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #F5EBDD; border-radius: var(--radius-pill); padding: 12px 20px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 8px; animation: toast-in .22s ease; }
.toast.ok { background: var(--accent); color: #fff; }
.toast.bad { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- order status page ---------- */
.track-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap-xl); align-items: start; }
@media (max-width: 920px) { .track-panel { grid-template-columns: 1fr; } }
.steps { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-bottom: 22px; position: relative; }
.steps li::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--border); }
.steps li:last-child::before { display: none; }
.steps .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.steps li.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.current .dot { border-color: var(--gold); color: var(--gold-ink); background: var(--gold-soft); }
.steps .step-label { font-weight: 700; }
.steps .step-time { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }
.summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--gap-md) var(--gap-lg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- two-service menu (order online vs dine-in) ---------- */
.service-strip { padding-block: clamp(26px, 4vw, 40px) 0; }
.service-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .service-strip-inner { grid-template-columns: 1fr; } }
.service-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--surface); }
.service-card.is-dinein { background: linear-gradient(180deg, var(--gold-soft), transparent 70%), var(--surface); border-color: color-mix(in oklch, var(--gold) 42%, var(--border)); }
.service-tag { margin: 0 0 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.service-card.is-dinein .service-tag { color: var(--gold-ink); }
.service-card h3 { font-size: 19px; margin-bottom: 6px; }
.service-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.pill-dinein { background: var(--gold-soft); color: var(--gold-ink); }
.menu-card.is-dinein { border-color: color-mix(in oklch, var(--gold) 36%, var(--border)); }

/* real photo strip + wall */
.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 920px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.photo-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.photo-strip img:nth-child(3n+1) { aspect-ratio: 3 / 4; }
@media (min-width: 921px) { .photo-strip img:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }

/* the hidden attribute must win over component display rules */
[hidden] { display: none !important; }

/* ---------- calm category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 920px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-grid-hint { grid-column: 1 / -1; margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 18px 44px 18px 20px; min-height: 92px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklch, var(--accent) 34%, var(--border)); }
.cat-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cat-tile.is-dinein { background: linear-gradient(180deg, var(--gold-soft), transparent 75%), var(--surface); border-color: color-mix(in oklch, var(--gold) 38%, var(--border)); }
.cat-tile-name { font-weight: 800; font-size: 16.5px; line-height: 1.25; }
.cat-tile-meta { color: var(--muted); font-size: 12.5px; font-family: var(--font-mono); }
.cat-tile-go { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 18px; opacity: .45; transition: opacity .15s ease, transform .15s ease; }
.cat-tile:hover .cat-tile-go { opacity: 1; transform: translateY(-50%) translateX(3px); }
.menu-chips-inner { display: flex; align-items: center; gap: 12px; }
.menu-current { font-family: var(--font-display); font-size: 19px; }

/* ---------- UPI pay panel (order page) ---------- */
.pay-panel { border: 1.5px solid var(--accent); border-radius: var(--radius-lg); padding: 20px; text-align: center; background: var(--accent-soft); margin-bottom: 18px; }
.pay-qr { display: inline-block; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); padding: 6px; }
/* The QR arrives as inline SVG from our own server: constrain it and keep it
   crisp. width/height come from the SVG's own attributes, so cap them here. */
.pay-qr svg { display: block; width: 220px; height: 220px; max-width: 100%; height: auto; }
.pay-panel.is-paid { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); font-weight: 700; padding: 14px 18px; }
.pay-panel.is-wait { border-color: var(--gold); background: var(--gold-soft); }
.pay-panel.is-plain { border-style: dashed; background: var(--surface); text-align: left; }
.pay-panel .pill { margin-top: 2px; }

/* ---------- payee disclosure + UPI reference entry ---------- */
/* Showing the wrong payee name is how people get defrauded and how genuine
   payments get disputed, so any mismatch is stated plainly. */
.payee-warning { margin-top: 10px; padding: 10px 14px; border-radius: var(--radius); font-size: 13.5px; line-height: 1.5; text-align: left;
  border: 1px solid color-mix(in oklch, var(--gold) 45%, transparent); background: var(--gold-soft); color: var(--gold-ink); }
.utr-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid color-mix(in oklch, var(--accent) 24%, transparent); text-align: left; }
.utr-form label { display: block; margin-bottom: 8px; font-size: 14.5px; }
.utr-row { display: flex; gap: 8px; flex-wrap: wrap; }
.utr-row .input { flex: 1; min-width: 190px; letter-spacing: .06em; }
.utr-form .meta { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; }

/* the admin verification callout */
.verify-callout { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--gold); background: var(--gold-soft); color: var(--gold-ink); font-size: 13.5px; line-height: 1.55; }
.verify-callout p { margin: 8px 0 12px; }
.utr-value { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.utr-value .mono { letter-spacing: .04em; }

/* ---------- admin: richer menu rows ---------- */
.menu-edit-item { display: grid; grid-template-columns: 1fr 110px 130px auto; gap: 12px; align-items: center; }
.mei-main { display: flex; flex-direction: column; gap: 8px; }
.mei-desc { font-size: 12.5px; }
@media (max-width: 860px) { .menu-edit-item { grid-template-columns: 1fr 1fr; } }

/* ---------- craving grid + tandoor list (home) ---------- */
.crave-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .crave-grid { grid-template-columns: 1fr; } }
.crave-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.crave-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklch, var(--accent) 40%, var(--border)); }
.crave-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.crave-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.crave-card h3 { font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.crave-card p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 44ch; }
.crave-go { margin-top: auto; padding-top: 12px; font-weight: 800; color: var(--accent); font-size: 14.5px; }
.crave-card.is-dosa { background: linear-gradient(180deg, var(--accent-soft), var(--surface) 62%); }
.crave-card.is-wok { background: linear-gradient(180deg, #FBEFE0, var(--surface) 62%); }
.crave-card.is-tandoor { background: linear-gradient(180deg, var(--gold-soft), var(--surface) 62%); }

.tandoor-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .tandoor-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tandoor-list { grid-template-columns: 1fr; } }
.tandoor-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 14px 16px; font-size: 15px; font-weight: 600; }
.tandoor-list strong { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- combos, party menus and event cards ---------- */
.combo-card, .party-card { display: flex; flex-direction: column; }
.combo-save { margin: 4px 0 2px; align-self: flex-start; }
.combo-includes, .party-includes { list-style: none; margin: 0 0 14px; padding: 0; }
.combo-includes li, .party-includes li {
  position: relative; padding-left: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.7;
}
.combo-includes li::before, .party-includes li::before {
  content: ''; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.combo-card .btn, .party-card .btn { margin-top: auto; align-self: flex-start; }

/* Party occasion tiles are buttons: keep them looking like the craving cards. */
.event-card {
  text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%;
  background: var(--surface); border: 1px solid var(--border);
}
.event-card:hover, .event-card:focus-visible { border-color: color-mix(in oklch, var(--accent) 45%, var(--border)); }
.event-card h3 { margin-bottom: 6px; }

/* Short occasion chips under the events CTA. */
.event-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.event-chips li {
  padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
}

/* The party cards sit in a rail on a phone, so give them a sane width. */
.party-card, .combo-card { min-width: 260px; max-width: 320px; }

.menu-edit-item { grid-template-columns: 1fr 110px 130px auto; }
.mei-main { display: flex; flex-direction: column; gap: 8px; }
.mei-desc { font-size: 12.5px; }
@media (max-width: 860px) { .menu-edit-item { grid-template-columns: 1fr 1fr; } }

/* A duplicate UPI reference is a money problem, not a reminder: make it loud. */
.verify-callout.is-danger { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.verify-callout.is-danger strong { color: var(--danger); }
.status-chip.tone-bad { background: var(--danger-soft); color: var(--danger); }

/* The bumper offer is a four-hour window, so the live countdown is the hook. Loud on
   purpose: this is the only thing on the page that is genuinely time-limited. */
.offer-countdown { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,.16); color: #fff; font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.offer-countdown:empty { display: none; }
.festive-countdown { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; opacity: .95; }
.festive-countdown:empty { display: none; }

/* "Order these together" rail. Prices come from the generated highlights file, which is
   built from the menu, so a card here can never quote a price the till does not charge. */
.highlight-sub { margin: 26px 0 12px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.highlight-sub:first-child { margin-top: 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.highlight-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.highlight-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.highlight-head h3 { font-size: 16px; margin: 0; line-height: 1.3; }
.highlight-price { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.highlight-card .meta { margin: 0; font-size: 13px; }
.highlight-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.highlight-actions .btn { flex: 1 1 auto; }

/* Customer cancellation block on the order page.
   Locked state is deliberately readable rather than disabled-looking: the customer needs
   to understand WHY they cannot cancel, not just that a button is greyed out. */
.cancel-block { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2, rgba(0,0,0,.02)); }
.cancel-block.is-locked { border-style: dashed; }
.cancel-block.is-locked .meta { color: var(--muted); }

/* The bank-matching block in the admin drawer: amount, reference and time together, so
   the verifier does not have to hunt for each detail in a different place. */
.match-card { display: grid; grid-template-columns: 118px 1fr; gap: 8px 12px; margin: 12px 0 0; font-size: 13.5px; }
.match-card dt { color: var(--muted); }
.match-card dd { margin: 0; font-weight: 700; letter-spacing: .03em; }


/* ------------------------------------------------------------------ sticky offset
   Two sticky bars sit at the top of the menu page (the site nav and the section bar).
   When the browser scrolls an element into view - by anchor, by keyboard focus, or by a
   script - it stops with the element tucked UNDER those bars, where it cannot be clicked.
   scroll-padding/scroll-margin make the browser stop below them instead. */
html { scroll-padding-top: 124px; }
.menu-card, .menu-group, .section-head, .highlight-card, .totals-row {
  scroll-margin-top: 124px;
}
@media (max-width: 720px) {
  html { scroll-padding-top: 108px; }
  .menu-card, .menu-group, .section-head, .highlight-card { scroll-margin-top: 108px; }
}
