/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BEST-SHOT · LUXURY V2 — OBSIDIAN SILVER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  --abyss:   #04060A;
  --base:    #060810;
  --surface: #0A0D14;
  --card:    #0D1018;
  --card-hi: #10141E;
  --gold:    #C0C0C0;
  --gold-dim:#909090;
  --gold-8:  rgba(192,192,192,.08);
  --gold-12: rgba(192,192,192,.12);
  --gold-15: rgba(192,192,192,.15);
  --gold-4:  rgba(192,192,192,.04);
  --w90:     rgba(255,255,255,.90);
  --w60:     rgba(255,255,255,.60);
  --w35:     rgba(255,255,255,.35);
  --w20:     rgba(255,255,255,.20);
  --w10:     rgba(255,255,255,.10);
  --w05:     rgba(255,255,255,.05);
  --radius:  4px;
  --font:    'Inter', -apple-system, sans-serif;
  --desk:    #0C0D12;
  --btn-mat: #2A2A2E;
}

/* ── Light Theme ── */
body.light {
  --abyss:   #EBEBEB;
  --base:    #FFFFFF;
  --surface: #F5F5F5;
  --card:    #EEEEEE;
  --card-hi: #E4E4E4;
  --gold:    #5ECF62;
  --gold-dim:#3DB842;
  --gold-8:  rgba(94,207,98,.12);
  --gold-12: rgba(94,207,98,.18);
  --gold-15: rgba(94,207,98,.24);
  --gold-4:  rgba(94,207,98,.06);
  --w90:     rgba(10,10,10,.90);
  --w60:     rgba(10,10,10,.60);
  --w35:     rgba(10,10,10,.35);
  --w20:     rgba(10,10,10,.20);
  --w10:     rgba(10,10,10,.10);
  --w05:     rgba(10,10,10,.05);
  --desk:    #BBBBBB;
  --btn-mat: #999999;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; }
body {
  font-family: var(--font);
  background: var(--desk);
  color: var(--w90);
  -webkit-font-smoothing: antialiased;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

/* ── Simulator Shell ── */
.sim-shell {
  display: flex;
  align-items: center;
  /* Scale down proportionally when viewport is shorter than the phone */
  transform: scale(min(1, calc(94dvh / 900px)));
  transform-origin: center center;
}

/* ── Side Buttons ── */
.sim-side-l,
.sim-side-r {
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 2;
}
.sim-side-l { padding-top: 100px; margin-right: -1px; align-items: flex-end; }
.sim-side-r { padding-top: 160px; margin-left:  -1px; }

.sim-btn {
  width: 3px;
  border-radius: 2px;
  background: var(--btn-mat);
  box-shadow: inset -1px 0 0 rgba(0,0,0,.3);
}
.sbt-silent { height: 32px; }
.sbt-volu   { height: 60px; }
.sbt-vold   { height: 60px; }
.sbt-power  { height: 80px; }
.sim-side-l .sim-btn { border-radius: 2px 0 0 2px; }
.sim-side-r .sim-btn { border-radius: 0 2px 2px 0; }

/* ── Phone Frame — iPhone 16 (390 × 844 pt) ── */
.simulator {
  position: relative;
  width: 390px;
  height: 844px;
  /* KEY: makes position:fixed children relative to this element */
  transform: translateZ(0);
  overflow: hidden;
  border-radius: 54px;
  background: var(--base);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 0 11px #1A1A1A,
    0 0 0 12px rgba(255,255,255,.10),
    0 0 0 12.5px #0A0A0A,
    0 60px 150px rgba(0,0,0,.85);
  transition: background .3s;
}
/* Glass sheen overlay */
.simulator::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 53px;
  background: linear-gradient(145deg, rgba(255,255,255,.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 9995;
}

/* ── Dynamic Island — iPhone 16 exact ── */
.sim-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  background: #000;
  border-radius: 20px;
  z-index: 9991;
  pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.06), 0 2px 8px rgba(0,0,0,.5);
}

/* ── Scrollable Screen ── */
.sim-screen {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 116px;
}
.sim-screen::-webkit-scrollbar { display: none; }

/* ── Home Bar ── */
.sim-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 139px;
  height: 5px;
  background: rgba(255,255,255,.30);
  border-radius: 3px;
  z-index: 9991;
  pointer-events: none;
}
body.light .sim-home { background: rgba(0,0,0,.18); }

