/* Iran Zamin — Digital Dining Experience
 * "The King's Table": a Persian royal dining menu. Persepolis rosette and crenellations,
 * gilded frames, Cinzel inscription capitals, EB Garamond, Nastaliq. Dark (night court) and
 * light (palace parchment) themes. Built for smooth scrolling on phones: no backdrop blur,
 * no fixed backgrounds, no blend layers, no image masks. */

/* ---------- Theme tokens ---------- */
:root, :root[data-theme="dark"] {
  --bg: #0c0a08;
  --bg-top: #1c1610;
  --surface: #15110d;
  --surface-2: #1d1812;
  --bar: rgba(12, 10, 8, .97);
  --line: #2b241c;
  --hair: rgba(200, 162, 90, .34);
  --hair-soft: rgba(200, 162, 90, .16);
  --ink: #f4ecdc;
  --ink-2: #cdbfa6;
  --ink-3: #94866f;
  --gold: #c8a25a;
  --gold-hi: #ecd398;
  --accent: #ecd398;      /* prices, active states */
  --saffron: #e9a53a;
  --foil: linear-gradient(100deg, #8c6b2e 0%, #d4b064 22%, #f5e2aa 40%, #c09449 58%, #ead08e 78%, #9a7535 100%);
  --foil-ink: #1d1408;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .85);
  --photo-ring: rgba(236, 211, 152, .55);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4ecdc;
  --bg-top: #fbf6ea;
  --surface: #fbf6ec;
  --surface-2: #f0e5cf;
  --bar: rgba(247, 240, 226, .97);
  --line: #e2d4b6;
  --hair: rgba(140, 104, 40, .38);
  --hair-soft: rgba(140, 104, 40, .18);
  --ink: #241a10;
  --ink-2: #5a4632;
  --ink-3: #8a765c;
  --gold: #9a7432;
  --gold-hi: #7a5619;
  --accent: #7a5619;
  --saffron: #b5701a;
  --foil: linear-gradient(100deg, #b08a45 0%, #d4b064 22%, #f0dca2 40%, #c69b50 58%, #e2c47f 78%, #b38b40 100%);
  --foil-ink: #1d1408;
  --foil-text: linear-gradient(100deg, #6e4d14 0%, #9c7430 30%, #c19a55 48%, #8a6424 70%, #6e4d14 100%);
  --shadow: 0 18px 36px -24px rgba(80, 55, 20, .45);
  --photo-ring: rgba(255, 246, 220, .85);
  color-scheme: light;
}
/* Always-dark islands (landing hero sits on a photograph in both themes) */
.on-dark {
  --ink: #f4ecdc; --ink-2: #d8cab0; --ink-3: #a99a80; --gold: #c8a25a; --gold-hi: #ecd398; --accent: #ecd398;
  --hair: rgba(200, 162, 90, .4); --hair-soft: rgba(200, 162, 90, .2);
  --foil: linear-gradient(100deg, #8c6b2e 0%, #d4b064 22%, #f5e2aa 40%, #c09449 58%, #ead08e 78%, #9a7535 100%); --foil-ink: #1d1408;
  --foil-text: var(--foil);
  color: var(--ink);
}
:root {
  --gutter: 18px;
  --maxw: 1080px;
  --top-h: 62px;
  --r: 14px;
  --f-royal: "Cinzel", Georgia, serif;
  --f-serif: "EB Garamond", Georgia, serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-fa: "Amiri", serif;
  --track: .18em;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
html[lang="ar"] { --f-royal: "Aref Ruqaa", "Amiri", serif; --f-serif: "Amiri", serif; --f-sans: "Noto Naskh Arabic", "Amiri", serif; --track: 0; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 56px); background: var(--bg); }
body {
  margin: 0; color: var(--ink); min-height: 100dvh; overflow-x: hidden;
  font: 400 15px/1.65 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 520px) no-repeat, var(--bg);
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
a, button { touch-action: manipulation; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--gold-hi); outline-offset: 3px; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; transform: translateY(-150%); background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { transform: none; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.fa { font-family: var(--f-fa); direction: rtl; unicode-bidi: isolate; }
.foil { background: var(--foil-text, var(--foil)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Royal ornaments ---------- */
.pattern { position: absolute; inset: 0; color: var(--gold); opacity: .07; pointer-events: none; }
.pattern svg { width: 100%; height: 100%; }
.orn { display: block; width: 150px; height: 18px; margin: 0 auto; color: var(--gold); }
.orn-sm { width: 112px; height: 14px; }
/* Persepolis crenellations (stepped merlons), as on the palace parapets */
.merlons { height: 11px; background: var(--gold); opacity: .55;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='11'><path d='M0 11V8h3V5h3V2h3V0h6v2h3v3h3v3h3v3z'/></svg>") repeat-x left bottom / 24px 11px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='11'><path d='M0 11V8h3V5h3V2h3V0h6v2h3v3h3v3h3v3z'/></svg>") repeat-x left bottom / 24px 11px; }
.eyebrow { font: 500 10.5px/1.4 var(--f-royal); letter-spacing: var(--track); text-transform: uppercase; color: var(--gold); margin: 0; }
html[lang="ar"] .eyebrow { font-size: 14px; text-transform: none; }
.star { font: 500 10px/1.4 var(--f-royal); letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
html[lang="ar"] .star { font-size: 13px; text-transform: none; }
.star::before { content: "✦ "; color: var(--saffron); }
.medallion { position: relative; width: 128px; height: 128px; margin: 0 auto 16px; display: grid; place-items: center; }
.medallion .rosette { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); }
.medallion .logo { position: relative; width: 38px; height: auto; }

/* ---------- Framed photographs (gilded mat inside a soft rounded frame) ---------- */
.pic { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface-2); isolation: isolate; }
.pic > img { width: 100%; height: 100%; object-fit: cover; }
.pic::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--photo-ring); border-radius: calc(var(--r) - 5px); pointer-events: none; opacity: .7; }
@media (hover: hover) { .pic > img { transition: transform .9s var(--ease); } a:hover .pic > img { transform: scale(1.045); } }
.no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--surface)); overflow: hidden; }
.no-photo .pattern { opacity: .2; }
.no-photo span { font: 600 26px/1 var(--f-royal); position: relative; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 3px; text-decoration: none;
  font: 600 12.5px/1 var(--f-royal); letter-spacing: var(--track); text-transform: uppercase; transition: filter .2s, transform .12s, border-color .2s, background .2s; user-select: none; }
