/* ==========================================================================
   Public menu — header, hero, picks, centered sections, product cards, popup
   ========================================================================== */

:root { --nav-h: 72px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 72px); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.menu-body { padding-bottom: 0; }
.menu-body .toasts { bottom: 100px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

.nav-logo .brand-logo { width: 58px; height: 66px; object-fit: contain; border-radius: 10px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), transform var(--dur);
}
.round-btn:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); transform: translateY(-1px); }

/* Solid buttons only */
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-bd: var(--accent); }
.btn-accent:hover { --btn-bg: #e09c00; --btn-bd: #e09c00; filter: none; }
.btn { transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur), transform 120ms var(--ease), box-shadow var(--dur); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }

/* ================= Header ================= */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav-h); color: #fff;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms;
  border-bottom: 1px solid transparent;
}
.site-nav.is-solid {
  color: var(--ink); background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.1) blur(3px); -webkit-backdrop-filter: saturate(1.1) blur(3px);
  border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .5);
}
.nav-row { height: 100%; display: flex; align-items: center; gap: 20px; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }

.nav-search { position: relative; flex: 0 1 440px; margin-inline: auto; display: flex; align-items: center; }
.nav-search > .icon { position: absolute; left: 16px; width: 18px; height: 18px; opacity: .7; pointer-events: none; }
.nav-search input {
  width: 100%; height: 46px; padding: 0 44px 0 46px; border-radius: var(--r-pill); font-size: 16px; color: inherit;
  background: color-mix(in srgb, currentColor 8%, transparent); border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  transition: background-color 250ms var(--ease), border-color 250ms, box-shadow 250ms;
}
.nav-search input::placeholder { color: inherit; opacity: .6; }
.nav-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.site-nav.is-solid .nav-search input { background: var(--surface-2); border-color: var(--line-strong); }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search-close { display: none; position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; place-items: center; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.site-nav:not(.is-solid) .theme-switch > summary { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
[data-theme="light"] .site-nav:not(.is-solid) {
  color: var(--ink); background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.1) blur(3px); -webkit-backdrop-filter: saturate(1.1) blur(3px);
  border-bottom-color: var(--line);
}
[data-theme="light"] .site-nav:not(.is-solid) .theme-switch > summary { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.nav-icon {
  position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: transparent; color: inherit;
  transition: background-color var(--dur), transform var(--dur);
}
.nav-icon:hover { background: color-mix(in srgb, currentColor 10%, transparent); transform: translateY(-1px); }
.search-toggle { display: none; }
.nav-order-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800;
  transform: scale(0); transition: transform 260ms var(--ease);
}
.nav-order.has-items .nav-order-count { transform: scale(1); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* ================= Hero ================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(760px, 94vh); display: flex; flex-direction: column; padding-top: var(--nav-h);
  background: #15110e;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1400ms var(--ease); }
.hero-slide.is-active { opacity: 1; animation: ken-burns calc(var(--slide-ms, 5500ms) + 1500ms) linear both; }
@keyframes ken-burns { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.14) translateX(-1.5%); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 13, 9, .94) 0%, rgba(18, 13, 9, .78) 42%, rgba(18, 13, 9, .38) 100%),
    linear-gradient(0deg, rgba(18, 13, 9, .9) 0%, rgba(18, 13, 9, 0) 40%),
    linear-gradient(180deg, rgba(18, 13, 9, .6) 0%, rgba(18, 13, 9, 0) 22%);
}
@keyframes hero-in { from { transform: scale(1.14); opacity: .35; } to { transform: scale(1.03); } }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 760px); align-items: center; padding: 40px 0 40px; }

