/* ============================================================
   LILA GUSTO — Dark Copper Edition
   Rich dark theme with warm copper accents
   ============================================================ */

:root {
  /* Dark base */
  --bg: #0a0c0b;
  --bg-elevated: #101312;
  --bg-card: #141816;
  --bg-glass: rgba(255, 255, 255, 0.024);
  --bg-glass-hover: rgba(255, 255, 255, 0.048);

  /* Text */
  --text-primary: #eaf0ed;
  --text-secondary: rgba(234, 240, 237, 0.6);
  --text-muted: rgba(234, 240, 237, 0.34);
  --text-faint: rgba(234, 240, 237, 0.16);

  /* Warm copper accent */
  --accent: #c9853d;
  --accent-light: #f0b66a;
  --accent-dim: rgba(201, 133, 61, 0.45);
  --accent-glow: rgba(201, 133, 61, 0.12);
  --accent-border: rgba(201, 133, 61, 0.24);
  --accent-deep: #8e4d22;
  --ember: #ff7a26;
  --ember-hot: #ffb15f;
  --ember-deep: #9f3219;
  --ember-glow: rgba(255, 122, 38, 0.28);
  --lila: #b78cff;
  --lila-dim: rgba(183, 140, 255, 0.22);

  /* Borders */
  --border: rgba(255, 255, 255, 0.05);
  --border-mid: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.11);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(201, 133, 61, 0.06);

  /* Layout */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --topbar-logo-size: 86px;
  --topbar-logo-plate: #f5efe8;
  --topbar-h: calc(var(--topbar-logo-size) + 30px);
  --max-w: 1100px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;
  --dur-slow: 550ms;

  color-scheme: dark;
}


/* ---- Reset ---- */

*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.sheet-open {
  overflow: hidden;
  touch-action: none;
}

button, input { font: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }

svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-width: 1.6;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: rgba(201, 133, 61, 0.24);
  color: var(--text-primary);
}


/* ---- Skip Link ---- */

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }


/* ---- Ambient ---- */

.ambient {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(201, 133, 61, 0.045), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 100%, rgba(142, 77, 34, 0.035), transparent 70%);
}


/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
  position: relative;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: var(--topbar-h);
  padding: 16px var(--gutter) 8px;
  background: var(--bg-elevated);
}

.brand {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  color: inherit;
}

.topbar-logo {
  width: var(--topbar-logo-size);
  height: var(--topbar-logo-size);
  border-radius: 50%;
  transition:
    transform var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}

.topbar-logo:hover {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.24));
}

.topbar-logo .brand-emblem {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--topbar-logo-plate);
  border: 1px solid rgba(177, 57, 53, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -8px 18px rgba(78, 43, 30, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.24);
}

.topbar-logo .brand-emblem img {
  width: calc(var(--topbar-logo-size) - 8px);
  height: calc(var(--topbar-logo-size) - 8px);
  object-fit: contain;
}

/* ============================================================
   SIGNATURE / FEATURED
   ============================================================ */

.signature-stage {
  position: relative;
  padding: clamp(64px, 12vw, 120px) var(--gutter);
  background: var(--bg);
  overflow: hidden;
}

.menu-favorites {
  max-width: var(--max-w);
  margin: 0 auto 28px;
  padding: 10px 0 30px;
  background: transparent;
}

.signature-stage::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 200px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

.signature-layout {
  display: grid;
  gap: clamp(36px, 6vw, 56px);
  width: min(var(--max-w), 100%);
  margin: 0 auto;
}

.signature-copy {
  display: grid; gap: 14px; align-content: center;
}

.signature-copy p,
.section-heading p,
.featured-category {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.signature-copy h2,
.section-heading h2,
.visit-band h2,
.category-title h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.signature-copy h2 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 600; line-height: 0.9;
  letter-spacing: 0;
  color: var(--text-primary);
}

.signature-copy > span {
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.9rem; font-weight: 400;
  line-height: 1.7;
}

.featured-grid {
  display: grid; gap: 14px;
}

.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px; width: 100%;
  padding: 14px; color: inherit; text-align: left;
  background: var(--bg-glass);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}

.featured-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201,133,61,0.055), transparent 40%);
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.featured-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.featured-card:hover::after { opacity: 1; }

.featured-photo {
  width: 120px; height: 140px;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 10px;
}

.featured-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.featured-card:hover .featured-photo img {
  transform: scale(1.06);
}

.featured-body {
  display: grid; align-content: center;
  gap: 6px; min-width: 0; padding: 4px 0;
}

.featured-body strong {
  color: var(--text-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600; line-height: 1;
}

.featured-body em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.85rem; font-weight: 600;
}

