/* ==========================================================================
   SmartQRMenu EXtra — Ultra-Premium 3D Interactive Restaurant Digital Menu
   Design System: Midnight Hospitality · Royal Velvet · Metallic Gold
   ========================================================================== */

:root {
  --bg-void: #09090D;
  --bg-surface: #15151C;
  --bg-surface-elevated: #1C1C26;
  --bg-glass: rgba(21, 21, 28, 0.78);
  --purple-lux: #6415B8;
  --purple-royal: #8B24DB;
  --gold-metal: #D4AF37;
  --gold-champagne: #F6D477;
  --red-brand: #E31B23;
  --ivory: #F8F5EE;
  --ivory-muted: rgba(248, 245, 238, 0.72);
  --ivory-subtle: rgba(248, 245, 238, 0.48);
  --border-hairline: rgba(212, 175, 55, 0.18);
  --border-soft: rgba(248, 245, 238, 0.09);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.62);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.45);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
  color: var(--ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg-void);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video, svg, canvas {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold-champagne);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--gold-metal);
  color: var(--bg-void);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap { width: min(1280px, calc(100% - 64px)); }
}

/* ---------- Typography Helpers ---------- */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}
.overline::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-metal), transparent);
}
.overline.centered::after {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold-metal), transparent);
}

.display-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.display-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-champagne) 0%, var(--gold-metal) 65%, #b88b22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.28s var(--ease-lux), box-shadow 0.28s var(--ease-lux), background 0.28s var(--ease-lux), border-color 0.28s var(--ease-lux);
  overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--red-brand) 0%, #b71219 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(227, 27, 35, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(227, 27, 35, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-champagne) 0%, var(--gold-metal) 100%);
  color: #09090D;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.42);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-royal) 0%, var(--purple-lux) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(100, 21, 184, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(139, 36, 219, 0.5);
}

.btn-glass {
  background: rgba(21, 21, 28, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: var(--ivory);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover {
  background: rgba(34, 34, 46, 0.85);
  border-color: var(--gold-champagne);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-hairline);
  color: var(--ivory);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.08);
}

.btn-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.24) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-lux);
  pointer-events: none;
}
.btn-sheen:hover::after { transform: translateX(120%); }

/* ---------- Sticky Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease-lux), border-color 0.35s var(--ease-lux), backdrop-filter 0.35s var(--ease-lux);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(9, 9, 13, 0.78) 0%, rgba(9, 9, 13, 0) 100%);
}
.site-header.scrolled {
  background: rgba(9, 9, 13, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-hairline);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-royal), var(--gold-metal), var(--gold-champagne));
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s var(--ease-lux);
}
.brand-link:hover .brand-logo { transform: scale(1.03); }

@media (min-width: 768px) {
  .brand-logo { height: 50px; }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(21, 21, 28, 0.62);
  border: 1px solid var(--border-soft);
  padding: 5px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
}
@media (min-width: 980px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ivory-muted);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--ivory);
  background: rgba(139, 36, 219, 0.22);
}
.nav-link.active {
  color: var(--gold-champagne);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bag-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(100, 21, 184, 0.9), rgba(139, 36, 219, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(100, 21, 184, 0.38);
  transition: transform 0.25s var(--ease-lux), box-shadow 0.25s var(--ease-lux);
}
.bag-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(139, 36, 219, 0.5);
}

.bag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--gold-champagne);
  color: var(--bg-void);
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.3s var(--ease-lux);
}
.bag-count.pop {
  animation: badgePop 0.42s var(--ease-lux);
}
@keyframes badgePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.38); }
  100% { transform: scale(1); }
}

/* ---------- Cinematic Responsive Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--bg-void);
  padding-top: calc(var(--header-h) + clamp(20px, 4vh, 44px));
}

@media (max-width: 767px) {
  .hero {
    min-height: calc(100svh - 62px);
    align-items: flex-end;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video.ready { opacity: 1; }

/* Subtle editorial gradient preserving center food showcase & dark text space */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 9, 13, 0.56) 0%, rgba(9, 9, 13, 0.08) 28%, rgba(9, 9, 13, 0.14) 56%, rgba(9, 9, 13, 0.88) 88%, #09090D 100%),
    linear-gradient(90deg, rgba(9, 9, 13, 0.72) 0%, rgba(9, 9, 13, 0.25) 42%, rgba(9, 9, 13, 0) 70%);
}

