/* ═══════════════════════════════════════════
   No3 Hangout — Food Ordering UI
   Design System v3 · soft pills & cards
   Colour palette unchanged from v2.
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Colour — Hyper Blue / Highlighter / Almost There / Midnight Ink */
  --blue:       #316DD5;
  --blue-dark:  #0153B3;
  --blue-light: #4A82E0;
  --blue-glow:  rgba(49,109,213,0.2);
  --white:      #ffffff;
  --off-white:  #FCFBF7;
  --yellow:     #FED321;
  --red:        #E63946;
  --orange:     #FD7903;
  --green:      #1db954;
  --pink:       #E91E8C;
  --text-dark:  #111318;
  --text-mid:   #424753;
  --text-light: #737784;
  --card-bg:    #ffffff;
  --border:     #ebe8df;

  /* Shape */
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-xl:   40px;
  --radius-pill: 999px;

  /* Grid — 20px margin · 16px gutter on mobile */
  --margin: 20px;
  --gutter: 16px;
  --max:    1240px;

  /* Elevation — soft, low-contrast */
  --shadow-sm: 0 1px 2px rgba(17,19,24,0.04), 0 4px 14px rgba(17,19,24,0.04);
  --shadow-md: 0 10px 30px rgba(17,19,24,0.08);
  --shadow-lg: 0 24px 60px rgba(17,19,24,0.14);

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (min-width: 768px)  { :root { --margin: 32px; --gutter: 20px; } }
@media (min-width: 1200px) { :root { --margin: 40px; --gutter: 24px; } }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
/* Lenis (lenis.css). Lenis 1.1 only adds .lenis-smooth mid-animation, so switch
   native smooth scrolling off whenever Lenis is running at all. */
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--margin) * 2);
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── Primitives ── */
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--text-dark);
  border: 1px solid var(--border);
  position: relative;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s, transform .2s var(--spring);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--text-light); }
