/* Hallmark · built · genre consumer-app · theme custom (acá Acarigua Glovo Gold x Apple iOS 18 Native App) · hero: full-bleed curved golden 3D radial hub · nav: native frosted iOS bottom tab bar · footer: none · posture: fluid */
/* Hallmark · critique: full-bleed sunlit Glovo gold hero (#FFC244) curving into crisp porcelain white (#FAF9F6) with living 3D floating food orbs, magnetic neighbor physics, frosted iOS tab bar, editorial spotlight cards, and live animated Acarigua delivery map */

:root {
  --gold: #FFC244;
  --gold-deep: #F3AE1E;
  --gold-soft: #FFE08A;
  --teal: #00856B;
  --teal-hover: #006E58;
  --teal-soft: #E6F6F2;
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-2: #F2EFE9;
  --surface-3: #E6E1D8;
  --ink: #151412;
  --ink-2: #544F49;
  --ink-3: #837C74;
  --accent: #00856B;
  --accent-hover: #006E58;
  --accent-soft: #E6F6F2;
  --accent-ink: #FFFFFF;
  --heart: #E1304B;
  --open-bg: #E7F6EC;
  --open-ink: #136836;
  --online-bg: #FFF3E0;
  --online-ink: #9A4800;
  --closed-bg: #ECE8E1;
  --closed-ink: #5D5750;
  --wa-bg: #EAF6ED;
  --wa-ink: #153822;
  --wa-line: rgba(21, 128, 61, 0.16);
  --island-bg: #151412;
  --island-rim: rgba(255, 255, 255, 0.14);
  --island-track: rgba(255, 255, 255, 0.2);
  --glass-tabbar: rgba(250, 249, 246, 0.86);
  --glass-border: rgba(21, 20, 18, 0.08);
  --orb-hi: #FFFFFF;
  --orb-lo: #F5F0E4;
  --orb-soft-hi: #FFF7DE;
  --orb-soft-lo: #F7DF9B;
  --orb-rim: rgba(255, 255, 255, 0.95);
  --orb-shadow: 0 14px 26px rgba(128, 84, 0, 0.22), 0 3px 6px rgba(128, 84, 0, 0.12);
  --orb-center-shadow: 0 18px 34px rgba(21, 20, 18, 0.34), 0 4px 10px rgba(21, 20, 18, 0.18);
  --orb-icon-shadow: drop-shadow(0 12px 10px rgba(48, 30, 4, 0.25));
  --ring-stroke: rgba(21, 20, 18, 0.11);
  --map-land: #EFECE3;
  --map-road: #FFFFFF;
  --map-road-main: #FFF5D6;
  --map-park: #DCECD9;
  --line: rgba(21, 20, 18, 0.08);
  --line-strong: rgba(21, 20, 18, 0.15);
  --backdrop: rgba(18, 17, 15, 0.48);
  --close-float-bg: rgba(255, 255, 255, 0.94);
  --switch-off: rgba(21, 20, 18, 0.22);
  --scrim-card: linear-gradient(180deg, rgba(16, 14, 12, 0) 28%, rgba(16, 14, 12, 0.84) 100%);
  --shadow-card: 0 4px 16px rgba(30, 24, 16, 0.06), 0 1px 3px rgba(30, 24, 16, 0.04);
  --shadow-card-hover: 0 16px 36px rgba(30, 24, 16, 0.12), 0 3px 8px rgba(30, 24, 16, 0.05);
  --shadow-float: 0 18px 40px rgba(18, 14, 8, 0.26), 0 4px 10px rgba(18, 14, 8, 0.12);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --container: 1120px;
  --orbit-r: 118px;
}

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

[hidden] {
  display: none !important;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--ink);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ic-xs {
  width: 15px;
  height: 15px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--sp-3);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--sp-4);
  }
}

