/* ============================================================
   WOK 'N' ROLL — STYLES
   Brand: Rice Cream #F5EEDC · Wok Gold #E3A32F · Lacquer Red
   #C63B2B · Soy Ink #211B14 · Jade #3D6B50 (≈10%) · Paper #F6F0E2
   Type: Alfa Slab One (display EN) · Archivo (text EN)
         Changa (Arabic display + text)
   Mobile-first. RTL mirrored via logical properties + [dir] rules.
   ============================================================ */

:root {
  /* single, deliberate light design — opt out of browser auto-dark-mode
     (Chrome/Samsung "darken websites") which inverts the brand palette */
  color-scheme: only light;
  --cream: #F5EEDC;
  --cream-page: #F2EBD9;
  --paper: #F6F0E2;
  --paper-bright: #FFFDF6;
  --gold: #E3A32F;
  --red: #C63B2B;
  --ink: #211B14;
  --jade: #3D6B50;
  --sand: #DFD3B4;      /* borders */
  --khaki: #6E6244; /* darkened from #8A7A55 for WCAG AA text contrast */     /* muted captions */
  --font-display: "Alfa Slab One", "Changa", serif;
  --font-text: "Archivo", "Changa", sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 2px 10px rgba(33, 27, 20, 0.10);
  --shadow-lg: 0 12px 40px rgba(33, 27, 20, 0.22);
  --header-h: 62px;
  --tabs-h: 54px;
  --max-w: 1200px;
  --ease: cubic-bezier(.33,1,.36,1);
}

/* Arabic: Changa leads, with generous line-height */
[lang="ar"], :lang(ar) {
  --font-display: "Changa", "Alfa Slab One", sans-serif;
  --font-text: "Changa", "Archivo", sans-serif;
}

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

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