.icon-btn:active { transform: scale(.94); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--spring), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 24px var(--blue-glow); }
.btn-ghost { background: transparent; color: var(--text-dark); border: 1px solid var(--text-dark); }
.btn-ghost:hover { background: var(--text-dark); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--text-dark); }
.btn-yellow:hover { background: #ffdd4d; }

.price { font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.price small { font-size: .62em; font-weight: 500; margin-right: 1px; vertical-align: .18em; }
.price-old { color: var(--text-light); font-size: .8rem; font-weight: 500; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(29,185,84,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(29,185,84,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(29,185,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,185,84,0); }
}

/* Numbered section header — "01 ——— Title" */
.section-head {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 14px; margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.section-num { font-size: 1.6rem; font-weight: 400; color: var(--text-dark); letter-spacing: -0.02em; }
.section-num span { color: var(--text-light); }
.section-title { margin-left: auto; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 500; }

/* ══════════════════════════════
   PROMO BANNER
   ══════════════════════════════ */
.promo-banner {
  background: var(--text-dark); color: rgba(255,255,255,.82);
  height: 36px; display: flex; align-items: center;
  position: relative; overflow: hidden; z-index: 200;
  font-size: .8rem; font-weight: 500;
  transition: height .3s ease, opacity .3s ease;
}
.pb-track { overflow: hidden; flex: 1; padding-right: 48px; }
.pb-scroll { display: flex; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.pb-group { display: flex; }
.pb-scroll span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; }
.pb-scroll span::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }
.pb-scroll strong { color: var(--yellow); font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.promo-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  color: rgba(255,255,255,.6); font-size: .7rem; background: rgba(255,255,255,.08);
  transition: background .2s, color .2s;
}
.promo-close:hover { color: #fff; background: rgba(255,255,255,.18); }

/* ══════════════════════════════
   HEADER
   ══════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,251,247,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,.88); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 84px; }

.greet { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.greet-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: end center;
  background: linear-gradient(160deg, var(--border), #ddd9cd);
  color: var(--text-light);
}
.greet-avatar svg { width: 40px; height: 40px; }
.greet-text { display: flex; flex-direction: column; min-width: 0; }
.greet-hi { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--text-dark); }
.greet-addr {
  display: block; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: .88rem; color: var(--text-light);
}
.greet-addr svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

.logo-wrap { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: var(--yellow);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem;
}
.logo-text { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--text-dark); }
.logo-text span { font-weight: 400; color: var(--text-light); }

.header-search {
  flex: 1; max-width: 380px; margin-left: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s, border-color .2s, box-shadow .2s;
  display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 8px 0 18px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.site-header.show-search .header-search { opacity: 1; visibility: visible; transform: none; }
.header-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }
.header-search svg { width: 18px; height: 18px; color: var(--text-light); }
.header-search input, .search-pill input {
  border: none; background: none; outline: none; width: 100%;
  font: inherit; font-size: .95rem; color: var(--text-dark);
}
.header-search input::placeholder, .search-pill input::placeholder { color: var(--text-light); }
input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-clear {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--off-white); color: var(--text-mid); font-size: .72rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.search-clear:hover { background: var(--text-dark); color: #fff; }

.header-nav { display: flex; gap: 4px; margin-left: 12px; }
.nav-link {
  height: 40px; padding: 0 16px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center;
  font-weight: 500; font-size: .95rem; color: var(--text-mid);
  transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--white); color: var(--text-dark); }
.nav-link.active { background: var(--text-dark); color: var(--white); }

.header-actions { display: flex; gap: 12px; margin-left: auto; flex-shrink: 0; }
.site-header.show-search .header-actions { margin-left: 0; }
.header-actions .icon-btn { width: 52px; height: 52px; border: none; box-shadow: var(--shadow-sm); }
.header-actions .icon-btn svg { width: 21px; height: 21px; }
.header-actions .icon-btn:hover { background: var(--text-dark); color: var(--white); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--yellow); color: var(--text-dark);
  font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--off-white);
  transition: transform .3s var(--spring);
}
.cart-count.empty { transform: scale(0); }
.cart-count.bump { transform: scale(1.35); }

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px);
}

.hero-title {
  font-size: clamp(2.1rem, 6vw, 5.2rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.02;
}
.hero-title span { font-weight: 400; color: var(--text-light); }

.hero-search { display: flex; gap: 10px; margin-top: 32px; max-width: 480px; }
.search-pill {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px;
  background: var(--white); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); border: 1px solid transparent;
  cursor: text; transition: border-color .2s, box-shadow .2s;
}
.search-pill input[readonly], .header-search input[readonly] { cursor: pointer; }
.search-pill:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }
.search-pill svg { width: 18px; height: 18px; color: var(--text-light); }
.filter-fab {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--text-dark); color: var(--white);
  display: grid; place-items: center;
  transition: background .2s, transform .2s var(--spring);
}
.filter-fab svg { width: 22px; height: 22px; }
.filter-fab:hover { background: var(--blue); transform: rotate(-8deg); }


/* Hero visual */
.hero-visual { position: relative; padding: 0 6%; }
.hero-img-card {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-xl);
  background: var(--white); overflow: hidden; box-shadow: var(--shadow-md);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-live {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 38px; padding: 0 16px; border-radius: var(--radius-pill);
  background: var(--text-dark); color: var(--white);
  font-size: .82rem; font-weight: 500;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 10px; border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-lg);
  text-align: left;
  animation: float 6s ease-in-out infinite;
}
.fc-text { display: block; padding-right: 4px; }
.fc-plus {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--off-white); color: var(--text-dark);
  transition: background .2s, color .2s;
}
.fc-plus svg { width: 16px; height: 16px; }
.float-card:hover .fc-plus { background: var(--blue); color: var(--white); }
.float-card:hover, .float-card:focus-visible { animation-play-state: paused; }
.float-card img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.fc-name { display: block; font-size: .85rem; font-weight: 600; }
.fc-price { display: block; font-size: 1.1rem; font-weight: 600; }
.fc-price small { font-size: .65em; font-weight: 500; }
.float-card--left  { left: -4%; top: 16%; }
.float-card--right { right: -4%; bottom: 22%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Pin marker — echoes the "60%" callouts */
.float-pin {
  position: absolute; right: 2%; top: -18px;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: baseline; justify-content: center; padding-top: 22px;
  box-shadow: 0 12px 30px var(--blue-glow);
}
.float-pin::after {
  content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: var(--blue); border-radius: 2px;
}
.float-pin span { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.float-pin small { font-size: .75rem; margin-left: 2px; opacity: .8; }

/* ══════════════════════════════
   TRENDING
   ══════════════════════════════ */
.trending-section { padding-bottom: 56px; }
.trending-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.trending-header h2 { font-size: 1.15rem; font-weight: 600; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 12px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--border);
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mid);
}
.trending-scroll {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin);
  scroll-snap-type: x proximity;
}
.trending-scroll::-webkit-scrollbar { display: none; }
.trend-chip {
  flex-shrink: 0; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px 0 6px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--border);
  font-size: .9rem; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--spring);
}
.trend-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.trend-price { color: var(--text-light); font-weight: 500; }
.trend-chip:hover { border-color: var(--text-light); }
.trend-chip:active { transform: scale(.97); }
.trend-chip.active { background: var(--text-dark); color: var(--white); border-color: var(--text-dark); }
.trend-chip.active .trend-price { color: var(--yellow); }

/* ══════════════════════════════
   CATEGORIES — arc band
   ══════════════════════════════ */