/* ==================== iOS 18 SPATIAL DEPTH SHELL ==================== */
.app-shell {
  min-height: 100dvh;
  background: var(--bg);
  transform-origin: center top;
  transition: transform 320ms var(--ease-drawer), border-radius 320ms var(--ease-drawer), filter 280ms ease;
}

.app-shell.is-pushed {
  transform: scale(0.955) translateY(8px);
  border-radius: 26px;
  overflow: hidden;
  filter: brightness(0.9);
}

.main {
  padding-bottom: 148px;
}

@media (min-width: 768px) {
  .main {
    padding-bottom: 96px;
  }
}

.tab-view {
  transition: opacity 180ms ease, filter 180ms ease;
}

.tab-view.is-fading {
  opacity: 0.45;
  filter: blur(2px);
}

/* ==================== DESKTOP NAV ==================== */
.desktop-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 35;
  background: var(--gold);
  border-bottom: 1px solid rgba(21, 20, 18, 0.06);
}

@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }
}

.desktop-nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.dnav-left {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--teal);
  display: inline-block;
}

.loc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}

.loc-trigger:active {
  transform: scale(0.96);
}

.dnav-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(21, 20, 18, 0.09);
}

.dnav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.78;
  transition: background-color 180ms ease, opacity 160ms ease, transform 140ms var(--ease-out);
}

.dnav-tab:active {
  transform: scale(0.96);
}

.dnav-tab.is-active {
  background: var(--surface);
  opacity: 1;
  box-shadow: var(--shadow-card);
}

.tab-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--surface);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bcv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: transform 140ms var(--ease-out);
}

.bcv-chip:active {
  transform: scale(0.95);
}

.bcv-chip-gold {
  padding: 4px;
}

.bcv-chip-pill {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 800;
}

/* ==================== FULL-BLEED GLOVO SUNLIT GOLDEN HERO ==================== */
.glovo-hero {
  position: relative;
  background: radial-gradient(circle at 50% 44%, var(--gold-soft) 0%, var(--gold) 62%, var(--gold-deep) 100%);
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: 52px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .glovo-hero {
    padding-top: var(--sp-4);
    padding-bottom: 64px;
  }
}

.glovo-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 44px;
  fill: var(--bg);
  pointer-events: none;
}

@media (min-width: 768px) {
  .glovo-curve {
    height: 60px;
  }
}

.mobile-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .mobile-appbar {
    display: none;
  }
}

.loc-pill-mobile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  min-width: 0;
  max-width: 72%;
  text-align: left;
  transition: transform 140ms var(--ease-out);
}

.loc-pill-mobile:active {
  transform: scale(0.96);
}

.loc-pin {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-pin .ic {
  width: 17px;
  height: 17px;
}

.loc-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.loc-copy small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.1;
}

.loc-copy strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.glovo-stage-grid {
  display: grid;
  gap: 12px;
  align-items: center;
}

@media (min-width: 900px) {
  .glovo-stage-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: var(--sp-5);
  }
}

.glovo-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-search-pill {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(120, 78, 0, 0.16);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  transition: transform 150ms var(--ease-out);
}

.hero-search-pill:active {
  transform: scale(0.98);
}

.hero-search-pill .ic {
  color: var(--teal);
}

.desktop-hero-copy {
  display: none;
}

@media (min-width: 900px) {
  .desktop-hero-copy {
    display: block;
    order: -1;
  }

  .desktop-hero-copy h1 {
    margin: 0;
    font-size: clamp(32px, 3.8vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.04;
    color: var(--ink);
    text-wrap: balance;
  }

  .desktop-hero-copy p {
    margin: 12px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(21, 20, 18, 0.74);
    max-width: 38ch;
  }
}

.active-cat-banner {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--surface);
  font-size: 13.5px;
  font-weight: 700;
  align-self: flex-start;
  box-shadow: var(--shadow-float);
}

.cat-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  color: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
}

/* ==================== LIVING 3D GLOVO CONSTELLATION ==================== */
.hub-orbit-wrap {
  display: flex;
  justify-content: center;
  perspective: 1100px;
}

