/* ── Design tokens (from ui_ux_search: Vibrant & Block-based, warm appetizing) ── */
:root {
  --primary: #EA580C;
  --primary-dark: #C2410C;
  --primary-grad: linear-gradient(135deg, #EA580C, #F97316);
  --secondary: #F97316;
  --accent: #2563EB;
  --bg: #FFF7ED;
  --surface: #FFFFFF;
  --muted: #FDF4F0;
  --border: #FCEAE1;
  --border-strong: #F6D8C6;
  --text: #0F172A;
  --text-muted: #6B7280;
  --success: #16A34A;
  --danger: #DC2626;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow: 0 8px 28px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 48px rgba(194, 65, 12, .18);
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

/* hidden must always win over class display rules (drawer/modal/overlay) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans Arabic', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Noto Naskh Arabic', 'Noto Sans Arabic', serif; line-height: 1.25; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

svg.lucide { width: var(--icon-md); height: var(--icon-md); stroke-width: 1.75; flex: none; }
[data-lucide] { width: var(--icon-md); height: var(--icon-md); stroke-width: 1.75; flex: none; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--text); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip:focus { inset-inline-start: 1rem; }

.glow {
  position: fixed; inset: -30% -20% auto -20%; height: 60vh; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, .22), transparent 62%);
}

/* ── Utilities ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--primary); background: rgba(234, 88, 12, .09);
  border: 1px solid rgba(234, 88, 12, .16);
  padding: .3rem .8rem; border-radius: 999px;
}
.eyebrow [data-lucide] { width: var(--icon-sm); height: var(--icon-sm); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border: none; border-radius: 999px;
  font-size: .95rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, opacity .2s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary-grad); color: #fff; box-shadow: 0 10px 26px rgba(234, 88, 12, .28); }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(234, 88, 12, .38); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover:not(:disabled) { background: var(--muted); transform: translateY(-2px); }
.btn.wide { width: 100%; margin-top: .5rem; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--muted); transform: rotate(-6deg); }

:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 2px; border-radius: 6px; }

.section { max-width: 1160px; margin: 0 auto; padding: 4.5rem 1.5rem; position: relative; z-index: 1; }
.section-head { max-width: 620px; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: .8rem 0 .5rem; }
.section-head p { color: var(--text-muted); }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 247, 237, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--primary-grad); color: #fff;
  box-shadow: 0 6px 16px rgba(234, 88, 12, .3);
}
.brand-name { font-family: 'Noto Naskh Arabic', serif; font-size: 1.15rem; }
.nav-links { display: flex; gap: .35rem; }
.nav-link {
  padding: .45rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  color: var(--text-muted); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--muted); }
.nav-link.active { color: var(--primary-dark); background: rgba(234, 88, 12, .1); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.menu-btn { display: none; }

.cart-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: var(--text); color: #fff; border: none; font-size: .9rem; font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cart-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 .3rem;
  border-radius: 999px; background: var(--secondary); color: #fff; font-size: .78rem;
}
.cart-count.bump { animation: bump .35s var(--ease); }

/* ── Hero ── */
.hero {
  max-width: 1160px; margin: 0 auto; padding: 4rem 1.5rem 3rem;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -.01em; margin: 1rem 0 .9rem; }
.hero-copy h1 em { font-style: normal; color: var(--primary); }
.hero-copy > p { color: var(--text-muted); font-size: 1.08rem; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.75rem 0 2.25rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--border-strong); }
.hero-stats dt { font-family: 'Noto Naskh Arabic', serif; font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }
.hero-stats dd { font-size: .85rem; color: var(--text-muted); }

.hero-art {
  display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 1fr);
  aspect-ratio: 1 / 1;
}
.art-block {
  display: grid; place-items: center; border-radius: var(--radius-lg);
  color: #fff; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.art-block:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow-lg); }
.art-block [data-lucide] { width: 40px; height: 40px; stroke-width: 1.5; }
.art-block.b1 { background: linear-gradient(140deg, #EA580C, #FB923C); margin-top: 1.75rem; }
.art-block.b2 { background: linear-gradient(140deg, #C2410C, #F97316); }
.art-block.b3 { background: linear-gradient(140deg, #B45309, #FBBF24); }
.art-block.b4 { background: linear-gradient(140deg, #2563EB, #60A5FA); margin-bottom: 1.75rem; }

/* ── Order flow steps ── */
.flow { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.flow-list {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1rem; box-shadow: var(--shadow-sm);
}
.flow-step {
  display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem;
  border-radius: var(--radius); border: 1px dashed var(--border-strong);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.flow-num {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 50%; background: var(--muted); color: var(--primary-dark);
  font-weight: 700; border: 1px solid var(--border-strong);
}
.flow-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.flow-text b { font-size: .95rem; }
.flow-text span { font-size: .78rem; color: var(--text-muted); }
.flow-step.is-active { background: #fff7ed; border-color: var(--primary); border-style: solid; }
.flow-step.is-active .flow-num { background: var(--primary-grad); color: #fff; border-color: transparent; }
.flow-step.is-done .flow-num { background: var(--success); color: #fff; border-color: transparent; }

.modal-step {
  display: block; font-size: .72rem; letter-spacing: .02em; color: var(--primary-dark);
  font-weight: 600; margin-bottom: .15rem;
}

/* ── Menu tools ── */
.menu-tools {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between; margin-bottom: 1.75rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border);
  font-size: .88rem; font-weight: 600; color: var(--text-muted);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--secondary); color: var(--primary-dark); transform: translateY(-2px); }
.chip [data-lucide] { width: var(--icon-sm); height: var(--icon-sm); }
.chip.active { background: var(--primary-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, .25); }

.search-box {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px;
  padding: .5rem 1.1rem; min-width: 260px; transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(234, 88, 12, .12); }
.search-box [data-lucide] { color: var(--text-muted); width: var(--icon-md); height: var(--icon-md); }
.search-box input { flex: 1; border: none; background: none; outline: none; font-size: .92rem; }

/* ── Dish grid ── */
.grid { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }

.dish {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  animation: fadeUp .5s var(--ease) both;
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.dish-top {
  height: 132px; display: grid; place-items: center; color: #fff; position: relative;
}
.dish-top [data-lucide] { width: 46px; height: 46px; stroke-width: 1.4; }
.dish-tag {
  position: absolute; inset-inline-end: .75rem; top: .75rem;
  background: rgba(255, 255, 255, .92); color: var(--primary-dark);
  font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px;
}
.dish-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.dish-body h3 { font-size: 1.08rem; }
.dish-body p { font-size: .86rem; color: var(--text-muted); flex: 1; }
.dish-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; }
.price { font-family: 'Noto Naskh Arabic', serif; font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); }
.rating { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; color: var(--text-muted); }
.rating [data-lucide] { width: var(--icon-sm); height: var(--icon-sm); color: #F59E0B; fill: #F59E0B; }
.add-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary-grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.add-btn:hover { transform: scale(1.12); box-shadow: 0 10px 24px rgba(234, 88, 12, .4); }
.add-btn.added { background: var(--success); box-shadow: 0 6px 16px rgba(22, 163, 74, .3); }

.empty {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-align: center; color: var(--text-muted); padding: 3rem 1rem;
}
.empty [data-lucide] { width: 40px; height: 40px; color: var(--border-strong); }

/* ── Track order ── */
.track-section { padding-top: 2rem; }
.track-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto;
}
.track-form { display: flex; gap: .8rem; align-items: flex-end; max-width: 520px; margin: 0 auto; }
.track-form .field { flex: 1; }
.track-result { margin-top: 2rem; }
.track-order-head {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px dashed var(--border-strong); margin-bottom: 1.5rem;
}
.track-order-head strong { font-family: 'Noto Naskh Arabic', serif; font-size: 1.2rem; }
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(22, 163, 74, .12); color: var(--success);
}
.pill.amber { background: rgba(245, 158, 11, .14); color: #B45309; }

.steps { display: grid; gap: .15rem; }
.step { display: flex; gap: .9rem; align-items: flex-start; }
.step-rail { display: flex; flex-direction: column; align-items: center; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--muted); border: 2px solid var(--border-strong); color: var(--text-muted);
}
.step-dot [data-lucide] { width: var(--icon-sm); height: var(--icon-sm); }
.step.done .step-dot { background: var(--primary-grad); border-color: transparent; color: #fff; }
.step-line { width: 2px; flex: 1; min-height: 22px; background: var(--border); }
.step.done .step-line { background: var(--secondary); }
.step-text { padding-bottom: 1rem; }
.step-text b { display: block; font-size: .95rem; }
.step-text span { font-size: .82rem; color: var(--text-muted); }

/* ── Footer ── */
.footer { background: var(--text); color: #E7E5E4; margin-top: 2rem; position: relative; z-index: 1; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem;
  display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr;
}
.footer h3, .footer h4 { color: #fff; margin-bottom: .6rem; }
.footer p, .footer a { font-size: .9rem; color: #B8B5B3; display: flex; align-items: center; gap: .4rem; }
.footer a:hover { color: var(--secondary); }
.footer-col { display: flex; flex-direction: column; gap: .4rem; }
.footer [data-lucide] { width: var(--icon-sm); height: var(--icon-sm); }
.footer p { display: block; }
.footer p [data-lucide] { display: inline-block; vertical-align: -.2em; margin-inline-end: .35rem; }
.copyright {
  max-width: 1160px; margin: 0 auto; padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #8A8785;
}

/* ── Cart drawer ── */
.scrim { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 40; animation: fade .2s ease; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(420px, 92vw);
  background: var(--bg); z-index: 50; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(-102%); transition: transform .35s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--border); background: var(--surface);
}
.drawer-head h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.35rem; display: flex; flex-direction: column; gap: .8rem; }
.drawer-foot { padding: 1.2rem 1.35rem 1.4rem; border-top: 1px solid var(--border); background: var(--surface); }

/* ── Cart items ── */
.cart-item {
  display: flex; gap: .85rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .8rem; animation: fadeUp .3s var(--ease) both;
}
.cart-thumb {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; flex: none;
}
.cart-info { flex: 1; min-width: 0; }
.cart-info b { display: block; font-size: .92rem; }
.cart-info span { font-size: .82rem; color: var(--text-muted); }
.qty { display: flex; align-items: center; gap: .35rem; }
.qty button {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text);
  display: grid; place-items: center; transition: all .18s var(--ease);
}
.qty button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.qty button [data-lucide] { width: 14px; height: 14px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }

.totals { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.totals div { display: flex; justify-content: space-between; font-size: .92rem; color: var(--text-muted); }
.totals div.grand {
  padding-top: .6rem; margin-top: .3rem; border-top: 1px dashed var(--border-strong);
  color: var(--text); font-weight: 700; font-size: 1.1rem;
  font-family: 'Noto Naskh Arabic', serif;
}

/* ── Modal + form ── */
.overlay {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); animation: fade .2s ease;
}
.modal {
  background: var(--bg); border-radius: var(--radius-lg); width: min(520px, 100%);
  max-height: 92dvh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease) both;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: sticky; top: 0; z-index: 2;
}
.modal-head h3 { font-size: 1.15rem; }
#checkoutForm { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span { font-size: .84rem; font-weight: 700; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; padding: .7rem .95rem; font-size: .95rem;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(234, 88, 12, .12); }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }
.field textarea { resize: vertical; min-height: 60px; }
.err { color: var(--danger); font-size: .78rem; min-height: 1rem; }

.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px; font-size: .88rem;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  transition: all .2s var(--ease);
}
.radio:hover { border-color: var(--secondary); }
.radio input { accent-color: var(--primary); width: 16px; height: 16px; }
.radio:has(input:checked) { border-color: var(--primary); background: rgba(234, 88, 12, .08); font-weight: 700; }

.modal-summary {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; font-size: .9rem;
}
.modal-summary .row { display: flex; justify-content: space-between; padding: .15rem 0; color: var(--text-muted); }
.modal-summary .row.total { color: var(--text); font-weight: 700; border-top: 1px dashed var(--border-strong); margin-top: .4rem; padding-top: .5rem; }

/* ── Toast + success ── */
.toast-wrap {
  position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; z-index: 90;
  display: flex; flex-direction: column; gap: .55rem; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 1.1rem; border-radius: var(--radius); font-size: .9rem; font-weight: 600;
  background: var(--text); color: #fff; box-shadow: var(--shadow-lg);
  animation: fadeUp .3s var(--ease) both;
}
.toast.success { background: #14532D; }
.toast.error { background: #7F1D1D; }
.toast [data-lucide] { width: var(--icon-sm); height: var(--icon-sm); }

.success-box { text-align: center; padding: 2.4rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.success-box .tick {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(22, 163, 74, .12); color: var(--success); animation: pop .4s var(--ease) both;
}
.success-box .tick [data-lucide] { width: 34px; height: 34px; }
.success-box h3 { font-size: 1.35rem; }
.success-box p { color: var(--text-muted); font-size: .95rem; }
.order-no {
  font-family: 'Noto Naskh Arabic', serif; font-size: 1.6rem; font-weight: 700; color: var(--primary-dark);
  background: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius);
  padding: .5rem 1.4rem; letter-spacing: .06em;
}

/* ── Motion ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 68px; inset-inline: 0;
    flex-direction: column; gap: .2rem; padding: .8rem 1rem 1.1rem;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; animation: fadeUp .25s var(--ease) both; }
  .nav-link { padding: .7rem 1rem; border-radius: var(--radius-sm); }
  .menu-btn { display: inline-flex; }
  .nav-actions .cart-btn span:not(.cart-count) { display: none; }
  .section { padding: 3rem 1.15rem; }
  .track-card { padding: 1.75rem 1.2rem; }
  .track-form { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; width: 100%; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; padding-bottom: 1rem; }
  .flow-list { grid-template-columns: 1fr; }
  .toast-wrap { inset-inline: 1rem; }
}

@media (max-width: 420px) {
  .hero-stats { gap: 1.25rem; }
  .grid { grid-template-columns: 1fr; }
  .dish-top { height: 116px; }
}
