/* ==========================================================================
   Blite Food — design system
   Editorial Nigerian food for the UK. Fraunces (display) + Inter (UI).
   Orange = default / decorative. Blite red = hover, active, commit.
   ========================================================================== */

:root {
  /* Colour, type and radius come from tokens.css (generated from design/tokens.json). */

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(25, 25, 25, 0.04), 0 2px 8px rgba(25, 25, 25, 0.04);
  --shadow-md: 0 6px 24px rgba(25, 25, 25, 0.08);
  --shadow-lg: 0 18px 48px rgba(25, 25, 25, 0.14);
  --shadow-red: 0 10px 24px rgba(245, 34, 58, 0.28);

  /* Motion system: fast / standard / expressive / ambient */
  --t-fast: 180ms;
  --t-std: 380ms;
  --t-expr: 900ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --max: 1280px;
  --gutter: 40px;
  --header-h: 80px;
  --header-h-compact: 68px;
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; --header-h-compact: 60px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--dark); margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(245, 34, 58, 0.45); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--blush { background: var(--blush); }
.section--cream { background: var(--cream); }
@media (max-width: 640px) { .section { padding: 56px 0; } .section--tight { padding: 40px 0; } }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid { gap: 12px; } .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-optical-sizing: auto; letter-spacing: -0.02em; }
.h1 { font-size: clamp(46px, 7.2vw, 88px); line-height: 0.96; font-weight: 600; }
.h1 em, .h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; font-weight: 600; }
.h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.15; font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(15px, 1.4vw, 17px); color: var(--body); max-width: 56ch; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.price { font-weight: 700; color: var(--dark); font-variant-numeric: tabular-nums; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head .h2 { margin: 10px 0 8px; }
.sec-head p { color: var(--body); }
.sec-head__actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
@media (max-width: 640px) { .sec-head { margin-bottom: 24px; align-items: flex-start; flex-direction: column; } }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--red);
  transition: gap var(--t-fast) var(--ease-out);
}
.text-link:hover { gap: 10px; }