/* Orchestrated load: copy rises line by line, hours card glides in */
.hero-copy > * { animation: rise 800ms var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: 150ms; }
.hero-copy > :nth-child(2) { animation-delay: 260ms; }
.hero-copy > :nth-child(3) { animation-delay: 380ms; }
.hero-copy > :nth-child(4) { animation-delay: 480ms; }
.hero-copy > :nth-child(5) { animation-delay: 580ms; }
.spotlight { animation: glide 900ms var(--ease) 420ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes glide { from { opacity: 0; transform: translateX(40px) scale(.97); } }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); color: #fff; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); backdrop-filter: blur(2px);
}
.status-pill strong { font-weight: 700; }
.status-pill.is-open { border-color: rgba(92, 195, 141, .6); }
.status-pill.is-open strong { color: #7fe0ab; }
.status-pill.is-closed { border-color: rgba(246, 184, 50, .55); }
.status-pill.is-closed strong { color: var(--accent); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-pill .status-dot { background: #5cc38d; animation: live 2s infinite; }
.status-pill.is-closed .status-dot { background: var(--accent); animation: none; }
.nav-status.is-open .status-dot { animation: live 2s infinite; }
.status-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .3); }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(92, 195, 141, .7); } 70% { box-shadow: 0 0 0 8px rgba(92, 195, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 195, 141, 0); } }