/* ── Status Bar ── */
.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 16px;
  background: var(--abyss);
  font-size: 11px; color: var(--w35);
}
.status-brand { letter-spacing: 1.5px; font-size: 8px; color: rgba(192,192,192,.25); font-weight: 500; }
body.light .status-brand { color: rgba(154,230,156,.30); }

/* ── Nav ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--base);
  border-bottom: 0.5px solid var(--gold-8);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 8px; }
.logo-circle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 0.5px solid rgba(192,192,192,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gold); font-weight: 500;
}
.logo-text { font-size: 13px; font-weight: 500; letter-spacing: 2px; color: var(--w90); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  background: none; border: 0.5px solid var(--w10);
  border-radius: var(--radius); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--w35); cursor: pointer;
  transition: border-color .2s, color .2s, transform .4s;
}
.theme-btn:hover { border-color: var(--gold-15); color: var(--gold); }
body.light .theme-btn { transform: rotate(180deg); }
.cart-btn {
  position: relative; background: none; border: 0.5px solid var(--w10);
  border-radius: var(--radius); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--w35); cursor: pointer; transition: border-color .2s;
}
.cart-btn:hover { border-color: var(--gold-15); color: var(--gold); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--gold); color: var(--base);
  font-size: 9px; font-weight: 600; min-width: 16px; height: 16px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.cart-count.visible { opacity: 1; }

/* ── Categories ── */
.cat-strip {
  display: flex; gap: 0; overflow-x: auto; padding: 0 12px;
  background: var(--base);
  border-top: 0.5px solid var(--gold-8);
  border-bottom: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: fixed; bottom: 74px; left: 0; right: 0;
  z-index: 99;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-btn {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 10px 12px; font-size: 13px; letter-spacing: .6px;
  color: var(--w20); white-space: nowrap; cursor: pointer;
  font-family: var(--font); font-weight: 500;
  transition: color .2s, border-color .2s;
}
.cat-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.cat-btn:hover { color: var(--w60); }

/* ── Hero ── */
.hero { padding: 20px 16px 12px; }
.hero-tag { font-size: 9px; color: var(--gold); letter-spacing: 2.5px; font-weight: 500; margin-bottom: 8px; }
.hero-title { font-size: 22px; font-weight: 500; color: var(--w90); margin-bottom: 4px; }
.hero-sub { font-size: 12px; color: var(--w35); line-height: 1.5; }

/* ── Slot Machine ── */
.slot-section { padding: 8px 12px 14px; }
.slot-label { font-size: 9px; color: rgba(192,192,192,.35); letter-spacing: 2.5px; font-weight: 500; margin-bottom: 10px; padding: 0 4px; }
body.light .slot-label { color: rgba(154,230,156,.35); }
.slot-track {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  perspective: 1000px;
  min-height: 240px;
  user-select: none; cursor: grab;
  margin: 0 -12px;
  overflow: visible;
}
.slot-track:active { cursor: grabbing; }

.slot-card {
  flex-shrink: 0; width: 86px;
  border-radius: var(--radius); padding: 10px 6px 12px;
  text-align: center;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  cursor: pointer; position: relative;
}
.slot-card.side {
  background: var(--surface);
  border: 0.5px solid var(--w05);
  opacity: .55;
  transform: scale(.84);
  filter: blur(3px);
  cursor: default;
  pointer-events: none;
  flex-shrink: 0;
  width: 90px;
}
.slot-card.slot-placeholder {
  opacity: 0; pointer-events: none;
}
.slot-card.center {
  width: 220px;
  flex-shrink: 0;
  background: var(--card);
  border: 1.5px solid var(--gold);
  transform: none;
  z-index: 2;
  box-shadow: 0 0 28px rgba(192,192,192,.16), 0 6px 20px rgba(0,0,0,.4);
}
.slot-card.center:hover { transform: scale(1.02); }

.slot-emoji { font-size: 26px; margin-bottom: 5px; display: block; }
.slot-emoji-lg { font-size: 56px; margin-bottom: 10px; }
.slot-name { font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.slot-name-lg { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.slot-card.side .slot-name { color: var(--w35); }
.slot-card.center .slot-name { color: var(--w90); }
.slot-desc { font-size: 11px; color: var(--w35); line-height: 1.4; margin-bottom: 5px; }
.slot-price { font-size: 12px; font-weight: 600; }
.slot-price-front { font-size: 18px; font-weight: 700; color: var(--gold); margin-top: 4px; }
.slot-side-price { font-size: 8px; color: var(--w20); margin-top: 3px; }
.slot-card.side .slot-price { color: var(--w20); }
.slot-card.center .slot-price { color: var(--gold); }

.slot-margin {
  display: inline-block; font-size: 8px; font-weight: 600;
  padding: 2px 8px; border-radius: 2px; margin-top: 6px;
  letter-spacing: .8px;
  background: var(--gold); color: var(--base);
}

/* ── Flip Card ── */
.slot-card.center.flip-card {
  background: transparent;
  border: none;
  perspective: 1200px;
  width: 220px;
  height: 230px;
  padding: 0;
  overflow: visible;
}
.slot-card.center.flip-card:hover { transform: scale(1.02); }

.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.65s cubic-bezier(.4,0,.2,1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front,
.flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 14px 10px;
  gap: 4px;
}
.flip-front {
  background: var(--card);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 20px rgba(192,192,192,.08);
  justify-content: flex-start;
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.flip-back {
  background: var(--card-hi);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 24px rgba(192,192,192,.12);
  transform: rotateY(180deg);
  justify-content: flex-start;
  padding: 14px 10px 14px;
  gap: 3px;
  overflow: hidden;
}

/* ── Slot card images ── */
.slot-img-front {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.slot-img-back {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-12);
  flex-shrink: 0; align-self: center; margin-bottom: 2px;
}
.slot-img-side {
  width: calc(100% + 12px);
  margin: -10px -6px 8px;
  height: 55px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

.slot-hint {
  font-size: 8px; color: rgba(192,192,192,.5);
  letter-spacing: 1.2px; margin-top: 6px;
  animation: hintPulse 2.4s ease-in-out infinite;
}
body.light .slot-hint { color: rgba(154,230,156,.40); }
@keyframes hintPulse {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50%       { opacity: 1;  transform: translateY(-2px); }
}

.flip-back-emoji { font-size: 24px; }
.flip-price { font-size: 17px; font-weight: 600; color: var(--gold); margin-top: 2px; }
.slot-kcal-badge { font-size: 9px; color: var(--w35); }

.slot-add-btn {
  background: var(--gold); color: var(--base); border: none;
  font-size: 10px; font-weight: 600; padding: 8px 20px;
  border-radius: var(--radius); cursor: pointer; letter-spacing: .5px;
  font-family: var(--font); transition: opacity .2s;
  margin-top: 6px; width: 100%;
}
.slot-add-btn:hover { opacity: .85; }

.slot-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.slot-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--w10); transition: background .3s, transform .3s;
}
.slot-dot.active { background: var(--gold); transform: scale(1.4); }


/* ── Bundle ── */
.bundle-section { padding: 0 12px 8px; }
.bundle-label { font-size: 9px; color: rgba(192,192,192,.35); letter-spacing: 2.5px; font-weight: 500; margin-bottom: 8px; padding: 0 4px; }
body.light .bundle-label { color: rgba(154,230,156,.35); }
.bundle-card {
  background: var(--gold-4); border: 0.5px solid var(--gold-8);
  border-radius: var(--radius); padding: 14px;
  animation: slideUp .4s ease;
}
.bundle-items { display: flex; gap: 4px; align-items: center; margin-bottom: 12px; }
.bundle-item { text-align: center; flex: 1; }
.bundle-item-img {
  width: 100%; height: 44px; border-radius: var(--radius);
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.bundle-item-name { font-size: 8px; color: var(--w35); margin-top: 4px; line-height: 1.2; }
.bundle-plus { color: rgba(192,192,192,.25); font-size: 14px; padding: 0 2px; flex-shrink: 0; }
body.light .bundle-plus { color: rgba(154,230,156,.25); }
.bundle-footer { display: flex; justify-content: space-between; align-items: center; }
.bundle-price { font-size: 14px; font-weight: 600; color: var(--gold); }
.bundle-savings { font-size: 10px; color: rgba(192,192,192,.45); }
body.light .bundle-savings { color: rgba(154,230,156,.40); }
.bundle-btn {
  background: var(--gold); color: var(--base); border: none;
  font-size: 10px; font-weight: 600; padding: 8px 16px;
  border-radius: var(--radius); cursor: pointer; letter-spacing: .5px;
  font-family: var(--font); transition: opacity .2s;
}

/* ── Explore More Bundle ── */
.explore-bundle-section { padding: 0 12px 8px; }
.explore-bundle-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.explore-bundle-scroll::-webkit-scrollbar { display: none; }

.explore-bundle-card {
  flex-shrink: 0; width: 192px;
  background: var(--gold-4); border: 0.5px solid var(--gold-8);
  border-radius: var(--radius); padding: 14px;
  animation: slideUp .4s ease;
  transition: border-color .2s;
}
.explore-bundle-card:hover { border-color: var(--gold-15); }

.explore-bundle-tag {
  display: inline-block; font-size: 8px; font-weight: 600;
  color: var(--gold); letter-spacing: 1.5px;
  background: var(--gold-8); padding: 3px 8px;
  border-radius: 2px; margin-bottom: 8px;
}
.explore-bundle-name { font-size: 12px; font-weight: 500; color: var(--w90); margin-bottom: 3px; }
.explore-bundle-desc { font-size: 10px; color: var(--w35); line-height: 1.4; margin-bottom: 10px; }
.explore-bundle-emojis { font-size: 18px; letter-spacing: 4px; margin-bottom: 10px; }
.explore-bundle-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.explore-bundle-promo { font-size: 15px; font-weight: 600; color: var(--gold); }
.explore-bundle-original { font-size: 10px; color: var(--w20); text-decoration: line-through; }
.explore-bundle-savings { font-size: 9px; color: rgba(192,192,192,.45); margin-bottom: 10px; }
body.light .explore-bundle-savings { color: rgba(154,230,156,.40); }

.explore-bundle-btn {
  width: 100%; background: var(--gold-8); border: 0.5px solid var(--gold-15);
  color: var(--gold); font-size: 10px; font-weight: 600; padding: 9px;
  border-radius: var(--radius); cursor: pointer; font-family: var(--font);
  letter-spacing: .5px; transition: background .2s;
}
.explore-bundle-btn:hover { background: var(--gold-15); }

/* ── View All Button ── */
.view-all-btn {
  display: block; width: calc(100% - 24px); margin: 8px 12px;
  background: transparent; border: 0.5px solid var(--w10);
  color: var(--w35); font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; padding: 12px; border-radius: var(--radius);
  cursor: pointer; font-family: var(--font);
  transition: border-color .2s, color .2s;
}
.view-all-btn:hover { border-color: var(--gold-15); color: var(--gold); }

/* ── Upsell Sheet ── */
.upsell-sheet-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 190;
  backdrop-filter: blur(3px);
}
.upsell-sheet-backdrop.open { display: block; }

.upsell-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  transform: translateY(100%);
  width: 100%;
  background: var(--base); border-top: 0.5px solid var(--gold-12);
  border-radius: 16px 16px 0 0;
  padding: 0 0 32px;
  z-index: 195;
  transition: transform .35s cubic-bezier(.25,.8,.25,1);
}
.upsell-sheet.open { transform: translateY(0); }

.us-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--w10); margin: 10px auto 16px;
}
.us-added-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px 14px;
}
.us-added-emoji { font-size: 28px; }
.us-added-name { font-size: 13px; font-weight: 600; color: var(--w90); }
.us-added-label { font-size: 10px; color: rgba(192,192,192,.6); margin-top: 2px; letter-spacing: .5px; }
body.light .us-added-label { color: rgba(154,230,156,.50); }
.us-divider { height: 0.5px; background: var(--w05); margin-bottom: 14px; }
.us-pair-label { font-size: 9px; color: var(--w35); letter-spacing: 2px; font-weight: 500; padding: 0 20px; margin-bottom: 10px; }