/* ---------- Icons ---------- */
.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* ---------- Buttons: normal → hover → pressed → disabled ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: var(--r-btn);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-size: 15px; font-weight: 600; white-space: nowrap; line-height: 1;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.btn .i { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover { --bg: var(--red-dark); --bd: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { --bg: #e9e3df; --bd: #e9e3df; --fg: #a39c97; transform: none; box-shadow: none; cursor: not-allowed; }
.btn--secondary { --bg: #fff; --fg: var(--red); --bd: var(--red); }
.btn--secondary:hover { --bg: var(--red); --fg: #fff; --bd: var(--red); }
.btn--dark { --bg: var(--dark); --bd: var(--dark); }
.btn--dark:hover { --bg: #000; --bd: #000; box-shadow: var(--shadow-md); }
.btn--ghost { --bg: transparent; --fg: var(--dark); --bd: var(--border); }
.btn--ghost:hover { --bg: #fff; --fg: var(--red); --bd: var(--red); box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--dark); --bd: #fff; }
.btn--white:hover { --bg: var(--dark); --fg: #fff; --bd: var(--dark); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; animation: spin 0.7s linear infinite;
}

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--dark);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--blush); color: var(--red); }
.icon-btn:active { transform: scale(0.94); }
.round-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--dark); border: 1px solid var(--border);
  transition: all var(--t-fast) var(--ease-out);
}
.round-btn:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.round-btn:disabled { opacity: 0.4; pointer-events: none; }

.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform var(--t-fast) var(--ease-out);
}
.badge.has-items { transform: scale(1); }
.badge.bump { animation: bump 420ms var(--ease-out); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--blush); color: var(--red); }
.pill--orange { background: #fff1db; color: #b56a00; }
.pill--green { background: #e3f6ea; color: var(--green); }
.pill--dark { background: var(--dark); color: #fff; }
.pill--muted { background: #f2eeeb; color: var(--body); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--dark); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-input); border: 1.5px solid var(--border); background: #fff;
  color: var(--dark); font-size: 15px; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23191919' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: #d9d0ca; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(245, 34, 58, 0.12); }
.input[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
.field .error { font-size: 12px; color: var(--red); display: none; }
.field.has-error .error { display: block; }
.field.has-error .input, .field.has-error .select { border-color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }

.check, .radio-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast);
}
.check:hover, .radio-card:hover { border-color: #d9d0ca; }
.check input, .radio-card input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.check:has(input:checked), .radio-card:has(input:checked) { border-color: var(--red); background: #fff8f8; }
.radio-card .rc-main { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.radio-card .rc-title { font-weight: 600; color: var(--dark); }
.radio-card .rc-sub { font-size: 13px; color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }

.segmented { display: inline-flex; padding: 4px; background: #f3eeea; border-radius: 12px; gap: 4px; }
.segmented button { height: 40px; padding: 0 18px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--body); transition: all var(--t-fast) var(--ease-out); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--dark); box-shadow: var(--shadow-sm); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; height: 40px; }
.qty button { width: 36px; height: 100%; display: grid; place-items: center; color: var(--dark); border-radius: 8px; transition: color var(--t-fast), background var(--t-fast); }
.qty button:hover { color: var(--red); background: var(--blush); }
.qty button:disabled { opacity: 0.3; pointer-events: none; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; color: var(--dark); font-variant-numeric: tabular-nums; }
.qty--lg { height: 50px; }
.qty--lg button { width: 46px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  transition: height var(--t-std) var(--ease-out), background var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out), border-color var(--t-std);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  height: var(--header-h-compact);
  background: rgba(255, 253, 252, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.header-spacer { height: var(--header-h); }
/* Over a dark hero, the transparent header flips to light until it becomes solid on scroll */
.site-header.on-dark:not(.is-scrolled) .logo, .site-header.on-dark:not(.is-scrolled) .main-nav a:not([aria-current]),
.site-header.on-dark:not(.is-scrolled) .icon-btn { color: #fff; }
.site-header.on-dark:not(.is-scrolled) .logo__tag { color: rgba(255, 255, 255, 0.6); }
.site-header.on-dark:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-header.on-dark:not(.is-scrolled) .main-nav a[aria-current="page"] { color: #ff8a98; }
.site-header.on-dark:not(.is-scrolled) .main-nav a::after { background: #ff8a98; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--dark); flex-shrink: 0; }
.logo__word { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 30px; letter-spacing: -0.03em; }
.logo__word b { color: var(--red); font-weight: 700; }
.logo__tag { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-top: 3px; }
.logo--light { color: #fff; }
.logo__img { display: block; height: 52px; width: auto; transition: height var(--t-std) var(--ease-out); }
.site-header.is-scrolled .logo__img { height: 44px; }
.logo--light .logo__img { height: 72px; margin-bottom: 10px; }
@media (max-width: 640px) { .logo__img { height: 42px; } }
.logo--light .logo__tag { color: rgba(255, 255, 255, 0.55); }

.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--dark); border-radius: 10px;
  transition: color var(--t-fast) var(--ease-out);
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-std) var(--ease-out);
}
.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.header-actions .btn { margin-left: 8px; }
.menu-toggle { display: none; }
@media (max-width: 1024px) {
  .main-nav, .header-actions .btn--order { display: none; }
  .main-nav + .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-grid; margin-right: -8px; }
}

/* Mobile menu (secondary content) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 88px var(--gutter) 120px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--t-std) var(--ease-out), transform var(--t-std) var(--ease-out), visibility var(--t-std);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .close { position: absolute; top: 12px; right: var(--gutter); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-display); font-size: 30px; color: var(--dark); border-bottom: 1px solid var(--border); }
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.mobile-menu .mm-ctas { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Search ---------- */
.search-panel {
  position: fixed; inset: 0 0 auto 0; z-index: 80; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: translateY(-100%); visibility: hidden; transition: transform var(--t-std) var(--ease-out), visibility var(--t-std); padding: 20px 0 28px;
}
.search-panel.is-open { transform: none; visibility: visible; }
.search-bar { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--dark); padding: 6px 0; }
.search-bar input { flex: 1; border: 0; background: transparent; font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); color: var(--dark); outline: none; min-width: 0; }
.search-bar input::placeholder { color: #bdb4ae; }
.search-results { margin-top: 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; max-height: 60vh; overflow: auto; }
.search-results h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.search-hit { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background var(--t-fast); }
.search-hit:hover, .search-hit.is-active { background: var(--blush); }
.search-hit .thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--blush); flex-shrink: 0; }
.search-hit strong { color: var(--dark); font-weight: 600; display: block; line-height: 1.3; }
.search-hit mark { background: none; color: var(--red); }
@media (max-width: 640px) {
  .search-panel { bottom: 0; transform: translateY(-100%); }
  .search-results { grid-template-columns: 1fr; max-height: none; }
}

/* ---------- Overlay / drawer / sheet / modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.25); opacity: 0; visibility: hidden;
  transition: opacity var(--t-std) var(--ease-out), visibility var(--t-std);
}
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 75; width: min(440px, 100%); background: var(--bg);
  display: flex; flex-direction: column; visibility: hidden;
  transform: translateX(100%); transition: transform 350ms var(--ease-out), visibility 350ms;
}
.drawer.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.drawer__head h3 { font-family: var(--font-display); font-size: 26px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--border); background: #fff; }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: var(--bg); border-radius: 24px 24px 0 0; padding: 12px 20px 28px;
  max-height: 85vh; overflow-y: auto; transform: translateY(100%); visibility: hidden; transition: transform var(--t-std) var(--ease-out), visibility var(--t-std);
}
.sheet.is-open { transform: none; visibility: visible; }
.sheet__grip { width: 44px; height: 5px; border-radius: 3px; background: #ddd4ce; margin: 0 auto 16px; }

.modal {
  position: fixed; z-index: 95; left: 50%; top: 50%; width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--bg); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(0.98);
  transition: opacity var(--t-std) var(--ease-out), transform var(--t-std) var(--ease-out), visibility var(--t-std);
}
.modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.overlay.overlay--modal { z-index: 94; background: rgba(0, 0, 0, 0.45); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 12, 12, 0.94); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox.is-open { display: flex; animation: fadeIn var(--t-std) var(--ease-out); }
.lightbox__stage { width: 100%; max-width: 1100px; aspect-ratio: 3/2; max-height: 100%; border-radius: 16px; overflow: hidden; }
.lightbox__stage > * { width: 100%; height: 100%; object-fit: contain; }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.lightbox .icon-btn { color: #fff; position: absolute; background: rgba(255, 255, 255, 0.08); }
.lightbox .icon-btn:hover { background: var(--red); color: #fff; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 56px 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 110; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; background: var(--dark); color: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: 14px; pointer-events: auto; animation: toastIn var(--t-std) var(--ease-out);
}
.toast.is-leaving { animation: toastOut 260ms var(--ease-in-out) forwards; }
.toast a, .toast button { margin-left: auto; color: #ffb3bc; font-weight: 600; white-space: nowrap; }
.toast .i { color: #6ee7a0; }
@media (max-width: 768px) { .toasts { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ---------- Mobile bottom nav + floating cart ---------- */
.bottom-nav { display: none; }
.cart-bar, .cart-mini { display: none; }
.hero__note .dot.dot--off { background: var(--muted); box-shadow: 0 0 0 4px rgba(133, 133, 133, 0.15); }
@media (max-width: 768px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    background: rgba(255, 253, 252, 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--muted); }
  .bottom-nav a[aria-current="page"] { color: var(--red); }
  .bottom-nav .badge { top: 0; right: calc(50% - 22px); }
  .cart-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 64;
    display: flex; align-items: stretch; height: 56px; border-radius: 16px;
    background: var(--red); color: #fff; font-weight: 600; box-shadow: var(--shadow-red);
    transform: translateY(160%); transition: transform var(--t-std) var(--ease-out); visibility: hidden;
  }
  .cart-bar.is-visible { transform: none; visibility: visible; }
  .cart-bar .cb-link { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; color: inherit; min-width: 0; }
  .cart-bar .cb-total { margin-left: auto; display: flex; align-items: center; gap: 6px; }
  .cart-bar .cb-hide { width: 48px; flex-shrink: 0; display: grid; place-items: center; color: #fff; border-left: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0 16px 16px 0; }
  .cart-bar .cb-hide:hover, .cart-bar .cb-hide:focus-visible { background: rgba(0, 0, 0, 0.1); }
  .cart-mini {
    position: fixed; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 64;
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: var(--red); color: #fff; box-shadow: var(--shadow-red);
    transform: scale(0); transition: transform var(--t-std) var(--ease-out);
  }
  .cart-mini.is-visible { transform: scale(1); }
  .cart-mini .badge { position: absolute; top: -4px; right: -4px; background: var(--dark); color: #fff; }
}

/* ---------- Food images (photo or generated fallback) ---------- */
.dish { position: relative; display: block; width: 100%; height: 100%; }
.dish > img, .dish > svg { width: 100%; height: 100%; object-fit: cover; }
.dish--cutout > img, .dish--cutout > svg { object-fit: contain; filter: drop-shadow(0 18px 24px rgba(25, 25, 25, 0.22)); }
svg.gen { display: block; }
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden; display: block;
  background: radial-gradient(120% 90% at 20% 10%, #f7c78b 0%, #d9793a 38%, #7b2b18 78%, #3a1410 100%);
}
.ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph__label {
  position: absolute; left: 12px; bottom: 12px; right: 12px; display: inline-flex; gap: 6px; align-items: center; width: max-content; max-width: calc(100% - 24px);
  padding: 6px 10px; border-radius: 8px; background: rgba(25, 25, 25, 0.55); color: #fff; font-size: 11px; font-weight: 500; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(620px, 88vh, 720px); padding-top: var(--header-h); overflow: hidden; background: linear-gradient(180deg, #fff6f4 0%, var(--blush) 100%); }
.hero__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 38%; background: var(--red); overflow: hidden;
  border-bottom-left-radius: 48px;
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0);
  background-size: 22px 22px;
}
.hero__panel::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; bottom: -200px; border: 60px solid rgba(255, 255, 255, 0.07);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: clamp(540px, calc(88vh - var(--header-h)), 640px); }
.hero__copy { position: relative; z-index: 2; padding: 32px 0 56px; }
.hero__copy .pill { margin-bottom: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.hero__copy .h1 { margin-bottom: 22px; }
.hero__copy .h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__copy .h1 .line > span { display: inline-block; animation: lineUp var(--t-expr) var(--ease-out) both; }
.hero__copy .h1 .line:nth-child(2) > span { animation-delay: 120ms; }
.hero__copy .lead { margin-bottom: 30px; animation: fadeUp var(--t-expr) var(--ease-out) 260ms both; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp var(--t-expr) var(--ease-out) 360ms both; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; animation: fadeUp var(--t-expr) var(--ease-out) 440ms both; }
.hero__note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.15); }