@media (max-width: 767px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(9, 9, 13, 0.55) 0%, rgba(9, 9, 13, 0.04) 24%, rgba(9, 9, 13, 0.08) 60%, rgba(9, 9, 13, 0.86) 86%, #09090D 100%);
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-bottom: clamp(44px, 7vh, 88px);
}

.hero-copy {
  max-width: 500px;
  padding: 20px 24px 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9, 9, 13, 0.62) 0%, rgba(9, 9, 13, 0.28) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(21, 21, 28, 0.66);
  border: 1px solid rgba(212, 175, 55, 0.34);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  margin-bottom: 16px;
}
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-champagne);
  box-shadow: 0 0 12px var(--gold-metal);
}

.hero-title {
  font-size: clamp(2rem, 3.9vw, 3.25rem);
  margin-bottom: 10px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.72);
}

.hero-subtitle {
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
  color: rgba(248, 245, 238, 0.86);
  max-width: 48ch;
  margin-bottom: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-stagger {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 0.85s var(--ease-lux) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 120ms);
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-controls {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  top: calc(var(--header-h) + 18px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 28, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: var(--ivory);
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease-lux), border-color 0.25s ease, background 0.25s ease;
}
.hero-icon-btn:hover {
  transform: scale(1.06);
  border-color: var(--gold-champagne);
  background: rgba(100, 21, 184, 0.45);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 6;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.64);
}
@media (min-width: 900px) {
  .scroll-indicator { display: flex; }
}
.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold-champagne), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Sections & Scroll Reveals ---------- */
.section {
  position: relative;
  padding: clamp(56px, 7.5vw, 104px) 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-top: 8px;
}
.section-lead {
  color: var(--ivory-muted);
  max-width: 56ch;
  font-size: 0.96rem;
  margin-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s var(--ease-lux), transform 0.72s var(--ease-lux);
  transition-delay: var(--delay, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 2. Interactive Menu Categories (12 Categories) ---------- */
.categories-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.categories-track::-webkit-scrollbar { display: none; }

@media (min-width: 900px) {
  .categories-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
  }
}
@media (min-width: 1200px) {
  .categories-track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.cat-tile {
  position: relative;
  flex: 0 0 192px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-soft);
  text-align: left;
  transition: transform 0.35s var(--ease-lux), border-color 0.3s ease, box-shadow 0.35s var(--ease-lux), background 0.3s ease;
  overflow: hidden;
}
@media (min-width: 900px) {
  .cat-tile { flex: initial; }
}

.cat-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 36, 219, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.cat-tile:hover, .cat-tile.active {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.15);
}
.cat-tile:hover::before, .cat-tile.active::before { opacity: 1; }
.cat-tile.active {
  background: linear-gradient(155deg, rgba(100, 21, 184, 0.28) 0%, var(--bg-surface) 100%);
}

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

.cat-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.32);
  flex-shrink: 0;
  background: #0e0e14;
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-champagne);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.24);
}
.cat-arrow {
  color: var(--ivory-subtle);
  transition: transform 0.3s var(--ease-lux), color 0.3s ease;
}
.cat-tile:hover .cat-arrow, .cat-tile.active .cat-arrow {
  transform: translateX(4px);
  color: var(--gold-champagne);
}
.cat-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.25;
}
.cat-meta {
  font-size: 0.76rem;
  color: var(--ivory-subtle);
  margin-top: 2px;
}