body {
  background: var(--cream-page);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html[dir="rtl"] body { line-height: 1.75; letter-spacing: 0; }

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .display {
  font-weight: 700; line-height: 1.4; letter-spacing: 0;
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; inset-inline-start: 8px; top: -60px;
  background: var(--ink); color: var(--cream);
  padding: 10px 18px; border-radius: 10px; z-index: 300;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; color: var(--cream); }
.site-header :focus-visible, .skip-link:focus-visible { outline-color: var(--gold); }

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 760px) { .container { padding-inline: 28px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ───────────────────────── HEADER ───────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: var(--ink);
  border-bottom: 2px solid #3A3227;
  height: var(--header-h);
}
.site-header .container {
  display: flex; align-items: center; gap: 10px; height: 100%;
}
.brand-link { display: flex; align-items: center; gap: 10px; color: var(--cream); min-width: 0; }
.brand-link:hover { color: var(--gold); }
.brand-link:hover .brand-word, .brand-link:hover .brand-word-ar { color: var(--gold); }
.brand-link > span { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand-word {
  font-family: "Alfa Slab One", serif; font-size: 19px; line-height: 1.1;
  white-space: nowrap; color: var(--cream); transition: color .15s;
}
.brand-word .n { color: var(--red); }
.brand-word-ar { font-family: "Changa", sans-serif; font-weight: 700; font-size: 19px; white-space: nowrap; color: var(--cream); transition: color .15s; }
.brand-word-ar .n { color: var(--red); }
.brand-sub { font-weight: 800; font-size: 9.5px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
html[dir="rtl"] .brand-sub { letter-spacing: 0; font-size: 11px; }

.header-spacer { flex: 1; }

.header-nav { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a.nav-link, .header-nav button.nav-link {
  font-weight: 700; color: var(--cream); background: none; border: none;
  padding: 9px 13px; border-radius: 12px; font-size: 15px;
  min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap;
  transition: background .15s, color .15s;
}
.header-nav a.nav-link:hover, .header-nav button.nav-link:hover { background: var(--sand); color: var(--ink); }
.header-nav a.nav-link[aria-current="page"], .header-nav button.nav-link[aria-current="true"] {
  background: var(--red); color: var(--cream);
}

.lang-btn {
  border: 2px solid var(--cream); background: transparent;
  color: var(--cream); font-weight: 700; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; min-height: 44px;
  font-family: "Changa", "Archivo", sans-serif;
  white-space: nowrap; display: inline-flex; align-items: center;
  transition: transform .15s var(--ease), background .15s;
}
.lang-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }

/* mobile: compact top header; menu categories ride a fixed bottom bar */
@media (max-width: 620px) {
  .brand-sub { display: none; }
  .brand-word, .brand-word-ar { font-size: 16px; }
  .site-header .container { gap: 6px; padding-inline: 12px; }
  .brand-link { flex: none; }
  .header-nav a.nav-link { padding: 8px 12px; font-size: 14.5px; min-height: 42px; }
  .lang-btn { padding: 6px 12px; font-size: 14px; flex: none; }
  .hero-mark-wrap { width: 46vw; }
  .hero .container { padding-block: 10px 12px; gap: 8px; }
  .cat-tile { min-height: 44px; padding: 8px 10px; font-size: 13.5px; }
}
/* ───────────────────────── HERO ───────────────────────── */
.hero {
  background: var(--cream);
  border-bottom: 2px solid var(--sand);
  overflow: hidden; position: relative;
}
.hero .container {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: 14px 18px; gap: 10px; position: relative;
}
.hero-mark-wrap {
  position: relative;
  width: min(280px, 54vw);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.hero-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center;
  animation: heroRingSpin 26s linear infinite;
  will-change: transform;
}
/* inner ring artwork is 564.44pt vs outer 632.86pt → natural ratio ≈ 89.2% */
.hero-ring--inner {
  inset: 5.4%;
  width: 89.2%;
  height: 89.2%;
  animation-direction: reverse;
}
/* The mark's inked circle (measured from the artwork: center 45.37%/49.95%,
   diameter 90.75% of image width) is aligned dead-center; its edge sits one
   ring-gap (5.4% of container) inside the inner dashed ring. The handle and
   chopsticks intentionally overhang the rings. */
.hero-mark {
  position: absolute;
  left: 10.8%;
  top: 10.8%;
  width: 86.39%;
  height: 78.48%;
  object-fit: contain;
  pointer-events: none;
}
html[dir="rtl"] .hero-mark { left: 10.8%; right: auto; }
@keyframes heroRingSpin {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ring { animation: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mark-wrap { animation: badge-in .7s var(--ease) both; }
  @keyframes badge-in {
    from { transform: translateY(14px) scale(.96); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }
}
.hero h1 { font-size: clamp(26px, 4.6vw, 40px); }
.hero h1 .n { color: var(--red); }
.hero .hero-sub {
  font-size: clamp(14.5px, 2.2vw, 17.5px); max-width: 640px; color: var(--ink);
}
.hero .hero-yalla {
  font-family: var(--font-display);
  color: var(--red); font-size: clamp(16px, 2.5vw, 20px);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: var(--paper-bright);
  font-family: var(--font-display); font-size: 17px;
  padding: 12px 30px; border-radius: 999px; border: none;
  min-height: 48px;
  box-shadow: 0 4px 0 rgba(33,27,20,.25);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.btn:hover { background: #b23325; color: var(--paper-bright); transform: translateY(-2px); box-shadow: 0 6px 0 rgba(33,27,20,.25); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(33,27,20,.25); }
.btn.btn-ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); box-shadow: none;
}
.btn.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.wave-divider { display: block; width: 100%; height: 26px; color: var(--gold); }

/* ─────────────────── HOME SECTIONS (snap scroll) ─────────────────── */
body.home-snap { overflow: hidden; height: 100dvh; }
.snap-main {
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { .snap-main { scroll-behavior: auto; } }
.snap-sec {
  height: calc(100dvh - var(--header-h));
  min-height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.snap-sec--center { justify-content: center; }
.snap-sec--center .home-section { padding-block: 10px 6px; }
.snap-sec--center .section-head { margin-bottom: 8px; }
@media (max-height: 800px) {
  .feat-row > * { flex-basis: min(72vw, 236px); }
  .dish-name { font-size: 16px; }
}
/* carousel cards are compact showcases — long lists live on the menu page */
.feat-row .card-addons, .feat-row .variant-list { display: none; }
.feat-row .dish-desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-row .is-center, .promo-row .is-center {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.snap-sec > .home-section, .snap-sec .hero .container { width: 100%; }
.snap-sec--hero { justify-content: flex-start; }
.snap-sec--hero > * { flex: none; }
/* auto margins split the free space equally above and below the categories */
.snap-sec--hero .home-section { margin-block: auto; padding-block: 0; }
.scroll-hint {
  width: 100%; border: none; background: var(--red); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  padding: 7px 0; margin-top: auto; flex: none;
}
.scroll-hint svg { width: 26px; height: 26px; }
.scroll-hint:hover { background: #b23325; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint svg { animation: hint-bob 1.6s var(--ease) infinite; }
  @keyframes hint-bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
}
.snap-sec--hero .section-head { margin-bottom: 12px; }
.home-section { padding-block: 40px 8px; }
.section-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(23px, 4vw, 32px); }
.section-head .rule { flex: 1; height: 4px; border-radius: 2px; background: var(--gold); min-width: 40px; }
.section-head a { font-weight: 700; white-space: nowrap; }

/* category quick tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-tiles { grid-template-columns: repeat(5, 1fr); } }
.cat-tile {
  background: var(--paper-bright); border: 2px solid var(--sand);
  border-radius: var(--radius); padding: 10px 12px;
  font-weight: 700; font-size: 14.5px; color: var(--ink); text-align: center;
  min-height: 48px; display: flex; align-items: center; justify-content: center;
  transition: transform .18s var(--ease), border-color .18s, background .18s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--gold); background: var(--cream); color: var(--ink); }

/* featured carousel */
.feat-row {
  display: flex; gap: 16px; overflow-x: auto; padding-block: 14px 20px;
  padding-inline: calc(50% - min(36vw, 140px));
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.feat-row::-webkit-scrollbar { display: none; }
.feat-row > * { scroll-snap-align: center; flex: 0 0 min(72vw, 280px); position: relative; }
.promo-row > .promo-card { flex: 0 0 min(72vw, 290px); aspect-ratio: 9 / 13; }
.promo-info {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 7px; padding: 20px 22px;
}
.pi-kicker {
  font-family: "Archivo", "Changa", sans-serif; font-weight: 800;
  font-size: 12.5px; letter-spacing: .14em;
}
html[dir="rtl"] .pi-kicker { letter-spacing: 0; font-size: 13.5px; }
.pi-title { font-size: clamp(24px, 3vw, 31px); line-height: 1.1; }
.pi-wave { width: 84px; height: 14px; color: var(--gold); flex: none; }
.tone-gold .pi-wave { color: var(--cream); }
.pi-sub { font-family: "Archivo", "Changa", sans-serif; font-weight: 500; font-size: 14.5px; }
.pi-pill {
  font-family: "Archivo", "Changa", sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: .06em;
  background: var(--cream); color: var(--ink);
  padding: 7px 16px; border-radius: 999px; margin-top: 5px;
}
html[dir="rtl"] .pi-pill { letter-spacing: 0; }
.tone-gold .pi-pill { background: var(--paper-bright); }
.promo-row .promo-card { transform: scale(var(--mag, 1)); transition: transform .25s var(--ease), box-shadow .18s var(--ease); }
.promo-row .promo-card:hover { transform: translateY(-4px) scale(var(--mag, 1)); }
.feat-row .dish-card {
  transform: scale(var(--mag, 1));
  transition: transform .25s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.feat-row .dish-card:hover { transform: translateY(-4px) scale(var(--mag, 1)); }
/* Generous vertical padding so the magnified center card's drop shadow has
   room to render — the row clips at its padding box, so the shadow needs to
   fall inside the padding rather than being sliced flat at top/bottom. */
.feat-row { padding-block: 30px 58px; }

/* carousel shell + always-active arrows (both directions loop endlessly).
   Positions are physical (left/right) so they hold in RTL; accessible names
   flip with reading direction in the markup instead. */
.carousel { position: relative; }
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper-bright); border: 2px solid var(--sand); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: border-color .15s, color .15s, transform .15s var(--ease), box-shadow .15s;
}
.car-arrow svg { width: 22px; height: 22px; }
.car-arrow--left { left: 2px; }
.car-arrow--right { right: 2px; }
.car-arrow:hover {
  border-color: var(--gold); color: var(--red);
  transform: translateY(-50%) scale(1.07);
  box-shadow: var(--shadow-lg);
}
.car-arrow:active { transform: translateY(-50%) scale(0.97); }

/* promo cards */
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  border: 2px solid var(--sand); background: var(--paper-bright);
  display: flex; flex-direction: column; color: var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
a.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.promo-card h3 { font-size: 21px; }
.promo-card .promo-meta { font-weight: 700; color: var(--khaki); font-size: 14px; }
.promo-card.tone-red  { background: var(--red);  color: var(--paper-bright); border-color: var(--red); }
.promo-card.tone-red .promo-meta { color: var(--paper-bright); opacity: 1; }
.promo-card.tone-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.promo-card.tone-gold .promo-meta { color: var(--ink); opacity: .75; }
.promo-card.tone-ink  { background: var(--ink);  color: var(--cream); border-color: var(--ink); }
.promo-card.tone-ink .promo-meta { color: var(--cream); opacity: .8; }
.promo-card.tone-jade { background: var(--jade); color: var(--cream); border-color: var(--jade); }
.promo-card.tone-jade .promo-meta { color: var(--cream); opacity: .85; }

/* Offers & Events — desktop: one wide landscape card at a time, with a
   subtle sliver of the adjacent cards peeking at each edge as a cue that
   the section scrolls horizontally. The inline padding gives the center
   card's drop shadow room to breathe.
   (Mobile keeps the portrait card via the max-width:620 block below.) */
@media (min-width: 621px) {
  .promo-row { padding-inline: 50px; gap: 24px; }
  .promo-row > .promo-card {
    flex: 0 0 min(84%, 880px);
    aspect-ratio: auto;
    height: clamp(300px, 44vh, 470px);
  }
  .promo-row .promo-info { gap: 12px; padding: clamp(24px, 4vh, 40px) 44px; }
  .promo-row .pi-kicker { font-size: 15px; letter-spacing: .16em; }
  .promo-row .pi-title { font-size: clamp(34px, 4.2vw, 50px); }
  .promo-row .pi-wave { width: 104px; height: 16px; }
  .promo-row .pi-sub { font-size: 18px; }
  .promo-row .pi-pill { font-size: 15px; padding: 9px 22px; margin-top: 6px; }
}

/* final section: two full-width blocks — wok gold + soy ink footer */
.snap-sec--findus { justify-content: flex-start; }
.snap-sec--hero, .snap-sec--findus { overflow-y: auto; }
.snap-sec--findus .site-footer { margin-top: 0; }
.findus-bleed { background: var(--gold); flex: 1; display: flex; align-items: center; }
.findus-band {
  padding-block: clamp(20px, 3.5vh, 40px);
  display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr;
  color: var(--ink);
  align-items: start;
  width: 100%;
}
@media (min-width: 860px) { .findus-band { grid-template-columns: 1.15fr 1fr; } }
/* centered single-column layout */
.findus-band--centered, .findus-band--centered { display: flex; }
.findus-band.findus-band--centered {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px;
}
.findus-band--centered .findus-big { align-items: center; gap: 8px; }
.findus-band--centered .info-card { width: min(620px, 100%); text-align: start; }
.findus-band--centered .social-row { justify-content: center; margin-top: 4px; }
.findus-cards { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  background: transparent; border: 2.5px solid var(--ink);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.info-card--cater {
  background: var(--red); border-color: var(--red); color: var(--cream);
  font-weight: 600;
}
.social-row { display: flex; gap: 14px; margin-top: 2px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: none; border: none; padding: 4px;
  transition: color .15s, transform .15s var(--ease);
}
.social-icon svg { width: 30px; height: 30px; }
.social-icon:hover { color: var(--red); transform: translateY(-2px); }
.info-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.info-card p, .info-card a { font-size: 15px; }
.findus-band a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; font-weight: 700; }
.findus-band a:hover { color: var(--red); }
.findus-big { display: flex; flex-direction: column; gap: 12px; }
.findus-big h2 {
  font-size: clamp(30px, 5vw, 54px); line-height: 1.05;
  text-transform: uppercase;
}
html[dir="rtl"] .findus-big h2 { line-height: 1.35; text-transform: none; }
.findus-big .fb-sub { font-weight: 800; font-size: clamp(17px, 2.4vw, 22px); }
.findus-big .fb-small { font-weight: 600; font-size: 15px; }
.findus-big .fb-small bdi { font-weight: 700; }

/* ─────────────────── MENU PAGE ─────────────────── */
.menu-hero { padding-block: 26px 4px; }
.menu-hero h1 { font-size: clamp(27px, 5vw, 40px); }
.menu-hero p { color: var(--khaki); font-weight: 600; margin-top: 4px; }

/* search + filter row */
.menu-tools { padding-block: 14px 6px; display: flex; flex-direction: column; gap: 10px; }
.search-wrap { position: relative; }
.search-wrap svg.search-icon {
  position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--khaki); pointer-events: none;
}
.search-input {
  width: 100%; min-height: 52px;
  border: 2px solid var(--sand); border-radius: 999px;
  background: var(--paper-bright); color: var(--ink);
  font-family: var(--font-text); font-size: 16px;
  padding-block: 12px;
  padding-inline-start: 48px; padding-inline-end: 100px;
  transition: border-color .15s;
}
.search-input:focus { border-color: var(--gold); }
.search-input::placeholder { color: var(--khaki); }
.search-clear {
  position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
  background: var(--sand); border: none; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 14px; color: var(--ink);
  min-height: 38px; display: none;
}
.search-clear.show { display: inline-flex; align-items: center; }
.search-clear:hover { background: var(--gold); }

.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  border: 2px solid var(--sand); background: var(--paper-bright); color: var(--ink);
  font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px;
  white-space: nowrap; min-height: 42px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s, border-color .15s, transform .12s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); }
.filter-chip[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--cream);
}
.filter-chip[aria-pressed="true"]::before { content: "✓"; font-size: 12px; }

/* sticky category tabs */
.cat-tabs-wrap {
  position: sticky; top: var(--header-h); z-index: 110;
  background: var(--cream-page);
  border-bottom: 2px solid var(--sand);
}
.cat-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding-block: 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  border: 2px solid transparent; background: transparent; color: var(--ink);
  font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 999px;
  white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
  transition: background .18s, color .18s, transform .12s var(--ease);
}
.cat-tab:hover { background: var(--sand); color: var(--ink); }
.cat-tab[aria-current="true"] {
  background: var(--red); color: var(--paper-bright);
}
.cat-tab[aria-current="true"]:hover { background: var(--red); color: var(--paper-bright); }

/* menu list */
.menu-body { padding-block: 22px 60px; }
.menu-section-title {
  font-size: clamp(24px, 4.4vw, 34px); margin-bottom: 4px;
  display: flex; align-items: center; gap: 14px;
}
.menu-section-title::after {
  content: ""; flex: 1; height: 4px; background: var(--gold); border-radius: 2px; min-width: 34px;
}
.menu-sub-title {
  font-size: clamp(18px, 3.2vw, 23px); color: var(--red);
  margin-block: 26px 2px;
}
.menu-count { color: var(--khaki); font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }

.card-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 620px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* dish card */
.dish-card {
  background: var(--paper-bright); border: 2px solid var(--sand);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-align: start;
  color: var(--ink); width: 100%;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.dish-card:active { transform: scale(.985); }
.dish-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.dish-card:hover .dish-media img { transform: scale(1.045); }
.dish-media .ph { position: absolute; inset: 0; }
.badge-row { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-display); font-size: 12.5px;
  padding: 5px 10px; border-radius: 8px; box-shadow: var(--shadow);
}
.badge.new  { background: var(--jade); color: var(--cream); }
.badge.best { background: var(--red); color: var(--paper-bright); }
.badge.chef { background: var(--gold); color: var(--ink); }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish-top { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.dish-name { font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
html[dir="rtl"] .dish-name { font-weight: 700; line-height: 1.45; }
.dish-price {
  font-family: "Alfa Slab One", "Changa", serif; color: var(--red);
  font-size: 17px; white-space: nowrap; flex: none;
}
html[dir="rtl"] .dish-price { font-family: "Changa", sans-serif; font-weight: 700; }
.dish-desc { color: #40382A; font-size: 14.5px; line-height: 1.5; }
html[dir="rtl"] .dish-desc { line-height: 1.8; }
.dish-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.tag {
  font-size: 12px; font-weight: 700; color: var(--khaki);
  white-space: nowrap;
  border: 1.5px solid var(--sand); padding: 3px 9px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.tag.spice { color: var(--red); border-color: #EDCFC8; }
.tag.veg { color: var(--jade); border-color: #BCD2C2; }

/* add-ons on cards */
.card-addons {
  border-top: 2px dashed var(--sand); margin-top: 8px; padding-top: 8px;
}
.card-addons .ca-title {
  font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--khaki); margin-bottom: 3px;
}
html[dir="rtl"] .card-addons .ca-title { letter-spacing: 0; }

/* variant price list on cards */
.variant-list { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.variant-row {
  display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px;
  border-bottom: 1px dashed var(--sand); padding-block: 3px;
}
.variant-row:last-child { border-bottom: none; }
.variant-row .vp { font-weight: 800; color: var(--red); white-space: nowrap; }
.variant-row .vper { color: var(--khaki); font-weight: 600; font-size: 12.5px; }

/* placeholder */
.ph {
  background:
    radial-gradient(circle at 30% 20%, rgba(227,163,47,.14), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(198,59,43,.10), transparent 45%),
    var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 14px; height: 100%; width: 100%;
  border: none;
}
.ph svg { width: 44px; height: 44px; opacity: .8; }
.ph .ph-name { font-family: var(--font-display); font-size: 14px; color: var(--ink); max-width: 90%; }
.ph .ph-note {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--khaki);
  text-transform: uppercase; border: 1.5px dashed var(--khaki);
  padding: 3px 10px; border-radius: 999px;
}
html[dir="rtl"] .ph .ph-note { letter-spacing: 0; }

/* sushi media: single piece by default, full plate fades in on hover */
.sushi-hover { position: relative; }
.sushi-hover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .3s var(--ease);
}
.sushi-hover .img-piece { object-fit: contain; background: var(--paper); padding: 6%; }
.sushi-hover .img-plate { opacity: 0; }
.dish-card:hover .sushi-hover .img-plate,
.sushi-hover.show-plate .img-plate { opacity: 1; }
.sushi-hover .media-tag {
  position: absolute; bottom: 6px; inset-inline-start: 6px;
  background: rgba(33,27,20,.78); color: var(--cream);
  font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  transition: opacity .3s var(--ease);
}
.sushi-hover .tag-plate { opacity: 0; }
.dish-card:hover .sushi-hover .tag-plate,
.sushi-hover.show-plate .tag-plate { opacity: 1; }
.dish-card:hover .sushi-hover .tag-piece,
.sushi-hover.show-plate .tag-piece { opacity: 0; }
.sushi-hover { cursor: pointer; }
.sushi-section-band {
  background: var(--ink); color: var(--cream);
  border-radius: var(--radius-lg); padding: 18px 20px; margin-top: 14px;
  display: flex; align-items: center; gap: 14px;
  overflow: hidden; position: relative;
}
.sushi-section-band svg.wave { color: var(--gold); width: 90px; flex: none; }
.sushi-section-band p { font-size: 14.5px; opacity: .9; }

/* reveal-on-scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ─────────────────── FOOTER ─────────────────── */
.site-footer {
  background: var(--ink); color: var(--cream);
  padding-block: 24px 20px; margin-top: 10px;
}
.site-footer .container { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.site-footer img.footer-badge { width: 96px; height: auto; }
.site-footer .footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.site-footer a { color: var(--gold); font-weight: 700; }
.site-footer a:hover { color: var(--cream); }
.site-footer p { font-size: 13.5px; opacity: .85; }
.site-footer .footer-social { font-size: 12.5px; opacity: .55; margin-top: 6px; }
.site-footer .footer-social a, .site-footer .footer-social span { color: var(--cream); font-weight: 600; }
.site-footer .footer-social a:hover { color: var(--gold); }
.site-footer .footer-wave { color: var(--gold); width: 110px; height: 16px; }

/* ─────────────────── NOT FOUND / EMPTY ─────────────────── */
.empty-state {
  text-align: center; padding-block: 46px; display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.empty-state svg { width: 84px; height: 84px; opacity: .9; }
.empty-state h2 { font-size: 24px; }
.empty-state p { color: var(--khaki); font-weight: 600; max-width: 420px; }

/* no-JS */
noscript .nojs-note {
  display: block; text-align: center; padding: 30px 16px; font-weight: 700;
}


/* carousel magnify must win over .reveal.in's transform reset */
.feat-row .dish-card.reveal, .feat-row .dish-card.reveal.in {
  transform: scale(var(--mag, 1));
  opacity: 1;
}
.feat-row .dish-card.reveal:hover, .feat-row .dish-card.reveal.in:hover {
  transform: translateY(-4px) scale(var(--mag, 1));
}

/* clickable promo cards + offer detail dialog */
button.promo-card {
  font: inherit; text-align: inherit; border: none; width: auto;
  cursor: pointer; color: inherit;
}
.pi-more {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; opacity: .85; margin-top: 10px;
  border-bottom: 2px dotted currentColor; padding-bottom: 1px;
}
html[dir="rtl"] .pi-more { letter-spacing: 0; }

body.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(33, 27, 20, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-panel {
  position: relative;
  background: var(--paper-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 620px; width: 100%; max-height: 88dvh; overflow-y: auto;
  padding: 34px 30px 30px;
  text-align: center;
  border-top: 6px solid var(--red);
}
.modal-panel.tone-accent-gold { border-top-color: var(--gold); }
.modal-panel.tone-accent-jade { border-top-color: var(--jade); }
.modal-panel.tone-accent-ink  { border-top-color: var(--ink); }
.modal-close {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--sand); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s, transform .15s var(--ease);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { border-color: var(--gold); color: var(--red); transform: scale(1.07); }
.pm-kicker {
  font-weight: 800; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
html[dir="rtl"] .pm-kicker { letter-spacing: 0; font-size: 14.5px; }
.modal-panel h2 { font-size: clamp(28px, 5vw, 38px); color: var(--ink); }
.pm-wave { width: 96px; height: 15px; color: var(--gold); margin: 10px auto 18px; display: block; }
.pm-groups {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  text-align: start; margin-bottom: 18px;
}
@media (max-width: 520px) { .pm-groups { grid-template-columns: 1fr; } }
.pm-group {
  background: var(--paper); border: 2px solid var(--sand);
  border-radius: var(--radius); padding: 16px 18px;
}
.pm-group h3 {
  font-size: 17px; color: var(--red); margin-bottom: 8px;
}
.pm-group ul { list-style: none; }
.pm-group li {
  font-weight: 600; font-size: 14.5px; padding-block: 7px;
  border-bottom: 1.5px dashed var(--sand);
}
.pm-group li:last-child { border-bottom: none; }
.pm-note { color: var(--khaki); font-weight: 700; font-style: italic; margin-bottom: 16px; }
.pm-pill { background: var(--ink); color: var(--cream); }

/* allergy notice (menu page) — quiet, official, on-brand */
.allergy-note {
  margin: 6px 0 46px;
  padding: 18px 22px;
  border: 2px dashed var(--sand);
  border-radius: var(--radius);
  background: var(--paper);
  max-width: 720px;
}
.allergy-note .an-title {
  font-family: var(--font-display);
  font-size: 16px; color: var(--red); margin-bottom: 6px;
  letter-spacing: .02em;
}
.allergy-note p:not(.an-title) {
  color: var(--khaki); font-weight: 600; font-size: 14px; line-height: 1.6;
}
html[dir="rtl"] .allergy-note p:not(.an-title) { line-height: 1.9; }

/* mobile carousels: one card at a time, centered (must come last to win) */
@media (max-width: 620px) {
  .feat-row { padding-inline: calc(50% - 39vw); }
  .feat-row > * { flex: 0 0 78vw; }
  .promo-row { padding-inline: calc(50% - 41vw); }
  .promo-row > .promo-card { flex: 0 0 82vw; }
  /* smaller arrows hugging the edges — 44px touch targets that leave the
     middle of the row free for swipe gestures */
  .car-arrow { width: 44px; height: 44px; background: rgba(255, 253, 246, 0.94); }
  .car-arrow svg { width: 19px; height: 19px; }
  .car-arrow--left { left: 0; }
  .car-arrow--right { right: 0; }
}

/* short viewports (small screens, landscape phones, or 200% browser zoom):
   let each snap section scroll internally so no content is ever clipped —
   the wheel pager already defers to inner scrolling until the edge. */
@media (max-height: 620px) {
  .snap-sec { overflow-y: auto; }
}

/* mobile: the homepage is a normal scrolling page, not a slide deck.
   Fixed viewport-height snap sections clip content on phones (dynamic
   toolbars, tall heroes), so sections size to their content instead. */
@media (max-width: 620px) {
  .snap-main { height: auto; overflow: visible; scroll-snap-type: none; }
  .snap-sec {
    height: auto; overflow: visible;
    scroll-snap-align: none; scroll-snap-stop: normal;
  }
  .snap-sec--hero .home-section { margin-block: 0; padding-block: 26px 10px; }
  .scroll-hint { display: none; } /* nothing to page through — just scroll */
  .snap-sec--center .home-section { padding-block: 26px 14px; }
  .feat-row { padding-block: 24px 40px; }
  /* offer cards: content-sized, not a giant fixed-ratio slab */
  .promo-row > .promo-card { aspect-ratio: auto; min-height: 330px; }
  .promo-row .promo-info { padding: 28px 24px; gap: 9px; }
  .findus-bleed { padding-block: 8px; }
}

/* mobile: category selector as a fixed bottom bar (last to win the cascade).
   Light like the rest of the page — only the top navigation rail is dark. */
@media (max-width: 620px) {
  .cat-tabs-wrap {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 130;
    background: var(--cream-page);
    border-top: 2px solid var(--sand); border-bottom: none;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 18px rgba(33, 27, 20, 0.10);
  }
  .cat-tabs { padding-block: 10px; padding-inline: 12px; }
  .cat-tab { color: var(--ink); }
  .cat-tab:hover { background: var(--sand); color: var(--ink); }
  .menu-body { padding-bottom: 150px; }
  .site-footer { padding-bottom: calc(24px + 66px + env(safe-area-inset-bottom, 0)); }
}