.hero__visual { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; }
.hero-food {
  position: relative; width: min(48vw, 580px); aspect-ratio: 1; cursor: default;
  opacity: 0; transform: scale(0.85) rotate(-8deg);
  transition: transform 600ms var(--ease-out);
}
.hero-food.is-in { animation: foodIn var(--t-expr) var(--ease-out) forwards; }
.hero-food.is-settled { opacity: 1; animation: none; transform: none; }
.hero-food.is-settled.is-near { transform: translateY(-6px) scale(1.04); }
.hero-food__shadow { position: absolute; inset: 8% 6% 2% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 0, 8, 0.45), transparent); filter: blur(18px); transform: translate(4%, 7%); }
.hero-food__spin { position: relative; width: 100%; height: 100%; border-radius: 50%; }
.hero-food__spin .dish > img, .hero-food__spin .dish > svg { object-fit: contain; }
.hero-placeholder { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, #fff 0 60%, #f6ece8 61% 100%); animation: pulse 1.6s ease-in-out infinite; }
.hero-food.is-loaded .hero-placeholder { display: none; }
.hero__script { position: absolute; top: 12%; right: 6%; z-index: 2; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.1; transform: rotate(-6deg); opacity: 0.92; }
.garnish { position: absolute; z-index: 3; aspect-ratio: 1; pointer-events: none; animation: float 4s ease-in-out infinite; }
.garnish svg, .garnish img { width: 100%; height: 100%; object-fit: contain; }
.garnish img { filter: drop-shadow(0 6px 8px rgba(25, 25, 25, 0.25)); }
/* Garnishes sit in the four corners of the plate's bounding square — the corners lie outside the
   round plate (≈0.29 × plate width along each diagonal), so they never overlap the food. */
.hero__visual { --plate: min(48vw, 580px); --edge: calc(50% - var(--plate) / 2); }
.garnish--chilli { width: 58px; top: calc(var(--edge) - 6px); left: calc(var(--edge) - 6px); animation-duration: 4.4s; }
.garnish--pepper { width: 40px; top: calc(var(--edge) + 2px); right: calc(var(--edge) + 2px); animation-duration: 3.6s; animation-delay: -0.6s; }
.garnish--leaf { width: 56px; bottom: calc(var(--edge) - 4px); left: calc(var(--edge) - 4px); animation-duration: 5s; animation-delay: -1.2s; }
.garnish--grain { width: 46px; bottom: calc(var(--edge) + 2px); right: calc(var(--edge) + 2px); animation-duration: 3.2s; animation-delay: -2s; }

.hero-trust { position: relative; z-index: 2; margin-top: 36px; }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.trust__item { display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.trust__item + .trust__item { border-left: 1px solid var(--border); }
.trust__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blush); color: var(--red); flex-shrink: 0; }
.trust__item strong { display: block; color: var(--dark); font-size: 15px; line-height: 1.3; }
.trust__item span:not(.trust__icon) { font-size: 13px; color: var(--muted); }

@media (max-width: 1024px) {
  .hero__panel { width: 42%; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero__panel { top: auto; left: 0; width: 100%; height: 300px; border-radius: 40px 40px 0 0; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__copy { padding: 24px 0 8px; text-align: left; }
  .hero__visual { padding: 12px 0 48px; }
  .hero-food { width: min(86vw, 420px); }
  .hero__visual { --plate: min(86vw, 420px); --edge: calc(50% - var(--plate) / 2); }
  .garnish--chilli, .garnish--leaf { width: 44px; }
  .garnish--pepper { width: 32px; } .garnish--grain { width: 34px; }
  .hero__script { top: auto; bottom: 28px; right: 16px; font-size: 16px; }
  .hero-trust { margin-top: 0; padding-top: 28px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 14px; gap: 10px; }
  .trust__icon { width: 36px; height: 36px; }
  .trust__item strong { font-size: 13px; }
  .trust__item span:not(.trust__icon) { font-size: 12px; }
}

/* ---------- Carousel ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 28px; margin: -8px -4px -28px;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1024px) { .rail { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 72%; gap: 12px; } }

/* ---------- Product card: normal → hover → added ---------- */
.p-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); border: 1px solid var(--border);
  overflow: hidden; transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out), border-color var(--t-std);
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.p-card__media .dish { transition: transform 600ms var(--ease-out); }
.p-card:hover .p-card__media .dish { transform: scale(1.04); }
.p-card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.p-card__tags .pill { background: rgba(255, 255, 255, 0.94); }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.94); color: var(--dark); transition: color var(--t-fast), transform var(--t-fast);
}
.fav-btn:hover { color: var(--red); }
.fav-btn[aria-pressed="true"] { color: var(--red); }
.fav-btn[aria-pressed="true"] .i { fill: currentColor; }
.fav-btn.pop { animation: heartPop 460ms var(--ease-out); }
.p-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.p-card__title { font-size: 18px; font-weight: 600; color: var(--dark); line-height: 1.3; margin-bottom: 4px; }
.p-card__title a:hover { color: var(--red); }
.p-card__desc { font-size: 14px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.p-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-card__foot .price { font-size: 18px; }
.p-card__foot .price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.add-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; height: 38px; width: 38px; padding: 0 9px;
  border-radius: 10px; background: var(--red); color: #fff; overflow: hidden; font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: width var(--t-std) var(--ease-out), background var(--t-fast) var(--ease-out), transform var(--t-fast);
}
.add-btn .i { width: 20px; height: 20px; }
.add-btn span { opacity: 0; transform: translateX(-4px); transition: opacity var(--t-fast) var(--ease-out) 60ms, transform var(--t-fast) var(--ease-out) 60ms; }
.p-card:hover .add-btn, .add-btn:focus-visible { width: 92px; }
.p-card:hover .add-btn span, .add-btn:focus-visible span { opacity: 1; transform: none; }
.add-btn:hover { background: var(--red-dark); }
.add-btn:active { transform: scale(0.96); }
.add-btn.is-added { background: var(--green); width: 92px; }
.add-btn.is-added span { opacity: 1; transform: none; }
@media (hover: none) { .add-btn { width: auto; } .add-btn span { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .p-card__body { padding: 12px 12px 14px; }
  .p-card__title { font-size: 15px; }
  .p-card__desc { font-size: 12.5px; margin-bottom: 10px; }
  .p-card__foot .price { font-size: 15px; }
  .add-btn { height: 34px; padding: 0 8px; font-size: 13px; }
  .add-btn span { display: none; }
  .fav-btn { width: 32px; height: 32px; top: 8px; right: 8px; }
}

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #f3ece8 0%, #faf5f2 40%, #f3ece8 80%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: 8px; }
.sk-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.sk-card .sk-img { aspect-ratio: 4/3; border-radius: 0; }
.sk-card .sk-lines { padding: 16px 18px 18px; display: grid; gap: 10px; }
.sk-line { height: 12px; }

/* ---------- Category cards (orange → red, choreographed) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 72px; }
.cat-card {
  --cat-bg: var(--orange);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 112px 24px 24px;
  border-radius: var(--r-cat); color: #fff; isolation: isolate;
  /* 120ms: card rises */
  transition: transform var(--t-std) var(--ease-out) 120ms, box-shadow var(--t-std) var(--ease-out) 120ms;
}
.cat-card__bg {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; background: var(--cat-bg);
  /* 0ms: background begins changing */
  transition: background var(--t-std) var(--ease-out) 0ms;
}
.cat-card__bg::before {
  /* the curved white shape that subtly expands */
  content: ""; position: absolute; width: 230px; height: 230px; right: -90px; top: -110px; border-radius: 50%; background: rgba(255, 255, 255, 0.16);
  transition: transform var(--t-std) var(--ease-out) 60ms;
}
.cat-card__bg::after {
  content: ""; position: absolute; width: 160px; height: 160px; left: -70px; bottom: -80px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--t-std) var(--ease-out) 60ms;
}
.cat-card__food {
  position: absolute; left: 50%; top: -72px; width: 188px; aspect-ratio: 1; margin-left: -94px;
  /* 80ms: food starts moving */
  transition: transform var(--t-std) var(--ease-out) 80ms;
}
.cat-card__title { font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 28px); white-space: nowrap; font-weight: 600; color: #fff; line-height: 1.1; margin-bottom: 6px; }
.cat-card__sub { font-size: 14px; color: rgba(255, 255, 255, 0.88); margin-bottom: 20px; }
.cat-card__cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 42px; padding: 0 16px; border-radius: 10px;
  background: #fff; color: var(--dark); font-size: 14px; font-weight: 600;
  transform: translateY(3px);
  /* 180ms: CTA changes */
  transition: transform var(--t-std) var(--ease-out) 180ms, color var(--t-fast) var(--ease-out) 180ms;
}
.cat-card__count { position: absolute; bottom: 30px; right: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; opacity: 0.9; }
.cat-card:hover, .cat-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(245, 34, 58, 0.28); }
.cat-card:hover .cat-card__bg, .cat-card:focus-visible .cat-card__bg { --cat-bg: var(--red); }
.cat-card:hover .cat-card__bg::before { transform: scale(1.35); }
.cat-card:hover .cat-card__bg::after { transform: scale(1.2); }
.cat-card:hover .cat-card__food, .cat-card:focus-visible .cat-card__food { transform: translateY(-8px) scale(1.06); }
.cat-card:hover .cat-card__cta, .cat-card:focus-visible .cat-card__cta { transform: none; color: var(--red); }
.cat-card.is-active .cat-card__bg { --cat-bg: var(--red); }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 96px; } }
@media (max-width: 640px) {
  .cat-grid { gap: 12px; row-gap: 72px; padding-top: 56px; }
  .cat-card { min-height: 220px; padding: 76px 14px 14px; }
  .cat-card__food { width: 128px; margin-left: -64px; top: -52px; }
  .cat-card__title { font-size: 20px; }
  .cat-card__sub { font-size: 12px; margin-bottom: 12px; }
  .cat-card__cta { height: 36px; padding: 0 12px; font-size: 13px; }
}