.categories-section { overflow: hidden; margin-top: -8px; }
/* Two nested domes: a pale outer band and a lighter inner one, like the reference */
.categories-arc {
  --dome: min(1200px, 160vw);
  position: relative; height: 230px;
}
.categories-arc::before, .categories-arc::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: var(--dome); aspect-ratio: 1; border-radius: 50%;
  pointer-events: none;
}
.categories-arc::before { top: 0; background: #f4f0e4; }
.categories-arc::after { top: 150px; width: calc(var(--dome) * .92); background: var(--off-white); }
.categories-scroll {
  position: relative; z-index: 1;
  display: flex; gap: 22px; height: 100%;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  scroll-snap-type: x mandatory;
  /* let the first and last item reach the centre */
  padding: 22px calc(50% - 44px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-item {
  flex-shrink: 0; width: 88px; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-bottom: 12px; position: relative; align-self: flex-start;
  /* --arc is set from JS: 0 in the centre, grows towards the edges */
  transform: translateY(calc(var(--arc, 0) * 1px));
}
.cat-thumb {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
  background: var(--white); border: 5px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--spring), box-shadow .2s;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-label { font-size: 1rem; font-weight: 500; color: var(--text-mid); transition: color .2s; }
.cat-item::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 44px; height: 3px; border-radius: 3px; background: var(--text-dark);
  transform: translateX(-50%) scaleX(0); transition: transform .25s var(--ease);
}
.cat-item:hover .cat-thumb { transform: translateY(-3px); }
.cat-item.active .cat-thumb { box-shadow: 0 0 0 3px var(--blue), var(--shadow-md); transform: translateY(-4px); }
.cat-item.active .cat-label { color: var(--text-dark); font-weight: 600; }
.cat-item.active::after { transform: translateX(-50%) scaleX(1); }
.trending-section { padding-top: 8px; }
.menu-anchor { display: block; height: 0; scroll-margin-top: 84px; }

/* ══════════════════════════════
   FILTER BAR
   ══════════════════════════════ */
.filter-bar {
  position: sticky; top: 72px; z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.filter-bar-inner { display: flex; align-items: center; gap: 12px; height: 68px; }
.filter-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--white);
  font-size: .9rem; font-weight: 500; color: var(--text-mid);
  transition: background .2s, color .2s, border-color .2s;
}
.pill svg { width: 15px; height: 15px; }
.pill:hover { border-color: var(--text-light); color: var(--text-dark); }
.pill.active { background: var(--text-dark); border-color: var(--text-dark); color: var(--white); }
.pill.active svg { fill: currentColor; }
.filter-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sort-wrap { position: relative; }
.sort-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px;
  border-right: 1.6px solid var(--text-mid); border-bottom: 1.6px solid var(--text-mid);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.sort-select {
  appearance: none; -webkit-appearance: none;
  height: 40px; padding: 0 40px 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--off-white);
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--text-dark);
  cursor: pointer; outline: none;
}
.sort-select:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }
.time-badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: var(--radius-pill);
  background: var(--off-white); color: var(--text-mid); font-size: .85rem; font-weight: 500; white-space: nowrap;
}
.time-badge svg { width: 16px; height: 16px; }

/* Search notice */
.search-notice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding: 10px 10px 10px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: .9rem; color: var(--text-mid);
}
.search-notice button {
  height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
  background: var(--off-white); font-size: .82rem; font-weight: 600; color: var(--text-dark);
  transition: background .2s, color .2s;
}
.search-notice button:hover { background: var(--text-dark); color: var(--white); }

/* ══════════════════════════════
   MENU GRID
   ══════════════════════════════ */
.menu-section { padding-top: 36px; padding-bottom: 88px; }
.menu-title-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.menu-title { font-size: 1.5rem; font-weight: 600; }
.section-count { font-size: .9rem; color: var(--text-light); }