.us-pair-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--gold-4); border: 0.5px solid var(--gold-12);
  border-radius: var(--radius); padding: 12px 14px; margin: 0 16px 16px;
}
.us-pair-emoji { font-size: 26px; flex-shrink: 0; }
.us-pair-name { font-size: 12px; font-weight: 500; color: var(--w90); }
.us-pair-price { font-size: 11px; color: var(--gold); margin-top: 2px; }

.us-actions { display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.us-add-btn {
  background: var(--gold); color: var(--base); border: none;
  padding: 13px; border-radius: var(--radius);
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; font-family: var(--font); transition: opacity .2s;
}
.us-add-btn:hover { opacity: .85; }
.us-skip-btn {
  background: none; border: none; color: var(--w35);
  font-size: 11px; cursor: pointer; font-family: var(--font);
  padding: 6px; text-align: center;
}
.us-skip-btn:hover { color: var(--w60); }

/* ── Menu List ── */
.menu-list { padding: 8px 12px; }
.menu-label { font-size: 9px; color: var(--w20); letter-spacing: 2.5px; font-weight: 500; margin-bottom: 10px; padding: 0 4px; }
.menu-items { display: flex; flex-direction: column; gap: 6px; }

.menu-item {
  background: var(--surface); border: 0.5px solid var(--w05);
  border-radius: var(--radius); padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.menu-item:hover { border-color: var(--gold-12); background: var(--card); }
.menu-item-img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.menu-item-info { flex: 1; }
.menu-item-name { font-size: 14px; font-weight: 500; color: var(--w90); margin-bottom: 2px; }
.menu-item-desc { font-size: 12px; color: var(--w35); line-height: 1.3; }
.menu-item-right { text-align: right; flex-shrink: 0; }
.menu-item-price { font-size: 14px; font-weight: 600; color: var(--gold); }
.menu-item-kcal { font-size: 9px; color: var(--w20); margin-top: 2px; }
.menu-item-add {
  width: 28px; height: 28px; border-radius: var(--radius);
  background: var(--gold-8); border: none; color: var(--gold);
  font-size: 16px; cursor: pointer; margin-top: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.menu-item-add:hover { background: var(--gold-15); }
.menu-item-margin {
  font-size: 7px; background: var(--gold); color: var(--base);
  padding: 1px 5px; border-radius: 2px; display: inline-block;
  font-weight: 600; letter-spacing: .5px; margin-top: 4px;
}

/* ── Bottom Bar ── */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--base); border-top: 0.5px solid var(--gold-8);
  padding: 10px 16px 24px;
  display: flex; gap: 8px;
  z-index: 100;
}
.cta-main {
  flex: 1;
  background: var(--gold); color: var(--base); border: none;
  padding: 14px 0; border-radius: var(--radius);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  cursor: pointer; font-family: var(--font); transition: opacity .2s;
}
.cta-main:hover { opacity: .85; }
.cta-main:active { transform: scale(.98); }
.cta-main.full { width: 100%; margin-top: 8px; }
.cta-waiter {
  flex: 1;
  background: transparent; border: 0.5px solid var(--gold-15);
  color: rgba(192,192,192,.5); padding: 14px 0;
  border-radius: var(--radius); font-size: 11px; letter-spacing: 1px;
  cursor: pointer; font-family: var(--font); font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
}
.cta-waiter:hover { border-color: var(--gold); color: var(--gold); }
body.light .cta-waiter { color: rgba(154,230,156,.45); }
.cta-waiter.calling {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-8);
}
.cta-sec {
  background: transparent; border: 0.5px solid var(--gold-15);
  color: rgba(192,192,192,.4); padding: 14px 18px;
  border-radius: var(--radius); font-size: 11px; letter-spacing: 1px;
  cursor: pointer; font-family: var(--font); font-weight: 500;
  transition: border-color .2s, color .2s;
}
.cta-sec:hover { border-color: var(--gold); color: var(--gold); }