.featured-body span:last-child {
  display: -webkit-box; overflow: hidden;
  color: var(--text-muted);
  font-size: 0.82rem; line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* ============================================================
   MENU
   ============================================================ */

.menu-shell {
  position: relative; z-index: 4;
  padding: clamp(16px, 4vw, 36px) var(--gutter) clamp(72px, 12vw, 140px);
  background: var(--bg-elevated);
}

.section-heading {
  display: grid; gap: 8px;
  max-width: var(--max-w);
  margin: 0 auto 22px;
}

.section-heading p { color: var(--accent); }

.section-heading h2 {
  color: var(--text-primary);
  font-size: clamp(2.15rem, 7vw, 4.2rem);
  font-weight: 600; line-height: 0.88;
  letter-spacing: 0;
}

.section-heading span {
  color: var(--text-muted);
  font-size: 0.85rem; font-weight: 400;
}


/* ---- Search & Categories ---- */

.menu-controls {
  position: sticky; top: 0; z-index: 20;
  display: grid; gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto 28px;
  padding: 16px 0;
  background: var(--bg-elevated);
  box-shadow: 0 12px 22px rgba(10, 12, 11, 0.92);
}

.search-control {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px; align-items: center;
  height: 50px; padding: 0 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.search-control:focus-within {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-control svg {
  width: 18px; height: 18px;
  color: var(--text-muted);
}

.search-control input {
  width: 100%; min-width: 0; height: 100%;
  padding: 0; color: var(--text-primary);
  background: transparent; border: 0; outline: 0;
  font-size: 0.9rem; font-weight: 400;
}

.search-control input::placeholder {
  color: var(--text-muted);
}

.category-rail {
  display: flex; gap: 6px;
  overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar { display: none; }

.category-pill {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}

.category-pill:hover {
  color: var(--text-secondary);
  background: var(--bg-glass);
}

.category-pill.is-active {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--accent-border);
}


/* ---- Status Note ---- */

.status-note {
  max-width: var(--max-w);
  margin: 0 auto 28px;
  padding: 12px 0;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  font-size: 0.78rem; line-height: 1.6;
}


/* ---- Products ---- */

.menu-list {
  max-width: var(--max-w);
  margin: 0 auto;
}

.category-section {
  padding: 40px 0 20px;
  scroll-margin-top: 160px;
}

.category-title {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-mid);
}

.category-title h3 {
  color: var(--text-primary);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 600; line-height: 1;
  letter-spacing: 0;
}

.category-title span {
  color: var(--text-faint);
  font-size: 0.75rem; font-weight: 500;
}

.product-list {
  display: grid; gap: 0;
}

.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px; width: 100%;
  padding: 20px 8px;
  color: inherit; text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: all var(--dur) var(--ease);
}

.product-row:hover {
  background: var(--bg-glass);
  border-radius: var(--radius);
  margin-inline: -8px;
  padding-inline: 16px;
  border-color: transparent;
}

.product-row:hover + .product-row {
  border-top-color: transparent;
}

.product-thumb {
  display: grid; place-items: center;
  width: 104px; height: 104px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.product-thumb img, .sheet-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.product-row:hover .product-thumb img {
  transform: scale(1.05);
}

.photo-fallback {
  color: var(--text-faint);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem; font-weight: 600;
}

.product-info {
  display: grid; align-content: center;
  gap: 6px; min-width: 0;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px; align-items: baseline;
}

.product-heading strong {
  min-width: 0; color: var(--text-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  font-weight: 600; line-height: 1.05;
}

.product-heading em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.85rem; font-weight: 600;
  white-space: nowrap;
}

.product-description {
  display: -webkit-box; overflow: hidden;
  color: var(--text-muted);
  font-size: 0.84rem; font-weight: 400;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-badges {
  display: flex; flex-wrap: wrap;
  gap: 6px; min-height: 24px; margin-top: 2px;
}

.product-badges span, .allergen-chip {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0;
}


/* ---- Empty State ---- */

.empty-state {
  max-width: 460px; margin: 48px auto 0;
  padding: 40px 28px; text-align: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
}

.empty-state h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--text-primary);
}

.empty-state p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}


/* ============================================================
   VISIT BAND
   ============================================================ */

.visit-band {
  position: relative;
  display: grid; gap: 32px;
  padding: clamp(64px, 12vw, 120px) var(--gutter);
  background: var(--bg);
}

.visit-band::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 160px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

.visit-band p {
  margin: 0; color: var(--accent);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.visit-band h2 {
  max-width: 640px;
  color: var(--text-primary);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 600; line-height: 1;
  letter-spacing: 0;
}

.visit-band address {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.88rem; line-height: 1.8;
}

.visit-band a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--dur) var(--ease);
}