/* ---------- 3 & 4. Horizontal Curated Rails (What Sounds Good / Most Ordered) ---------- */
.rail-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--ivory);
  font-size: 1.2rem;
  transition: transform 0.25s var(--ease-lux), border-color 0.25s ease, background 0.25s ease;
}
.rail-btn:hover:not(:disabled) {
  border-color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.14);
  transform: scale(1.06);
}
.rail-btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.card-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.card-rail::-webkit-scrollbar { display: none; }
.card-rail > .card-3d {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
}

.section-most-ordered {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(100, 21, 184, 0.14), transparent 72%),
    linear-gradient(180deg, rgba(21, 21, 28, 0.52) 0%, rgba(9, 9, 13, 0) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* ---------- 3D Interactive Menu Cards ---------- */
.card-3d {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transform: perspective(1050px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, box-shadow 0.35s var(--ease-lux), border-color 0.3s ease;
  overflow: hidden;
  will-change: transform;
}

.card-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(246, 212, 119, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 4;
}
.card-3d:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(212, 175, 55, 0.16);
}
.card-3d:hover::after { opacity: 1; }
.card-3d:active { transform: scale(0.985); }

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #121219 0%, #1d192b 55%, #121219 100%);
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-lux);
}
.card-3d:hover .card-media img { transform: scale(1.06); }

/* Luxury Neutral Image Placeholder */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.025) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 50% 35%, rgba(139, 36, 219, 0.14), transparent 68%),
    linear-gradient(160deg, #171722 0%, #0e0e14 100%);
  color: var(--ivory-subtle);
  text-align: center;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(212, 175, 55, 0.18);
  border-radius: 10px;
  pointer-events: none;
}
.img-placeholder svg {
  width: 30px;
  height: 30px;
  color: rgba(212, 175, 55, 0.55);
  transition: transform 0.45s var(--ease-lux), color 0.3s ease;
}
.card-3d:hover .img-placeholder svg {
  transform: translateY(-2px) scale(1.06);
  color: var(--gold-champagne);
}
.img-placeholder span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.45);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.card-badge.featured {
  background: rgba(100, 21, 184, 0.84);
  border: 1px solid rgba(246, 212, 119, 0.42);
  color: var(--gold-champagne);
}
.card-badge.popular {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.92), rgba(180, 134, 24, 0.92));
  color: #09090D;
}

.card-code {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(9, 9, 13, 0.72);
  border: 1px solid var(--border-soft);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory-subtle);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
  gap: 8px;
  transform: translateZ(14px);
}

.card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-metal);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.25;
  cursor: pointer;
}
.card-title:hover { color: var(--gold-champagne); }

.card-desc {
  font-size: 0.84rem;
  color: var(--ivory-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.card-price {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--gold-champagne);
}
.card-price.unconfigured {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ivory-subtle);
  letter-spacing: 0.03em;
}

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(248, 245, 238, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-add:hover {
  background: var(--gold-metal);
  border-color: var(--gold-champagne);
  color: #09090D;
}
.btn-add.added {
  background: linear-gradient(135deg, var(--purple-royal), var(--purple-lux));
  border-color: var(--gold-champagne);
  color: #fff;
}

/* ---------- 5. Full Digital Menu ---------- */
.menu-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.menu-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-box {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
}
.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-metal);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 13px 44px 13px 46px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--ivory);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search-box input::placeholder { color: var(--ivory-subtle); }
.search-box input:focus {
  outline: none;
  border-color: var(--gold-champagne);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(248, 245, 238, 0.1);
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.search-clear[hidden] { display: none; }

.view-toggle {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}
.view-btn {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ivory-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.view-btn.active {
  background: rgba(139, 36, 219, 0.34);
  color: var(--gold-champagne);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.34);
}

.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ivory-muted);
  transition: all 0.25s var(--ease-lux);
}
.filter-pill:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--ivory);
}
.filter-pill[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--purple-lux), var(--purple-royal));
  border-color: var(--gold-champagne);
  color: #fff;
  box-shadow: 0 8px 22px rgba(100, 21, 184, 0.36);
}