html[lang="ar"] .btn { font-size: 17px; text-transform: none; font-weight: 700; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--foil); color: var(--foil-ink); box-shadow: inset 0 0 0 1px rgba(255, 240, 200, .35), 0 10px 24px -14px rgba(160, 120, 50, .7); }
@media (hover: hover) { .btn-gold:hover { filter: brightness(1.07); } .btn-ghost:hover { border-color: var(--gold); } }
.btn-ghost { color: var(--ink); border: 1px solid var(--hair); background: transparent; }
.btn-ghost::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--hair-soft); border-radius: 1px; pointer-events: none; }
.btn-ghost[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); background: rgba(200, 162, 90, .1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 10.5px; }
html[lang="ar"] .btn-sm { font-size: 14px; }

/* ---------- Landing ---------- */
.landing .hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; text-align: center; overflow: hidden; isolation: isolate; background: #0c0a08; }
.hero .hero-img { position: absolute; inset: 0; z-index: -2; }
.hero .hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 85% 62% at 50% 40%, rgba(12,10,8,.35), rgba(12,10,8,.9) 72%, #0c0a08); }
.frame { position: absolute; inset: 12px; border: 1px solid var(--hair); pointer-events: none; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--hair-soft); }
.c { position: absolute; width: 34px; height: 34px; color: var(--gold); }
.c svg { width: 100%; height: 100%; display: block; }
.c.tl { top: -1px; left: -1px; } .c.tr { top: -1px; right: -1px; transform: scaleX(-1); }
.c.bl { bottom: -1px; left: -1px; transform: scaleY(-1); } .c.br { bottom: -1px; right: -1px; transform: scale(-1); }
.hero .inner { position: relative; z-index: 2; width: 100%; max-width: 460px; padding: 64px 28px calc(64px + env(safe-area-inset-bottom)); }
.brand { font: 600 34px/1 var(--f-royal); letter-spacing: .2em; margin: 0; text-transform: uppercase; padding-inline-start: .2em; }
html[lang="ar"] .brand { font-family: "Cinzel", serif; }
.brand-fa { font: 400 30px/1.9 "Noto Nastaliq Urdu", "Amiri", serif; color: var(--gold-hi); margin: 4px 0 0; }
.since { font: 500 10.5px/1.4 var(--f-royal); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 20px; }
html[lang="ar"] .since { letter-spacing: 0; font-size: 14px; }
.tagline { font: 400 italic 22px/1.4 var(--f-serif); margin: 18px auto 26px; max-width: 340px; }
html[lang="ar"] .tagline { font-style: normal; }
.branch-pill { display: inline-flex; gap: 6px; align-items: center; font: 500 10.5px/1 var(--f-royal); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); border-block: 1px solid var(--hair); padding: 9px 14px; margin-bottom: 24px; }
html[lang="ar"] .branch-pill { font-size: 14px; letter-spacing: 0; }
.choose { font: 500 10px/1 var(--f-royal); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
html[lang="ar"] .choose { letter-spacing: 0; font-size: 13px; }
.lang-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.lang-choice .ar { font-family: "Aref Ruqaa", serif; font-size: 19px; letter-spacing: 0; text-transform: none; }
.hero-tools { position: absolute; top: 24px; inset-inline-end: 24px; z-index: 3; }
.scroll-cue { margin-top: 22px; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font: 500 9.5px/1 var(--f-royal); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; }
html[lang="ar"] .scroll-cue { letter-spacing: 0; font-size: 12px; }
.scroll-cue svg { width: 16px; height: 16px; color: var(--gold); }

.l-sec { padding-top: 64px; padding-bottom: 8px; }
.l-sec .sec-head { margin-bottom: 26px; }
.intro { font: 400 italic 21px/1.55 var(--f-serif); text-align: center; color: var(--ink); max-width: 620px; margin: 0 auto; }
html[lang="ar"] .intro { font-style: normal; font-size: 19px; line-height: 1.9; }
/* Chef */
.chef-title { font: 500 10.5px/1.4 var(--f-royal); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
html[lang="ar"] .chef-title { letter-spacing: 0; font-size: 14px; }
/* Founder: the engraved portrait hung like a framed artwork (cream print in a gilded frame) */
.founder { margin: 8px auto 0; text-align: center; max-width: 440px; }
.artwork { position: relative; padding: 12px; background: #fbf5e8; border: 1px solid var(--gold); box-shadow: inset 0 0 0 5px #fbf5e8, inset 0 0 0 6px rgba(154, 116, 50, .45), var(--shadow); }
.artwork img { width: 100%; height: auto; display: block; }
.artwork .c { width: 30px; height: 30px; color: #9a7432; }
.founder figcaption { margin-top: 6px; }
.founder-name { font: 400 italic 34px/1.15 var(--f-serif); margin: 0; }
html[lang="ar"] .founder-name { font: 400 34px/1.4 var(--f-royal); }
.founder .chef-title { margin: 8px 0 14px; }
/* Gallery strip */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--gutter) 16px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .pic { aspect-ratio: 3 / 2; scroll-snap-align: center; }
/* Branches */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
@media (min-width: 900px) { .branches { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
/* Branch card: the restaurant's photo and its name, nothing else */
.branch-card { position: relative; }
.branch-card .pic { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.branch-card .pic::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(10, 8, 6, .85)); }
.branch-card h3 { position: absolute; inset-inline: 10px; bottom: 16px; z-index: 2; margin: 0; text-align: center; color: #f4ecdc;
  font: 500 12.5px/1.3 "Cinzel", serif; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .branch-card h3 { font: 400 20px/1.3 "Aref Ruqaa", serif; letter-spacing: 0; text-transform: none; }
.branch-card h3::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto 8px; background: #c8a25a; transform: rotate(45deg); }
.branch-card.here .pic { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.branch-card .here-tag { z-index: 3; top: 10px; inset-inline-end: 50%; transform: translateX(50%); white-space: nowrap; }
html[dir="rtl"] .branch-card .here-tag { transform: translateX(-50%); }
.branch { position: relative; padding: 22px 20px 18px; border: 1px solid var(--hair); background: var(--surface); border-radius: 4px; }
.branch::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--hair-soft); border-radius: 2px; pointer-events: none; }
.branch.here { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.branch h3 { font: 500 15px/1.3 var(--f-royal); letter-spacing: .14em; text-transform: uppercase; margin: 0; color: var(--ink); }
html[lang="ar"] .branch h3 { font-size: 22px; letter-spacing: 0; font-weight: 400; }
.branch .b-line { font: 400 italic 16px/1.4 var(--f-serif); color: var(--gold-hi); margin: 4px 0 12px; }
html[lang="ar"] .branch .b-line { font-style: normal; }
.b-facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.b-facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.b-facts svg { width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
.b-actions { position: relative; display: flex; gap: 8px; flex-wrap: wrap; }
.here-tag { position: absolute; top: -9px; inset-inline-end: 16px; background: var(--foil); color: var(--foil-ink); font: 700 9px/1 var(--f-royal); letter-spacing: .16em; text-transform: uppercase; padding: 5px 8px; }
html[lang="ar"] .here-tag { font-size: 12px; letter-spacing: 0; }

/* ---------- Top bar (solid: no blur, so scrolling stays smooth) ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--bar); border-bottom: 1px solid var(--hair-soft); }
.topbar .wrap { height: var(--top-h); display: flex; align-items: center; gap: 4px; }
.topbar .home { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.topbar .home > span { min-width: 0; overflow: hidden; }
.topbar .home img { width: 20px; }
.wordmark { display: block; direction: ltr; font: 600 16px/1 "Cinzel", serif; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.topbar .home small { display: block; margin-top: 5px; font: 500 9px/1 var(--f-royal); color: var(--ink-3); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .topbar .home small { font-size: 12px; letter-spacing: 0; }
@media (max-width: 400px) { .wordmark { font-size: 13px; letter-spacing: .1em; } .topbar .wrap { gap: 0; } .topbar .home { gap: 8px; } }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); position: relative; flex: none; }
.icon-btn:active { background: var(--hair-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { width: auto; height: 32px; padding: 0 10px; border-radius: 3px; border: 1px solid var(--hair); }
html[lang="en"] .lang-btn { font: 400 15px/1 "Aref Ruqaa", serif; }
html[lang="ar"] .lang-btn { font: 600 12px/1 "Manrope", sans-serif; }
.badge-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--foil); color: var(--foil-ink); font: 700 10px/17px var(--f-sans); text-align: center; }
.theme-btn svg { width: 19px; height: 19px; }

/* ---------- Category tabs ---------- */
.chips { position: sticky; top: var(--top-h); z-index: 20; background: var(--bar); border-bottom: 1px solid var(--hair-soft); }
.chips .scroller { display: flex; gap: 22px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; max-width: var(--maxw); margin: 0 auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.chips .scroller::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; padding: 15px 0 14px; font: 500 10.5px/1 var(--f-royal); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; text-decoration: none; transition: color .2s; }
html[lang="ar"] .chip { font: 400 16px/1 var(--f-royal); letter-spacing: 0; padding: 13px 0 12px; }
.chip.active { color: var(--accent); }
.chip.active::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; transform: translate(-50%, 50%) rotate(45deg); background: var(--gold); }
.chip.active::before { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.filters .chip { padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; }
.filters .chip.active { border-color: var(--gold); background: rgba(200, 162, 90, .1); }
.filters .chip.active::after, .filters .chip.active::before { display: none; }

/* ---------- Sections ---------- */
.section { padding: 42px 0 6px; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section:first-child { content-visibility: visible; }
.sec-head { text-align: center; margin-bottom: 20px; }
.sec-head h2 { font: 500 24px/1.15 var(--f-royal); letter-spacing: .1em; text-transform: uppercase; margin: 12px 0 6px; }
html[lang="ar"] .sec-head h2 { font-size: 32px; letter-spacing: 0; font-weight: 400; }
.sec-sub { font: 400 italic 16px/1.4 var(--f-serif); color: var(--ink-2); margin: 0; }
html[lang="ar"] .sec-sub { font-style: normal; }
.sec-count { font: 500 9.5px/1 var(--f-royal); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
html[lang="ar"] .sec-count { font-size: 12px; letter-spacing: 0; }

/* House favourites */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(68%, 250px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.fav { scroll-snap-align: center; text-decoration: none; display: block; }
.fav .pic { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.fav .pic::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(10, 8, 6, .82)); }
.fav-meta { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 0 16px 18px; color: #f4ecdc; }
.fav-wrap { position: relative; }
.fav h3 { font: 500 21px/1.15 var(--f-serif); margin: 5px 0 4px; color: #f4ecdc; }
html[lang="ar"] .fav h3 { font-weight: 700; }
.fav .price { font-size: 13px; color: #ecd398; }
.fav .price.tbc { color: #b9aa8f; }
.fav .star { color: #ecd398; }

/* Dish rows: the royal menu card */
.grid { display: grid; gap: 0; }
@media (min-width: 760px) { .grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.row { display: grid; grid-template-columns: 86px 1fr; gap: 16px; align-items: start; padding: 18px 0; text-decoration: none; border-bottom: 1px solid var(--hair-soft); }
.row:active { background: linear-gradient(90deg, transparent, var(--hair-soft), transparent); }
.row .pic { width: 86px; height: 86px; --r: 12px; }
.row-body { min-width: 0; padding-top: 2px; }
.row-head { display: flex; align-items: baseline; gap: 8px; }
.row h3 { font: 500 20px/1.2 var(--f-serif); margin: 0; min-width: 0; }
html[lang="ar"] .row h3 { font-weight: 700; }
.leader { flex: 1 1 12px; min-width: 12px; border-bottom: 1px dotted var(--hair); transform: translateY(-4px); }
.row-fa { font: 400 15px/1.6 var(--f-fa); color: var(--gold); margin: 1px 0 0; direction: rtl; text-align: left; }
.row-desc { margin: 3px 0 0; font: 400 15px/1.45 var(--f-serif); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[lang="ar"] .row-desc { font: 400 14px/1.75 var(--f-sans); }
.row-icons { display: flex; gap: 6px; margin-top: 8px; color: var(--gold); }
.row-icons .ico { width: 17px; height: 17px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.tag { font: 500 9.5px/1 var(--f-royal); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .tag { font-size: 12px; letter-spacing: 0; }
.tag.branch { color: var(--saffron); }

/* Prices */
.price { font: 500 15px/1 var(--f-serif); color: var(--accent); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; flex: none; }
.price.tbc { color: var(--ink-3); }
.price.lg { font-size: 26px; }

/* ---------- Dish page ---------- */
.dish-hero { position: relative; padding: 20px var(--gutter) 0; overflow: hidden; contain: paint; }
.dish-hero .ambient { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.15); opacity: .4; transform: translateZ(0); }
.dish-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--bg) 94%); }
.hero-pic { position: relative; z-index: 1; width: min(100%, 620px); margin: 0 auto; }
.hero-pic .pic { aspect-ratio: 4 / 3; --r: 20px; box-shadow: var(--shadow); }
.hero-pic .pic::after { inset: 7px; border-radius: 14px; }
.hero-pic .no-photo span { font-size: 64px; }
.back { position: absolute; top: 28px; inset-inline-start: calc(var(--gutter) + 10px); z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(12, 10, 8, .62); color: #f4ecdc; border: 1px solid rgba(236, 211, 152, .4); display: grid; place-items: center; }
.back svg { width: 18px; height: 18px; }
html[dir="rtl"] .back svg, html[dir="rtl"] .flip { transform: scaleX(-1); }
.dish-body { position: relative; z-index: 1; padding-bottom: 128px; max-width: 760px; }
.dish-head { text-align: center; padding-top: 22px; }
.dish-title { font: 500 40px/1.08 var(--f-serif); margin: 10px 0 4px; }
html[lang="ar"] .dish-title { font: 400 40px/1.3 var(--f-royal); }
.farsi-line { display: flex; flex-direction: column; align-items: center; color: var(--ink-3); }
.farsi-line .fa { font-size: 26px; line-height: 1.7; color: var(--gold-hi); }
.farsi-line .lat { font: 400 italic 15px/1.4 var(--f-serif); color: var(--ink-2); }
.farsi-line .say { font: 500 9.5px/1.6 var(--f-royal); letter-spacing: .16em; text-transform: uppercase; }
html[lang="ar"] .farsi-line .say { letter-spacing: 0; font-size: 12px; text-transform: none; }
.dish-head .orn { margin: 16px auto 14px; }
.dish-price { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.price-note { font: 500 9.5px/1 var(--f-royal); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .price-note { letter-spacing: 0; font-size: 12px; }
.dish-head .tag-row { justify-content: center; }
.lede { font: 400 19px/1.6 var(--f-serif); margin: 26px 0 0; text-align: center; }
html[lang="ar"] .lede { font: 400 17px/1.9 var(--f-sans); }
.pending-tr { font-size: 12px; color: var(--ink-3); margin-top: 6px; text-align: center; }
.panel { margin-top: 36px; }
.panel > h2, .illum h2 { display: flex; align-items: center; gap: 12px; font: 500 12px/1.3 var(--f-royal); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; flex-wrap: wrap; }
.panel > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--hair), transparent); }
html[dir="rtl"] .panel > h2::after { background: linear-gradient(270deg, var(--hair), transparent); }
html[lang="ar"] .panel > h2, html[lang="ar"] .illum h2 { font-size: 20px; letter-spacing: 0; font-weight: 400; }
.panel p { margin: 0; color: var(--ink-2); font: 400 17px/1.7 var(--f-serif); }
html[lang="ar"] .panel p { font: 400 16px/1.9 var(--f-sans); }
.illum { position: relative; padding: 30px 22px 26px; border: 1px solid var(--hair); background: var(--surface); border-radius: 3px; }
.illum::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--hair-soft); pointer-events: none; }
.illum .c { width: 26px; height: 26px; }
.illum h2 { justify-content: center; text-align: center; }
.story p { font: 400 italic 19px/1.65 var(--f-serif); color: var(--ink); }
html[lang="ar"] .story p { font: 400 18px/2 var(--f-serif); }
.story p::first-letter { font: 500 52px/.8 "Cinzel", serif; float: left; margin: 6px 10px 0 0; color: var(--gold-hi); font-style: normal; }
html[lang="ar"] .story p::first-letter { font: inherit; float: none; margin: 0; color: inherit; }
.draft { font: 600 9px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); border: 1px dashed rgba(233, 165, 58, .6); padding: 4px 7px; }
html[lang="ar"] .draft { letter-spacing: 0; font-size: 11px; }
/* Ingredients: small royal medallion icons */
.ingredients { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 12px; padding: 0; margin: 0; list-style: none; }
.ingredients li { display: flex; align-items: center; gap: 10px; font: 400 16px/1.3 var(--f-serif); color: var(--ink); }
html[lang="ar"] .ingredients li { font: 400 15px/1.5 var(--f-sans); }
.ing-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); background: radial-gradient(circle at 50% 35%, var(--surface-2), var(--surface)); border: 1px solid var(--hair); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--hair-soft); }
.ing-ico .ico { width: 21px; height: 21px; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-inline-start: 2px solid var(--saffron); background: rgba(233, 165, 58, .07); font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.notice svg { flex: none; width: 18px; height: 18px; color: var(--saffron); margin-top: 2px; }
.related { margin-top: 44px; }

/* Sticky add bar */
.addbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--bar); border-top: 1px solid var(--hair-soft); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .5); }
.addbar .wrap { display: flex; gap: 10px; align-items: center; padding: 0; max-width: 760px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--hair); height: 52px; flex: none; border-radius: 3px; }
.stepper button { width: 44px; height: 50px; font-size: 20px; color: var(--gold-hi); }
.stepper button:active { background: var(--hair-soft); }
.stepper output { min-width: 22px; text-align: center; font: 500 17px/1 var(--f-serif); }
.addbar .btn-gold { flex: 1; }

/* ---------- Search ---------- */
.searchbox { position: relative; margin: 24px 0 10px; }
.searchbox input { width: 100%; height: 54px; border: 0; border-bottom: 1px solid var(--hair); background: transparent; padding: 0 8px 0 40px; font: 400 20px/1 var(--f-serif); border-radius: 0; }
.searchbox input:focus { outline: none; border-bottom-color: var(--gold); }
html[dir="rtl"] .searchbox input { padding: 0 40px 0 8px; }
.searchbox svg { position: absolute; inset-inline-start: 6px; top: 17px; width: 20px; height: 20px; color: var(--gold); }
.searchbox input::placeholder { color: var(--ink-3); font-style: italic; }
.empty { text-align: center; color: var(--ink-3); padding: 48px 0; font: 400 italic 18px/1.5 var(--f-serif); }
.count.sub { font: 500 10px/1 var(--f-royal); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Selection ---------- */
.page-title { font: 500 28px/1.1 var(--f-royal); letter-spacing: .12em; text-transform: uppercase; margin: 30px 0 8px; text-align: center; }
html[lang="ar"] .page-title { font-size: 34px; letter-spacing: 0; font-weight: 400; }
.sub { color: var(--ink-2); margin: 0 0 22px; font: 400 italic 17px/1.5 var(--f-serif); text-align: center; }
html[lang="ar"] .sub { font-style: normal; font-family: var(--f-sans); font-size: 15px; }
.thumb { width: 68px; height: 68px; --r: 10px; }
.sel-item { display: grid; grid-template-columns: 68px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hair-soft); }
.sel-item h3 { font: 500 20px/1.2 var(--f-serif); margin: 0 0 6px; }
html[lang="ar"] .sel-item h3 { font-weight: 700; }
.sel-price { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.price-each { color: var(--ink-3); font: 400 14px/1 var(--f-serif); }
.sel-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sel-row .stepper { height: 42px; }
.sel-row .stepper button { height: 40px; width: 40px; }
.link-btn { font: 500 10px/1 var(--f-royal); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 10px 4px; border-bottom: 1px solid var(--line); }
html[lang="ar"] .link-btn { font-size: 13px; letter-spacing: 0; }
.field { display: block; margin-top: 12px; }
.field span { display: block; font: 500 9.5px/1 var(--f-royal); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
html[lang="ar"] .field span { font-size: 12px; letter-spacing: 0; }
.field input, .field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 11px 12px; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 72px; resize: vertical; }
.sel-item .field input { padding: 9px 10px; font-size: 15px; }
.form-card { margin-top: 22px; padding: 18px; border: 1px solid var(--hair-soft); background: var(--surface); border-radius: 3px; }
.estimate { position: relative; margin-top: 24px; padding: 20px 18px; border: 1px solid var(--hair); background: var(--surface); border-radius: 3px; }
.estimate::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--hair-soft); pointer-events: none; }
.est-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.est-row span { font: 500 12px/1.2 var(--f-royal); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .est-row span { font-size: 19px; letter-spacing: 0; font-weight: 400; }
.est-row .price { font-size: 28px; }
.est-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.actions { margin: 24px 0 44px; display: grid; gap: 10px; }

/* ---------- Waiter ticket (cream, for staff) ---------- */
.ticket { margin: 26px auto 0; max-width: 520px; background: #f6ecd8; color: #1d1710; padding: 28px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.ticket::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(140, 107, 46, .55); pointer-events: none; }
.ticket::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(140, 107, 46, .25); pointer-events: none; }
.ticket .pattern { color: #8c6a2c; opacity: .07; }
.ticket h2 { font: 600 22px/1.1 "Cinzel", serif; letter-spacing: .14em; text-transform: uppercase; margin: 0; position: relative; text-align: center; }
.ticket .t-meta { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 16px; font-size: 13px; color: #6a5a44; position: relative; }
.ticket .table-no { font: 600 46px/1 "EB Garamond", serif; color: #1d1710; }
.ticket ul { list-style: none; margin: 0; padding: 0; position: relative; border-top: 1px solid rgba(140, 107, 46, .5); }
.ticket li { padding: 11px 0; border-bottom: 1px dotted rgba(140, 107, 46, .6); }
.ticket li b { font: 600 18px/1.2 "EB Garamond", serif; }
.ticket li .q { font-weight: 700; margin-inline-end: 8px; color: #8c6a2c; }
.ticket li small { display: block; color: #6a5a44; font-size: 13px; }
.ticket .t-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ticket .t-amt { font: 600 16px/1 "EB Garamond", serif; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ticket .t-total { display: flex; justify-content: space-between; margin: 14px 0 0; font: 600 18px/1.2 "EB Garamond", serif; position: relative; }
.ticket .t-sub { margin: 2px 0 0; font-size: 12px; color: #6a5a44; position: relative; }
.ticket .note { margin-top: 12px; font-size: 14px; position: relative; }
.not-order { margin: 16px auto 0; max-width: 520px; }
/* Live request status (Sent → Seen → Done) */
.req-status { max-width: 520px; margin: 24px auto 0; padding: 18px; text-align: center; border: 1px solid var(--hair); background: var(--surface); border-radius: 3px; }
.rs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.rs-steps i { height: 4px; border-radius: 2px; background: var(--line); transition: background .4s; }
.rs-steps i.on { background: var(--foil); }
.req-status p { margin: 0 0 6px; font: 400 italic 19px/1.45 var(--f-serif); color: var(--ink); }
html[lang="ar"] .req-status p { font: 400 17px/1.8 var(--f-sans); }

/* ---------- Footer ---------- */
.foot { margin-top: 56px; padding: 0 0 calc(48px + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: 12px; text-align: center; }
.foot .merlons { margin-bottom: 30px; }
.foot .medallion { width: 66px; height: 66px; margin-bottom: 12px; }
.foot .medallion .logo { width: 19px; }
.foot .wordmark { font-size: 14px; margin-bottom: 10px; }
.foot p { margin: 4px 0; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--foil); color: var(--foil-ink); padding: 11px 20px; font: 600 11px/1 var(--f-royal); letter-spacing: .16em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 60; white-space: nowrap; box-shadow: var(--shadow); }
html[lang="ar"] .toast { font-size: 14px; letter-spacing: 0; text-transform: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.fade-in { animation: fade .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero .inner > * { animation: rise .8s var(--ease) both; }
.hero .inner > *:nth-child(2) { animation-delay: .07s; } .hero .inner > *:nth-child(3) { animation-delay: .14s; }
.hero .inner > *:nth-child(4) { animation-delay: .2s; } .hero .inner > *:nth-child(n+5) { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 900px) { .brand { font-size: 46px; } .dish-title { font-size: 48px; } }
