/* =====================================================================
   Customer QR menu · mobile first
   ===================================================================== */

body.customer {
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 12px);
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(214, 180, 106, .07), transparent 62%),
    var(--bg);
}

/* ---------------- Gate (invalid / missing QR) ---------------- */
.gate-card {
  max-width: 420px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px 30px;
  box-shadow: var(--shadow);
}
.gate-mark {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(214, 180, 106, .28);
}
.gate-eyebrow {
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.gate-card h1 { font-size: 26px; margin-bottom: 12px; }
.gate-tagline { margin-top: 18px; color: var(--faint); font-size: 13px; }

/* ---------------- Header ---------------- */
.c-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: var(--safe-top);
  background: linear-gradient(180deg, rgba(10, 10, 11, .96) 60%, rgba(10, 10, 11, .82));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.c-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 8px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(214, 180, 106, .26), rgba(226, 112, 58, .16));
  border: 1px solid rgba(214, 180, 106, .32);
  color: var(--gold-strong);
  flex: none;
}
.brand-logo { width: 40px; height: 40px; border-radius: 13px; object-fit: cover; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 16.5px; letter-spacing: -0.015em; line-height: 1.15; }
.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.table-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  border: 1px solid rgba(214, 180, 106, .3);
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 650;
}

.c-search-row { display: flex; gap: 8px; padding: 0 16px 12px; }
.c-filters {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.c-filters::-webkit-scrollbar { display: none; }

.filter-btn { position: relative; }
.filter-count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #1A1508;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
}
.filter-divider {
  width: 1px;
  align-self: stretch;
  margin: 4px 2px;
  background: var(--line-strong);
  flex: none;
}
.chip-clear { color: #F3A9A4; border-color: rgba(229, 100, 92, .3); }
.chip-clear:hover { color: #F3A9A4; border-color: rgba(229, 100, 92, .5); }

/* ---------------- Views ---------------- */
.view { display: none; padding: 0 0 24px; }
.view.is-active { display: block; animation: viewIn .3s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }
.view-head { padding: 22px 16px 8px; }
.view-head h1 { font-size: 26px; margin-bottom: 4px; }
.block { padding: 26px 16px 0; }

/* ---------------- Hero ---------------- */
.hero { padding: 16px 16px 0; }
.hero-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r-xl);
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-height: 236px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  isolation: isolate;
  cursor: pointer;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.02);
  transition: transform var(--slow);
}
.hero-slide:hover img { transform: scale(1.06); }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 10, 11, .96) 4%, rgba(10, 10, 11, .72) 42%, rgba(10, 10, 11, .18) 76%),
    linear-gradient(0deg, rgba(10, 10, 11, .78), transparent 55%);
}
.hero-copy { padding: 24px 20px; max-width: 74%; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 6px;
}
.hero-copy h2 {
  font-size: clamp(24px, 7.4vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 760;
  margin-bottom: 8px;
}
.hero-copy h2 em { font-style: normal; color: var(--gold); display: block; }
.hero-copy p { color: rgba(247, 245, 240, .78); font-size: 13.5px; margin-bottom: 14px; max-width: 30ch; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; }
.hero-dots { display: flex; gap: 6px; justify-content: center; padding: 12px 0 2px; }
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  border: 0;
  background: rgba(247, 245, 240, .22);
  padding: 0;
  cursor: pointer;
  transition: all var(--base);
}
.hero-dot[aria-selected="true"] { width: 22px; background: var(--gold); }