.hub-stage {
  position: relative;
  width: 336px;
  height: 336px;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 480px) {
  :root {
    --orbit-r: 128px;
  }

  .hub-stage {
    width: 368px;
    height: 368px;
  }
}

@media (min-width: 900px) {
  :root {
    --orbit-r: 142px;
  }

  .hub-stage {
    width: 408px;
    height: 400px;
  }
}

.hub-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateZ(-16px);
}

.hub-ring-a,
.hub-ring-b {
  fill: none;
  stroke: var(--ring-stroke);
  stroke-width: 1.4;
}

.hub-ring-a {
  stroke-dasharray: 5 8;
}

.orb {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform-style: preserve-3d;
  touch-action: none;
  will-change: transform;
}

.orb-center {
  z-index: 5;
  width: 104px;
  height: 104px;
  margin-left: -52px;
  margin-top: -52px;
}

.orb-sat {
  z-index: 4;
  width: 92px;
  margin-left: -46px;
  margin-top: -54px;
}

@media (min-width: 900px) {
  .orb-center {
    width: 116px;
    height: 116px;
    margin-left: -58px;
    margin-top: -58px;
  }

  .orb-sat {
    width: 100px;
    margin-left: -50px;
    margin-top: -58px;
  }
}

.orb-body {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: var(--r-pill);
  background: linear-gradient(155deg, var(--orb-hi) 0%, var(--orb-lo) 100%);
  box-shadow: var(--orb-shadow), inset 0 2px 2px var(--orb-rim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 240ms var(--ease-spring), box-shadow 220ms ease;
}

@media (min-width: 900px) {
  .orb-body {
    width: 94px;
    height: 94px;
  }
}

.orb-body-center {
  width: 104px;
  height: 104px;
  background: linear-gradient(150deg, #272420 0%, #141210 100%);
  box-shadow: var(--orb-center-shadow), inset 0 1.5px 1px rgba(255, 255, 255, 0.22);
  color: var(--surface);
}

@media (min-width: 900px) {
  .orb-body-center {
    width: 116px;
    height: 116px;
  }
}

.orb-body-soft {
  background: linear-gradient(155deg, var(--orb-soft-hi) 0%, var(--orb-soft-lo) 100%);
}

.orb-gloss {
  position: absolute;
  top: 6px;
  left: 16px;
  right: 16px;
  height: 24%;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.65;
  pointer-events: none;
}

.orb-body-center .orb-gloss {
  opacity: 0.16;
}

.orb-3d-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transform: translateZ(30px) translateY(-5px);
  filter: var(--orb-icon-shadow);
  transition: transform 260ms var(--ease-spring);
  pointer-events: none;
}

@media (min-width: 900px) {
  .orb-3d-img {
    width: 80px;
    height: 80px;
  }
}

.orb:active .orb-body {
  transform: scale(0.9);
}

.orb.is-selected .orb-body {
  box-shadow: 0 0 0 4px var(--teal), var(--orb-shadow), inset 0 2px 2px var(--orb-rim);
}

.orb-center.is-selected .orb-body-center {
  box-shadow: 0 0 0 4px var(--surface), var(--orb-center-shadow);
}

.orb.is-selected .orb-3d-img {
  transform: translateZ(38px) translateY(-9px) scale(1.1);
}

@media (hover: hover) and (pointer: fine) {
  .orb:hover .orb-body {
    transform: translateZ(12px) scale(1.06);
  }

  .orb:hover .orb-3d-img {
    transform: translateZ(42px) translateY(-10px) scale(1.12);
  }
}

.orb-center-brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--gold);
  transform: translateZ(20px);
}

.orb-center-pill {
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--surface);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transform: translateZ(22px);
}

.orb-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.15;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 2px 6px rgba(128, 84, 0, 0.14);
  transform: translateZ(14px);
  transition: background-color 180ms ease, color 180ms ease;
}