.hero-title { margin: 22px 0 18px; font-size: clamp(3rem, 7.2vw, 5.6rem); font-weight: 780; letter-spacing: -.035em; line-height: .98; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .84); max-width: 44ch; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn-lg { height: 54px; padding: 0 24px; border-radius: 16px; font-size: var(--fs-md); }
.hero-cta .btn-accent { box-shadow: 0 14px 30px -14px rgba(242, 169, 0, .8); }
.glass-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(2px);
  transition: background-color var(--dur), transform 120ms var(--ease);
}
.glass-btn:hover { background: rgba(255, 255, 255, .18); transform: translateY(-1px); }
.glass-btn.lg { height: 54px; padding: 0 22px; border-radius: 16px; font-size: var(--fs-md); }
.glass-btn .icon { width: 17px; height: 17px; }
.hero-pills { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 550; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.hero-pills .icon { width: 17px; height: 17px; color: var(--accent); }

.spotlight {
  padding: 10px; border-radius: 30px; color: #fff;
  background: rgba(20, 15, 11, .5); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85);
}
.spot-media { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; cursor: zoom-in; background: #2a221c; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.spot-media:hover img { transform: scale(1.05); }
.spot-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: var(--fs-xs); font-weight: 800; }
.spot-tag .icon { width: 13px; height: 13px; }
.spot-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 10px 8px; }
.spot-cat { font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, .6); }
.spot-body h2 { font-size: var(--fs-xl); font-weight: 760; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.spotlight .price { color: #fff; font-size: 1.5rem; }
.spotlight .price .cur { color: var(--accent); }
.spot-actions { display: flex; gap: 8px; padding: 8px 10px 10px; }
.spot-actions > * { flex: 1; }
.spot-view { height: 48px; border-radius: 14px; font-size: var(--fs-md); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .24); height: 46px; border-radius: 14px; }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .18); --btn-bd: rgba(255, 255, 255, .34); }
.spot-actions .qty-add { width: 100%; height: 46px; border-radius: 14px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.spot-actions .qty-add:hover { background: #ffc23d; border-color: #ffc23d; }
.spot-actions .stepper { width: 100%; height: 46px; justify-content: space-between; border-radius: 14px; }
@keyframes grow-x { from { transform: scaleX(0); } }

/* ================= Scroll reveal ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= Today's picks ================= */
.picks { padding: var(--space-8) 0 var(--space-6); scroll-margin-top: var(--nav-h); }
.picks-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: var(--space-5); }
.picks-head h2 { font-size: var(--fs-hand); line-height: .95; }
.picks-head p { margin-top: 6px; }
.picks-arrows { display: flex; gap: 8px; }
.picks-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
  padding: 6px max(20px, calc((100vw - 1200px) / 2)) 18px; scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2));
}
.picks-track::-webkit-scrollbar { display: none; }
.pick { position: relative; scroll-snap-align: start; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-sunk); color: #fff; box-shadow: var(--shadow-2); transition: transform 400ms var(--ease), opacity 700ms var(--ease); }
.pick.is-in:hover { transform: translateY(-6px); }
.pick-open { position: absolute; inset: 0; padding: 0; border: 0; cursor: zoom-in; background: none; }
.pick-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.pick:hover .pick-open img { transform: scale(1.06); }
.pick::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(0deg, rgba(15, 11, 8, .95), transparent); pointer-events: none; }
[data-theme="light"] .pick { color: var(--ink); }
[data-theme="light"] .pick::after { background: linear-gradient(0deg, rgba(245, 244, 240, .68), rgba(245, 244, 240, 0)); }
.pick .slide-count { z-index: 2; }
.pick-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; pointer-events: none; }
.pick-info > * { pointer-events: auto; }
.pick-cat { display: inline-block; padding: 3px 9px; border-radius: 7px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 750; }
.pick-info h3 { font-size: var(--fs-lg); font-weight: 750; letter-spacing: -.01em; margin: 8px 0 12px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
[data-theme="light"] .pick-info h3 { text-shadow: none; }
.pick-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pick .price { color: #fff; }
.pick .price .cur { color: var(--accent); }
[data-theme="light"] .pick .price { color: var(--ink); }
[data-theme="light"] .pick .price .cur { color: var(--accent-ink); }
.pick .qty-add { background: #fff; color: #1a1512; border-color: #fff; }
.pick .qty-add:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ================= Sticky category bar ================= */
.cat-bar {
  position: sticky; top: var(--nav-h); z-index: 15;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(3px); -webkit-backdrop-filter: saturate(1.1) blur(3px);
  border-bottom: 1px solid var(--line);
}
.cat-bar-inner { display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.cats { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; justify-content: safe center; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 650; font-size: var(--fs-sm);
  color: var(--ink-2); border: 1px solid var(--line); background: var(--surface);
  transition: background-color 250ms var(--ease), color 250ms, border-color 250ms, transform 150ms var(--ease);
}
.cat .icon { width: 16px; height: 16px; color: var(--muted); transition: color 250ms; }
.cat:hover { border-color: var(--line-strong); color: var(--ink); transform: translateY(-1px); }
.cat.is-active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cat.is-active .icon { color: var(--accent); }

/* ================= Sections ================= */
.menu-section { padding-top: var(--space-8); }
.section-head { display: grid; justify-items: center; text-align: center; gap: 6px; margin-bottom: var(--space-6); }
.section-icon { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 4px; }
.section-icon .icon { width: 25px; height: 25px; }
.section-head h2 { display: flex; align-items: center; gap: 22px; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .95; }
.section-head h2::before, .section-head h2::after { content: ""; width: clamp(28px, 8vw, 110px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.section-head h2::after { background: linear-gradient(-90deg, transparent, var(--line-strong)); }
.section-count { font-size: var(--fs-sm); color: var(--muted); font-weight: 550; }

.dishes { --cols: 4; --gap-x: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 26px var(--gap-x); }
.dishes > .dish { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols)); min-width: 0; }

/* ================= Product card ================= */
.dish {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(40, 28, 16, .05), 0 8px 24px -18px rgba(40, 28, 16, .25);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms, opacity 700ms var(--ease);
}
[data-theme="dark"] .dish { box-shadow: none; }
.dish.is-in:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -24px rgba(40, 28, 16, .45); border-color: var(--line-strong); }
[data-theme="dark"] .dish.is-in:hover { box-shadow: 0 26px 46px -20px rgba(0, 0, 0, .85); }
.dish[hidden] { display: none; }

.dish-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-sunk); margin: 8px 8px 0; border-radius: 16px; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; transition: transform 800ms var(--ease); }
.dish:hover .dish-media:not(.has-many) .slide { transform: scale(1.07); }
.open-dish { position: absolute; inset: 0; border: 0; background: transparent; cursor: zoom-in; }
.dish-media.has-many .open-dish { inset: 0 48px; }
.pick-flag { position: absolute; left: 12px; top: 12px; z-index: 2; height: 26px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-xs); font-weight: 800; pointer-events: none; }
.pick-flag .icon { width: 12px; height: 12px; }
.slide-count { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: var(--r-pill); background: rgba(20, 16, 13, .62); color: #fff; font-size: var(--fs-xs); font-weight: 650; backdrop-filter: blur(3px); pointer-events: none; }
.slide-count .icon { width: 13px; height: 13px; }
.slide-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .95); color: #1a1512; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: opacity var(--dur), transform var(--dur); }
.slide-nav .icon { width: 18px; height: 18px; }
.slide-nav.prev { left: 8px; }
.slide-nav.next { right: 8px; }
.slide-nav:disabled { opacity: 0; pointer-events: none; }
.slide-nav:hover { transform: scale(1.08); }
.dots { position: absolute; left: 14px; bottom: 16px; z-index: 2; display: flex; gap: 5px; pointer-events: none; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: width 300ms var(--ease), background-color 300ms; }
.dots span.on { width: 18px; border-radius: 3px; background: #fff; }
@media (hover: none) { .dish-media.has-many .open-dish { pointer-events: none; } }

/* Price sits on the photo, bottom right */
.price-pill {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: baseline; gap: 5px;
  height: 36px; padding: 0 14px; border-radius: var(--r-pill); align-items: center;
  background: rgba(255, 255, 255, .96); color: #1a1512; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); pointer-events: none; white-space: nowrap;
  transition: transform 300ms var(--ease), background-color 300ms;
}
.price-pill .cur { font-size: .66rem; font-weight: 800; letter-spacing: .05em; color: #8a5800; }
.dish:hover .price-pill { transform: translateY(-2px); background: var(--accent); }
.dish:hover .price-pill .cur { color: #1a1512; }

/* Add button floats on the photo (not used on cards now) */
.qty-float { position: absolute; right: 10px; bottom: 10px; z-index: 3; }
.qty-float .qty-add { background: #fff; color: #1a1512; border-color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45); }
.qty-float .qty-add:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.qty-float .stepper { box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45); }

.dish-body {
  display: flex; flex-direction: column; flex: 1; gap: 4px; width: 100%; padding: 12px 14px 12px; text-align: left; justify-content: flex-start;
  border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
}
.dish-name { font-size: 1.08rem; font-weight: 720; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-desc { font-size: var(--fs-sm); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
.dish-name + .dish-foot, .dish-desc + .dish-foot { margin-top: auto; }
.dish-more { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); transition: color 200ms; }
.dish-more .icon { width: 14px; height: 14px; transition: transform 250ms var(--ease); }
.dish:hover .dish-more { color: var(--ink); }
.dish:hover .dish-more .icon { transform: translate(2px, -2px); }

/* Price: currency small, amount large and bold */
.price { display: inline-flex; align-items: baseline; gap: 5px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; line-height: 1; }
.price .cur { font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--accent-ink); }

/* Add / stepper (solid) */
.qty { flex: none; }
.qty-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--primary); background: var(--primary); color: var(--on-primary);
  font-weight: 750; font-size: var(--fs-sm); cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms, color 200ms, transform 150ms var(--ease);
}
.qty-add .icon { width: 17px; height: 17px; }
.qty-add:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-1px); }
.qty-add:active, .stepper button:active { transform: scale(.94); }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 2px; height: 40px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); }
.stepper button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur); }
.stepper button:hover { background: rgba(0, 0, 0, .1); }
.stepper output { min-width: 24px; text-align: center; font-weight: 800; }
.stepper .icon { width: 16px; height: 16px; }
.qty .stepper { animation: pop 260ms var(--ease); }
@keyframes pop { from { transform: scale(.8); opacity: .3; } }