.menu-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: var(--ivory-subtle);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 560px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.menu-grid.list-view {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 960px) {
  .menu-grid.list-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.menu-grid.list-view .card-3d {
  flex-direction: row;
  align-items: stretch;
}
.menu-grid.list-view .card-media {
  flex: 0 0 150px;
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 1px solid var(--border-soft);
}
@media (max-width: 480px) {
  .menu-grid.list-view .card-media { flex: 0 0 112px; }
}

.empty-menu {
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
}

/* ---------- 6. SmartQRpon — Scratch & Win ---------- */
.smartqrpon-section {
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(100, 21, 184, 0.22), transparent 70%),
    linear-gradient(180deg, #09090D 0%, #100d18 50%, #09090D 100%);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.scratch-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .scratch-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 52px;
  }
}

.scratch-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.scratch-card-shell {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(145deg, var(--gold-champagne) 0%, #8f6c1d 32%, #3a1269 68%, var(--gold-metal) 100%);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.72), 0 0 42px rgba(100, 21, 184, 0.28);
  overflow: hidden;
}

.scratch-card-shell::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  animation: foilSweep 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 6;
}
@keyframes foilSweep {
  0%, 100% { transform: translateX(-65%); }
  50% { transform: translateX(65%); }
}

.scratch-card-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #2a104e 0%, #120c1c 68%, #09090D 100%);
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  user-select: none;
  -webkit-user-select: none;
}

.reward-underlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.reward-tier-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(246, 212, 119, 0.45);
  color: var(--gold-champagne);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reward-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--ivory);
  line-height: 1.2;
}

.reward-sub {
  font-size: 0.86rem;
  color: var(--ivory-muted);
  max-width: 36ch;
}

.reward-code-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: rgba(9, 9, 13, 0.76);
  border: 1px dashed var(--gold-metal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-champagne);
}

.reward-instructions {
  font-size: 0.78rem;
  color: var(--ivory-subtle);
  max-width: 40ch;
}

#scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  cursor: crosshair;
  touch-action: none;
  transition: opacity 0.65s var(--ease-lux);
}
#scratch-canvas.revealed {
  opacity: 0;
  pointer-events: none;
}

#confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.scratch-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.scratch-meter {
  flex: 1 1 180px;
}
.scratch-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ivory-muted);
  margin-bottom: 6px;
}
.scratch-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(248, 245, 238, 0.1);
  overflow: hidden;
}
.scratch-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-royal), var(--gold-metal), var(--gold-champagne));
  transition: width 0.15s ease;
}

.demo-disclaimer {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(21, 21, 28, 0.75);
  border: 1px solid var(--border-soft);
  font-size: 0.76rem;
  color: var(--ivory-subtle);
  line-height: 1.5;
}

/* ---------- 7. VIP & Birthday Club ---------- */
.vip-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(26px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(139, 36, 219, 0.24), transparent 50%),
    radial-gradient(circle at 88% 82%, rgba(212, 175, 55, 0.16), transparent 52%),
    linear-gradient(155deg, #171422 0%, #111118 100%);
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
@media (min-width: 920px) {
  .vip-card {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
  }
}

.vip-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.vip-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ivory-muted);
}
.vip-perks li::before {
  content: "✦";
  color: var(--gold-champagne);
  font-size: 0.9rem;
  margin-top: 2px;
}

.vip-form-panel {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-md);
  background: rgba(9, 9, 13, 0.72);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(16px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ivory-muted);
  letter-spacing: 0.03em;
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--ivory);
  font-size: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-champagne);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ivory-muted);
  cursor: pointer;
}
.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--purple-royal);
  margin-top: 2px;
  flex-shrink: 0;
}

.vip-pass {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(100, 21, 184, 0.35), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--gold-metal);
}