.orb.is-selected .orb-tag {
  background: var(--teal);
  color: var(--surface);
}

.orb-soon {
  position: absolute;
  bottom: -4px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  transform: translateZ(34px);
}

/* ==================== FEED SECTIONS ==================== */
.feed-body {
  padding-top: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: 14px;
}

.block-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.block-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

/* ==================== EDITORIAL SPOTLIGHT CAROUSEL ==================== */
.spotlight-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(276px, 316px);
  gap: 14px;
  overflow-x: auto;
  margin-inline: calc(var(--sp-3) * -1);
  padding-inline: var(--sp-3);
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

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

@media (min-width: 768px) {
  .spotlight-rail {
    margin-inline: 0;
    padding-inline: 0;
    grid-auto-columns: minmax(310px, 1fr);
  }
}

.spot-card {
  position: relative;
  scroll-snap-align: start;
  height: 176px;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--ease-out), box-shadow 200ms ease;
}

.spot-card:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .spot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
  }
}

.spot-card img.spot-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim-card);
}

.spot-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--surface);
}

.spot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spot-pill {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
}

.spot-price-tag {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(21, 20, 18, 0.72);
  color: var(--surface);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.spot-bottom strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.spot-bottom span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.88;
}

/* ==================== PARA PEDIR YA (MORPHING + -> - 1 +) ==================== */
.dish-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 164px;
  gap: 12px;
  overflow-x: auto;
  margin-inline: calc(var(--sp-3) * -1);
  padding-inline: var(--sp-3);
  padding-bottom: 6px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

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

@media (min-width: 768px) {
  .dish-rail {
    margin-inline: 0;
    padding-inline: 0;
    grid-auto-columns: 192px;
  }
}

.dish-tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--ease-out);
}

.dish-tile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.dish-tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.morph-add {
  position: absolute;
  right: 8px;
  bottom: 8px;
  height: 34px;
  min-width: 34px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(18, 16, 12, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  transition: transform 160ms var(--ease-spring), background-color 160ms ease, color 160ms ease;
}

.morph-add:active {
  transform: scale(0.88);
}

.morph-add.is-qty {
  background: var(--teal);
  color: var(--surface);
  padding: 0 12px;
  font-size: 13px;
  gap: 4px;
}

.dish-tile-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.dish-tile-store {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-tile-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-tile-price {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.dish-tile-price strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--teal);
}

.dish-tile-price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ==================== STORE CARDS (UBER EATS / GLOVO NATIVE LOOK) ==================== */
.stores-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .stores-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.store-card-wrap {
  perspective: 900px;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
  opacity: 0;
  transform: translateY(12px);
  animation: cardEnter 320ms var(--ease-out) forwards;
}

.store-card-wrap:nth-child(2) .store-card { animation-delay: 45ms; }
.store-card-wrap:nth-child(3) .store-card { animation-delay: 90ms; }
.store-card-wrap:nth-child(4) .store-card { animation-delay: 135ms; }
.store-card-wrap:nth-child(5) .store-card { animation-delay: 180ms; }
.store-card-wrap:nth-child(6) .store-card { animation-delay: 225ms; }

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.store-card.is-closed .store-media img {
  filter: saturate(0.35) brightness(0.85);
}

.store-hit {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  height: 100%;
}

.store-hit:active {
  transform: scale(0.985);
}

.store-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

.store-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-top-pills {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.pill-tag {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.pill-open {
  background: var(--surface);
  color: var(--open-ink);
}

.pill-online {
  background: var(--gold);
  color: var(--ink);
}

.pill-closed {
  background: var(--ink);
  color: var(--surface);
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: transform 200ms var(--ease-spring), color 160ms ease;
}

.fav-btn:active {
  transform: scale(0.84);
}

.fav-btn.is-fav {
  color: var(--heart);
  transform: scale(1.08);
}

.fav-btn.is-fav svg {
  fill: var(--heart);
}

.store-body {
  position: relative;
  padding: 26px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Signature overlapping brand medallion */
.store-medallion {
  position: absolute;
  top: -26px;
  left: 16px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface);
  border: 3px solid var(--surface);
  box-shadow: 0 6px 16px rgba(21, 20, 18, 0.16);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  transform: translateZ(20px);
}

.store-medallion.is-dark {
  background: var(--ink);
  color: var(--surface);
}

.store-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.store-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.store-eta-chip {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.store-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.36;
}

.store-meta-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.store-fee {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

/* ==================== SEARCH PAGE ==================== */
.subpage-wrap {
  padding-top: max(20px, env(safe-area-inset-top));
}

.search-page-head h1,
.owner-intro h1,
.orders-head h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.search-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-4);
}

.search-input-bar:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.search-input-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
}

.search-clear {
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-tag {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 140ms var(--ease-out);
}

.quick-tag:active {
  transform: scale(0.95);
}

.cat-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.cat-tile {
  padding: 18px 14px;
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--gold-soft) 0%, var(--gold) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 160ms var(--ease-spring);
}

.cat-tile:active {
  transform: scale(0.95);
}

.cat-tile img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: var(--orb-icon-shadow);
}