/* ================= Footer ================= */
.site-footer { margin-top: var(--space-8); border-top: 1px solid var(--line); background: var(--surface); scroll-margin-top: var(--nav-h); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); padding: var(--space-7) 0 var(--space-6); }
.footer-brand .brand-logo { width: 100px; height: 114px; object-fit: contain; border-radius: 12px; margin-bottom: 12px; }
.site-footer h3 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: 14px; }
.footer-hours { margin: 0; display: grid; gap: 8px; font-size: var(--fs-sm); }
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; max-width: 240px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.footer-hours dt { color: var(--muted); }
.footer-hours dd { margin: 0; font-weight: 700; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--accent-ink); }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 18px 0 110px; border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.credit { color: var(--muted); }
.credit a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; transition: color var(--dur); }
.credit a:hover { color: var(--accent-ink); }
.footer-staff {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink);
  box-shadow: var(--shadow-1); text-decoration: none; font-size: var(--fs-sm); font-weight: 700;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur), transform var(--dur);
}
.footer-staff:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); transform: translateY(-1px); }
.footer-staff:focus-visible { outline: none; box-shadow: var(--focus); }
.footer-staff .icon { width: 16px; height: 16px; }

/* ================= Order bar (solid) ================= */
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.order-bar[hidden] { display: none; }
.order-bar-btn {
  pointer-events: auto; width: min(560px, 100%); height: 64px; padding: 0 10px; display: flex; align-items: center; gap: var(--space-3);
  border: 0; border-radius: 20px; cursor: pointer; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: var(--fs-md);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); animation: bar-in 420ms var(--ease);
  transition: transform 150ms var(--ease);
}
.order-bar-btn:hover { transform: translateY(-2px); }
.order-count { min-width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.order-label { flex: 1; text-align: left; }
.order-total { padding: 0 12px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--on-primary) 12%, transparent); }
.order-bar-btn.bump { animation: bump 360ms var(--ease); }
@keyframes bar-in { from { transform: translateY(120%); } }
@keyframes bump { 35% { transform: scale(1.04); } }