/* ---------- 9, 10, 11. Pickup/Delivery, Platforms & WhatsApp ---------- */
.fulfillment-tabs {
  display: inline-flex;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  margin-bottom: 24px;
}
.fulfillment-tab {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ivory-muted);
  transition: all 0.3s var(--ease-lux);
}
.fulfillment-tab.active {
  background: linear-gradient(135deg, var(--gold-champagne), var(--gold-metal));
  color: #09090D;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.fulfillment-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-surface-elevated), var(--bg-surface));
  border: 1px solid var(--border-soft);
}
@media (min-width: 820px) {
  .fulfillment-panel { grid-template-columns: 1.15fr 1fr; align-items: center; }
}

.detail-list {
  display: grid;
  gap: 12px;
}
.detail-item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(9, 9, 13, 0.55);
  border: 1px solid var(--border-soft);
}
.detail-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-metal);
  margin-bottom: 4px;
}
.detail-item strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ivory);
}


/* Sleek Top Branded Delivery Partner Strip (DoorDash, Uber Eats, Grubhub) */
.partner-strip {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #09090D 0%, #101017 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

.partner-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 960px) {
  .partner-strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
}

.partner-strip-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.partner-strip-sub {
  font-size: 0.8rem;
  color: var(--ivory-subtle);
}

.partner-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  max-width: 760px;
}
@media (max-width: 580px) {
  .partner-pills {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .partner-pills::-webkit-scrollbar { display: none; }
}

.partner-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(28, 28, 38, 0.92), rgba(18, 18, 25, 0.96));
  border: 1px solid var(--border-soft);
  transition: transform 0.28s var(--ease-lux), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  text-align: left;
  flex: 0 0 auto;
}
@media (max-width: 580px) {
  .partner-btn { min-width: 196px; }
}
.partner-btn:hover {
  transform: translateY(-2px);
  border-color: var(--partner-accent, var(--gold-metal));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48), 0 0 0 1px color-mix(in srgb, var(--partner-accent, #D4AF37) 35%, transparent);
}
.partner-btn:active { transform: scale(0.98); }

.partner-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.partner-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.partner-icon-badge.doordash {
  background: #FF3008;
  color: #ffffff;
}
.partner-icon-badge.ubereats {
  background: #06C167;
  color: #09090D;
}
.partner-icon-badge.grubhub {
  background: #F63440;
  color: #ffffff;
}

.partner-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.partner-name {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.partner-name .eats-green {
  color: #06C167;
}
.partner-sub {
  font-size: 0.7rem;
  color: var(--ivory-subtle);
  margin-top: 2px;
  white-space: nowrap;
}
.partner-go {
  font-size: 0.85rem;
  color: var(--ivory-subtle);
  transition: transform 0.25s var(--ease-lux), color 0.25s ease;
}
.partner-btn:hover .partner-go {
  transform: translateX(3px);
  color: var(--partner-accent, var(--gold-champagne));
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 600px) {
  .platforms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .platforms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.platform-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--bg-surface-elevated), var(--bg-surface));
  border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease-lux), border-color 0.3s ease, box-shadow 0.3s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow: var(--shadow-card);
}

.whatsapp-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(37, 211, 102, 0.14), transparent 52%),
    linear-gradient(155deg, var(--bg-surface-elevated), #111118);
  border: 1px solid rgba(37, 211, 102, 0.28);
}
@media (min-width: 860px) {
  .whatsapp-card { grid-template-columns: 1fr 1.1fr; align-items: center; }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #06180f;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.4);
}

/* ---------- 12. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  background: #060609;
  padding: 56px 0 calc(96px + env(safe-area-inset-bottom));
}
@media (min-width: 980px) {
  .site-footer { padding: 64px 0 48px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--ivory-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold-champagne); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--ivory-subtle);
}

/* ---------- Mobile Sticky Bottom Navigation ---------- */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(12, 12, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-hairline);
}
@media (min-width: 980px) {
  .mobile-nav { display: none; }
}

.mobile-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ivory-muted);
  transition: color 0.25s ease;
}
.mobile-nav-item.active { color: var(--gold-champagne); }
.mobile-nav-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 22px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--red-brand);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-badge[hidden] { display: none; }