.search-hits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

/* ==================== ORDERS PAGE & LIVE ANIMATED ACARIGUA MAP ==================== */
.orders-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.live-order-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-4);
}

.map-stage {
  position: relative;
  height: 216px;
  background: var(--map-land);
  overflow: hidden;
}

.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.map-status-pill {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-float);
}

.map-eta-pill {
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: var(--shadow-card);
}

.scooter-marker {
  position: absolute;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  margin-top: -19px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--surface);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 640ms var(--ease-out), top 640ms var(--ease-out);
}

.live-order-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tracker-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tracker-bar {
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  transition: background-color 260ms ease;
}

.tracker-step.is-done .tracker-bar {
  background: var(--teal);
}

.tracker-step span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  line-height: 1.2;
}

.tracker-step.is-done span {
  color: var(--ink);
}

.wa-preview {
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--wa-bg);
  border: 1px solid var(--wa-line);
}

.wa-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--wa-ink);
}

.wa-preview-head .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.wa-bubble {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink);
  white-space: pre-wrap;
  box-shadow: var(--shadow-card);
  font-family: inherit;
  margin: 0;
}

.order-actions {
  display: grid;
  gap: 8px;
}

@media (min-width: 520px) {
  .order-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================== NATIVE iOS FROSTED BOTTOM TAB BAR ==================== */
.bottom-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px max(10px, env(safe-area-inset-bottom));
  background: var(--glass-tabbar);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
  .bottom-tabbar {
    display: none;
  }
}

.btab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 0;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease, transform 140ms var(--ease-out);
}

.btab:active {
  transform: scale(0.9);
}

.btab.is-active {
  color: var(--teal);
}

.btab-ic-wrap {
  position: relative;
  display: inline-flex;
}

.btab-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--heart);
  border: 2px solid var(--bg);
}

/* ==================== FLOATING DYNAMIC ISLAND CART & LIVE ACTIVITY ==================== */
.cart-dock,
.live-island {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 42;
  padding-inline: 14px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .cart-dock,
  .live-island {
    bottom: 20px;
  }
}

.cart-dock-btn {
  pointer-events: auto;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px 11px 11px;
  border-radius: var(--r-pill);
  background: var(--island-bg);
  color: var(--surface);
  box-shadow: var(--shadow-float), inset 0 1px 0 var(--island-rim);
  transition: transform 240ms var(--ease-spring);
}

.cart-dock-btn:active {
  transform: scale(0.96);
}

.cart-dock-btn.is-impact {
  transform: scale(1.06, 0.92);
}