/* ---------------- Category strip ---------------- */
.cat-strip {
  display: flex;
  gap: 10px;
  padding: 20px 16px 4px;
}
.cat-skeletons { display: flex; gap: 10px; }
.cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 76px;
  flex: none;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color var(--fast);
}
.cat-btn span.cat-ico {
  width: 62px; height: 62px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all var(--base);
  overflow: hidden;
  position: relative;
}
.cat-btn span.cat-ico img { width: 100%; height: 100%; object-fit: cover; opacity: .55; position: absolute; inset: 0; }
.cat-btn span.cat-ico .icon { position: relative; z-index: 1; width: 24px; height: 24px; }
.cat-btn .cat-name { line-height: 1.2; text-align: center; }
.cat-btn:hover { color: var(--text); }
.cat-btn:hover span.cat-ico { border-color: var(--line-strong); transform: translateY(-2px); }
.cat-btn.is-active { color: var(--gold-strong); }
.cat-btn.is-active span.cat-ico {
  background: linear-gradient(160deg, rgba(214, 180, 106, .3), rgba(214, 180, 106, .1));
  border-color: rgba(214, 180, 106, .5);
  color: var(--gold-strong);
  box-shadow: 0 10px 26px -14px rgba(214, 180, 106, .8);
}

/* ---------------- Rails and grids ---------------- */
.rail { display: flex; gap: 12px; padding-bottom: 6px; }
.rail .item-card { flex: 0 0 208px; }

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 12px;
}
.item-card-sk { height: 246px; border-radius: var(--r-lg); }

.menu-group { margin-bottom: 28px; }
.menu-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  scroll-margin-top: 190px;
}
.menu-group-head h3 { font-size: 17px; }
.menu-group-head span { font-size: 12.5px; color: var(--faint); }

/* ---------------- Item card ---------------- */
.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: transform var(--base), border-color var(--base), box-shadow var(--base);
  color: inherit;
}
.item-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.item-card:active { transform: scale(.985); }
.item-card.is-out { opacity: .55; }

.item-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}
.item-card:hover .item-media img { transform: scale(1.05); }
.item-media .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #1D1D20, #131315);
  color: rgba(214, 180, 106, .45);
}
.item-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  max-width: calc(100% - 52px);
}
.fav-btn {
  position: absolute;
  top: 7px; right: 7px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--fast);
}
.fav-btn:hover { background: rgba(10, 10, 11, .78); }
.fav-btn.is-on { color: #FF7A78; border-color: rgba(255, 122, 120, .45); }
.fav-btn.is-on .icon { fill: currentColor; }

.item-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.item-name { font-size: 14.5px; font-weight: 640; line-height: 1.25; }
.item-desc {
  font-size: 12.3px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--faint); }
.item-meta .icon { width: 13px; height: 13px; }
.item-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.item-price { font-size: 15.5px; font-weight: 700; color: var(--gold-strong); font-variant-numeric: tabular-nums; }
.item-add {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #1A1508;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: transform var(--fast), filter var(--fast);
}
.item-add:hover { filter: brightness(1.08); }
.item-add:active { transform: scale(.9); }
.sold-out-tag {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px;
  text-align: center;
  background: rgba(10, 10, 11, .82);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #F3A9A4;
}

/* Favourites list uses a wide row layout */
.fav-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  cursor: pointer;
}
.fav-row img, .fav-row .fallback {
  width: 68px; height: 68px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: rgba(214, 180, 106, .4);
}

/* ---------------- Promo ---------------- */
.promo {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(226, 112, 58, .22), transparent 55%),
    var(--surface);
  border: 1px solid rgba(226, 112, 58, .22);
  overflow: hidden;
}
.promo-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.promo-copy h3 { font-size: 21px; }
.promo-copy p { font-size: 13px; }
.promo-art {
  width: 108px; height: 108px;
  border-radius: 26px;
  flex: none;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(247, 245, 240, .1);
}

/* ---------------- Item sheet ---------------- */
.sheet-item .sheet-body { padding: 0; }
.sheet-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  /* Solid, because the sheet body scrolls underneath it. */
  background: rgba(16, 16, 17, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(247, 245, 240, .22);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .9);
}
.sheet-close:hover { background: rgba(28, 28, 30, .96); }
.item-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}
.item-hero img { width: 100%; height: 100%; object-fit: cover; }
.item-hero .fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(214,180,106,.4); }
.item-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(0deg, var(--surface), transparent);
}
.item-detail { padding: 4px 18px 20px; }
.item-detail h2 { font-size: 23px; margin-bottom: 8px; letter-spacing: -0.025em; }
.item-detail .desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.item-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.meta-pill strong { color: var(--text); font-weight: 620; }