.menu-grid {
  display: grid; gap: var(--gutter);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.menu-card {
  display: flex; flex-direction: column;
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 10px; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.menu-card.hidden { display: none; }

.card-img-wrap {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md);
  overflow: hidden; background: var(--off-white);
}
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.menu-card:hover .card-img { transform: scale(1.05); }
.card-fav {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px; border: none;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
}
.card-fav svg { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.card-fav:hover { color: var(--red); }
.card-fav.active { color: var(--red); }
.card-fav.active svg { fill: currentColor; transform: scale(1.1); }
.offer-badge {
  position: absolute; top: 12px; left: 12px;
  height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center;
  background: var(--yellow); color: var(--text-dark);
  font-size: .75rem; font-weight: 700;
}
.offer-badge--hot { background: var(--orange); color: var(--white); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  height: 24px; padding: 0 10px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 600; border: 1px solid var(--border); color: var(--text-mid);
}
.tag-popular { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tag-new     { background: var(--text-dark); border-color: var(--text-dark); color: var(--white); }
.tag-offer   { background: rgba(254,211,33,.22); border-color: rgba(254,211,33,.6); color: var(--text-dark); }
.tag-dessert { background: rgba(233,30,140,.08); border-color: rgba(233,30,140,.25); color: var(--pink); }

.card-name { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.card-open { font: inherit; letter-spacing: inherit; text-align: left; color: inherit; }
.card-open::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.menu-card { position: relative; cursor: pointer; }
.card-fav, .add-btn { position: relative; z-index: 1; }
.card-fav { position: absolute; }
.card-desc {
  margin-top: 6px; font-size: .88rem; color: var(--text-light); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; font-size: .8rem; color: var(--text-light);
}
.card-rating { display: inline-flex; align-items: center; gap: 4px; }
.card-rating svg { width: 14px; height: 14px; color: var(--yellow); }
.rating-val { color: var(--text-dark); font-weight: 600; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); opacity: .6; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 16px;
}
.card-price { font-size: 1.5rem; display: inline-flex; align-items: baseline; gap: 6px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 18px 0 14px; border-radius: var(--radius-pill);
  background: var(--off-white); color: var(--text-dark);
  font-size: .9rem; font-weight: 600;
  transition: background .2s, color .2s, transform .2s var(--spring);
}
.add-btn svg { width: 18px; height: 18px; }
.add-btn:hover { background: var(--blue); color: var(--white); }
.add-btn:active { transform: scale(.94); }
.add-btn.added { background: var(--green); color: var(--white); }

.menu-empty {
  text-align: center; padding: 56px 20px;
  background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--border);
}
.menu-empty p { font-weight: 600; font-size: 1.1rem; }
.menu-empty span { color: var(--text-light); font-size: .9rem; }

/* ══════════════════════════════
   COMBOS
   ══════════════════════════════ */
.combos-section { padding-bottom: 88px; scroll-margin-top: 80px; }
.combos-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gutter); align-items: stretch;
}
.combos-text-col {
  background: var(--white); border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
}
.combos-title { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; font-weight: 600; line-height: 1; }
.combos-title span { font-weight: 400; color: var(--text-light); }
.combos-desc { margin-top: 14px; color: var(--text-mid); max-width: 420px; }
.combo-list { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.combo-item {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 8px; border-radius: var(--radius-pill);
  background: var(--off-white);
  transition: background .2s, box-shadow .2s;
}
.combo-item:hover { background: var(--white); box-shadow: 0 0 0 1px var(--border), var(--shadow-sm); }
.combo-thumb { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.combo-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.combo-name { font-weight: 600; }
.combo-items { font-size: .82rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-price-wrap { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.combo-old { font-size: .75rem; color: var(--text-light); text-decoration: line-through; }
.combo-price { font-size: 1.2rem; font-weight: 600; }
.combo-price small { font-size: .65em; font-weight: 500; }
.combo-add {
  height: 44px; padding: 0 20px; border-radius: var(--radius-pill);
  background: var(--blue); color: var(--white); font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .2s var(--spring);
}
.combo-add:hover { background: var(--blue-dark); }
.combo-add:active { transform: scale(.94); }
.combo-add.added { background: var(--green); }

.combos-img-col { position: relative; }
.combo-img-card { height: 100%; min-height: 320px; border-radius: var(--radius-xl); overflow: hidden; background: var(--blue); }
.combo-main-img { width: 100%; height: 100%; object-fit: cover; }
.combo-pin {
  position: absolute; left: -18px; top: 28px;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--yellow); color: var(--text-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.combo-pin small { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.combo-pin strong { font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.combo-pin strong span { font-size: .5em; font-weight: 500; }

/* ══════════════════════════════
   PROMO STRIP
   ══════════════════════════════ */
.promo-strip { padding-bottom: 88px; }
.strip-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 56px);
  background: var(--blue); color: var(--white);
  border-radius: var(--radius-xl);
}
.strip-card::before, .strip-card::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255,255,255,.14);
}
.strip-card::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.strip-card::after  { width: 260px; height: 260px; right: 40px; bottom: -170px; border-color: rgba(254,211,33,.35); }
.strip-content { position: relative; z-index: 1; }
.strip-sub { font-size: .85rem; color: rgba(255,255,255,.7); }
.strip-title { margin-top: 8px; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.strip-title span { display: block; font-weight: 400; color: rgba(255,255,255,.62); }
.strip-desc { margin-top: 16px; color: rgba(255,255,255,.8); }
.code-pill {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; margin: 0 4px;
  border-radius: var(--radius-pill); border: 1px dashed var(--yellow); color: var(--yellow);
  font-weight: 700; letter-spacing: .06em;
}
.strip-card .btn { position: relative; z-index: 1; }

/* ══════════════════════════════
   ABOUT
   ══════════════════════════════ */
.about-section { padding-bottom: 96px; scroll-margin-top: 80px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.about-tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: var(--radius-pill); background: var(--text-dark); color: var(--white);
  font-size: .78rem; font-weight: 600;
}
.about-title { margin-top: 18px; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.02; }
.about-title span { display: block; font-weight: 400; color: var(--text-light); }
.about-desc { font-size: 1.05rem; color: var(--text-mid); }
.about-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.feat {
  display: inline-flex; align-items: center; height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill); border: 1px solid var(--text-dark);
  font-weight: 500; font-size: .95rem;
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.site-footer {
  background: var(--text-dark); color: rgba(255,255,255,.62);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-top: 64px; padding-bottom: 48px;
}
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-text span { color: rgba(255,255,255,.5); }
.footer-logo p { margin-top: 14px; font-size: .95rem; }
.footer-social-inline { display: flex; gap: 8px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s;
}
.social-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--text-dark); }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer-links h3 { color: var(--white); font-size: .95rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; }
.footer-links a { transition: color .2s; width: fit-content; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: rgba(255,255,255,.42);
}

/* ══════════════════════════════
   BOTTOM NAV (mobile)
   ══════════════════════════════ */
.bottom-nav {
  display: none;
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%); z-index: 150;
  gap: 6px; padding: 6px; border-radius: var(--radius-pill);
  background: var(--text-dark); box-shadow: var(--shadow-lg);
}
.bn-item {
  position: relative; height: 52px; min-width: 52px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.72); background: rgba(255,255,255,.07);
  font-size: .9rem; font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.bn-item svg { width: 21px; height: 21px; }
.bn-item span:not(.cart-count) { display: none; }
.bn-item.active { background: var(--white); color: var(--text-dark); padding: 0 22px 0 18px; }
.bn-item.active span:not(.cart-count) { display: inline; }
.bn-item[data-bn="fav"].active svg { fill: currentColor; }
.bn-count { top: 2px; right: 2px; border-color: var(--text-dark); }

/* ══════════════════════════════
   CART SIDEBAR
   ══════════════════════════════ */
.cart-sidebar {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 400;
  width: min(420px, calc(100% - 20px));
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 20px));
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-overlay {
  position: fixed; inset: 0; z-index: 390;
  background: rgba(17,19,24,.38); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 24px 18px; border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 1.5rem; }