/* ── Cart Overlay ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 200; display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px);
}
.cart-overlay.open { display: flex; }
.cart-panel {
  background: var(--base); border-top: 0.5px solid var(--gold-8);
  border-radius: 12px 12px 0 0;
  width: 100%; max-height: 70vh;
  display: flex; flex-direction: column;
  animation: slideUp .3s ease;
}
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 0.5px solid var(--w05);
  font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--gold);
}
.cart-close { background: none; border: none; color: var(--w35); font-size: 16px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-empty { text-align: center; color: var(--w20); font-size: 12px; padding: 40px 0; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 0.5px solid var(--w05);
}
.cart-item-emoji { font-size: 20px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 11px; font-weight: 500; color: var(--w90); }
.cart-item-price { font-size: 11px; color: var(--gold); margin-top: 2px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty button {
  width: 24px; height: 24px; border-radius: var(--radius);
  background: var(--surface); border: 0.5px solid var(--w10);
  color: var(--w60); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-qty span { font-size: 12px; font-weight: 500; color: var(--w90); min-width: 16px; text-align: center; }
.cart-footer { padding: 16px 20px; border-top: 0.5px solid var(--gold-8); }
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--gold);
  margin-bottom: 4px;
}
.cart-total-row.sub { font-size: 10px; font-weight: 400; color: var(--w35); margin-bottom: 12px; }

/* ── Animations ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slotEntrance {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes slotEntranceCenter {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slotEntranceCenterFromRight {
  from { opacity: 0; transform: translateX(28px) scale(1.1); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes slotEntranceCenterFromLeft {
  from { opacity: 0; transform: translateX(-28px) scale(1.1); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.slot-spinning .slot-card.side   { animation: slotEntrance .45s cubic-bezier(.25,.8,.25,1); }
.slot-spinning .slot-card.center { animation: slotEntranceCenter .45s cubic-bezier(.25,.8,.25,1) .06s both; }
.slot-slide-left  .slot-card.center { animation: slotEntranceCenterFromRight .32s cubic-bezier(.25,.8,.25,1); }
.slot-slide-left  .slot-card.side   { animation: slotEntrance .32s cubic-bezier(.25,.8,.25,1); }
.slot-slide-right .slot-card.center { animation: slotEntranceCenterFromLeft  .32s cubic-bezier(.25,.8,.25,1); }
.slot-slide-right .slot-card.side   { animation: slotEntrance .32s cubic-bezier(.25,.8,.25,1); }

/* ── Utility ── */
.hidden { display: none !important; }