/* ---------- Floating Bag Button (Desktop) & Back to Top ---------- */
.floating-bag {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 240;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--purple-lux), var(--purple-royal));
  border: 1px solid rgba(246, 212, 119, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.62), 0 0 24px rgba(139, 36, 219, 0.45);
  transition: transform 0.3s var(--ease-lux), box-shadow 0.3s ease;
}
.floating-bag:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(212, 175, 55, 0.35);
}
@media (min-width: 980px) {
  .floating-bag { display: inline-flex; }
}


/* Floating WhatsApp Chat Button */
.floating-wa {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 240;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4);
  transition: transform 0.28s var(--ease-lux), box-shadow 0.28s ease;
}
.floating-wa:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55);
}
.floating-wa svg {
  width: 26px;
  height: 26px;
}
@media (max-width: 979px) {
  .floating-wa {
    left: 16px;
    bottom: 78px;
    width: 48px;
    height: 48px;
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 230;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 28, 0.86);
  border: 1px solid var(--border-hairline);
  color: var(--gold-champagne);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-lux);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 979px) {
  .back-to-top { right: 16px; bottom: 78px; }
}

/* ---------- Modals, Drawers & Bottom Sheets ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .overlay.modal-center { align-items: center; padding: 24px; }
  .overlay.drawer-right { align-items: stretch; justify-content: flex-end; }
}

/* Product Detail Sheet / Modal */
.detail-dialog {
  width: 100%;
  max-height: 90svh;
  overflow-y: auto;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(165deg, #1a1a24 0%, #111118 100%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-deep);
  transform: translateY(36px);
  transition: transform 0.38s var(--ease-lux);
}
.overlay.open .detail-dialog { transform: translateY(0); }

@media (min-width: 768px) {
  .detail-dialog {
    max-width: 560px;
    border-radius: var(--radius-lg);
    transform: translateY(18px) scale(0.97);
  }
  .overlay.open .detail-dialog { transform: translateY(0) scale(1); }
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(9, 9, 13, 0.78);
  border: 1px solid var(--border-hairline);
  color: var(--ivory);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dialog-close:hover {
  border-color: var(--gold-champagne);
  color: var(--gold-champagne);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  background: rgba(9, 9, 13, 0.72);
  border: 1px solid var(--border-hairline);
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(248, 245, 238, 0.08);
  color: var(--ivory);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.qty-btn:hover {
  background: var(--gold-metal);
  color: #09090D;
}

/* Shopping Bag Drawer */
.bag-drawer {
  width: 100%;
  max-height: 88svh;
  display: flex;
  flex-direction: column;
  border-radius: 26px 26px 0 0;
  background: #12121a;
  border-top: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-deep);
  transform: translateY(100%);
  transition: transform 0.38s var(--ease-lux);
}
.overlay.open .bag-drawer { transform: translateY(0); }

@media (min-width: 768px) {
  .bag-drawer {
    width: min(460px, 100%);
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    border-top: none;
    border-left: 1px solid var(--border-hairline);
    transform: translateX(100%);
  }
  .overlay.open .bag-drawer { transform: translateX(0); }
}

.bag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
}
.bag-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-soft);
  animation: fadeSlideIn 0.28s var(--ease-lux);
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bag-footer {
  padding: 18px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-hairline);
  background: #0d0d13;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Waiter Order Presentation Fullscreen View */
.waiter-sheet {
  width: min(680px, 100%);
  max-height: 92svh;
  overflow-y: auto;
  border-radius: 26px;
  background: #F8F5EE;
  color: #09090D;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
}
.waiter-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(9, 9, 13, 0.14);
}
.waiter-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #09090D;
  color: #F6D477;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 20px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(21, 21, 28, 0.94);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--ivory);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  animation: toastIn 0.3s var(--ease-lux);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-stagger, .reveal, .card-3d, .scroll-line, .scratch-card-shell::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