.cart-header-sub { font-size: .88rem; color: var(--text-light); }
.cart-close { font-size: .85rem; background: var(--off-white); border: none; }
.cart-close:hover { background: var(--text-dark); color: var(--white); }
.cart-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cart-items { min-height: 100%; padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.cart-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  text-align: center; padding: 40px 0;
}
.cart-empty-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--off-white); color: var(--blue); display: grid; place-items: center;
}
.cart-empty-icon svg { width: 34px; height: 34px; }
.cart-empty p { font-weight: 600; font-size: 1.1rem; }
.cart-empty p span { font-weight: 400; font-size: .92rem; color: var(--text-light); }
.sheet-handle {
  display: none; width: 44px; height: 5px; border-radius: 5px;
  background: var(--border); margin: 10px auto 0;
}
.cart-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 8px 4px;
}
.cart-item + .cart-item { border-top: 1px solid var(--border); padding-top: 14px; }
.cart-thumb {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: var(--off-white); border: 1px solid var(--border);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-item-name { font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-actions { display: flex; align-items: center; gap: 10px; }
.cart-edit {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .8rem; font-weight: 500; color: var(--text-light);
  transition: color .2s;
}
.cart-edit::after {
  content: ''; border-left: 5px solid currentColor;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.cart-edit:hover { color: var(--blue); }
.cart-qty-wrap {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 2px; border-radius: var(--radius-pill); background: var(--off-white);
}
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%; font-size: .95rem; font-weight: 600;
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.qty-btn:hover { background: var(--text-dark); color: var(--white); }
.qty-val { min-width: 18px; text-align: center; font-weight: 600; font-size: .85rem; }
.cart-item-price {
  height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center;
  background: var(--off-white); font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.cart-footer { padding: 12px 24px 24px; }
.cart-summary {
  position: relative; overflow: hidden;
  padding: 18px 20px 20px; border-radius: var(--radius-lg);
  background: var(--off-white);
}
.cs-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3px 0; font-size: .9rem; color: var(--text-mid);
}
.cs-row span:last-child { font-weight: 600; color: var(--text-dark); }
.cs-total {
  display: flex; flex-direction: column;
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.cs-label { font-size: .9rem; color: var(--text-light); }
.cs-amount { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.cs-img {
  position: absolute; right: -8px; bottom: -10px;
  width: 104px; height: 104px; border-radius: 28px; object-fit: cover;
  transform: rotate(-10deg); box-shadow: var(--shadow-md);
}
.delivery-fee { color: var(--green) !important; }

/* Make-payment pill with knob */
.pay-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 64px; margin-top: 16px; padding: 0 6px 0 26px;
  border-radius: var(--radius-pill);
  background: var(--blue); color: var(--white);
  font-weight: 600; font-size: 1.05rem;
  transition: background .2s;
}
.pay-btn:hover { background: var(--blue-dark); }
.pay-label { position: relative; z-index: 1; transition: opacity .2s; }
.pay-knob {
  position: absolute; right: 6px; top: 6px; bottom: 6px;
  width: 76px; border-radius: var(--radius-pill);
  background: var(--white); color: var(--blue);
  display: grid; place-items: center;
  transition: width .55s cubic-bezier(.22,1,.36,1), background .3s, color .3s;
}
.pay-knob > span { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .2s, transform .3s var(--spring); }
.pay-chevrons svg { width: 34px; height: 22px; }
.pay-chevrons polyline { animation: chev 1.4s ease-in-out infinite; }
.pay-chevrons polyline:nth-child(2) { animation-delay: .15s; }
.pay-chevrons polyline:nth-child(3) { animation-delay: .3s; }
@keyframes chev { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.pay-check { opacity: 0; transform: scale(.5); }
.pay-check svg { width: 26px; height: 26px; }
.pay-btn:hover .pay-knob { width: 88px; }
.pay-btn.paying { pointer-events: none; }
.pay-btn.paying .pay-label { opacity: 0; }
.pay-btn.paying .pay-knob { width: calc(100% - 12px); background: var(--green); color: var(--white); }
.pay-btn.paying .pay-chevrons { opacity: 0; }
.pay-btn.paying .pay-check { opacity: 1; transform: scale(1); }

/* ══════════════════════════════
   BACK TO TOP · TOAST
   ══════════════════════════════ */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 140;
  width: 48px; height: 48px; font-size: 1.1rem;
  background: var(--text-dark); color: var(--white); border: none;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), background .2s;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 500;
  transform: translateX(-50%) translateY(20px);
  max-width: calc(100% - 40px);
  padding: 14px 22px; border-radius: var(--radius-pill);
  background: var(--text-dark); color: var(--white);
  font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .3s var(--spring);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════
   NOTIFICATIONS
   ══════════════════════════════ */
.notif-wrap { position: relative; }
.notif-dot {
  position: absolute; top: 14px; right: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--white);
}
.notif-dot.seen { display: none; }
.notif-panel {
  position: absolute; top: calc(100% + 10px); right: -8px; z-index: 120;
  width: min(340px, calc(100vw - 32px));
  padding: 16px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.notif-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 10px; }
.notif-head h3 { font-size: 1rem; letter-spacing: -0.01em; }
.notif-head span { font-size: .78rem; color: var(--text-light); }
.notif-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.notif-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 10px; border-radius: var(--radius-md); background: var(--off-white);
}
.notif-list strong { display: block; font-size: .9rem; font-weight: 600; }
.notif-list li span:not(.notif-ic) { display: block; font-size: .8rem; color: var(--text-light); }
.notif-ic {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-weight: 700;
}
.notif-ic svg { width: 17px; height: 17px; }
.notif-ic--yellow { background: var(--yellow); color: var(--text-dark); }
.notif-ic--green { background: var(--green); }

/* ══════════════════════════════
   PRODUCT SHEET — order control
   ══════════════════════════════ */
.ps-overlay {
  position: fixed; inset: 0; z-index: 410;
  background: rgba(17,19,24,.42); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.ps-overlay.visible { opacity: 1; pointer-events: all; }
.product-sheet {
  position: fixed; left: 50%; top: 50%; z-index: 420;
  overscroll-behavior: contain;
  width: min(440px, calc(100% - 32px)); max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  background: var(--off-white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden auto;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -46%) scale(.97);
  transition: opacity .3s var(--ease), transform .45s cubic-bezier(.22,1,.36,1);
}
.product-sheet.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%); }
.ps-top { position: relative; padding: 16px 16px 0; }
.ps-bar { display: flex; align-items: center; gap: 12px; }
.ps-bar .icon-btn { border: none; }
.ps-title {
  flex: 1; min-width: 0; text-align: center;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ps-title span { font-weight: 400; color: var(--text-light); }
.ps-info-btn[aria-expanded="true"] { background: var(--text-dark); color: var(--white); }
.ps-info {
  position: absolute; right: 16px; top: 68px; z-index: 3;
  display: grid; gap: 8px; min-width: 190px;
  padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-md);
  animation: pop .2s var(--ease);
}
.ps-info div { display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; }
.ps-info dt { color: var(--text-light); }
.ps-info dd { font-weight: 600; }

.ps-stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 0 34px;
}
.ps-img-wrap {
  width: 70%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}