/* ---------- Service cards ---------- */
.svc-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out); display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card__media { aspect-ratio: 16/10; overflow: hidden; }
.svc-card__media .dish { transition: transform 600ms var(--ease-out); }
.svc-card:hover .svc-card__media .dish { transform: scale(1.05); }
.svc-card__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow-md); margin: -26px 0 0 20px; position: relative; transition: background var(--t-std), color var(--t-std); }
.svc-card:hover .svc-card__icon { background: var(--red); color: #fff; }
.svc-card__body { padding: 16px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-size: 18px; margin-bottom: 6px; }
.svc-card__body p { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 14px; }
.svc-card__body .text-link { margin-top: auto; }

/* ---------- Equipment card ---------- */
.eq-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out); }
.eq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.eq-card__media { aspect-ratio: 4/3; background: linear-gradient(160deg, #f8f4f1, #efe8e3); overflow: hidden; }
.eq-card__media .dish { transition: transform 600ms var(--ease-out); }
.eq-card:hover .eq-card__media .dish { transform: scale(1.05); }
.eq-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eq-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eq-card h3 { font-size: 17px; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail--low { color: #c27400; }
.avail--none { color: var(--muted); }

/* ---------- Catering band ---------- */
.catering-band { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.catering-band__bg { position: absolute; inset: 0; opacity: 0.45; }
.catering-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 25, 25, 0.96) 0%, rgba(25, 25, 25, 0.78) 45%, rgba(25, 25, 25, 0.5) 100%); }
.catering-band .container { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.catering-band .h2 { color: #fff; margin: 12px 0 14px; }
.catering-band .lead { color: rgba(255, 255, 255, 0.78); }
.catering-band .eyebrow { color: #ff8a98; }
.dark-form { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; padding: 24px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dark-form label { color: #fff; }
.dark-form .input, .dark-form .select { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.dark-form .input::placeholder { color: rgba(255, 255, 255, 0.45); }
.dark-form .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.dark-form .select option { color: var(--dark); }
.dark-form .input:focus, .dark-form .select:focus { border-color: var(--red); background: rgba(255, 255, 255, 0.12); }
.dark-form ::-webkit-calendar-picker-indicator { filter: invert(1); }
@media (max-width: 900px) { .catering-band .container { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr 1.4fr; gap: 16px; height: 360px; }
.gallery--n3 { grid-template-columns: 1.3fr 1fr 1.3fr; height: 420px; }
.gallery--n2 { grid-template-columns: 1fr 1fr; height: 420px; }
.gallery--n1 { grid-template-columns: 1fr; height: 460px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--r-img); cursor: zoom-in; background: #eee; display: block; width: 100%; height: 100%; text-align: left; }
.g-item .dish, .g-item .ph { transition: transform 700ms var(--ease-out); }
.g-item:hover .dish, .g-item:hover .ph { transform: scale(1.06); }
.g-item__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 10, 8, 0.78) 100%); opacity: 0; transition: opacity var(--t-std) var(--ease-out);
}
.g-item:hover .g-item__overlay, .g-item:focus-visible .g-item__overlay { opacity: 1; }
.g-item__overlay strong { font-family: var(--font-display); font-size: 20px; line-height: 1.15; transform: translateY(8px); transition: transform var(--t-std) var(--ease-out); }
.g-item__overlay span { font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; color: #ffb3bc; transform: translateY(8px); transition: transform var(--t-std) var(--ease-out) 60ms; }
.g-item:hover .g-item__overlay strong, .g-item:hover .g-item__overlay span { transform: none; }
.g-item .ph__label { display: none; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(6, 1fr); height: auto; } .gallery .g-item { aspect-ratio: 4/3; grid-column: span 2; } .gallery .g-item:nth-child(1), .gallery .g-item:nth-child(2) { grid-column: span 3; } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery .g-item, .gallery .g-item:nth-child(2) { grid-column: span 1; } .gallery .g-item:nth-child(1) { grid-column: span 2; } .g-item__overlay { opacity: 1; } }

/* ---------- Testimonials ---------- */
.t-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.t-card blockquote { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.4; color: var(--dark); }
.t-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--red); display: grid; place-items: center; font-weight: 700; }
.t-card footer strong { display: block; color: var(--dark); font-size: 14px; line-height: 1.2; }
.t-card footer span { font-size: 13px; color: var(--muted); }
@media (max-width: 768px) {
  .t-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .t-rail::-webkit-scrollbar { display: none; }
  .t-rail > * { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .t-card { padding: 20px; }
  .t-card blockquote { font-size: 17px; }
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--red); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255, 255, 255, 0.09); }
.newsletter .h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); }
.newsletter p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
.newsletter form { position: relative; z-index: 1; display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 14px; }
.newsletter .input { border: 0; height: 48px; }
.newsletter .input:focus { box-shadow: none; }
.newsletter .fine { grid-column: 1 / -1; font-size: 12px; color: rgba(255, 255, 255, 0.72); margin-top: -16px; }
.newsletter .fine a { text-decoration: underline; }
@media (max-width: 768px) { .newsletter { grid-template-columns: 1fr; padding: 28px 20px; border-radius: 22px; } .newsletter form { flex-direction: column; } .newsletter .fine { margin-top: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.7); padding: 72px 0 28px; font-size: 14px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color var(--t-fast); }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 30ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; transition: all var(--t-fast); }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .i { margin-top: 2px; color: #ff8a98; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .motto { font-family: var(--font-display); font-style: italic; color: rgba(255, 255, 255, 0.85); }
.footer-bottom button { color: inherit; text-decoration: underline; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :last-child { grid-column: 1 / -1; } .site-footer { padding-top: 48px; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 105; left: 24px; bottom: 24px; width: min(440px, calc(100% - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 22px; transform: translateY(24px); opacity: 0; visibility: hidden;
  transition: all var(--t-std) var(--ease-out);
}
.cookie.is-open { transform: none; opacity: 1; visibility: visible; }
.cookie h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.cookie p { font-size: 14px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cookie__actions .btn { height: 44px; padding: 0 12px; font-size: 14px; }
.cookie__actions .btn:last-child { grid-column: 1 / -1; }
.cookie a { color: var(--red); text-decoration: underline; }
@media (max-width: 768px) {
  /* Compact on phones so it doesn't cover the page: small text, buttons side by side. */
  .cookie { left: 10px; right: 10px; width: auto; padding: 10px 12px; border-radius: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .cookie h3 { display: none; }
  .cookie p { font-size: 12px; line-height: 1.35; }
  .cookie__actions { margin-top: 10px; gap: 6px; }
  .cookie__actions .btn { height: 34px; font-size: 12.5px; }
  .cookie__actions .btn:last-child { grid-column: auto; }
}
.cookie--plain .cookie__actions { grid-template-columns: 1fr; }
.cookie--plain .cookie__actions .btn:last-child { grid-column: 1 / -1; }
.pref-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.pref-row p { font-size: 13px; color: var(--muted); }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; margin-left: auto; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 13px; background: #ddd4ce; transition: background var(--t-fast); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t-fast) var(--ease-out); }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: 0.55; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 48px) 0 48px; background: var(--blush); position: relative; overflow: hidden; }
.page-hero .h1 { font-size: clamp(40px, 6vw, 76px); margin: 12px 0 16px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.page-hero__media { position: relative; aspect-ratio: 4/3.2; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero--dark { background: var(--dark); color: rgba(255, 255, 255, 0.8); }
.page-hero--dark .h1 { color: #fff; }
.page-hero--dark .lead { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 900px) { .page-hero--split .container { grid-template-columns: 1fr; } }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); align-items: center; }
.crumbs a:hover { color: var(--red); }

/* ---------- Chips / filters ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--dark); white-space: nowrap; transition: all var(--t-fast) var(--ease-out);
}
.chip:hover { border-color: var(--orange); color: var(--orange-dark); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.chip .count { font-size: 12px; opacity: 0.6; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips--scroll::-webkit-scrollbar { display: none; }

.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; }
.search-input { position: relative; flex: 1; max-width: 420px; }
.search-input .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-input .input { padding-left: 46px; border-radius: 999px; }
.mobile-only { display: none !important; }
@media (max-width: 768px) { .desktop-only { display: none !important; } .mobile-only { display: inline-flex !important; } }

/* ---------- Empty / error / success states ---------- */
.state { text-align: center; padding: 56px 24px; max-width: 460px; margin: 0 auto; }
.state__icon { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: var(--blush); color: var(--red); display: grid; place-items: center; }
.state__icon .i { width: 36px; height: 36px; }
.state h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 8px; }
.state p { color: var(--body); margin-bottom: 22px; }
.state--error .state__icon { background: #fff4e0; color: #c27400; }
.state__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.success-check { width: 88px; height: 88px; margin: 0 auto 20px; }
.success-check circle { stroke: var(--red); stroke-width: 3; fill: none; stroke-dasharray: 252; stroke-dashoffset: 252; animation: draw 700ms var(--ease-out) forwards; }
.success-check path { stroke: var(--red); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 420ms var(--ease-out) 560ms forwards; }
.success-check .fill { fill: var(--red-soft); stroke: none; opacity: 0; animation: fadeIn 400ms var(--ease-out) 500ms forwards; stroke-dasharray: none; }

/* ---------- Cart lines / summary ---------- */
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.line-item__img { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--blush); }
.line-item h4 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.line-item .meta { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.line-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-item .remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.line-item .remove:hover { color: var(--red); }
.line-item.is-leaving { animation: collapse 280ms var(--ease-in-out) forwards; }
.summary { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.summary h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; color: var(--dark); font-weight: 500; }
.sum-row--total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--dark); }
.sum-row--total span:last-child { font-weight: 700; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; justify-content: center; }
.pay-logos span { font-size: 11px; font-weight: 700; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; color: var(--body); background: #fff; letter-spacing: 0.02em; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.two-col .sticky { position: sticky; top: calc(var(--header-h-compact) + 20px); }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .two-col .sticky { position: static; } }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel__head .num { width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.panel__head h2 { font-size: 20px; font-family: var(--font-ui); font-weight: 700; }
@media (max-width: 640px) { .panel { padding: 20px 16px; } }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #f4faf6; color: #16663a; font-size: 14px; align-items: flex-start; }
.notice--warn { background: #fff7e8; color: #8a5300; }
.notice--info { background: #f5f3f1; color: var(--body); }
.notice--error { background: #fff1f2; color: #b0101f; }
.notice strong { color: inherit; }

/* Slots */
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot { height: 44px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; font-weight: 600; font-size: 14px; color: var(--dark); transition: all var(--t-fast); }
.slot:hover { border-color: var(--red); color: var(--red); }
.slot[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }
.slot:disabled { opacity: 0.35; pointer-events: none; text-decoration: line-through; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; }
.tl-step { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-bottom: 26px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--border); }
.tl-step:last-child::before { display: none; }
.tl-step.is-done::before { background: var(--red); }
.tl-dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--muted); position: relative; z-index: 1; }
.tl-step.is-done .tl-dot { background: var(--red); border-color: var(--red); color: #fff; }
.tl-step.is-current .tl-dot { border-color: var(--red); color: var(--red); }
.tl-step.is-current .tl-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); opacity: 0.35; animation: ring 1.8s var(--ease-out) infinite; }
.tl-step h4 { font-size: 16px; margin-top: 6px; }
.tl-step p { font-size: 13px; color: var(--muted); }
.tl-step:not(.is-done):not(.is-current) h4 { color: var(--muted); font-weight: 500; }

/* Steps (catering flow) */
.stepper { display: flex; gap: 8px; margin-bottom: 28px; }
.stepper li { flex: 1; }
.stepper .bar { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.stepper .bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--red); transition: width var(--t-std) var(--ease-out); }
.stepper li.is-done .bar::after, .stepper li.is-current .bar::after { width: 100%; }
.stepper span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.stepper li.is-current span { color: var(--dark); }
.step-pane { display: none; animation: fadeUp var(--t-std) var(--ease-out); }
.step-pane.is-active { display: block; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px; counter-increment: flow; }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 26px; color: var(--red); margin-bottom: 6px; }
.flow li strong { display: block; color: var(--dark); font-size: 15px; }
.flow li span { font-size: 13px; color: var(--muted); }
@media (max-width: 1024px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* Package cards */
.pkg { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: all var(--t-std) var(--ease-out); }
.pkg:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff1db; color: var(--orange-dark); display: grid; place-items: center; transition: all var(--t-std) var(--ease-out); }
.pkg:hover .pkg__icon { background: var(--red); color: #fff; }
.pkg h3 { font-family: var(--font-display); font-size: 26px; }
.pkg .guests { font-weight: 700; color: var(--red); font-size: 14px; }
.pkg ul { font-size: 14px; display: grid; gap: 6px; }
.pkg li { display: flex; gap: 8px; }
.pkg li .i { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.pkg .btn { margin-top: auto; }
.pkg--featured { border-color: var(--red); }
.pkg--featured::before { content: "Most booked"; position: absolute; top: -12px; left: 24px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h-compact) + 20px); }
.pd-main { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--blush); cursor: zoom-in; }
.pd-main .dish { transition: transform 700ms var(--ease-out); }
.pd-main:hover .dish { transform: scale(1.06); }
.pd-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-track > * { flex: 0 0 100%; scroll-snap-align: center; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--blush); transition: border-color var(--t-fast); }
.pd-thumbs button[aria-current="true"] { border-color: var(--red); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.dots span { width: 7px; height: 7px; border-radius: 4px; background: #d8cfc9; transition: all var(--t-fast); }
.dots span.is-on { width: 20px; background: var(--red); }
.pd-info .h2 { margin: 10px 0 10px; }
.pd-price { font-size: 28px; font-weight: 700; color: var(--dark); }
.pd-rating { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.pd-block { padding: 22px 0; border-top: 1px solid var(--border); }
.pd-block h3 { font-size: 15px; font-family: var(--font-ui); font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; }
.pd-block h3 small { font-weight: 500; color: var(--muted); }
.allergen-box { display: flex; gap: 12px; padding: 14px 16px; background: #fff7e8; border-radius: 12px; font-size: 14px; color: #6e4300; }
.allergen-box a { color: inherit; text-decoration: underline; font-weight: 600; }
.pd-cta { display: flex; gap: 12px; align-items: center; }
.pd-cta .btn { flex: 1; height: 56px; font-size: 16px; }
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { position: static; margin: 0 calc(var(--gutter) * -1); }
  .pd-main { border-radius: 0; aspect-ratio: 1 / 0.9; }
  .pd-thumbs { display: none; }
  .pd-cta-wrap { position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); background: var(--bg); padding: 12px 0; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); border-top: 1px solid var(--border); z-index: 5; }
}

/* Account */
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.acct-nav { position: sticky; top: calc(var(--header-h-compact) + 20px); display: grid; gap: 2px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 500; color: var(--body); text-align: left; transition: all var(--t-fast); }
.acct-nav a:hover, .acct-nav button:hover { background: var(--blush); color: var(--red); }
.acct-nav a[aria-current="true"] { background: var(--dark); color: #fff; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat strong { display: block; font-family: var(--font-display); font-size: 34px; color: var(--dark); line-height: 1.1; margin-top: 4px; }
@media (max-width: 900px) { .acct { grid-template-columns: 1fr; gap: 20px; } .acct-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); } .acct-nav a, .acct-nav button { white-space: nowrap; } }

.row-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.row-card + .row-card { margin-top: 10px; }
.row-card:hover { border-color: #d9d0ca; box-shadow: var(--shadow-sm); }
.row-card .grow { flex: 1; min-width: 0; }
.row-card strong { color: var(--dark); }

/* Tables */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; padding: 12px 16px; background: #faf7f5; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .yes { color: var(--red); font-weight: 700; }
.tbl--allergens td, .tbl--allergens th { text-align: center; padding: 10px 8px; }
.tbl--allergens td:first-child, .tbl--allergens th:first-child { text-align: left; position: sticky; left: 0; background: #fff; }
.tbl--allergens th:first-child { background: #faf7f5; }

/* Content pages */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-display); font-size: 30px; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--red); text-decoration: underline; }

.feature-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.principle { padding: 28px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--border); }
.principle .num { font-family: var(--font-display); font-size: 48px; color: var(--orange); line-height: 1; }
.principle h3 { font-family: var(--font-display); font-size: 26px; margin: 12px 0 8px; }