.visit-band a:hover {
  color: var(--accent-light);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  padding: 18px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  color: var(--text-faint);
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}

/* ============================================================
   PRODUCT SHEET — Premium redesign
   ============================================================ */

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 300ms var(--ease);
}

.sheet-backdrop.is-visible { opacity: 1; }

.product-sheet {
  position: fixed; inset: 0;
  z-index: 90;
  display: grid;
  align-content: center;
  width: 100%;
  height: 100svh;
  max-height: none;
  overflow: hidden;
  padding: clamp(18px, 4vw, 36px) clamp(16px, 4vw, 44px) calc(clamp(18px, 4vw, 36px) + env(safe-area-inset-bottom));
  color: var(--text-primary);
  background: var(--bg-card);
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(106%);
  transition: transform 360ms var(--ease-out);
}

.product-sheet.is-open { transform: translateY(0); }

.product-sheet #sheet-content {
  width: min(100%, 980px);
  margin: 0 auto;
}

.sheet-close {
  position: absolute; top: 18px; right: 18px; z-index: 6;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  margin: 0;
  color: var(--text-muted);
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--dur) var(--ease);
}

.sheet-close:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.5);
  border-color: var(--border-strong);
}

.sheet-handle {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  margin: 0;
  background: var(--border-strong);
  border-radius: 999px;
}

/* ---- Sheet Main (square photo + summary) ---- */

.sheet-main {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: 0;
}

.sheet-hero {
  position: relative;
  margin: 0;
  width: min(44vw, 460px);
  height: auto;
  aspect-ratio: 1;
  align-self: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #080a09;
}

.sheet-hero .sheet-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-elevated);
}

.sheet-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,11,0.16) 0%, transparent 46%, rgba(10,12,11,0.22) 100%);
  pointer-events: none;
}

.sheet-hero-badge {
  position: absolute;
  top: 8px; left: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  color: var(--accent-light);
  background: rgba(10,12,11,0.55);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sheet-photo {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%; height: 100%; overflow: hidden;
}

.sheet-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform var(--dur-slow) var(--ease);
}

/* ---- Sheet Summary / Body ---- */

.sheet-summary {
  display: grid;
  align-content: center;
  min-width: 0;
}

.sheet-body {
  padding: 16px 0 0;
}

/* ---- Sheet Header (title + price tag) ---- */

.sheet-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sheet-header h2 {
  min-width: 0;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 6vw, 2.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sheet-price-tag {
  flex-shrink: 0;
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 64px;
  padding: 8px 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
}

.sheet-price-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--accent);
}

.sheet-price-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-light);
  white-space: nowrap;
}

/* ---- Sheet Description ---- */

.sheet-description {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* ---- Sheet Sections (with dot indicator) ---- */

.sheet-section {
  margin-top: 10px;
}

.sheet-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.sheet-section-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.sheet-section-header h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.sheet-section-header small {
  margin-left: auto;
  max-width: 58%;
  color: var(--text-faint);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: right;
}

/* ---- Variations ---- */

.variation-list {
  display: grid; gap: 6px;
}

.variation-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  min-height: 38px; padding: 0 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}

.variation-row:hover {
  border-color: var(--border-strong);
}

.variation-primary {
  border-color: var(--accent-border);
  background: var(--accent-glow);
}

.variation-row span {
  color: var(--text-secondary);
  font-size: 0.88rem; font-weight: 500;
}

.variation-row strong {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700; text-align: right;
}

.variation-primary strong {
  color: var(--accent-light);
}

/* ---- Nutrition Grid ---- */

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

