/* Spot Tehran — retro UFO pizzeria.
   Signature palette: rich oxblood burgundy (#6e0b20) with deep wine gradient (#410713) at top,
   matching the authentic spottehran.com brand identity. */
:root {
  --oxblood: #e06a5c;
  --oxblood-deep: #410713;
  --red: #a3221b;
  --navy: #b9bfdc;
  --sand: #c9b48f;
  --sand-soft: #4a101b;
  --bg: #6e0b20;
  --paper: #7f2235;
  --ink: #fff8ee;
  --muted: #dfc8c0;
  --line: rgba(255, 255, 255, 0.14);
  --ok: #66d496;
  --closed: #ff8b74;
  --panel: #6e0b20;
  --brand: #e06a5c;
  --brand-ink: #fff8ee;
  --radius: 22px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --header-h: 68px;
  --ufo-dots: var(--paper);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --oxblood: #e06a5c; --oxblood-deep: #410713; --red: #ef7b6c; --navy: #b9bfdc; --sand: #c9b48f; --sand-soft: #4a101b;
    --bg: #6e0b20; --paper: #7f2235; --ink: #fff8ee; --muted: #dfc8c0; --line: rgba(255, 255, 255, 0.14); --ok: #66d496; --closed: #ff8b74;
    --panel: #6e0b20; --brand-ink: #fff8ee; --shadow: 0 10px 30px -14px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --oxblood: #e06a5c; --oxblood-deep: #410713; --red: #ef7b6c; --navy: #b9bfdc; --sand: #c9b48f; --sand-soft: #4a101b;
  --bg: #6e0b20; --paper: #7f2235; --ink: #fff8ee; --muted: #dfc8c0; --line: rgba(255, 255, 255, 0.14); --ok: #66d496; --closed: #ff8b74;
  --panel: #6e0b20; --brand-ink: #fff8ee; --shadow: 0 10px 30px -14px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 900; }
p { margin: 0 0 .9em; }
bdi { unicode-bidi: isolate; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 8px; }
.ufo { width: 1.6em; height: auto; color: currentColor; flex: none; }

/* Latin display type (English names and headings); Persian falls back to Vazirmatn */
.kicker, .item-name, .rail-card h3, .section-head h3, .product-info h1, .slogan blockquote, .hero-sticker, .footer-name, .spot-strip, .brand-text small, .nf-art b {
  font-family: Unbounded, Vazirmatn, system-ui, sans-serif;
}
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--oxblood); margin-bottom: .6em;
}
.kicker .ufo { width: 2.2em; }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; font-size: 1rem;
  transition: transform .15s ease, background-color .15s, color .15s, border-color .15s;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--red); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand); color: var(--brand-ink); text-decoration: none;
}
.icon-btn:hover { background: var(--red); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, #410713 88%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-row { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand-text { display: flex; flex-direction: column; font-weight: 900; font-size: 1.08rem; line-height: 1.2; white-space: nowrap; }
.brand-text small { font-size: .6rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.main-nav { display: flex; gap: 2px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.main-nav a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.status { font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.status::before, .hero-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status.is-open::before, .hero-status.is-open::before { animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.status.is-open { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.status.is-closed { color: var(--closed); background: color-mix(in srgb, var(--closed) 13%, transparent); }
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-text { font-size: 1rem; }
  .status { margin-inline-start: auto; font-size: .72rem; padding: 4px 10px; }
  .header-call { width: 40px; height: 40px; }
}
@media (max-width: 380px) { .brand-text small { display: none; } }
/* Tablets: the full menu links, the open-now pill, language and call buttons don't all fit */
@media (min-width: 761px) and (max-width: 1000px) { .header-row > .status { display: none; } }

/* language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; font-size: .85rem; flex: none; }
.lang-switch:hover { border-color: var(--ink); }
.lang-switch svg { width: 17px; height: 17px; }
@media (max-width: 760px) { .lang-switch { height: 36px; padding: 0 10px; } .lang-switch svg { display: none; } }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    background: color-mix(in srgb, #1b1416 94%, transparent); color: #fff8ee;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 20px; padding: 6px; box-shadow: 0 12px 30px -8px rgb(0 0 0 / .45);
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 14px; text-decoration: none; font-size: .72rem; font-weight: 700; }
  .action-bar a[aria-current="page"] { background: rgb(255 248 238 / .16); }
  .action-bar svg { width: 22px; height: 22px; }
}

/* ---------- hero ---------- */
.hero {
  width: min(1180px, 100% - 32px); margin: 24px auto 0;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero-body { padding: 24px 0; }
.hero h1 { margin-bottom: .25em; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 34em; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: 50% 62%;
  border-radius: 32px; box-shadow: var(--shadow);
}
.hero-sticker {
  position: absolute; inset-inline-end: -14px; bottom: 34px; transform: rotate(-6deg);
  background: var(--sand); color: #3a0c09; font-size: .8rem; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); max-width: 80%;
}
.hero-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .92rem; padding: 6px 14px; border-radius: 999px; }
.hero-status.is-open { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.hero-status.is-closed { color: var(--closed); background: color-mix(in srgb, var(--closed) 12%, transparent); }

/* centered hero — editorial presentation */
.hero-centered {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 860px; margin: 0 auto; width: 100%;
}
.hero-centered .hero-body {
  padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
}
.hero-centered h1 {
  font-family: Unbounded, Vazirmatn, sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.12;
  margin: 0.15em 0 0.35em; color: #fff8ee;
}
.hero-centered .lead {
  font-size: clamp(1.15rem, 2.2vw, 1.38rem); line-height: 1.8; color: var(--muted);
  max-width: 32em; margin: 0 auto 30px;
}
.hero-centered .cta-row {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}

/* Scroll-driven items: text and elements appear or disappear directly with scroll! */
.hero-anim {
  opacity: calc(var(--w, 0));
  transform: translateY(calc((1 - var(--w, 0)) * 28px));
  filter: blur(calc((1 - var(--w, 0)) * 6px));
  will-change: transform, opacity, filter;
}

/* live Tehran opening hours & schedule widget */
.hero-schedule {
  width: 100%; max-width: 560px; margin-top: 36px; padding-top: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hs-banner {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.98rem; font-weight: 600;
  color: #fff8ee; padding-bottom: 16px; width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 22px;
}
.hs-remaining { line-height: 1.4; }
.hs-sign {
  display: inline-flex; align-items: center; flex: none;
  filter: drop-shadow(0 0 8px rgba(100, 255, 218, 0.45));
  animation: signSway 4s ease-in-out infinite alternate;
  transform-origin: 22px 4px;
}
@keyframes signSway { 0% { transform: rotate(-3deg); } 100% { transform: rotate(3deg); } }

.hs-display {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 22px; min-height: 54px;
}
.hs-day-name {
  font-size: 1.25rem; font-weight: 800; color: #fff8ee; margin-bottom: 6px;
  transition: opacity 0.18s ease;
}
.hs-day-hours {
  font-size: 1rem; color: rgba(255, 255, 255, 0.88); font-weight: 500;
  direction: ltr; unicode-bidi: embed; transition: opacity 0.18s ease;
}
[dir="rtl"] .hs-day-hours { direction: rtl; }

.hs-days-row {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.hs-day-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(140, 25, 45, 0.65); color: #fff8ee;
  font-size: 0.92rem; font-weight: 700; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none; user-select: none;
}
.hs-day-btn:hover {
  background: rgba(165, 35, 58, 0.95); transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}
.hs-day-btn:focus-visible { box-shadow: 0 0 0 3px var(--sand, #c9b48f); }
.hs-day-btn.is-active {
  background: #ffffff; color: #6e0b20; border-color: #ffffff;
  font-weight: 900; transform: scale(1.08); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
/* Today button pill with crisp white highlight border */
.hs-day-btn.is-today {
  width: auto; min-width: 72px; padding: 0 18px; border-radius: 999px;
  border: 2px solid #ffffff; background: rgba(127, 34, 53, 0.95); font-weight: 800;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}
.hs-day-btn.is-today.is-active {
  background: #ffffff; color: #6e0b20; border-color: #ffffff;
}

@media (max-width: 520px) {
  .hero-schedule { margin-top: 26px; padding-top: 18px; }
  .hs-banner { font-size: 0.88rem; gap: 8px; }
  .hs-day-name { font-size: 1.05rem; }
  .hs-day-hours { font-size: 0.9rem; }
  .hs-days-row { gap: 8px; }
  .hs-day-btn { width: 34px; height: 34px; font-size: 0.82rem; }
  .hs-day-btn.is-today { min-width: 58px; padding: 0 12px; }
}

/* smooth scroll-triggered reveal animation */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(10px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity, filter;
}
[data-reveal-section].is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

@media (max-width: 860px) {
  .hero-centered { margin: -32svh auto 24px; padding: 20px 16px; }
  .hero-centered h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .hero-centered .lead { font-size: 1.05rem; margin-bottom: 24px; }
  .hero { width: 100%; margin: 0; grid-template-columns: 1fr; gap: 0; position: relative; isolation: isolate; min-height: min(86svh, 700px); align-items: end; color: #fff8ee; }
  .hero-media { position: absolute; inset: 0; z-index: -1; }
  .hero-media img { height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0 0 32px 32px; box-shadow: none; }
  .hero-media::after { content: ""; position: absolute; inset: 0; border-radius: 0 0 32px 32px; background: linear-gradient(to top, rgb(30 8 6 / .94) 8%, rgb(30 8 6 / .55) 50%, rgb(30 8 6 / .05) 82%); }
  .hero-sticker { top: 16px; bottom: auto; inset-inline-end: 16px; font-size: .68rem; transform: rotate(-4deg); }
  .hero-body { padding: 120px 16px 30px; }
  .hero .kicker { color: var(--sand); }
  .hero .lead { color: rgb(255 248 238 / .88); }
  .hero .btn-primary { background: var(--sand); color: #2a0b09; }
  .hero .btn-ghost { color: #fff8ee; }
  .hero-status { background: rgb(0 0 0 / .45) !important; }
  .hero-status.is-open { color: #8ff0b6; }
  .hero-status.is-closed { color: #ffb4a3; }
}

/* ---------- SPOT strip (pizza-box print) ---------- */
.spot-strip { overflow: hidden; margin: 36px 0 0; padding: 10px 0; border-block: 2px solid var(--ink); background: var(--paper); direction: ltr; }
.spot-track { display: flex; width: max-content; animation: drift 40s linear infinite; }
.spot-track span { display: flex; gap: 22px; padding-inline-end: 22px; }
.spot-strip b { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.spot-strip .a { color: var(--red); }
.spot-strip .b { color: var(--navy); }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- quick info ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.info-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s;
}
a.info-card:hover { border-color: var(--oxblood); transform: translateY(-2px); }
.info-card > svg { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--sand-soft); color: var(--sand); flex: none; }
.info-card div { display: flex; flex-direction: column; min-width: 0; }
.info-card .label { font-size: .8rem; color: var(--muted); }
.info-card b { font-size: 1.02rem; }
.info-card .muted { font-size: .82rem; }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; } .info-card { padding: 14px; } }

/* ---------- blocks ---------- */
.block { padding: 64px 0 0; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.block-head h2 { margin: 0; }
.block-head .kicker { margin-bottom: .3em; }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--oxblood); font-weight: 700; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
@media (max-width: 760px) { .block { padding-top: 44px; } }

/* horizontal rail of photo cards */
.rail { list-style: none; margin: 0; padding: 4px 0 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.wrap-rail { padding-inline: max(16px, (100% - 1180px) / 2); scroll-padding-inline: max(16px, (100% - 1180px) / 2); }
.rail > li { scroll-snap-align: start; }
@media (max-width: 760px) { .rail { grid-auto-columns: 64%; gap: 12px; } }
.rail-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.rail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rail-pic { display: block; aspect-ratio: 1; background: var(--sand-soft); overflow: hidden; }
.rail-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rail-card:hover .rail-pic img { transform: scale(1.04); }
.rail-cat { font-size: .74rem; color: var(--muted); padding: 12px 16px 0; }
.rail-card h3 { font-size: .95rem; font-weight: 600; padding: 0 16px; margin: 2px 0 8px; line-height: 1.4; }
.rail-card .price { padding: 0 16px 16px; margin-top: auto; }

.price { font-weight: 900; color: var(--oxblood); white-space: nowrap; font-size: 1.02rem; }
.price span { font-weight: 500; font-size: .78em; color: var(--muted); }
.price .from { font-size: .74em; margin-inline-end: 2px; }

/* ---------- categories panel (original site's look) ---------- */
.cat-panel { --card: #c3b496; --card-ink: #1f1514; background: var(--panel); color: #fff; border-radius: 28px; padding: 16px 14px 14px; box-shadow: var(--shadow); }
.cat-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 14px; }
.cat-panel-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0; color: #fff; }
.cat-panel-head .ufo { color: var(--card); --ufo-dots: var(--panel); width: 34px; }
.cat-tools { display: flex; gap: 10px; }
.cat-tool { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--card); color: var(--card-ink); transition: transform .15s; }
.cat-tool:hover { transform: scale(1.06); }
.cat-search { padding: 0 2px 12px; }
.cat-search[hidden] { display: none; }
.cat-search input {
  width: 100%;
  height: 52px;
  padding: 0 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f1514 !important;
  background: #fbf6ee;
  border: 1px solid rgba(197, 180, 151, 0.4);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.cat-search input::placeholder {
  color: rgba(31, 21, 20, 0.55);
  font-weight: 500;
}
.cat-search input:focus {
  outline: 3px solid #e3ab60;
  outline-offset: 2px;
  background: #ffffff;
  color: #1f1514 !important;
}
.cat-card { background: var(--card); color: var(--card-ink); border-radius: 22px; padding: 12px 16px 14px; }
.cat-card + .cat-card { margin-top: 12px; }
.cat-panel.is-searching .cat-card { display: none; }
.cat-panel.is-searching .cat-search { padding-bottom: 2px; }
.cat-card-head { display: flex; align-items: center; justify-content: space-between; }
.cat-card-head h3 { font-size: 1rem; margin: 0; }
.cat-toggle { width: 36px; height: 36px; border: 0; background: none; color: #6b5d4a; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
.cat-toggle:hover { background: rgb(0 0 0 / .06); }
.cat-card.is-open .cat-toggle { transform: rotate(180deg); }
.cat-icons { list-style: none; margin: 6px 0 0; padding: 4px 0; display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-icons::-webkit-scrollbar { display: none; }
.cat-icons li { flex: none; }
.cat-icons a { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; text-decoration: none; transition: transform .15s, background .15s; }
.cat-icons a:hover { background: rgb(255 255 255 / .35); transform: translateY(-2px); }
.cat-icons img { width: 40px; height: 40px; }
.cat-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-card.is-open .cat-icons { flex-wrap: wrap; gap: 8px; }
.cat-card.is-open .cat-icons a { width: 96px; height: auto; padding: 10px 4px; gap: 6px; background: rgb(255 255 255 / .3); }
.cat-card.is-open .cat-name { position: static; width: auto; height: auto; clip: auto; white-space: normal; font-size: .82rem; font-weight: 700; text-align: center; line-height: 1.3; }
@media (max-width: 760px) {
  .cat-icons { justify-content: safe center; margin-inline: -16px; padding-inline: 12px; }
  .cat-card.is-open .cat-icons { justify-content: center; margin-inline: 0; padding-inline: 0; }
  .cat-card.is-open .cat-icons a { width: 84px; }
}

/* ---------- about ---------- */
.about { margin-top: 72px; background: var(--oxblood-deep); color: #f6ead8; padding: 72px 0; position: relative; overflow: hidden; }
.about::before { content: "SPOT"; position: absolute; inset-inline-start: -2%; bottom: -.3em; font: 800 clamp(8rem, 26vw, 22rem)/1 Unbounded, sans-serif; color: rgb(255 255 255 / .045); pointer-events: none; direction: ltr; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; }
.about .kicker { color: var(--sand); }
.about h2 { color: #fff8ee; }
.about .lead { font-size: 1.15rem; color: #fff8ee; }
.about p { color: rgb(246 234 216 / .82); }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgb(246 234 216 / .3); padding: 4px 14px; border-radius: 999px; font-size: .9rem; }
.slogan { margin: 0; text-align: center; padding: 36px 28px; border-radius: 28px; background: #c9b48f; color: #3a0c09; transform: rotate(2deg); box-shadow: 0 20px 40px -18px rgb(0 0 0 / .6); }
.slogan .ufo { width: 72px; margin: 0 auto 14px; color: #761b17; --ufo-dots: #c9b48f; }
.slogan blockquote { margin: 0; font-size: clamp(1.25rem, 3vw, 1.85rem); font-weight: 800; line-height: 1.3; }
@media (max-width: 760px) { .about { padding: 52px 0; margin-top: 52px; } .about-grid { grid-template-columns: 1fr; gap: 32px; } .slogan { transform: rotate(-1.5deg); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .about { background: #241413; } }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; padding-bottom: 72px; }
.visit address { font-style: normal; margin: 8px 0 14px; }
.addr { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.addr svg { width: 20px; height: 20px; color: var(--oxblood); flex: none; margin-top: 4px; }
.addr a { font-weight: 700; text-decoration: none; }
.map { position: relative; display: block; overflow: hidden; direction: ltr; min-height: 380px; border-radius: 28px; background: #e8e2d6; border: 1px solid var(--line); }
.map-tiles { position: absolute; display: grid; grid-template-columns: repeat(3, 256px); width: 768px; }
.map-tiles img { width: 256px; height: 256px; max-width: none; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; transform: translate(-50%, -100%); }
.map-pin::before { content: ""; position: absolute; inset: 0; background: #761b17; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgb(0 0 0 / .35); }
.map-credit { position: absolute; right: 8px; bottom: 8px; font-size: 11px; background: rgb(255 255 255 / .88); color: #333; padding: 1px 7px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-tiles { filter: brightness(.8) contrast(1.1) saturate(.8); } }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; padding-bottom: 48px; } .map { min-height: 300px; } }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.hours th, .hours td { padding: 9px 12px; border-bottom: 1px dashed var(--line); text-align: start; font-weight: 400; }
.hours td { text-align: end; font-variant-numeric: tabular-nums; }
.hours tr.today { background: var(--sand-soft); font-weight: 700; }
.hours tr.today th { font-weight: 700; }
.hours tr.today th::after { content: " · امروز"; color: var(--oxblood); font-size: .8em; }

/* ---------- menu page ---------- */
.page-top { padding: 28px 0 22px; }
.page-top h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); margin-bottom: .1em; }
.page-top .muted { margin-bottom: 18px; }
.chips-nav { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll a { flex: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 5px 10px 5px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.chips-scroll a img { width: 20px; height: 20px; }
.chips-scroll a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-group { flex: none; align-self: center; font-size: .76rem; font-weight: 700; color: var(--muted); padding-inline: 6px 2px; }
.chip-group:not(:first-child) { border-inline-start: 1px solid var(--line); padding-inline-start: 14px; margin-inline-start: 4px; }

.menu-body { padding-bottom: 72px; }
.menu-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 18px; font-size: .88rem; }
.view-toggle { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.group-title { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.group-title::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--oxblood) 0 14px, transparent 14px 22px); opacity: .45; }
.menu-section { padding-top: 26px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.section-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sand-soft); display: grid; place-items: center; flex: none; }
.section-icon img { width: 36px; height: 36px; }
.section-head h3 { font-size: 1.25rem; font-weight: 800; margin: 0; }
.section-meta { margin: 0; font-size: .86rem; color: var(--muted); }

.items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item > a {
  display: flex; gap: 14px; height: 100%; padding: 12px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .2s;
}
.item > a:hover { border-color: color-mix(in srgb, var(--oxblood) 55%, var(--line)); box-shadow: var(--shadow); }
.item-pic { order: 2; flex: none; width: 118px; height: 118px; border-radius: 16px; overflow: hidden; background: var(--sand-soft); }
.item-pic img { width: 100%; height: 100%; object-fit: cover; }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 2px 4px; }
.item-name { font-size: .95rem; font-weight: 600; line-height: 1.4; margin: 0 0 4px; }
.item-desc { color: var(--muted); font-size: .86rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.opts { display: block; font-size: .76rem; color: var(--oxblood); margin-top: 4px; }
.item-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.item.no-photo > a { padding: 14px 16px; }
.item.no-photo .item-desc { -webkit-line-clamp: 3; }
.badge-soldout { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--closed); padding: 1px 9px; border-radius: 999px; }
.badge-soldout.big { font-size: .9rem; padding: 3px 12px; margin: 0 0 10px; }
.item.is-sold-out .item-pic img { filter: grayscale(1); opacity: .6; }
.item.is-sold-out .price { color: var(--muted); text-decoration: line-through; }
@media (max-width: 760px) {
  .items { grid-template-columns: 1fr; gap: 10px; }
  .item-pic { width: 104px; height: 104px; }
}
/* card view */
.menu-body[data-view="grid"] .items { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.menu-body[data-view="grid"] .item.has-photo > a { flex-direction: column; padding: 0; overflow: hidden; }
.menu-body[data-view="grid"] .item.has-photo .item-pic { order: 0; width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
.menu-body[data-view="grid"] .item.has-photo .item-body { padding: 12px 14px 14px; }
@media (max-width: 760px) {
  .menu-body[data-view="grid"] .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-body[data-view="grid"] .item.no-photo { grid-column: 1 / -1; }
  .menu-body[data-view="grid"] .item.has-photo .item-body { padding: 10px 10px 12px; }
  .menu-body[data-view="grid"] .item-desc { -webkit-line-clamp: 2; font-size: .8rem; }
  .menu-body[data-view="grid"] .item-name { font-size: .85rem; }
}

/* ==========================================================================
   Level 1 — 3D Menu Albums Reel (Inspired by photography portfolio elastic-reel)
   ========================================================================== */
.menu-albums-home {
  padding-top: 50px;
  padding-bottom: 36px;
  position: relative;
}
.menu-albums-home .block-head {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s ease;
  will-change: opacity, transform, filter;
}
.menu-albums-home .elastic-reel {
  opacity: 0;
  transform: translateY(44px) scale(0.97);
  filter: blur(5px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              filter 0.9s ease 0.1s;
  will-change: opacity, transform, filter;
}
.menu-albums-home.is-in-view .block-head {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.menu-albums-home.is-in-view .elastic-reel {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.text-center {
  text-align: center;
}
.menu-hero-section {
  padding: calc(var(--header-h) + 24px) 0 16px;
}
.menu-page-header {
  margin-bottom: 24px;
}
.menu-page-header h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 900;
  margin: 6px 0 8px;
  color: #fff8ee;
}
.menu-search-wrap {
  max-width: 540px;
  margin: 20px auto 0;
}
/* ==========================================================================
   Interactive Elastic Reel Component
   Horizontal Spring-Animated Accordion Dock for Menus & Sub-Menus
   ========================================================================== */
.elastic-reel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 12px 4px;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  border-radius: 24px;
  box-sizing: border-box;
}
.elastic-reel:focus-visible {
  box-shadow: 0 0 0 2px rgba(227, 171, 96, 0.6);
}

.elastic-reel-frame {
  position: relative;
  display: flex;
  width: 100%;
  height: 540px;
  gap: 8px;
  border-radius: 20px;
  overflow: hidden;
  padding: 8px;
  background: rgba(13, 13, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}

/* Slices */
.elastic-slice {
  position: relative;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-grow: 1;
  flex-basis: 0%;
  min-width: 48px;
  transition: flex-grow 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  will-change: flex-grow;
  box-sizing: border-box;
}

.elastic-slice:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.elastic-slice.is-expanded {
  flex-grow: 7.5;
  border-color: rgba(227, 171, 96, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

/* Background image */
.elastic-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.0) translateZ(0);
  filter: brightness(0.55) saturate(0.85);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  will-change: transform, filter;
}

.elastic-slice.is-expanded .elastic-cover-img {
  transform: scale(1.04) translateZ(0);
  filter: brightness(0.98) saturate(1.05);
}

/* Vector Art background for vector slices (sub-menus & products) */
.elastic-vector-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(116, 23, 43, 0.45) 0%, rgba(15, 4, 7, 0.85) 75%);
}

.elastic-vector-plate {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #525357 0%, #2a2a2d 60%, #151516 100%);
  border: 4px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), inset 0 2px 6px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92) translateZ(0);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.elastic-vector-plate img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.65));
  transition: transform 0.6s ease;
}

.elastic-slice.is-expanded .elastic-vector-plate {
  transform: scale(1.1) translateZ(0);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(227, 171, 96, 0.25), inset 0 2px 8px rgba(255, 255, 255, 0.4);
}

.elastic-slice.is-expanded .elastic-vector-plate img {
  transform: scale(1.12);
}

.elastic-vector-glare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

/* Editorial Gradient Scrim */
.elastic-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0.9;
  transition: opacity 0.5s ease, background 0.5s ease;
}

.elastic-slice.is-expanded .elastic-scrim {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 1;
}

/* Collapsed State: Vertical Typography */
.elastic-collapsed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6px;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.elastic-slice.is-expanded .elastic-collapsed {
  opacity: 0;
  transform: translateY(8px);
}

.elastic-num {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e3ab60;
}

.elastic-collapsed-icon {
  margin: auto 0;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.elastic-collapsed-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.elastic-vertical-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.elastic-dot-ind {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* Expanded State: Full Metadata Overlay */
.elastic-expanded {
  position: absolute;
  inset: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  z-index: 3;
}

.elastic-slice.is-expanded .elastic-expanded {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.elastic-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.elastic-badge {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e3ab60;
}

.elastic-count {
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.elastic-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 680px;
}

.elastic-sub {
  font-family: monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.45;
}

.elastic-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.elastic-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
  flex-wrap: wrap;
}

.elastic-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  border-radius: 9999px;
  background: #e3ab60;
  color: #09090b !important;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(227, 171, 96, 0.3);
}

.elastic-btn-cta:hover {
  background: #ebd095;
  gap: 14px;
  box-shadow: 0 0 25px rgba(227, 171, 96, 0.55);
  transform: translateY(-1px);
}

.elastic-hint-click {
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* Floating Mobile Swipe Arrow Buttons */
.elastic-arrow {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  z-index: 25;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 13, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 171, 96, 0.45);
  color: #e3ab60;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.elastic-arrow:hover {
  background: #e3ab60;
  color: #09090b;
  box-shadow: 0 0 20px rgba(227, 171, 96, 0.6);
}
.elastic-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.elastic-prev {
  left: 4px;
}
.elastic-next {
  right: 4px;
}

/* Bottom Navigation Bar */
.elastic-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.elastic-hints {
  display: flex;
  align-items: center;
}

.elastic-hint-mobile {
  display: none;
}

.elastic-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 65%;
  overflow-x: auto;
  scrollbar-width: none;
}
.elastic-dots::-webkit-scrollbar {
  display: none;
}

.elastic-dot-btn {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.elastic-dot-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.elastic-dot-btn.is-active {
  width: 24px;
  border-radius: 9999px;
  background: #e3ab60;
}

/* Responsive Rules for Mobile / Narrow screens */
@media (max-width: 768px) {
  .elastic-reel {
    padding: 8px 0;
    overflow: hidden;
  }
  .elastic-reel-frame {
    height: 480px;
    padding: 6px;
    gap: 6px;
  }
  .elastic-slice {
    min-width: 42px;
    border-radius: 10px;
  }
  .elastic-expanded {
    padding: 18px 16px;
  }
  .elastic-title {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }
  .elastic-hint-desktop {
    display: none;
  }
  .elastic-hint-mobile {
    display: inline;
    color: rgba(255, 255, 255, 0.7);
  }
  .elastic-hint-click {
    display: none;
  }
  .elastic-arrow {
    display: flex;
  }

  /* When there are more than 5 album covers on mobile (e.g. 13 sub-menus):
     Display exactly 5 album covers in the view at any time (1 expanded + 4 collapsed = 100%),
     and smoothly swipe through all of them without getting stuck! */
  .elastic-reel[data-many-items="true"] .elastic-reel-frame {
    overflow: hidden;
    padding: 6px;
    gap: 6px;
  }

  .elastic-slice.is-hidden-slice {
    display: none !important;
  }

  .elastic-reel[data-many-items="true"] .elastic-slice {
    flex: 1 1 0%;
    min-width: 0;
    border-radius: 10px;
    transition: flex-grow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.4s ease,
                border-color 0.3s ease;
  }

  .elastic-reel[data-many-items="true"] .elastic-slice.is-expanded {
    flex: 5.5 1 0%;
    min-width: 0;
  }

  .elastic-reel[data-many-items="true"] .elastic-collapsed {
    padding: 14px 2px;
  }
  .elastic-reel[data-many-items="true"] .elastic-num {
    font-size: 10px;
  }
  .elastic-reel[data-many-items="true"] .elastic-collapsed-icon img {
    width: 24px;
    height: 24px;
  }
  .elastic-reel[data-many-items="true"] .elastic-vertical-title {
    font-size: 0.74rem;
    letter-spacing: 0;
  }

  .elastic-reel[data-many-items="true"] .elastic-expanded {
    padding: 14px 12px;
  }
  .elastic-reel[data-many-items="true"] .elastic-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
  .elastic-reel[data-many-items="true"] .elastic-count {
    font-size: 9px;
    padding: 3px 7px;
  }
  .elastic-reel[data-many-items="true"] .elastic-vector-plate {
    width: 125px;
    height: 125px;
  }
  .elastic-reel[data-many-items="true"] .elastic-vector-plate img {
    width: 78px;
    height: 78px;
  }
  .elastic-reel[data-many-items="true"] .elastic-title {
    font-size: 1.45rem;
  }
  .elastic-reel[data-many-items="true"] .elastic-sub {
    font-size: 0.72rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .elastic-reel[data-many-items="true"] .elastic-btn-cta {
    padding: 7px 16px;
    font-size: 11px;
    gap: 6px;
  }
}
@media (max-width: 480px) {
  .elastic-reel[data-many-items="true"] .elastic-slice {
    min-width: 36px;
  }
  .elastic-reel[data-many-items="true"] .elastic-slice.is-expanded {
    flex: 0 0 165px;
    min-width: 165px;
  }
  .elastic-reel[data-many-items="true"] .elastic-vector-plate {
    width: 115px;
    height: 115px;
  }
  .elastic-reel[data-many-items="true"] .elastic-vector-plate img {
    width: 70px;
    height: 70px;
  }
}
    min-width: 36px;
  }
  .elastic-vertical-title {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Level 1 — Main Menu Pillars Board (Design 2 Sand Board style)
   ========================================================================== */
.main-pillars-board-wrap {
  margin: 20px 0 28px;
  width: 100%;
}
.main-pillars-card {
  background: #c9b48f;
  color: #1f1514;
  border-radius: 26px;
  padding: 16px 20px 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}
.main-pillars-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 21, 20, 0.12);
}
.main-pillars-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-pillars-card-head h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
  color: #1f1514;
}
.main-pillars-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(31, 21, 20, 0.8);
  background: rgba(255, 255, 255, 0.5);
  padding: 3px 12px;
  border-radius: 999px;
}
.main-pillars-hint {
  font-size: 0.82rem;
  color: rgba(31, 21, 20, 0.7);
  font-weight: 600;
}
.main-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.main-pillar-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  color: #1f1514;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.main-pillar-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.main-pillar-btn.is-active {
  background: #fff8ee;
  border-color: #e3ab60;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), 0 0 0 2px rgba(227, 171, 96, 0.6);
  transform: translateY(-2px);
}
.pillar-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.main-pillar-btn:hover .pillar-icon-bubble,
.main-pillar-btn.is-active .pillar-icon-bubble {
  transform: scale(1.08);
  background: #fff;
}
.pillar-icon-bubble img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.pillar-text {
  flex: 1;
  min-width: 0;
}
.pillar-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.pillar-title {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
  color: #1f1514;
  line-height: 1.2;
}
.pillar-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #520c18;
  background: rgba(227, 171, 96, 0.3);
  padding: 1px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.main-pillar-btn.is-active .pillar-badge {
  background: #e3ab60;
  color: #2a0b09;
}
.pillar-desc {
  font-size: 0.76rem;
  color: rgba(31, 21, 20, 0.75);
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pillar-arrow {
  font-size: 1.1rem;
  color: rgba(31, 21, 20, 0.4);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.main-pillar-btn:hover .pillar-arrow,
.main-pillar-btn.is-active .pillar-arrow {
  color: #1f1514;
  transform: translateX(-4px);
}
[dir="ltr"] .main-pillar-btn:hover .pillar-arrow,
[dir="ltr"] .main-pillar-btn.is-active .pillar-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .main-pillars-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .main-pillar-btn {
    padding: 12px 14px;
  }
}
@media (max-width: 760px) {
  .main-pillars-board-wrap {
    margin: 14px 0 20px;
  }
  .main-pillars-card {
    padding: 12px 14px 14px;
    border-radius: 20px;
  }
  .main-pillars-card-head h3 {
    font-size: 1.05rem;
  }
  .main-pillars-hint {
    display: none;
  }
  .pillar-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .pillar-icon-bubble img {
    width: 34px;
    height: 34px;
  }
  .pillar-title {
    font-size: 0.95rem;
  }
  .pillar-desc {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Level 2 — Sub-Menu Board (Design 2: Spot Sub-Menu Board)
   ========================================================================== */
.sub-menu-board-wrap {
  margin: 28px 0 32px;
  position: sticky;
  top: calc(var(--header-h) + 6px);
  z-index: 45;
  transition: transform 0.3s ease;
}
.sub-menu-card {
  background: #c9b48f;
  color: #1f1514;
  border-radius: 26px;
  padding: 14px 20px 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}
.sub-menu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31, 21, 20, 0.12);
}
.sub-menu-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sub-menu-card-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #1f1514;
}
.sub-menu-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(31, 21, 20, 0.75);
  background: rgba(255, 255, 255, 0.45);
  padding: 2px 10px;
  border-radius: 999px;
}
.btn-sub-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: #1f1514;
  color: #fff8ee;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-sub-back:hover {
  background: #410713;
  transform: translateY(-1px);
}
.btn-sub-back .back-arrow {
  font-size: 0.95rem;
  line-height: 1;
}
.sub-menu-icons {
  list-style: none;
  margin: 0;
  padding: 4px 0 2px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sub-menu-icons::-webkit-scrollbar {
  display: none;
}
.sub-menu-icons li {
  flex: none;
}
.sub-menu-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #1f1514;
  padding: 6px 8px;
  border-radius: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
  min-width: 60px;
}
.sub-menu-icons a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}
.sub-menu-icons a.is-active {
  background: #fff8ee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.icon-bubble {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.icon-bubble img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.icon-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1f1514;
  white-space: nowrap;
  text-align: center;
}
.sub-menu-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(31, 21, 20, 0.72);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(31, 21, 20, 0.16);
  text-align: center;
  user-select: none;
}
.sub-menu-swipe-hint .swipe-arrow {
  display: inline-block;
  font-size: 0.92rem;
  color: #520c18;
  animation: swipeNudge 2s ease-in-out infinite alternate;
}
@keyframes swipeNudge {
  0% { transform: translateX(-4px); }
  100% { transform: translateX(4px); }
}
@media (max-width: 760px) {
  .sub-menu-board-wrap {
    margin: 18px 0 24px;
  }
  .sub-menu-card {
    padding: 12px 14px 14px;
    border-radius: 20px;
  }
  .sub-menu-card-head h3 {
    font-size: 1rem;
  }
  .icon-bubble {
    width: 38px;
    height: 38px;
  }
  .icon-bubble img {
    width: 32px;
    height: 32px;
  }
  .icon-label {
    font-size: 0.7rem;
  }
  .sub-menu-swipe-hint {
    font-size: 0.68rem;
    margin-top: 6px;
    padding-top: 6px;
  }
}

/* ==========================================================================
   Level 3 — Food Grid & Screenshot 3 Cards with Scroll-Driven Animation
   ========================================================================== */
.sub-cat-section {
  padding-top: 36px;
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-h, 68px) + 235px);
}
.sub-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sub-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cat-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 9999px;
  background: rgba(227, 171, 96, 0.14);
  border: 1px solid rgba(227, 171, 96, 0.4);
  color: #e3ab60;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-cat-back:hover {
  background: #e3ab60;
  color: #09090b;
  border-color: #e3ab60;
  box-shadow: 0 0 16px rgba(227, 171, 96, 0.45);
  transform: translateY(-1px);
}
.btn-cat-back .btn-back-arrow {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.btn-cat-back:hover .btn-back-arrow {
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .sub-cat-head {
    align-items: flex-start;
    gap: 8px;
  }
  .sub-cat-title-wrap {
    gap: 8px;
  }
  .sub-cat-head h3 {
    font-size: 1.25rem;
  }
  .btn-cat-back {
    padding: 4px 10px;
    font-size: 0.72rem;
    gap: 4px;
  }
}
.sub-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sand-soft);
  display: grid;
  place-items: center;
}
.sub-cat-icon img {
  width: 28px;
  height: 28px;
}
.sub-cat-head h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
  color: #fff8ee;
}
.sub-cat-note {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) {
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .food-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.food-card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(145deg, #74172b 0%, #610f20 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
}
.food-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 171, 96, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(224, 106, 92, 0.2);
}
.food-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  min-height: 140px;
}
.card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff8ee;
  margin: 0 0 6px;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 248, 238, 0.72);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff8ee;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.card-price b {
  font-size: 1.05rem;
  font-weight: 900;
}
.card-price span {
  font-size: 0.78rem;
  color: rgba(255, 248, 238, 0.75);
}
.card-media {
  flex: 0 0 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-saucer {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #52525a 0%, #222226 65%, #141416 100%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.3), 0 8px 20px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
}
.card-saucer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.food-card:hover .card-saucer img {
  transform: scale(1.08) rotate(2deg);
}
.card-saucer.saucer-placeholder img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: 0.85;
}
.saucer-rim-glare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28) 0%, transparent 60%);
  pointer-events: none;
}

/* Scroll Animation for food cards */
.menu-item-anim {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.menu-item-anim.is-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.food-card:nth-child(3n+1) { transition-delay: 0ms; }
.food-card:nth-child(3n+2) { transition-delay: 70ms; }
.food-card:nth-child(3n+3) { transition-delay: 140ms; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 56px 0; color: var(--muted); }
.empty .ufo { width: 72px; color: var(--sand); }

/* ---------- product page ---------- */
.product { padding: 18px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--oxblood); text-decoration: underline; }
.product-main { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 44px; align-items: start; }
.product-pic { position: sticky; top: calc(var(--header-h) + 16px); }
.product-pic > img, .product-pic .no-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; background: var(--sand-soft); box-shadow: var(--shadow); }
.product-pic .no-photo { display: grid; place-items: center; }
.product-pic .no-photo img { width: 120px; height: 120px; }
.product-pic .no-photo .ufo { width: 140px; color: var(--sand); }
.product-main.is-sold-out .product-pic > img { filter: grayscale(1); }
.section-pill { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: var(--sand-soft); color: var(--ink); padding: 4px 14px 4px 8px; border-radius: 999px; font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.section-pill img { width: 22px; height: 22px; }
.product-info h1 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); font-weight: 800; line-height: 1.2; }
.product-info .lead { font-size: 1.1rem; color: var(--muted); }
.note { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.note svg { width: 18px; height: 18px; color: var(--oxblood); flex: none; }
.price-box { display: inline-flex; padding: 12px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); margin: 6px 0 4px; }
.price.big { font-size: 1.7rem; margin: 0; }
.options { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 14px 18px; }
.options h2 { font-size: 1rem; margin: 0 0 8px; }
.options h2 span { font-size: .8rem; font-weight: 500; color: var(--muted); margin-inline-start: 6px; }
.options ul { list-style: none; padding: 0; margin: 0; }
.options li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.options li:first-child { border-top: 0; }
.options li span:last-child { color: var(--muted); white-space: nowrap; }
.options li.sold-out { opacity: .5; }
.related { padding-bottom: 56px; }
@media (max-width: 860px) {
  .product-main { grid-template-columns: 1fr; gap: 22px; }
  .product-pic { position: static; }
  .product-pic > img, .product-pic .no-photo { border-radius: 26px; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 64px 0 96px; }
.notfound .cta-row { justify-content: center; }
.nf-art { position: relative; width: 220px; height: 190px; margin: 0 auto 18px; }
.nf-art .ufo { position: absolute; top: 0; left: 50%; width: 150px; transform: translateX(-50%); color: var(--oxblood); animation: hover 3s ease-in-out infinite; }
.nf-art .beam { position: absolute; top: 58px; left: 50%; width: 120px; height: 110px; transform: translateX(-50%); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); background: linear-gradient(var(--sand), transparent); opacity: .7; }
.nf-art b { position: absolute; bottom: 0; left: 0; right: 0; font-size: 2.6rem; color: var(--navy); }
@keyframes hover { 50% { transform: translate(-50%, -8px); } }

/* ---------- footer ---------- */
.site-footer { background: #1b1416; color: #efe4d6; }
.site-footer .spot-strip { margin: 0; background: #c9b48f; border-color: #1b1416; }
.site-footer .spot-strip .b { color: #2b2f47; }
.site-footer .spot-strip .a { color: #8f1d17; }
.site-footer a { color: #fff8ee; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 48px 0 24px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-logo { width: 88px; height: 88px; border-radius: 22px; overflow: hidden; background: #fff; flex: none; }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-name { font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.site-footer .muted { color: #b9aa9c; font-size: .9rem; }
.footer-h { font-size: .82rem; color: #c9b48f; margin-bottom: 8px; font-weight: 700; }
.footer-grid p { margin-bottom: .4em; }
.footer-social-icons { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.footer-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff8ee; transition: all 0.2s ease;
}
.footer-icon-btn:hover {
  background: #c9b48f; color: #1b1416; border-color: #c9b48f;
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(201, 180, 143, 0.3);
}
.footer-icon-btn svg { width: 20px; height: 20px; }
.copyright { font-size: .8rem; color: #a99a8d; border-top: 1px solid #3a2e2c; padding: 16px 0 22px; margin: 0 auto; }
.copyright a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.copyright a:hover { color: #c9b48f; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- English (left-to-right) ---------- */
[dir="ltr"] .i-next { transform: scaleX(-1); }
[dir="ltr"] .hero-sticker { transform: rotate(6deg); }
[dir="ltr"] .slogan { transform: rotate(-2deg); }
[dir="ltr"] .chips-scroll a { padding-inline: 10px 14px; }
[dir="ltr"] .hours tr.today th::after { content: " · Today"; }
html[lang="en"] h1, html[lang="en"] .page-top h1, html[lang="en"] .group-title, html[lang="en"] .about h2, html[lang="en"] .block-head h2, html[lang="en"] .visit h2 {
  font-family: Unbounded, Vazirmatn, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em;
}
html[lang="en"] h1 { font-size: clamp(2rem, 6.2vw, 3.8rem); }
html[lang="en"] .page-top h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
html[lang="en"] .group-title, html[lang="en"] .block-head h2, html[lang="en"] .about h2, html[lang="en"] .visit h2 { font-size: clamp(1.35rem, 3.4vw, 1.9rem); }
html[lang="en"] .brand-text { font-family: Unbounded, Vazirmatn, sans-serif; font-weight: 800; font-size: .98rem; }
.alt-name { color: var(--muted); margin: -.2em 0 .6em; font-size: 1.05rem; }
@media (max-width: 860px) { [dir="ltr"] .hero-sticker { transform: rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ========================================================
   HERO STORY: Pinned scroll-driven sequence
   Layer 1 (Pizza saucer) rotates, pinouts emerge, then drifts & dissolves.
   Layer 2 (Hero elements) light up and reveal smoothly with scroll.
   Bidirectional: scrolling up or down reveals or disappears the elements!
   ======================================================== */
.hero-story {
  --night: #410713;
  --plate: min(68vmin, 580px);
  position: relative;
  height: 330svh;
  color: #f6ead8;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff9 50%, transparent 52%),
    radial-gradient(1px 1px at 72% 12%, #fff8 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 38% 64%, #fff7 50%, transparent 52%),
    radial-gradient(1px 1px at 88% 48%, #fff9 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 22% 86%, #fff6 50%, transparent 52%),
    radial-gradient(1px 1px at 58% 34%, #fff6 50%, transparent 52%),
    radial-gradient(ellipse 70% 60% at 50% 50%, #85182e 0%, transparent 75%),
    linear-gradient(180deg, #410713 0%, #520817 30%, #610a1b 60%, var(--bg) 100%);
  background-size: 230px 230px, 310px 310px, 270px 270px, 190px 190px, 350px 350px, 160px 160px, 100% 100%, 100% 100%;
}

.hs-pin {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h));
  overflow: hidden; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.hs-pin::before {
  content: "SPOT"; position: absolute; inset: auto 0 -0.15em; text-align: center; pointer-events: none; direction: ltr;
  font: 800 clamp(7rem, 26vw, 24rem)/1 Unbounded, sans-serif; color: transparent; -webkit-text-stroke: 1.5px rgb(201 180 143 / .14);
}

/* Layer 1: Pizza saucer */
.hs-pizza-layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: var(--pizza-o, 1);
  transform: translateY(calc(var(--pizza-y, 0) * 1px)) scale(var(--pizza-s, 1));
  filter: blur(calc(var(--pizza-blur, 0) * 1px));
  pointer-events: var(--pizza-pe, auto);
  will-change: transform, opacity, filter;
  z-index: 2;
}

/* Layer 2: Hero editorial text & schedule widget */
.hs-content-layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 20px;
  opacity: var(--content-o, 1);
  transform: translateY(calc(var(--content-y, 0) * 1px)) scale(var(--content-s, 1));
  filter: blur(calc(var(--content-blur, 0) * 1px));
  pointer-events: var(--content-pe, none);
  will-change: transform, opacity, filter;
  z-index: 5;
}

/* Layer 3: Spot Video Showcase Player */
.hs-menu-layer,
.hs-video-layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  opacity: var(--menu-o, 0);
  transform: translateY(calc(var(--menu-y, 60) * 1px)) scale(var(--menu-s, 0.96));
  filter: blur(calc(var(--menu-blur, 6) * 1px));
  pointer-events: var(--menu-pe, none);
  will-change: transform, opacity, filter;
  z-index: 6;
}
.spot-video-wrap {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spot-video-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7), 0 0 45px rgba(120, 20, 36, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #140508;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spot-video-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 55px rgba(227, 171, 96, 0.35);
}

/* Laptop / Desktop: Cropped cinematic version */
@media (min-width: 769px) {
  .spot-video-card {
    max-width: 880px;
    height: 480px;
  }
  .spot-video-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  .spot-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
  }
}

/* Video Overlay & Controls - Base */
.spot-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.75) 100%);
}
.spot-video-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: auto;
  width: 100%;
}
.spot-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 5, 8, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff8ee;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.btn-video-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e3ab60;
  color: #2a0b09;
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-video-menu-link:hover {
  background: #fff8ee;
  transform: translateY(-2px);
}
.spot-video-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: auto;
}
.btn-video-ctrl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 5, 8, 0.8);
  backdrop-filter: blur(12px);
  color: #fff8ee;
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn-video-ctrl:hover {
  background: #520c18;
  border-color: #e3ab60;
  transform: scale(1.08);
}

/* Mobile version: Exact 9:16 vertical reel */
@media (max-width: 768px) {
  .hs-video-layer {
    padding: 10px 10px calc(var(--nav-h, 60px) + 12px);
  }
  .spot-video-card {
    max-width: min(325px, 86vw);
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: calc(100svh - var(--header-h, 60px) - 86px);
    border-radius: 22px;
    margin: 0 auto;
  }
  .spot-video-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  .spot-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .spot-video-overlay {
    padding: 12px 12px;
  }
  .spot-video-top {
    gap: 6px;
  }
  .spot-video-badge {
    padding: 4px 8px !important;
    font-size: 0.50rem !important;
    letter-spacing: 0 !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
  }
  .spot-video-badge .pulse-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .btn-video-menu-link {
    padding: 4px 9px !important;
    font-size: 0.63rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 4px !important;
  }
  .spot-video-bottom {
    gap: 8px !important;
  }
  .btn-video-ctrl {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }
}
.hs-menu-layer .menu-albums-home {
  width: 100%;
  max-width: 1400px;
  padding: 0;
}
.hs-menu-layer .block-head {
  margin-bottom: 14px;
}
@media (max-height: 760px) {
  .hs-menu-layer .elastic-reel-frame {
    height: 420px;
  }
}

.ps-stage {
  position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; perspective: 1600px;
}
/* the real plate, floating like a flying saucer */
.ps-plate {
  position: absolute; left: 50%; top: 50%; width: var(--plate); aspect-ratio: var(--ar);
  transform: translate(-50%, -50%) translateY(calc(var(--float, 0) * 1px)) rotateX(calc(var(--rx, 0) * 1deg + var(--mx, 0deg))) rotateY(calc(var(--ry, 0) * 1deg + var(--my, 0deg))) scale(var(--zoom, 1));
  transform-style: preserve-3d; will-change: transform; transition: transform 0.08s ease-out;
}
.ps-plate > img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 26px 36px rgb(0 0 0 / .55)); }
.ps-glare {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: overlay;
  opacity: var(--glare-o, 0.45);
  background: radial-gradient(circle at var(--gx, 65%) var(--gy, 35%), rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  transition: opacity 0.3s ease;
}
.ps-steam {
  position: absolute; inset: -15% -10% -10% -10%; pointer-events: none; z-index: 5;
  opacity: var(--steam-o, 0.85); width: 120%; height: 125%; transition: opacity 0.4s ease;
}
.ps-beam {
  position: absolute; left: 50%; top: 52%; width: calc(var(--plate) * .9); height: 60svh; transform: translateX(-50%);
  background: linear-gradient(to bottom, rgb(255 214 140 / .22), transparent 85%);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); opacity: var(--beam, 0); pointer-events: none;
}
/* markers on the real ingredients */
.ps-spots { list-style: none; margin: 0; padding: 0; }
.ps-spot {
  position: absolute; top: var(--y); height: 0; width: var(--len, var(--lenD));
  border-top: 1.5px dashed rgb(201 180 143 / .8);
  opacity: var(--o, 0); transition: opacity .25s ease, filter .2s ease;
  pointer-events: auto; cursor: pointer; outline: none;
}
.ps-spot.l { left: calc(var(--x) - var(--len, var(--lenD))); }
.ps-spot.r { left: var(--x); }
.ps-dot {
  position: absolute; top: 0; width: 14px; height: 14px; margin-top: -7.75px; border-radius: 50%;
  background: #ffb35c; box-shadow: 0 0 0 4px rgb(255 179 92 / .3), 0 0 14px #ffb35c;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.ps-spot.l .ps-dot { right: -7px; }
.ps-spot.r .ps-dot { left: -7px; }
.ps-tag {
  position: absolute; top: 0; transform: translateY(-50%); width: max-content; max-width: 170px; line-height: 1.35;
  font-weight: 700; font-size: .95rem; padding: 6px 14px; border-radius: 999px; color: #fff8ee;
  background: rgb(18 12 19 / .78); border: 1px solid rgb(201 180 143 / .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.ps-spot.l .ps-tag { right: 100%; margin-right: 6px; }
.ps-spot.r .ps-tag { left: 100%; margin-left: 6px; }

.ps-spot:hover, .ps-spot:focus-visible, .ps-spot.is-active {
  filter: drop-shadow(0 0 8px rgb(255 179 92 / .7));
}
.ps-spot:hover .ps-tag, .ps-spot:focus-visible .ps-tag, .ps-spot.is-active .ps-tag {
  background: rgb(38 20 28 / .95); border-color: #ffb35c; transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 16px rgb(255 179 92 / .35);
}
.ps-spot:hover .ps-dot, .ps-spot:focus-visible .ps-dot, .ps-spot.is-active .ps-dot {
  transform: scale(1.35); box-shadow: 0 0 0 6px rgb(255 179 92 / .45), 0 0 20px #ffb35c;
}

@media (max-width: 860px) {
  .hero-story { --plate: min(88vw, 420px); height: 310svh; }
  .hs-pin { width: 100%; }
  .hs-pizza-layer { width: 100%; padding: 0 12px; }
  .hs-content-layer { padding: 12px 14px; }
  .hs-content-layer h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .hs-content-layer .lead { font-size: 1.02rem; margin-bottom: 20px; }
  .hs-menu-layer { padding: 8px 10px; }
  /* on phones the plate fills the width, so labels point inward and sit on the plate */
  .ps-spot { --len: 6%; }
  .ps-spot.l { left: var(--x); }
  .ps-spot.r { left: calc(var(--x) - var(--len)); }
  .ps-spot.l .ps-dot { right: auto; left: -7px; }
  .ps-spot.r .ps-dot { left: auto; right: -7px; }
  .ps-spot.l .ps-tag { right: auto; margin-right: 0; left: 100%; margin-left: 4px; }
  .ps-spot.r .ps-tag { left: auto; margin-left: 0; right: 100%; margin-right: 4px; }
  .ps-tag { font-size: .72rem; padding: 4px 10px; max-width: 44vw; }
}

/* reduced motion: all elements visible without scroll requirements */
.hero-story.is-static { height: auto; }
.hero-story.is-static .hs-pin { position: static; height: auto; overflow: visible; padding: 40px 0; }
.hero-story.is-static .hs-pizza-layer { position: relative; opacity: 1; transform: none; filter: none; }
.hero-story.is-static .hs-content-layer { position: relative; pointer-events: auto; }
.hero-story.is-static .hs-menu-layer { position: relative; opacity: 1 !important; transform: none !important; filter: none !important; pointer-events: auto !important; }
.hero-story.is-static .hero-anim { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ---------- Dedicated Favorites & About Pages ---------- */
.favorites-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.fav-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.fav-desc {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0 16px 8px;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .fav-card h3 {
    font-size: 0.88rem;
  }
}


/* ---------- food page: dish cut-out with ingredient markers ---------- */
/* Built by build.mjs dishStage(); animated by app.js (data-dish-stage). */
.product-main.has-stage { grid-template-columns: minmax(0, 700px) 1fr; gap: 36px; }
.dish-stage {
  --plate-w: 70%;
  --reach: 24%;              /* how far the label line runs past the plate edge (% of plate width) */
  position: relative; margin: 0; padding: 9% 0 11%;
  isolation: isolate;
}
.dish-glow {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 88%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgb(255 236 220 / .16) 0%, rgb(255 220 200 / .07) 45%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05);
}
.dish-plate { position: relative; width: calc(var(--plate-w) * var(--shrink, 1)); margin-inline: auto; aspect-ratio: var(--ar); }
.dish-float { position: absolute; inset: 0; transform: translateY(var(--float, 0px)); will-change: transform; }
.dish-float > img {
  width: 100%; height: 100%; display: block; object-fit: contain;
  transform: rotate(var(--rot, 0deg));
  filter: drop-shadow(0 28px 34px rgb(0 0 0 / .5)) drop-shadow(0 6px 10px rgb(0 0 0 / .3));
}
.product-main.is-sold-out .dish-float > img { filter: grayscale(1) drop-shadow(0 28px 34px rgb(0 0 0 / .5)); }

.dish-spots { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; direction: ltr; }
.dish-spot { position: absolute; top: var(--y); height: 0; outline: none; cursor: pointer; transition: opacity .25s; }
.dish-spot.l { left: calc(-1 * var(--reach) / var(--shrink, 1)); width: calc(var(--x) + var(--reach) / var(--shrink, 1)); }
.dish-spot.r { left: var(--x); right: calc(-1 * var(--reach) / var(--shrink, 1)); }
.dish-line { position: absolute; left: 0; right: 0; top: -1px; border-top: 1.5px dashed rgb(255 228 205 / .55); }
.dish-spot.l .dish-line { transform-origin: right; }
.dish-spot.r .dish-line { transform-origin: left; }
.dish-dot {
  position: absolute; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: #f6a172; box-shadow: 0 0 0 4px rgb(246 161 114 / .25), 0 0 18px 4px rgb(246 161 114 / .55);
}
.dish-spot.l .dish-dot { right: -7px; }
.dish-spot.r .dish-dot { left: -7px; }
.dish-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgb(246 161 114 / .7);
  animation: dish-pulse 2.4s ease-out infinite; animation-delay: calc(var(--i) * .4s);
}
@keyframes dish-pulse { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.dish-tag {
  position: absolute; top: 0; translate: 0 calc(-50% + var(--dy, 0px));
  width: max-content; max-width: min(200px, 40vw);
  padding: 9px 18px; border-radius: 999px;
  background: rgb(36 6 12 / .88); color: #fff8ee; border: 1px solid rgb(255 255 255 / .16);
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / .65), inset 0 1px 0 rgb(255 255 255 / .08);
  font-weight: 700; font-size: .95rem; line-height: 1.35; text-align: center; direction: rtl;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, transform .2s;
}
[dir="ltr"] .dish-tag { direction: ltr; }
.dish-spot.l .dish-tag { left: 0; translate: -18% calc(-50% + var(--dy, 0px)); }
.dish-spot.r .dish-tag { right: 0; translate: 18% calc(-50% + var(--dy, 0px)); }
.dish-spot:hover .dish-tag, .dish-spot:focus-visible .dish-tag, .dish-spot.is-active .dish-tag { background: var(--brand, #e06a5c); transform: scale(1.06); }
.dish-spot:focus-visible .dish-tag { outline: 2px solid #fff8ee; outline-offset: 2px; }
.dish-spot:hover .dish-dot, .dish-spot.is-active .dish-dot { background: #fff1e4; }
.dish-spots.has-active .dish-spot:not(.is-active) { opacity: .4; }

/* Intro: the plate settles in, then each marker pops in (only when JS sets data-anim) */
.dish-stage[data-anim] .dish-glow { opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.dish-stage[data-anim] .dish-plate { opacity: 0; transform: translateY(26px) scale(.9) rotate(-7deg); transition: opacity .7s ease, transform 1.1s cubic-bezier(.2, .9, .25, 1.05); }
.dish-stage[data-anim] .dish-dot { transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(.75s + var(--i) * .32s); }
.dish-stage[data-anim] .dish-line { transform: scaleX(0); transition: transform .5s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(.85s + var(--i) * .32s); }
.dish-stage[data-anim] .dish-tag { opacity: 0; transition: opacity .4s ease, transform .2s, background-color .2s; transition-delay: calc(1.15s + var(--i) * .32s), 0s, 0s; }
.dish-stage[data-anim].is-in .dish-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dish-stage[data-anim].is-in .dish-plate { opacity: 1; transform: none; }
.dish-stage[data-anim].is-in .dish-dot { transform: scale(1); }
.dish-stage[data-anim].is-in .dish-line { transform: scaleX(1); }
.dish-stage[data-anim].is-in .dish-tag { opacity: 1; }

/* Small laptops and tablets in landscape: the stage column is narrow, so keep labels closer in */
@media (min-width: 861px) and (max-width: 1240px) {
  .dish-stage { --plate-w: 62%; --reach: 11%; }
  .dish-tag { padding: 7px 13px; font-size: .84rem; max-width: 150px; }
}
/* Too narrow for the photo beside the text: stack them, like on tablets */
@media (min-width: 861px) and (max-width: 1040px) {
  .product-main.has-stage { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .product-main.has-stage { grid-template-columns: 1fr; }
  .dish-stage { --plate-w: 72%; --reach: 11%; padding: 4% 0 7%; }
}
/* Phones: not enough room beside the plate, so labels sit just inside the edge */
@media (max-width: 560px) {
  .dish-stage { --plate-w: 86%; --reach: 6%; }
  .dish-tag { padding: 6px 12px; font-size: .8rem; max-width: 44vw; }
  .dish-spot.l .dish-tag { translate: -4% calc(-50% + var(--dy, 0px)); }
  .dish-spot.r .dish-tag { translate: 4% calc(-50% + var(--dy, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .dish-dot::after { animation: none; }
  .dish-float, .dish-float > img { transform: none; }
}

/* Dishes without a cutout (drinks in clear cups, cakes): the normal photo in a rounded card,
   with the labels kept inside the card */
.dish-stage.is-photo { --plate-w: 100%; --reach: -3%; padding: 0; }
.dish-stage.is-photo .dish-glow { display: none; }
.dish-stage.is-photo .dish-float { border-radius: 32px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.dish-stage.is-photo .dish-float > img { object-fit: cover; filter: none; transform: none; }
.dish-stage.is-photo .dish-spot.l .dish-tag { translate: 0 calc(-50% + var(--dy, 0px)); }
.dish-stage.is-photo .dish-spot.r .dish-tag { translate: 0 calc(-50% + var(--dy, 0px)); }
.product-main.is-sold-out .dish-stage.is-photo .dish-float > img { filter: grayscale(1); }