.ps-img { width: 100%; height: 100%; object-fit: cover; }
.ps-img.swap { animation: plate .5s cubic-bezier(.22,1,.36,1); }
@keyframes plate { from { opacity: 0; transform: rotate(-24deg) scale(.9); } to { opacity: 1; transform: none; } }
.ps-control {
  position: relative; width: calc(100% + 32px); margin: 18px -16px 0;
  display: flex; align-items: center; justify-content: space-between;
}
/* Half-moon steppers that hug the sheet edges */
.ps-step {
  width: 64px; height: 88px; display: grid; place-items: center;
  background: var(--white); color: var(--text-dark);
  transition: background .2s, color .2s;
}
.ps-step svg { width: 22px; height: 22px; }
.ps-step--minus { border-radius: 0 44px 44px 0; padding-right: 8px; }
.ps-step--plus  { border-radius: 44px 0 0 44px; padding-left: 8px; }
.ps-step:hover { background: var(--text-dark); color: var(--white); }
.ps-step:disabled { color: var(--border); background: var(--white); cursor: default; }
.ps-qty { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ps-qty.bump { animation: bump .3s var(--spring); }
@keyframes bump { 50% { transform: scale(1.18); } }
.ps-price {
  margin-top: 6px; height: 46px; padding: 0 22px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center;
  background: var(--text-dark); color: var(--white);
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em;
}

.ps-body {
  position: relative; margin-top: -18px;
  padding: 10px 20px 20px;
  background: var(--white); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.ps-body .sheet-handle { display: block; margin: 0 auto 14px; }
.ps-name-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-name { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.ps-fav { width: 42px; height: 42px; }
.ps-fav.active { color: var(--red); border-color: rgba(230,57,70,.3); }
.ps-fav.active svg { fill: currentColor; }
.ps-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ps-tags:empty { display: none; }
.ps-desc {
  margin-top: 12px; font-size: .92rem; color: var(--text-light); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ps-desc.expanded { -webkit-line-clamp: unset; display: block; }
.ps-more { margin-top: 2px; font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.ps-more:hover { color: var(--blue); }
.ps-add {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 64px; margin-top: 18px; padding: 0 6px 0 26px;
  border-radius: var(--radius-pill);
  background: var(--blue); color: var(--white);
  font-weight: 600; font-size: 1.05rem;
  transition: background .2s, transform .2s var(--spring);
}
.ps-add:hover { background: var(--blue-dark); }
.ps-add:active { transform: scale(.98); }
.ps-add-knob {
  width: 76px; height: 52px; border-radius: var(--radius-pill);
  display: grid; place-items: center;
  background: var(--white); color: var(--blue);
  transition: width .3s var(--ease);
}
.ps-add-knob svg { width: 24px; height: 24px; }
.ps-add:hover .ps-add-knob { width: 88px; }
.ps-add.added { background: var(--green); }
.ps-add.added .ps-add-knob { color: var(--green); }

/* ══════════════════════════════
   SMART SEARCH OVERLAY
   ══════════════════════════════ */
.search-overlay {
  position: fixed; inset: 0; z-index: 430;
  background: rgba(17,19,24,.42); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.so-panel {
  width: min(680px, calc(100% - 24px)); max-height: calc(100vh - 24px);
  margin: 12px auto 0; padding: 18px 20px 22px;
  background: var(--off-white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow-y: auto;
  transform: translateY(-16px); transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.search-overlay.open .so-panel { transform: none; }
.so-bar { display: flex; align-items: center; gap: 10px; }
.so-back { width: 52px; height: 52px; border: none; }
.so-pill { height: 52px; }
.so-pill input { font-size: 1rem; }
.so-section { margin-top: 22px; }
.so-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.so-head h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.so-link { font-size: .85rem; font-weight: 600; color: var(--text-light); transition: color .2s; }
.so-link:hover { color: var(--blue); }
.so-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.so-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  height: 46px; padding: 0 18px 0 14px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--border);
  font-size: .92rem; font-weight: 500; color: var(--text-mid);
  transition: border-color .2s, color .2s, background .2s;
}
.so-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-chip svg { width: 18px; height: 18px; color: var(--text-light); }
.so-chip:hover { border-color: var(--text-dark); color: var(--text-dark); }
.so-chip:hover svg { color: var(--blue); }
.so-results { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.so-result {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 8px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid transparent;
  transition: border-color .2s;
}
.so-result:hover { border-color: var(--border); }
.so-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-align: left; }
.so-open img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.so-open span { display: block; min-width: 0; }
.so-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-name mark { background: rgba(254,211,33,.45); color: inherit; border-radius: 3px; padding: 0 1px; }
.so-sub { font-size: .8rem; color: var(--text-light); text-transform: capitalize; }
.so-price { font-weight: 600; white-space: nowrap; }
.so-add {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--off-white); color: var(--text-dark);
  transition: background .2s, color .2s;
}
.so-add svg { width: 18px; height: 18px; }
.so-add:hover { background: var(--blue); color: var(--white); }
.so-add.added { background: var(--green); color: var(--white); }
.so-none { padding: 16px 4px; color: var(--text-light); font-size: .92rem; }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 1100px) {
  .header-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin: 12px auto 0; }
  .combos-inner { grid-template-columns: 1fr; }
  .combo-img-card { min-height: 0; aspect-ratio: 16 / 10; }
  .about-grid { grid-template-columns: 1fr; }
  .time-badge { display: none; }
}

@media (max-width: 768px) {
  /* Header — greeting + actions; search lives in the hero */
  .header-search { display: none; }
  .header-inner { height: 76px; gap: 12px; }
  .greet-avatar { width: 48px; height: 48px; }
  .greet-hi { font-size: 1.35rem; }
  .header-actions { gap: 10px; }
  .header-actions .icon-btn { width: 48px; height: 48px; }
  .notif-dot { top: 12px; right: 14px; }
  .filter-bar { top: 76px; }
  .combos-section, .about-section { scroll-margin-top: 84px; }

  /* Hero — title + search only, as in the reference */
  .hero { padding-top: 10px; padding-bottom: 24px; gap: 0; }
  .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.6rem); white-space: nowrap; }
  .hero-search { margin-top: 20px; max-width: none; }
  .hero-visual { display: none; }
  .float-card { padding: 8px; gap: 10px; }
  .fc-plus { width: 30px; height: 30px; }
  .float-card img { width: 42px; height: 42px; border-radius: 12px; }
  .float-card--left { left: -2%; }
  .float-card--right { right: -2%; }
  .float-pin { width: 70px; height: 70px; padding-top: 18px; }
  .float-pin span { font-size: 1.5rem; }

  /* Categories */
  .categories-arc { height: 210px; }
  .categories-arc::after { top: 138px; }
  .categories-scroll { gap: 14px; padding-left: calc(50% - 38px); padding-right: calc(50% - 38px); }
  .cat-item { width: 76px; }
  .cat-thumb { width: 72px; height: 72px; }
  .cat-label { font-size: .95rem; }

  /* Filter bar */
  .filter-bar-inner { height: 60px; }
  .sort-select { padding: 0 34px 0 14px; max-width: 132px; }

  /* 2-column menu grid, 16px gutter */
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-card { padding: 8px; border-radius: 24px; }
  .card-img-wrap { aspect-ratio: 1; border-radius: 18px; }
  .card-body { padding: 12px 6px 4px; }
  .card-tags { display: none; }
  .card-name { font-size: .98rem; }
  .card-desc, .card-cal, .card-time, .meta-dot { display: none; }
  .card-meta { margin-top: 6px; }
  .card-price { font-size: 1.25rem; flex-direction: column; gap: 0; }
  .add-btn { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .add-label { display: none; }
  .offer-badge { top: 8px; left: 8px; height: 24px; padding: 0 10px; font-size: .68rem; }
  .card-fav { top: 8px; right: 8px; width: 34px; height: 34px; }

  /* Combos */
  .combo-item { border-radius: var(--radius-md); }
  .combo-pin { left: auto; right: 12px; top: -20px; width: 80px; height: 80px; }
  .combo-pin strong { font-size: 1.6rem; }

  /* Footer + nav */
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: flex; }
  .back-to-top { display: none; }
  .toast { bottom: auto; top: calc(76px + env(safe-area-inset-top)); transform: translateX(-50%) translateY(-20px); }

  .cart-sidebar { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(100%); }
  .cart-sidebar.open { transform: translateY(0); }
  .cart-footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .cart-sidebar .sheet-handle { display: block; }

  .product-sheet {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%;
    max-height: calc(100% - 12px); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }
  .product-sheet.open { transform: translateY(0); }
  .ps-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .ps-img-wrap { width: 62%; }

  .so-panel {
    width: 100%; margin: 0; max-height: 86vh;
    padding: calc(14px + env(safe-area-inset-top)) var(--margin) 22px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
  .so-back { width: 48px; height: 48px; }
  .so-pill { height: 48px; padding: 0 16px; }
  .so-chip { height: 42px; font-size: .88rem; }
  .cart-header { padding-top: 12px; }
}

@media (max-width: 480px) {
  .logo-text span { display: none; }
  .combos-text-col { border-radius: var(--radius-lg); }
  .combo-thumb { width: 44px; height: 44px; }
  .combo-add { padding: 0 16px; }
  .combo-items { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .strip-card .btn { width: 100%; }
}

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