.cart-dock-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.cart-count {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.cart-dock-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.cart-dock-meta strong {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-dock-meta small {
  font-size: 11.5px;
  opacity: 0.72;
}

.cart-dock-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.cart-dock-right strong {
  font-size: 15px;
  font-weight: 800;
}

.cart-dock-right small {
  font-size: 11px;
  opacity: 0.72;
}

.odo-val {
  display: inline-block;
  transition: transform 200ms var(--ease-out), opacity 180ms ease;
}

.odo-val.is-rolling {
  transform: translateY(-6px);
  opacity: 0.35;
}

.live-island-btn {
  pointer-events: auto;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 20px;
  background: var(--island-bg);
  color: var(--surface);
  box-shadow: var(--shadow-float), inset 0 1px 0 var(--island-rim);
  text-align: left;
  transition: transform 160ms var(--ease-out);
}

.live-island-btn:active {
  transform: scale(0.97);
}

.live-island-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-island-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-island-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.live-island-copy strong {
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-island-copy small {
  font-size: 11.5px;
  opacity: 0.74;
}

.live-island-cta {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--surface);
  font-size: 12px;
  font-weight: 800;
}

.live-island-track {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--island-track);
  overflow: hidden;
}

.live-island-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0.25);
  transition: transform 420ms var(--ease-out);
}

.fly-chip {
  position: fixed;
  z-index: 95;
  width: 50px;
  height: 50px;
  border-radius: var(--r-pill);
  object-fit: cover;
  pointer-events: none;
  box-shadow: var(--shadow-float);
  border: 2.5px solid var(--surface);
  will-change: transform, opacity;
}

/* ==================== BUTTONS & COMMON ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 800;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--teal);
  color: var(--surface);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover:not(:disabled) {
    background: var(--teal-hover);
  }
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.empty-box {
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.empty-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.empty-sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ==================== SHEETS (APPLE SWIPE-TO-DISMISS) ==================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--backdrop);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 240ms ease;
}

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

@media (min-width: 720px) {
  .sheet-backdrop {
    align-items: center;
    padding: 24px;
  }
}

.sheet {
  width: 100%;
  max-height: 92dvh;
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 300ms var(--ease-drawer), opacity 220ms ease;
  will-change: transform;
}

.sheet-backdrop.is-open .sheet {
  transform: translateY(0);
  opacity: 1;
}

.sheet.is-dragging {
  transition: none !important;
}

@media (min-width: 720px) {
  .sheet {
    max-width: 680px;
    max-height: 88dvh;
    border-radius: 24px;
    transform: scale(0.95);
  }

  .sheet-backdrop.is-open .sheet {
    transform: scale(1);
  }

  .sheet-compact,
  .sheet-alert {
    max-width: 460px;
  }

  .sheet-cart {
    max-width: 540px;
  }
}

.sheet-drag-zone {
  padding: 10px 0 6px;
  touch-action: none;
  cursor: grab;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .sheet-drag-zone {
    display: none;
  }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  margin: 0 auto;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  touch-action: none;
}

.sheet-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sheet-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}

.icon-close,
.icon-close-float {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 140ms var(--ease-out);
}

.icon-close:active,
.icon-close-float:active {
  transform: scale(0.9);
}

.icon-close-float {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--close-float-bg);
  box-shadow: var(--shadow-card);
}

.sheet-scroll {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}

.sheet-footer {
  padding: 14px 20px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

/* ==================== STORE SHEET ==================== */
.store-sheet-hero {
  position: relative;
  height: 200px;
  background: var(--surface-2);
  flex-shrink: 0;
  touch-action: none;
}

.store-sheet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.store-sheet-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.store-head-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-head-logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--surface-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.store-head-logo.is-dark {
  background: var(--ink);
  color: var(--surface);
}

.store-head-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-head-title h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.store-head-title p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.store-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.meta-tag-open {
  background: var(--open-bg);
  color: var(--open-ink);
}

.store-closed-banner {
  margin: 14px 20px 0;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-closed-banner strong {
  display: block;
  font-size: 14px;
}

.store-closed-banner p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}