/* ================= Popups (product + order) ================= */
.sheet {
  width: min(1040px, calc(100vw - 40px)); max-height: calc(100dvh - 48px); padding: 0;
  border: 1px solid var(--line); border-radius: 30px; background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(14, 10, 7, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet[open] { animation: pop-in 380ms cubic-bezier(.2, .9, .25, 1.05); }
.sheet[open]::backdrop { animation: fade-in 300ms var(--ease); }
.sheet.is-closing { animation: pop-out 200ms var(--ease) forwards; }
.sheet.is-closing::backdrop { animation: fade-out 200ms var(--ease) forwards; }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(12px) scale(.97); } }
.sheet-handle { display: none; }

.dish-sheet .sheet-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); max-height: calc(100dvh - 48px); min-height: 0; }
.viewer-col { display: flex; flex-direction: column; background: var(--bg-sunk); min-height: 0; }
.viewer { position: relative; flex: 1; min-height: 440px; overflow: hidden; }
.viewer-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; animation: img-in 600ms var(--ease) both; }
@keyframes img-in { from { opacity: 0; transform: scale(1.05); } }
.viewer .slide-nav { width: 44px; height: 44px; }
.viewer .slide-count { top: auto; bottom: 16px; right: 16px; height: 30px; padding: 0 12px; }
.viewer-close {
  position: absolute; top: 16px; left: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #1a1512; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform 250ms var(--ease);
}
.viewer-close:hover { transform: rotate(90deg); }
.thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.thumbs:empty { display: none; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; opacity: .55; transition: opacity var(--dur), border-color var(--dur), transform var(--dur); }
.thumbs button:hover { opacity: .85; transform: translateY(-2px); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }

.sheet-body { display: flex; flex-direction: column; gap: 14px; padding: 36px 36px 28px; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
.sheet-body > * { animation: rise 560ms var(--ease) both; }
.sheet-body > :nth-child(2) { animation-delay: 60ms; }
.sheet-body > :nth-child(3) { animation-delay: 120ms; }
.sheet-body > :nth-child(4) { animation-delay: 170ms; }
.sheet-body > :nth-child(5) { animation-delay: 220ms; }
.sheet-body > :nth-child(6) { animation-delay: 270ms; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet-cat { padding: 6px 12px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-xs); font-weight: 750; }
.sheet-photos { font-size: var(--fs-xs); font-weight: 600; }
.sheet-body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 780; letter-spacing: -.03em; line-height: 1.08; }
.sheet-price .price { font-size: 2.1rem; }
.sheet-price .cur { font-size: .8rem; }
.add-short { display: none; }
.sheet-desc { color: var(--ink-2); max-width: 46ch; line-height: 1.6; }
.sheet-desc:empty { display: none; }
.sheet-related { padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.related-title { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.related button { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface-2); cursor: pointer; text-align: left; color: var(--ink); transition: transform 200ms var(--ease), border-color 200ms; }
.related button:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.related img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.related span { display: block; padding: 7px 9px 2px; font-size: var(--fs-xs); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related small { display: block; padding: 0 9px 8px; font-size: 11px; font-weight: 750; color: var(--accent-ink); }
.sheet-buy { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 12px; }
.stepper-lg { height: 56px; border-radius: 16px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.stepper-lg button { width: 48px; height: 50px; border-radius: 14px; }
.stepper-lg output { min-width: 30px; font-size: var(--fs-lg); }
.sheet-add { flex: 1; min-width: 0; height: 56px; border-radius: 16px; justify-content: space-between; padding: 0 20px; font-size: var(--fs-md); }
.sheet-add-total { padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--on-primary) 14%, transparent); }

.sheet-order { width: min(520px, calc(100vw - 32px)); }
.sheet-order .sheet-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); }
.order-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5) var(--space-5) var(--space-3); }
.order-head h2 { font-size: var(--fs-xl); font-weight: 760; }
.order-lines { list-style: none; margin: 0; padding: 0 var(--space-5); min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; flex: 1; }
.order-line { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--space-3); align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise 400ms var(--ease) both; }
.order-line img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.order-line h3 { font-size: var(--fs-sm); font-weight: 700; }
.order-line p { font-size: var(--fs-xs); color: var(--muted); }
.order-line .stepper { height: 36px; }
.order-line .stepper button { width: 30px; height: 30px; }
.order-form { padding: var(--space-4) var(--space-5) var(--space-5); display: grid; gap: var(--space-3); border-top: 1px solid var(--line); background: var(--surface-2); }
.order-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-lg); }
.order-sum strong { font-size: var(--fs-xl); }
.input-table { font-size: var(--fs-lg); font-weight: 700; height: 52px; }
.closed-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--warning-soft); font-size: var(--fs-sm); color: var(--ink-2); }
.closed-note .icon { color: var(--warning); margin-top: 2px; }

.menu .empty { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); margin-top: var(--space-7); }