.item-foot { display: flex; align-items: center; gap: 12px; }
.item-foot .btn-primary { justify-content: space-between; }

/* ---------------- Cart ---------------- */

.foot-note { font-size: 11.5px; text-align: center; margin-top: 10px; }

.confirm-table {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  border: 1px solid rgba(214, 180, 106, .28);
  margin-bottom: 18px;
  color: var(--gold-strong);
}
.confirm-table p { font-size: 12.5px; }
.confirm-table-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(214, 180, 106, .18);
  display: grid;
  place-items: center;
  flex: none;
}

/* ---------------- Sticky cart bar ---------------- */
.cart-bar {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 10px);
  transform: translateX(-50%);
  z-index: 70;
  width: min(520px, calc(100vw - 28px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  border: 0;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #1A1508;
  font-weight: 680;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 18px 40px -18px rgba(214, 180, 106, .85);
  animation: barUp .34s var(--ease);
}
.cart-bar:active { transform: translateX(-50%) scale(.98); }
@keyframes barUp { from { opacity: 0; transform: translateX(-50%) translateY(14px); } }
.cart-bar-count {
  min-width: 26px; height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(26, 21, 8, .18);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.cart-bar-label { flex: 1; text-align: left; }
.cart-bar-total { font-variant-numeric: tabular-nums; }

/* ---------------- Bottom navigation ---------------- */
.c-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(14, 14, 15, .9);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-top: 1px solid var(--line);
}
.c-nav-btn,
.c-nav-order {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: 0;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  transition: color var(--fast);
  -webkit-tap-highlight-color: transparent;
}
.c-nav-btn:hover { color: var(--muted); }
.c-nav-btn.is-active { color: var(--gold-strong); }
.c-nav-order { color: var(--text); }
.c-nav-order-inner {
  width: 50px; height: 50px;
  margin-top: -24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #1A1508;
  box-shadow: 0 14px 30px -14px rgba(214, 180, 106, .9);
  border: 4px solid #0E0E0F;
  transition: transform var(--fast);
}
.c-nav-order:active .c-nav-order-inner { transform: scale(.93); }
.c-nav-badge {
  position: absolute;
  top: -22px; right: 50%;
  transform: translateX(24px);
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #0E0E0F;
}
.c-nav-dot {
  position: absolute;
  top: 4px;
  right: calc(50% - 16px);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(79, 190, 134, .18);
  animation: dotPulse 1.8s var(--ease) infinite;
}

/* ---------------- Service tiles ---------------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all var(--fast);
}
.service-tile .icon { color: var(--gold); margin-bottom: 6px; }
.service-tile strong { font-size: 14.5px; }
.service-tile small { font-size: 11.5px; color: var(--muted); }
.service-tile:hover { border-color: rgba(214, 180, 106, .4); transform: translateY(-2px); }
.service-tile.is-active { border-color: var(--gold); background: var(--gold-soft); }
.service-status {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  background: var(--green-soft);
  border: 1px solid rgba(79, 190, 134, .3);
  color: #A9E6C6;
  font-size: 13.5px;
}

/* ---------------- Order tracking ---------------- */
.track-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
  margin: 0 16px 14px;
  box-shadow: var(--shadow-sm);
}
.track-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.track-number { font-size: 12px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.track-title { font-size: 19px; font-weight: 680; margin-top: 2px; }
.track-eta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.timeline { display: grid; gap: 0; margin: 18px 0 6px; }
.tl-step { display: flex; gap: 13px; min-height: 46px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.tl-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: transparent;
  transition: all var(--base);
}
.tl-dot .icon { width: 12px; height: 12px; stroke-width: 3; }
.tl-line { width: 2px; flex: 1; background: var(--line); margin: 2px 0; }
.tl-step:last-child .tl-line { display: none; }
.tl-body { padding-bottom: 16px; }
.tl-body strong { font-size: 14.5px; display: block; }
.tl-body span { font-size: 12.5px; color: var(--faint); }
.tl-step.is-done .tl-dot { border-color: var(--green); background: var(--green); color: #08150E; }
.tl-step.is-done .tl-line { background: rgba(79, 190, 134, .5); }
.tl-step.is-current .tl-dot {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
  box-shadow: 0 0 0 5px rgba(214, 180, 106, .14);
  animation: dotPulse 2s var(--ease) infinite;
}
.tl-step.is-current .tl-body strong { color: var(--gold-strong); }
.tl-step.is-pending .tl-body strong { color: var(--muted); }

.track-items { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; display: grid; gap: 8px; }
.track-item-row { display: flex; gap: 10px; font-size: 13.5px; }
.track-item-row .qty { color: var(--gold); font-weight: 650; min-width: 26px; }
.track-item-row .opts { color: var(--faint); font-size: 12px; }
.track-item-row .amt { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.track-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.reject-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--red-soft);
  border: 1px solid rgba(229, 100, 92, .3);
  color: #F3B4B0;
  font-size: 13px;
}

/* ---------------- Full-screen status popup ---------------- */
.status-pop {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 26px;
  background: radial-gradient(circle at 50% 30%, rgba(24, 22, 16, .96), rgba(6, 6, 7, .98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeIn .3s var(--ease);
  text-align: center;
}
.status-pop[hidden] { display: none; }
.status-pop-inner { max-width: 420px; animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(12px); } }
.status-pop-icon {
  width: 96px; height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  border: 1px solid rgba(79, 190, 134, .35);
  color: var(--green);
  animation: ringPulse 2.4s var(--ease) infinite;
}
.status-pop-icon .icon { stroke-width: 2.4; }
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 190, 134, .28); }
  50% { box-shadow: 0 0 0 22px rgba(79, 190, 134, 0); }
}
.status-pop.is-gold .status-pop-icon { background: var(--gold-soft); border-color: rgba(214,180,106,.4); color: var(--gold); }
.status-pop.is-red .status-pop-icon { background: var(--red-soft); border-color: rgba(229,100,92,.4); color: var(--red); }
.status-pop-eyebrow {
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.status-pop h2 { font-size: clamp(21px, 5.6vw, 27px); line-height: 1.28; margin-bottom: 12px; }
.status-pop p { margin-bottom: 26px; font-size: 14.5px; }

/* ---------------- Footer + notices ---------------- */
.allergy-note {
  display: flex;
  gap: 10px;
  margin: 30px 16px 0;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.allergy-note .icon { color: var(--gold); flex: none; margin-top: 2px; }
.c-footer { text-align: center; padding: 34px 16px 10px; }
.c-footer strong { display: block; font-size: 17px; margin-bottom: 6px; }
.c-footer p { font-size: 12.5px; }

/* ---------------- Larger screens ---------------- */
@media (min-width: 640px) {
  .c-header-inner, .c-search-row, .c-filters, .block, .view-head, .hero { padding-left: 24px; padding-right: 24px; }
  .track-card { margin-left: 24px; margin-right: 24px; }
  .allergy-note { margin-left: 24px; margin-right: 24px; }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
  .hero-slide { min-height: 300px; }
  .hero-copy { padding: 32px 30px; max-width: 64%; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .sheet { border-radius: var(--r-xl); max-width: 620px; margin: auto; max-height: 88vh; border-bottom: 1px solid var(--line); }
  .overlay { padding: 24px; }
}

@media (min-width: 1024px) {
  main#menu-main { max-width: 1180px; margin: 0 auto; }
  .c-header-inner, .c-search-row, .c-filters { max-width: 1180px; margin-inline: auto; }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .hero-slide { min-height: 360px; }
  .hero-copy { max-width: 52%; }

  /* The bottom bar becomes a floating pill instead of disappearing. */
  .c-nav {
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(560px, calc(100vw - 48px));
    height: var(--nav-h);
    padding-bottom: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow);
  }
  .cart-bar { bottom: calc(var(--nav-h) + 34px); }
  .toast-stack { bottom: calc(var(--nav-h) + 34px); }
}