/* ── Light theme: dark text on green accent buttons ── */
body.light .slot-add-btn,
body.light .bundle-btn,
body.light .us-add-btn,
body.light .cta-main,
body.light .slot-margin,
body.light .menu-item-margin,
body.light .cart-count {
  color: rgba(10,10,10,.80);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--w10); border-radius: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE — strip the simulator shell,
   fill the real phone screen edge-to-edge
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 500px) {
  body { overflow: hidden; height: 100dvh; align-items: flex-start; }

  /* Kill desktop scale transform */
  .sim-shell { transform: none; width: 100%; height: 100%; }

  /* Hide decorative phone hardware */
  .sim-side-l, .sim-side-r, .sim-island, .sim-home { display: none; }

  /* Strip the frame — fill the screen */
  .simulator {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
  .simulator::after { display: none; }

  /* Status bar becomes a pure safe-area spacer (hide fake text) */
  .status-bar {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: 4px;
  }
  .status-bar span { display: none; }

  /* Bottom bar clears the home indicator */
  .bottom-bar {
    padding-bottom: max(24px, env(safe-area-inset-bottom, 24px));
  }

  /* Category strip sits just above the taller bottom bar */
  .cat-strip {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  /* Scroll area clears both fixed layers + safe area */
  .sim-screen {
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px));
  }

  /* Upsell sheet and cart overlay anchor to real viewport bottom */
  .upsell-sheet, .cart-panel {
    padding-bottom: max(32px, env(safe-area-inset-bottom, 32px));
  }
}