/* Admin */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--dark); color: rgba(255, 255, 255, 0.7); padding: 24px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side nav { display: grid; gap: 2px; margin-top: 28px; }
.admin-side nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; transition: all var(--t-fast); }
.admin-side nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-side nav a[aria-current="true"] { background: var(--red); color: #fff; }
.admin-main { padding: 28px 32px 56px; background: #faf7f5; min-width: 0; }
.admin-main .admin-view { display: none; }
.admin-main .admin-view.is-active { display: block; animation: fadeUp var(--t-std) var(--ease-out); }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 14px; overflow-x: auto; padding-bottom: 12px; }
.kanban__col { background: #f1ebe7; border-radius: 16px; padding: 12px; min-height: 240px; }
.kanban__col h4 { font-size: 13px; display: flex; justify-content: space-between; padding: 4px 6px 10px; }
.k-card { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow-sm); font-size: 13px; }
.k-card + .k-card { margin-top: 8px; }
.k-card strong { color: var(--dark); display: block; }
.bar-meter { height: 8px; border-radius: 4px; background: #f1ebe7; overflow: hidden; display: flex; }
.bar-meter i { display: block; height: 100%; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } .admin-side { position: static; height: auto; } .admin-side nav { display: flex; overflow-x: auto; } .admin-side nav a { white-space: nowrap; } .admin-main { padding: 20px 16px 48px; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
[data-stagger].is-revealed > * { opacity: 1; transform: none; }
[data-stagger].is-revealed > :nth-child(2) { transition-delay: 80ms; }
[data-stagger].is-revealed > :nth-child(3) { transition-delay: 160ms; }
[data-stagger].is-revealed > :nth-child(n + 4) { transition-delay: 240ms; }
/* stagger must not override hover transitions once settled */
[data-stagger].is-settled > * { transition-delay: 0ms; }
[data-stagger].is-settled > .p-card, [data-stagger].is-settled > .eq-card, [data-stagger].is-settled > .svc-card { transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out), border-color var(--t-std); }
[data-stagger].is-settled > .cat-card { transition: transform var(--t-std) var(--ease-out) 120ms, box-shadow var(--t-std) var(--ease-out) 120ms; }

/* ---------- Keyframes ---------- */
@keyframes foodIn { from { opacity: 0; transform: scale(0.85) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes heartPop { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 60% { transform: scale(0.92); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { from { transform: scale(0.8); opacity: 0.5; } to { transform: scale(1.4); opacity: 0; } }
@keyframes collapse { to { opacity: 0; transform: translateX(16px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .garnish { animation: none !important; }
  .hero-food { opacity: 1; transform: none; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Adinkrahene-inspired circular texture on white cards (very faint) ---------- */
:root { --pattern-geo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23F5223A' stroke-width='1' stroke-opacity='.09'%3E%3Ccircle cx='32' cy='32' r='22'/%3E%3Ccircle cx='32' cy='32' r='14'/%3E%3Ccircle cx='0' cy='0' r='8'/%3E%3Ccircle cx='64' cy='0' r='8'/%3E%3Ccircle cx='0' cy='64' r='8'/%3E%3Ccircle cx='64' cy='64' r='8'/%3E%3C/g%3E%3Cg fill='%23F5223A' fill-opacity='.08'%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3Ccircle cx='50.0' cy='32.0' r='1.2'/%3E%3Ccircle cx='44.7' cy='44.7' r='1.2'/%3E%3Ccircle cx='32.0' cy='50.0' r='1.2'/%3E%3Ccircle cx='19.3' cy='44.7' r='1.2'/%3E%3Ccircle cx='14.0' cy='32.0' r='1.2'/%3E%3Ccircle cx='19.3' cy='19.3' r='1.2'/%3E%3Ccircle cx='32.0' cy='14.0' r='1.2'/%3E%3Ccircle cx='44.7' cy='19.3' r='1.2'/%3E%3C/g%3E%3C/svg%3E"); }
.trust, .t-card, .svc-card, .eq-card, .p-card {
  background-color: #fff;
  background-image: radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.6) 90px, #fff 190px), var(--pattern-geo);
  background-size: auto, 64px 64px;
  background-position: 0 0, right -8px bottom -8px;
}
.trust { background-image: radial-gradient(ellipse 60% 140% at 100% 50%, rgba(255, 255, 255, 0) 0, #fff 100%), var(--pattern-geo); background-position: 0 0, right -8px center; }
.t-card { background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.55) 110px, #fff 220px), var(--pattern-geo); background-position: 0 0, right -8px top -8px; }
@media (prefers-contrast: more) { .trust, .t-card, .svc-card, .eq-card, .p-card { background-image: none; } }

/* icons are always outline-only (guards against extensions / UA styles that fill SVGs) */
svg.i, svg.i * { fill: none !important; }
.stars svg.i, .stars svg.i *, .fav-btn[aria-pressed="true"] svg.i, .fav-btn[aria-pressed="true"] svg.i * { fill: currentColor !important; }

/* ---------- Header account avatar ---------- */
.acct-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }

/* ---------- Auth (sign in / create account) ---------- */
.acct-page { padding: 28px 0 80px; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; background: #fff; border: 1px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-md); }
.auth__art { position: relative; overflow: hidden; background: var(--dark); }
.auth__art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.auth__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 8, 0.15) 0%, rgba(20, 8, 8, 0.35) 45%, rgba(20, 8, 8, 0.88) 100%); }
.auth__art-copy { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 40px; color: #fff; }
.auth__logo { width: 120px; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 22px; box-sizing: content-box; }
.auth__quote { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); line-height: 1.08; margin-bottom: 22px; }
.auth__quote em { color: #ffb3bc; font-style: italic; }
.auth__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.auth__perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.9); }
.auth__perks .i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); flex-shrink: 0; }
.auth__panel { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; max-width: 520px; width: 100%; margin: 0 auto; }
.auth__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--blush); border-radius: 12px; padding: 4px; margin-bottom: 30px; }
.auth__tabs button { position: relative; z-index: 1; height: 42px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); transition: color var(--t-fast); }
.auth__tabs button[aria-selected="true"] { color: var(--dark); }
.auth__tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 9px; box-shadow: var(--shadow-sm); transition: transform var(--t-std) var(--ease-out); }
.auth[data-auth-mode="register"] .auth__tab-ink { transform: translateX(100%); }
.auth__title { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; color: var(--dark); margin-bottom: 6px; }
.auth__sub { color: var(--muted); margin-bottom: 24px; }
.auth__fields { display: grid; gap: 14px; }
.auth__fields .form-grid { gap: 14px; }
.auth__forgot { float: right; font-size: 13px; font-weight: 600; color: var(--red); }
.auth__forgot:hover { text-decoration: underline; }
.auth__submit { margin-top: 20px; height: 50px; }
.auth__check { margin-top: 2px; font-size: 14px; }
.auth__terms { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.auth__terms a, .auth__switch button { color: var(--red); font-weight: 600; }
.auth__terms a:hover, .auth__switch button:hover { text-decoration: underline; }
.auth__switch { text-align: center; margin-top: 18px; font-size: 14px; }
.auth__or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); font-size: 13px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth__alt .btn { font-size: 14px; }
.auth__fine { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; text-align: center; }
.auth [data-form-err] .notice { margin-top: 14px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.pw-toggle:hover { color: var(--dark); background: var(--blush); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--border); transition: background var(--t-std); }
.pw-meter i.on.s1 { background: #e5484d; } .pw-meter i.on.s2 { background: var(--orange); } .pw-meter i.on.s3 { background: #7fbf3f; } .pw-meter i.on.s4 { background: var(--green); }
.pw-hint { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .auth__art { height: 190px; }
  .auth__art-copy { padding: 22px; }
  .auth__logo, .auth__perks { display: none; }
  .auth__quote { font-size: 28px; margin: 0; }
}
@media (max-width: 480px) { .auth__alt { grid-template-columns: 1fr; } }

/* ---------- Customer dashboard ---------- */
.demo-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff7e8; border: 1px solid #f5d9a6; color: #7a4b00; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 20px; }
.demo-bar button { margin-left: auto; font-weight: 600; text-decoration: underline; }
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-side { position: sticky; top: calc(var(--header-h-compact, 68px) + 20px); background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 18px; }
.dash-me { display: flex; align-items: center; gap: 12px; padding: 6px 6px 18px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.dash-me__avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red), var(--orange)); box-shadow: 0 6px 16px rgba(245, 34, 58, 0.28); }
.dash-me strong { display: block; color: var(--dark); font-size: 15px; line-height: 1.25; }
.dash-me div span { font-size: 12.5px; color: var(--muted); }
.dash-me .dash-me__avatar { font-size: 16px; letter-spacing: 0.02em; }
.dash-nav { display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--body); transition: background var(--t-fast), color var(--t-fast); }
.dash-nav a:hover { background: var(--blush); color: var(--dark); }
.dash-nav a[aria-current="page"] { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(245, 34, 58, 0.25); }
.dash-nav em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: var(--blush); color: var(--red); }
.dash-nav a[aria-current="page"] em { background: rgba(255, 255, 255, 0.22); color: #fff; }
.dash-logout { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; margin-top: 10px; border-top: 1px solid var(--border); padding-top: 16px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.dash-logout:hover { color: var(--red); }
.dash-main { display: grid; gap: 22px; min-width: 0; }
.dash-head h1 { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); color: var(--dark); line-height: 1.1; }
.dash-head p { color: var(--muted); margin-top: 6px; }

.dash-hero { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(26px, 3.4vw, 44px); color: #fff; background: radial-gradient(120% 140% at 100% 0%, #ff5a4a 0%, var(--red) 45%, #c8102a 100%); min-height: 250px; display: flex; align-items: center; }
.dash-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern-geo); background-size: 64px 64px; filter: brightness(0) invert(1); opacity: 0.35; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.dash-hero__copy { position: relative; z-index: 1; max-width: 58%; }
.dash-hero__hi { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255, 255, 255, 0.16); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.dash-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; margin-bottom: 10px; color: #fff; }
.dash-hero p { color: rgba(255, 255, 255, 0.86); margin-bottom: 22px; }
.dash-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--glass { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }
.dash-hero__food { position: absolute; right: -40px; top: 50%; width: min(46%, 360px); aspect-ratio: 1; transform: translateY(-50%); }
.dash-hero__food img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(60, 0, 8, 0.45)); animation: spin 40s linear infinite; }