.menu-sections {
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-cat-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.menu-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.menu-item.is-soldout {
  opacity: 0.5;
}

.menu-item-name {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
}

.menu-item-desc {
  margin: 4px 0 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.36;
}

.menu-item-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.price-usd {
  font-size: 15px;
  font-weight: 800;
  color: var(--teal);
}

.price-bs {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.menu-item-media {
  position: relative;
  width: 96px;
  height: 96px;
}

.menu-item-media img {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
}

.add-btn {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--teal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms var(--ease-spring), background-color 160ms ease, color 160ms ease;
}

.add-btn:active {
  transform: scale(0.88);
}

.add-btn.has-qty {
  background: var(--teal);
  color: var(--surface);
  font-size: 13px;
}

.soldout-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 11.5px;
  font-weight: 700;
}

/* ==================== OPTIONS, CART, ZONE, PHASE 2 ==================== */
.item-sheet-body,
.cart-body,
.phase2-body,
.zone-list {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zone-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg);
  font-size: 14.5px;
  font-weight: 700;
  text-align: left;
  transition: transform 140ms var(--ease-out), background-color 140ms ease;
}

.zone-opt:active {
  transform: scale(0.98);
}

.zone-opt.is-selected {
  background: var(--teal-soft);
  color: var(--teal);
}

.item-preview-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.item-preview-row img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

.item-preview-row p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}

.option-group-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  cursor: pointer;
}

.option-row.is-selected {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.option-row input {
  accent-color: var(--teal);
  margin: 0;
}

.option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.option-delta {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-row-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}

.cart-row-info small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.qty-val {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.seg-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.seg-btn {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
}

.seg-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-2);
}

.field input,
.field select {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 14.5px;
}

.pay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-pill {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.pay-pill.is-active {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

.totals-box {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-2);
}

.total-line.is-grand {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.phase2-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phase2-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
  filter: var(--orb-icon-shadow);
}

.phase2-hero p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

.phase2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phase2-chip {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
}

.phase2-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.alert-body {
  padding: 16px 20px 20px;
}

.alert-body p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.alert-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==================== OWNER DASHBOARD ==================== */
.owner-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.owner-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 56ch;
}

.owner-store-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-chip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.owner-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.owner-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .owner-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.owner-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.owner-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.owner-card-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.owner-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.owner-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.metric-item strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.metric-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border-radius: var(--r-pill);
  background: var(--closed-bg);
  color: var(--closed-ink);
  font-size: 13px;
  font-weight: 800;
}

.switch-btn.is-on {
  background: var(--open-bg);
  color: var(--open-ink);
}

.switch-track {
  width: 38px;
  height: 22px;
  border-radius: var(--r-pill);
  background: var(--switch-off);
  padding: 2px;
  display: flex;
  align-items: center;
}

.switch-btn.is-on .switch-track {
  background: var(--open-ink);
}

.switch-knob {
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: transform 200ms var(--ease-spring);
}

.switch-btn.is-on .switch-knob {
  transform: translateX(16px);
}

.owner-orders,
.owner-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owner-order-row {
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.owner-order-top,
.owner-order-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.owner-order-items {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.owner-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.owner-menu-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.owner-menu-info strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.owner-menu-info small {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.owner-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owner-benefits li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.owner-benefits .ic {
  color: var(--teal);
  margin-top: 2px;
}

.owner-benefits strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.owner-benefits span {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
}

/* ==================== HEART BURST, CONFETTI & TOAST ==================== */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 98;
  pointer-events: none;
}

.toast {
  position: fixed;
  left: 50%;
  top: 14px;
  z-index: 95;
  transform: translate(-50%, -18px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--island-bg);
  color: var(--surface);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-float);
  white-space: nowrap;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 220ms var(--ease-spring), opacity 180ms ease;
}

.toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}

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

  .app-shell.is-pushed {
    transform: none;
  }
}