.nutrition-cell {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1px;
  min-height: 30px; padding: 4px 5px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.nutrition-label {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.nutrition-icon {
  font-size: 0.64rem;
  line-height: 1;
}

.nutrition-cell strong {
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  white-space: nowrap;
}

/* ---- Allergens ---- */

.allergen-band {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(201, 133, 61, 0.13), rgba(201, 133, 61, 0.055));
  border: 1px solid rgba(201, 133, 61, 0.26);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.allergen-band-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.allergen-band-top strong {
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
}

.allergen-band-top span {
  flex-shrink: 0;
  color: var(--text-faint);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.allergen-inline-list {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.allergen-may {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.allergen-band-empty {
  background: var(--bg-glass);
  border-color: var(--border);
}

.allergen-band-empty .allergen-band-top strong {
  color: var(--text-muted);
  font-weight: 700;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible:nth-child(1) { transition-delay: 0ms; }
.reveal.is-visible:nth-child(2) { transition-delay: 50ms; }
.reveal.is-visible:nth-child(3) { transition-delay: 100ms; }
.reveal.is-visible:nth-child(4) { transition-delay: 150ms; }
.reveal.is-visible:nth-child(5) { transition-delay: 200ms; }
.reveal.is-visible:nth-child(6) { transition-delay: 250ms; }
.reveal.is-visible:nth-child(7) { transition-delay: 300ms; }
.reveal.is-visible:nth-child(8) { transition-delay: 350ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 760px) {
  .signature-layout {
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
    align-items: center;
  }

  .menu-controls {
    grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
    align-items: center;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.3fr);
    align-items: end;
  }

  .visit-band {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.3fr);
    align-items: end;
  }

  .product-sheet {
    transform: translateY(106%);
  }

  .product-sheet.is-open { transform: translateY(0); }
}

@media (min-width: 1060px) {
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .featured-card {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .featured-photo {
    width: 100%; height: 200px; min-height: 200px;
    border-radius: 10px;
  }

  .featured-body {
    padding: 12px 6px 8px;
  }

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

}

@media (max-width: 560px) {
  :root {
    --topbar-logo-size: 68px;
    --topbar-h: calc(var(--topbar-logo-size) + 24px);
  }

  .topbar {
    padding: 12px 16px 6px;
  }

  .product-sheet {
    align-content: center;
    padding: 54px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .product-sheet #sheet-content {
    width: 100%;
  }

  .sheet-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sheet-hero {
    width: 100%;
    height: min(48svh, 330px);
    aspect-ratio: auto;
  }

  .sheet-summary {
    align-content: start;
  }

  .sheet-description {
    -webkit-line-clamp: 3;
  }

  .signature-stage, .menu-shell { padding-inline: 16px; }

  .menu-favorites { padding-inline: 0; }

  .featured-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px; padding: 10px;
  }

  .featured-photo { width: 96px; height: 112px; }

  .featured-body strong { font-size: 1.2rem; }

  .product-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px; padding: 16px 4px;
  }

  .product-row:hover {
    margin-inline: -4px;
    padding-inline: 8px;
  }

  .product-thumb { width: 88px; height: 88px; }

  .product-heading {
    grid-template-columns: 1fr; gap: 3px;
  }

  .product-heading em { white-space: normal; font-size: 0.8rem; }

  .sheet-header { gap: 10px; }
  .sheet-price-tag { align-self: flex-start; flex-direction: column; align-items: flex-end; }

  .sheet-section-header small {
    flex-basis: auto;
    max-width: 48%;
    margin-left: auto;
    text-align: right;
  }

  .nutrition-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .section-heading h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }

  .category-title h3 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
}

@media (max-width: 560px) and (max-height: 680px) {
  .product-sheet {
    padding: 42px 12px calc(8px + env(safe-area-inset-bottom));
  }

  .sheet-main {
    gap: 8px;
  }

  .sheet-hero {
    height: min(33svh, 210px);
    border-radius: 14px;
  }

  .sheet-body {
    padding-top: 8px;
  }

  .sheet-header {
    gap: 8px;
  }

  .sheet-header h2 {
    font-size: clamp(1.3rem, 7vw, 1.65rem);
    line-height: 0.95;
  }

  .sheet-price-tag {
    min-width: 56px;
    padding: 6px 8px;
  }

  .sheet-price-label {
    font-size: 0.52rem;
  }

  .sheet-price-value {
    font-size: 0.88rem;
  }

  .sheet-description {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .sheet-section {
    margin-top: 6px;
  }

  .sheet-section-header {
    gap: 7px;
    margin-bottom: 3px;
  }

  .sheet-section-header h3 {
    font-size: 0.64rem;
  }

  .sheet-section-header small {
    font-size: 0.54rem;
  }

  .variation-list {
    gap: 4px;
  }

  .variation-row {
    min-height: 29px;
    padding: 0 10px;
  }

  .variation-row span {
    font-size: 0.78rem;
  }

  .variation-row strong {
    font-size: 0.82rem;
  }

  .nutrition-grid {
    gap: 2px;
  }

  .nutrition-cell {
    min-height: 26px;
    padding: 3px 3px;
    border-radius: 10px;
  }

  .nutrition-label {
    gap: 2px;
    font-size: 0.52rem;
  }

  .nutrition-icon {
    font-size: 0.56rem;
  }

  .nutrition-cell strong {
    font-size: 0.64rem;
  }

  .allergen-band {
    gap: 3px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .allergen-band-top strong {
    font-size: 0.64rem;
  }

  .allergen-band-top span {
    font-size: 0.5rem;
  }

  .allergen-inline-list {
    font-size: 0.72rem;
    line-height: 1.22;
  }

  .allergen-may {
    font-size: 0.6rem;
  }
}

@media (max-width: 370px) {
  .brand small { display: none; }

  .featured-card, .product-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .featured-photo, .product-thumb {
    width: 78px; height: 88px; min-height: 88px;
  }
}

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