.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dash-stat { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 2px; transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out); }
.dash-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dash-stat__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.dash-stat--red .dash-stat__icon { background: #ffe8ea; color: var(--red); }
.dash-stat--orange .dash-stat__icon { background: #fff1dc; color: #d97a00; }
.dash-stat--pink .dash-stat__icon { background: #ffe9f1; color: #d6336c; }
.dash-stat--dark .dash-stat__icon { background: #efeceb; color: var(--dark); }
.dash-stat strong { font-family: var(--font-display); font-size: 30px; line-height: 1.1; color: var(--dark); }
.dash-stat__label { font-weight: 600; color: var(--dark); font-size: 14px; }
.dash-stat__sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px; min-width: 0; }
.dash-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-card__head h2 { font-size: 17px; font-weight: 700; color: var(--dark); font-family: var(--font-ui, inherit); }
.dash-empty { text-align: center; padding: 18px 10px 8px; }
.dash-empty__icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--red); }
.dash-empty h3 { font-size: 16px; color: var(--dark); margin-bottom: 4px; }
.dash-empty p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.thumb-stack { display: flex; flex-shrink: 0; }
.thumb-stack > span { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(25, 25, 25, 0.12); background: var(--blush); }
.thumb-stack > span + span { margin-left: -14px; }
.thumb-stack .dish, .thumb-stack img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--red { background: #ffe8ea; color: var(--red); } .status--orange { background: #fff1dc; color: #b86500; } .status--green { background: #e6f6ec; color: #1a7f45; } .status--muted { background: #f0eeec; color: var(--muted); }

.track__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.track__top strong { display: block; color: var(--dark); }
.track__top span { font-size: 13.5px; color: var(--muted); }
.track__eta { margin-left: auto; font-weight: 600; color: var(--dark) !important; font-size: 13.5px; text-align: right; }
.track__bar { height: 8px; background: var(--blush); border-radius: 8px; overflow: hidden; }
.track__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--orange), var(--red)); transition: width 800ms var(--ease-out); }
.track__steps { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12.5px; color: var(--muted); }
.track__steps li.on { color: var(--dark); font-weight: 600; }
.track__steps li:nth-child(2) { text-align: center; } .track__steps li:nth-child(3) { text-align: center; } .track__steps li:last-child { text-align: right; }
.event-card { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.event-card__date { width: 64px; height: 70px; border-radius: 16px; background: var(--dark); color: #fff; display: grid; place-content: center; text-align: center; flex-shrink: 0; }
.event-card__date strong { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.event-card__date span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.event-card > div:last-child { display: grid; gap: 4px; justify-items: start; }
.event-card > div:last-child strong { color: var(--dark); }
.event-card > div:last-child > span:not(.status) { font-size: 13.5px; color: var(--muted); }

.ord-list { display: grid; }
.ord-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); }
.ord-row:first-child { border-top: 0; padding-top: 0; }
.ord-row__main { display: grid; min-width: 0; }
.ord-row__main strong { color: var(--dark); font-size: 15px; }
.ord-row__main:hover strong { color: var(--red); }
.ord-row__items { font-size: 13.5px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ord-row__date { font-size: 12.5px; color: var(--muted); }
.ord-row__total { font-weight: 700; color: var(--dark); }
.dash-recs { gap: 14px; }

@media (max-width: 1100px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-grid { grid-template-columns: 1fr; } .dash-recs.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dash-side { position: static; padding: 14px; border-radius: 18px; min-width: 0; }
  .dash-me { padding: 0 0 12px; margin-bottom: 10px; }
  .dash-nav { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -4px; padding: 0 4px; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a { white-space: nowrap; padding: 9px 12px; background: var(--blush); }
  .dash-logout { display: none; }
  .dash-hero__copy { max-width: 100%; }
  .dash-hero__food { width: 180px; right: -50px; top: auto; bottom: -50px; transform: none; opacity: 0.9; }
  .ord-row { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
  .ord-row .status { grid-column: 2; justify-self: start; }
  .ord-row__total { grid-column: 3; grid-row: 1; }
  .ord-row__again { grid-column: 3; grid-row: 2; }
}
@media (max-width: 600px) { .dash-hero { padding-bottom: 90px; } .dash-hero__food { width: 150px; right: -40px; bottom: -60px; } }
@media (max-width: 520px) { .dash-stat strong { font-size: 24px; } .dash-stats { gap: 10px; } .dash-stat { padding: 14px; } .dash-card { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .dash-hero__food img { animation: none; } }

/* ---------- Homepage curated menu grid ---------- */
.home-menu__tabs { margin-bottom: 24px; }
.home-menu__grid { transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.home-menu__grid.is-swapping { opacity: 0; transform: translateY(6px); }
.home-menu__more { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 1024px) and (min-width: 641px) { .home-menu__grid > :nth-child(n + 7) { display: none; } }

/* ---------- About (text-led, no photography) ---------- */
.about-hero { padding-bottom: clamp(40px, 6vw, 72px); background: var(--blush); position: relative; overflow: hidden; }
.about-hero::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: min(46%, 560px); background-image: var(--pattern-geo); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.about-hero .container { position: relative; z-index: 1; }
.about-hero .h1 { max-width: 14ch; margin: 12px 0 20px; }
.about-hero .lead { max-width: 62ch; }
.about-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.about-pull { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; color: var(--dark); margin-top: 12px; letter-spacing: -0.01em; }
.about-pull em { color: var(--red); font-style: italic; }
.about-copy p { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy .about-sign { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--dark); border-left: 3px solid var(--red); padding-left: 18px; margin-top: 24px; }
.about-promise .principle h3 { font-size: 22px; }
.about-vision { background: var(--dark); color: #fff; padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.about-vision::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern-geo); background-size: 64px 64px; opacity: 0.6; -webkit-mask-image: radial-gradient(ellipse at 100% 0, #000, transparent 60%); mask-image: radial-gradient(ellipse at 100% 0, #000, transparent 60%); }
.about-vision .container { position: relative; }
.eyebrow--light { color: #ff8a98; }
.about-vision__text { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); line-height: 1.12; max-width: 22ch; margin: 14px 0 20px; letter-spacing: -0.01em; }
.about-vision__text em { color: #ff8a98; font-style: italic; }
.about-vision__sub { color: rgba(255, 255, 255, 0.72); font-size: 17px; max-width: 48ch; }
.std-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px; color: inherit; }
.std-card h3 { font-size: 19px; color: var(--dark); margin-top: 6px; }
.std-card p { font-size: 15px; line-height: 1.6; }
.std-card--link { transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std) var(--ease-out); }
.std-card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.std-card--link .text-link { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-hero::after { width: 70%; opacity: 0.5; }
}

/* ---------- Live chat button (replaces Tawk's bubble; see blite/js/consent.js) ---------- */
.chat-fab { position: fixed; z-index: 104; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #ff3b52, var(--red) 55%, #c8102a);
  box-shadow: 0 8px 22px rgba(200, 16, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); opacity: 0.92;
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast), box-shadow var(--t-fast); touch-action: none; }
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200, 16, 42, 0.42); }
.chat-fab:focus-visible { outline: 3px solid #ffc531; outline-offset: 3px; }
.chat-fab__badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #ffc531; color: var(--dark); font: 700 11px/18px var(--font-body, sans-serif); text-align: center; }
@media (max-width: 768px) {
  /* Phones: smaller, tucked against the right edge, half see-through, above the bottom menu. */
  .chat-fab { bottom: auto; top: 62vh; right: 0; width: 44px; height: 44px; border-radius: 22px 0 0 22px; opacity: 0.8;
    box-shadow: 0 4px 14px rgba(200, 16, 42, 0.3); }
  .chat-fab svg { width: 20px; height: 20px; margin-left: 4px; }
  .chat-fab--left { right: auto; left: 0; border-radius: 0 22px 22px 0; }
  .chat-fab--left svg { margin-left: -4px; }
  .chat-fab.is-dragging { opacity: 1; border-radius: 50%; transition: none; }
  .chat-fab:hover { transform: none; }
}

/* ---------- Allergen warning on food cards ---------- */
.p-card { position: relative; }
/* Cards with a warning let the popover spill outside; the photo keeps the rounded top corners. */
.p-card:has(.allergen-tip) { overflow: visible; }
.p-card:has(.allergen-tip) .p-card__media { border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.p-card:has(.allergen-tip__pop:not([style*="none"])) { z-index: 5; }
.allergen-tip { position: absolute; top: 12px; right: 12px; z-index: 3; }
.allergen-tip__btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 9px 0 7px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); font: 700 13px/1 var(--font-body, sans-serif); color: var(--dark); cursor: pointer; }
.allergen-tip__btn svg { width: 18px; height: 18px; }
.allergen-tip__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.allergen-tip__pop { position: absolute; top: 40px; right: 0; width: min(280px, 78vw); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13px; line-height: 1.4; text-align: left; }
.allergen-tip__pop strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8a5300; margin-bottom: 6px; }
.allergen-tip__pop ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.allergen-tip__pop li b { display: block; color: var(--dark); }
.allergen-tip__pop li span { color: var(--muted); }
.allergen-tip__pop a { color: var(--red); font-weight: 600; font-size: 12.5px; }
[x-cloak] { display: none !important; }

/* Menu, equipment and gallery pagers scroll back to the section top, clear of the sticky header. */
section:has(.pager) { scroll-margin-top: 80px; }

/* Quick Meals: four across on computers, two by two on tablets so no card sits alone. */
@media (max-width: 1024px) { .quick-grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Catering enquiry: menu by category, tick dishes, then size and quantity */
.menu-pick { display: grid; gap: 8px; }
.menu-pick__cat { border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; }
.menu-pick__head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 0; background: none; font: 600 15px/1.3 var(--font-body, sans-serif); color: var(--dark); cursor: pointer; text-align: left; }
.menu-pick__head span { flex: 1; }
.menu-pick__head em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--red); background: var(--blush); padding: 3px 9px; border-radius: 999px; }
.menu-pick__head svg { transition: transform .2s; }
.menu-pick__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-pick__list { border-top: 1px solid var(--border); }
.menu-pick__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.menu-pick__row:last-child { border-bottom: 0; }
.menu-pick__row.is-on { background: var(--blush); }
.menu-pick__dish { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; color: var(--dark); }
.menu-pick__dish input { width: 18px; height: 18px; accent-color: var(--red); }
.menu-pick__opts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-pick__opts .select { height: 38px; min-width: 170px; padding-top: 0; padding-bottom: 0; font-size: 14px; }
.menu-pick__qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.menu-pick__qty button { width: 34px; height: 36px; border: 0; background: none; font-size: 18px; color: var(--dark); cursor: pointer; }
.menu-pick__qty span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .menu-pick__opts { margin-left: 28px; } .menu-pick__opts .select { min-width: 0; flex: 1; } }

/* Account → Addresses (address book) */
.addr-flash { background: var(--green-soft); color: #16663a; border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; font-weight: 600; }
.addr-form { border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin: 4px 0 18px; background: var(--blush); }
.addr-form h3 { margin: 0 0 12px; font-size: 17px; color: var(--dark); }
.addr-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.addr-labels .chip { cursor: pointer; }
.addr-labels .chip.is-on { background: var(--red); color: #fff; border-color: var(--red); }
.addr-locate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 14px; }
.addr-locate p { flex-basis: 100%; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.addr-actions .text-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14px; }
.addr-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.addr-picker .chip { cursor: pointer; text-align: left; }
.addr-picker .chip.is-on { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width: 640px) { .row-card { flex-wrap: wrap; } .addr-actions { flex-basis: 100%; padding-left: 52px; } }