/* ================= Laptop / tablet / phone ================= */
@media (max-width: 1024px) {
  .dishes { --cols: 3; }
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .spotlight { max-width: 460px; animation-name: rise; }
  .cats { justify-content: flex-start; }
  .nav-search { flex-basis: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .sheet-body { padding: 28px 24px 22px; }
  .add-long { display: none; }
  .add-short { display: inline; }
  .sheet-add { min-width: 0; padding: 0 8px 0 16px; gap: 8px; }
  .stepper-lg button { width: 40px; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related button:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .dishes { --cols: 2; --gap-x: 12px; row-gap: 14px; }
}
@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  .nav-row { gap: 10px; }
  .nav-logo .brand-logo { width: 50px; height: 57px; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-icon { width: 40px; height: 40px; border-radius: 12px; }
  .search-toggle { display: grid; }
  /* Search expands over the header on phones */
  .nav-search { position: absolute; inset: 0 16px; margin: 0; display: none; align-items: center; z-index: 2; }
  .site-nav.is-searching .nav-search { display: flex; animation: fade-in 200ms var(--ease); }
  .site-nav.is-searching .nav-logo, .site-nav.is-searching .nav-actions { visibility: hidden; }
  .site-nav.is-searching { color: var(--ink); background: var(--surface); border-bottom-color: var(--line); }
  .site-nav.is-searching .nav-search input { background: var(--surface-2); border-color: var(--line-strong); }
  .nav-search-close { display: grid; }
  .hero-grid { padding-top: 20px; gap: 24px; }
  .hero-title { margin: 16px 0 14px; font-size: 3.1rem; }
  .hero-cta .btn, .hero-cta .glass-btn { flex: 1 1 auto; justify-content: center; }
  .hero-pills { margin-top: 24px; }
  .hero-pills li { height: 34px; font-size: var(--fs-xs); }
  .picks { padding-top: var(--space-6); }
  .picks-arrows { display: none; }
  .picks-track { grid-auto-columns: 74%; gap: 12px; }
  .dish { border-radius: 18px; }
  .dish-body { padding: 10px 12px 12px; }
  .dish-name { font-size: .95rem; }
  .dish-desc, .dish-more { display: none; }
  .dish-foot { padding-top: 8px; }
  .price { font-size: 1.12rem; }
  .dish-media { margin: 6px 6px 0; border-radius: 13px; }
  .price-pill { right: 7px; bottom: 7px; height: 30px; padding: 0 10px; font-size: .92rem; gap: 4px; }
  .price-pill .cur { font-size: .58rem; }
  .qty-float { right: 8px; bottom: 8px; }
  .qty-float .qty-add { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
  .qty-float .qty-add span { display: none; }
  .qty-float .stepper { height: 38px; }
  .qty-float .stepper button { width: 32px; height: 32px; }
  .dots { display: none; }
  .spot-body h2 { font-size: var(--fs-lg); }
  .slide-nav { width: 28px; height: 28px; }
  .slide-nav .icon { width: 15px; height: 15px; }
  .section-icon { width: 46px; height: 46px; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-staff { width: 100%; }

  /* Popups become bottom sheets */
  .sheet { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; border-bottom: 0; }
  .sheet[open] { animation: sheet-up 420ms cubic-bezier(.2, .9, .25, 1); }
  .sheet.is-closing { animation: sheet-down 240ms var(--ease) forwards; }
  .sheet-handle { display: block; position: absolute; top: 8px; left: 50%; translate: -50% 0; z-index: 4; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
  .dish-sheet .sheet-inner { position: relative; grid-template-columns: minmax(0, 1fr); max-height: 94dvh; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
  .viewer { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .viewer-close { top: 18px; left: auto; right: 14px; width: 40px; height: 40px; }
  .sheet-body { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); overflow: visible; }
  .sheet-price .price { font-size: 1.8rem; }
  .add-long { display: none; }
  .add-short { display: inline; }
  .sheet-buy { position: sticky; bottom: 0; background: var(--surface); padding: 14px 0 0; }
  .stepper-lg { height: 52px; flex: none; }
  .stepper-lg button { width: 38px; }
  .stepper-lg output { min-width: 24px; }
  .sheet-buy { gap: 10px; }
  .sheet-add { height: 52px; min-width: 0; padding: 0 8px 0 16px; gap: 8px; }
  .sheet-add-total { flex: none; }
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related button:nth-child(3) { display: block; }
  .sheet-order .sheet-inner { max-height: 94dvh; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ================= Hero slideshow controls ================= */
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 36px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero-dot span { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; transition: background-color 200ms; }
.hero-dot:hover span { background: rgba(255, 255, 255, .5); }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: slide-progress var(--slide-ms, 5500ms) linear forwards; }
@keyframes slide-progress { to { transform: scaleX(1); } }
.hero-caption {
  display: inline-flex; align-items: center; gap: 14px; height: 46px; padding: 0 8px 0 18px; border-radius: var(--r-pill); cursor: pointer;
  color: #fff; font-weight: 650; font-size: var(--fs-sm); background: rgba(20, 15, 11, .45);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.hero-caption:hover { background: rgba(20, 15, 11, .65); transform: translateY(-2px); }
.hero-caption .price { height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: #fff; color: #1a1512; font-size: 1rem; align-items: center; }
.hero-caption .price .cur { color: #8a5800; }
.hero-caption.swap > * { animation: rise 600ms var(--ease) both; }
[data-theme="light"] .hero { color: var(--ink); background: var(--bg); }
[data-theme="light"] .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(245, 244, 240, .44) 0%, rgba(245, 244, 240, .32) 28%, rgba(245, 244, 240, .2) 48%, rgba(245, 244, 240, .04) 72%, transparent 88%);
}
[data-theme="light"] .hero-lede { color: var(--ink-2); }
[data-theme="light"] .hero .glass-btn {
  color: var(--ink); background: color-mix(in srgb, var(--surface) 84%, transparent); border-color: var(--line-strong);
}
[data-theme="light"] .hero .glass-btn:hover { background: var(--surface); }
[data-theme="light"] .hero-pills li { color: var(--ink-2); background: color-mix(in srgb, var(--surface) 80%, transparent); border-color: var(--line-strong); }
[data-theme="light"] .hero .status-pill { color: var(--ink-2); background: color-mix(in srgb, var(--surface) 84%, transparent); border-color: var(--line-strong); }
[data-theme="light"] .hero .status-pill.is-open strong { color: var(--success); }
[data-theme="light"] .hero .status-pill.is-closed strong { color: var(--accent-ink); }
[data-theme="light"] .hero-caption {
  color: var(--ink); background: color-mix(in srgb, var(--surface) 88%, transparent); border-color: var(--line-strong);
}
[data-theme="light"] .hero-caption:hover { background: var(--surface); }
[data-theme="light"] .hero-caption .price { background: var(--bg-sunk); color: var(--ink); }
[data-theme="light"] .hero-caption .price .cur { color: var(--accent-ink); }
[data-theme="light"] .hero-dot span { background: color-mix(in srgb, var(--ink) 24%, transparent); }
[data-theme="light"] .hero-dot:hover span { background: color-mix(in srgb, var(--ink) 42%, transparent); }
@media (max-width: 700px) {
  .hero-foot { flex-direction: column-reverse; align-items: flex-start; gap: 14px; padding-bottom: 22px; }
  .hero-dot { width: 32px; }
  .hero-caption { height: 40px; padding-left: 14px; gap: 10px; max-width: 100%; }
  .hero-caption [data-caption-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-caption .price { height: 30px; font-size: .9rem; }
  [data-theme="light"] .hero-bg::after {
    background: linear-gradient(90deg, rgba(245, 244, 240, .5) 0%, rgba(245, 244, 240, .36) 58%, rgba(245, 244, 240, .22) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
}

/* ================= Image loading ================= */
.dish-media, .viewer, .related button, .hero-bg { background-color: var(--bg-sunk); }
.dish-media::before, .viewer::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--surface) 55%, transparent) 50%, transparent 70%) var(--bg-sunk);
  background-size: 220% 100%; animation: shimmer 1.3s linear infinite;
}
.dish-media:has(.slide.is-loaded)::before, .viewer:has(img.is-loaded)::before { display: none; }
.slides, .viewer-track { z-index: 1; }
.slides { position: relative; }
.open-dish { z-index: 2; }
.slide, .viewer-track img, .related img, .order-line img { opacity: 0; }
.slide.is-loaded, .viewer-track img.is-loaded, .related img.is-loaded, .order-line img.is-loaded { opacity: 1; transition: opacity 500ms var(--ease), transform 800ms var(--ease); }
.hero-slide.is-loaded:not(.is-active) { opacity: 0; }
.hero-slide.is-active.is-loaded { opacity: 1; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ================= Red close buttons ================= */
.viewer-close, .order-head [data-close], .nav-search-close {
  background: #e5484d; color: #fff; border: 0; box-shadow: 0 6px 16px -6px rgba(229, 72, 77, .7);
}
.viewer-close:hover, .order-head [data-close]:hover, .nav-search-close:hover { background: #cf3237; color: #fff; }
.order-head [data-close] { border-radius: 50%; }
