/* ==========================================================================
   FOODIE — Master Stylesheet
   Appetizing Food Palette, Split Hero Layout, Pure Scroll-Driven Burger Assembly,
   Uniform Lineup Grid, Secure Admin & Staff Portals with Smooth Scrollable Modals.
   Fully Responsive for Mobiles, Tablets, Laptops & Desktop PCs.
   ========================================================================== */

:root {
  --charcoal: #14100e;
  --charcoal-2: #1e1713;
  --charcoal-3: #2a201a;
  --ember: #ff4713;
  --ember-dark: #e03606;
  --mustard: #ffaa00;
  --mustard-dark: #e69500;
  --paper: #fdf8f0;
  --paper-2: #f5ebe0;
  --paper-3: #ebdcc9;
  --maroon: #6e1c14;
  --ink: #1d1510;
  --ink-soft: #57463c;
  --line: rgba(253, 248, 240, 0.12);
  --line-dark: rgba(29, 21, 16, 0.12);
  
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--ember); color: #ffffff; }

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

/* Custom Sleek Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--charcoal-3); border-radius: 4px; border: 1px solid var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--ember); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ember);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.light-section .section-label { color: var(--ember-dark); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1;
  text-wrap: balance;
}

p { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  font-family: var(--body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
  background: var(--ember);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 71, 19, 0.32);
}
.btn-primary:hover:not(:disabled) {
  background: var(--ember-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 71, 19, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--mustard); color: var(--mustard); background: rgba(255, 170, 0, 0.05); }

.light-section .btn-ghost { color: var(--ink); border-color: var(--line-dark); }
.light-section .btn-ghost:hover { border-color: var(--ink); background: rgba(29, 21, 16, 0.04); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(20, 16, 14, 0.94);
  backdrop-filter: blur(12px);
  padding: 14px 32px;
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.nav-logo span { color: var(--ember); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--paper);
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { opacity: 1; color: var(--mustard); }
.nav-links a.is-active { opacity: 1; color: var(--paper); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ember);
}

.nav-highlight { color: var(--mustard) !important; font-weight: 800 !important; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.track-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 170, 0, 0.12);
  border: 1px solid rgba(255, 170, 0, 0.35);
  border-radius: 999px;
  color: var(--mustard);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}
.track-btn-pill:hover { background: var(--mustard); color: var(--ink); transform: scale(1.02); }

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseBeacon 1.5s infinite;
}
@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.25s ease;
}
.cart-btn:hover { border-color: var(--mustard); }

.cart-badge {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ember);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.cart-badge.bump { animation: badgeBump 0.4s var(--ease); }
@keyframes badgeBump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

.nav-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  position: relative;
  cursor: pointer;
  z-index: 210;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.25s ease;
}
.nav-menu-toggle:active {
  transform: scale(0.92);
}

.burger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--paper);
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease,
              background-color 0.25s ease;
  transform-origin: center;
}

.nav-menu-toggle.is-open .burger-bar.top {
  transform: translateY(7px) rotate(45deg);
  background: var(--mustard);
}
.nav-menu-toggle.is-open .burger-bar.mid {
  opacity: 0;
  transform: scaleX(0);
}
.nav-menu-toggle.is-open .burger-bar.bot {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--mustard);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13.5px; }
  .track-btn-pill { padding: 6px 12px; font-size: 12px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .track-btn-pill { display: none; }
  .nav-menu-toggle { display: flex; }
}

/* Mobile Nav Drawer & Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 205;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: rgba(20, 16, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--line);
  z-index: 206;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--paper);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mobile-nav-close:hover {
  background: var(--ember);
  transform: rotate(90deg);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.mobile-nav-links .mobile-link {
  font-family: var(--display);
  font-size: 24px;
  color: var(--paper);
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mobile-nav-links .mobile-link:hover,
.mobile-nav-links .mobile-link:active {
  background: rgba(255, 170, 0, 0.1);
  color: var(--mustard);
  transform: translateX(6px);
}
.mobile-nav-links .mobile-link.highlight {
  color: var(--mustard);
  border: 1px dashed rgba(255, 170, 0, 0.35);
  background: rgba(255, 170, 0, 0.06);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.mobile-order-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  gap: 8px;
}
.mobile-phone-link {
  font-size: 13px;
  color: var(--paper);
  opacity: 0.75;
  text-align: center;
  font-weight: 700;
}
.mobile-phone-link:hover {
  color: var(--mustard);
  opacity: 1;
}

/* ==========================================================================
   Loader
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.loader-mark {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--paper);
  letter-spacing: 0.02em;
}
.loader-mark span { color: var(--ember); }
.loader-bar {
  width: 180px;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.loader-bar-fill { height: 100%; width: 0%; background: var(--ember); }
.loader.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; }

/* ==========================================================================
   Hero Section with Split Burger Feature
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 32px 80px;
  overflow: hidden;
}

.hero-texture {
  position: absolute; inset: 0; z-index: 0; opacity: 0.6;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 71, 19, 0.22), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255, 170, 0, 0.18), transparent 50%);
}

.hero-grain {
  position: absolute; inset: 0; z-index: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--mustard);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
}

.hero-title {
  font-size: clamp(52px, 8.5vw, 130px);
  color: var(--paper);
  line-height: 0.95;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner { display: block; will-change: transform; }
.hero-title .accent { color: var(--ember); }

.hero-sub {
  margin-top: 24px;
  max-width: 500px;
  font-size: 17.5px;
  color: var(--paper);
  opacity: 0.85;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 50px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--mustard);
  display: block;
}
.hero-meta-item .label { font-size: 13px; opacity: 0.7; }

.hero-visual-col { position: relative; display: flex; justify-content: center; }
.hero-burger-card {
  position: relative;
  width: 100%;
  max-width: 440px;
}
.hero-burger-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255, 71, 19, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero-burger-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 2px solid rgba(255, 170, 0, 0.2);
  transition: transform 0.4s var(--ease);
}
.hero-burger-card:hover .hero-burger-img { transform: scale(1.03) rotate(-1deg); }

.hero-floating-badge {
  position: absolute;
  z-index: 2;
  background: rgba(20, 16, 14, 0.9);
  border: 1px solid rgba(255, 170, 0, 0.4);
  padding: 10px 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hero-floating-badge.badge-top { top: -16px; right: -16px; }
.hero-floating-badge.badge-bottom { bottom: -16px; left: -16px; }

.badge-icon { font-size: 20px; }
.badge-bold { font-size: 13.5px; font-weight: 800; color: var(--paper); display: block; }
.badge-sub { font-size: 11px; color: var(--mustard); font-weight: 600; display: block; }

.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 32px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--paper); opacity: 0.7;
}
.scroll-indicator .track {
  width: 1px; height: 40px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.scroll-indicator .track::after {
  content: "";
  position: absolute; top: -40px; left: 0; right: 0; height: 40px;
  background: var(--ember);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -40px; } 100% { top: 40px; } }

@media (max-width: 900px) {
  .hero-grid-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual-col { order: -1; }
  .hero-burger-card { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 18px 50px;
    min-height: auto;
  }
  .hero-burger-card {
    max-width: 260px;
  }
  .hero-floating-badge {
    padding: 7px 11px;
    gap: 8px;
  }
  .hero-floating-badge.badge-top {
    top: -8px;
    right: -6px;
  }
  .hero-floating-badge.badge-bottom {
    bottom: -8px;
    left: -6px;
  }
  .hero-meta {
    gap: 18px;
    margin-top: 28px;
  }
  .container {
    padding: 0 18px;
  }
  .nav {
    padding: 14px 18px;
  }
  .nav.is-scrolled {
    padding: 10px 18px;
  }
  .section {
    padding: 80px 0;
  }
  .section-tight {
    padding: 50px 0;
  }
}

/* ==========================================================================
   Pure Scroll-Driven Burger Build (NO TEXT OVERLAP - Setup 1 to 6)
   ========================================================================== */

.build-section {
  position: relative;
  background: var(--charcoal);
  touch-action: pan-y;
}
.build-pin {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.build-caption {
  position: absolute;
  top: clamp(16px, 5.5vh, 50px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 25;
  pointer-events: none;
  width: 92%;
  max-width: 680px;
  height: 90px;
}

.build-caption-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.build-caption-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.build-caption-item .step {
  font-size: clamp(11px, 2.5vw, 13px);
  font-weight: 800;
  color: var(--mustard);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build-caption-item h3 {
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 50px);
  color: var(--paper);
  line-height: 1.08;
  margin: 0;
}

.build-stage {
  position: relative;
  width: min(560px, 86vw);
  height: min(460px, 60vh);
  z-index: 2;
  margin-top: 30px;
}

.bx-glow {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(255, 71, 19, 0.28), transparent 68%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.bx-shadow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85), transparent 72%);
  transform: translate(-50%, -50%);
  transform-origin: center;
  z-index: 1;
}

.bx-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform, opacity;
}
.bx-layer svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}

.build-progress {
  position: absolute;
  bottom: clamp(16px, 4vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 25;
}
.build-progress i {
  width: clamp(24px, 5.5vw, 38px);
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.build-progress i span {
  position: absolute;
  inset: 0;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 1024px) {
  .build-caption {
    top: max(72px, 9.5vh);
    height: 80px;
  }
  .build-caption-item h3 {
    font-size: clamp(26px, 4vw, 42px);
  }
  .build-stage {
    width: min(460px, 86vw);
    height: min(400px, 52vh);
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .build-caption {
    top: max(64px, 8.5vh);
    height: 75px;
  }
  .build-caption-item h3 {
    font-size: clamp(22px, 5.5vw, 36px);
  }
  .build-stage {
    width: min(340px, 92vw);
    height: min(340px, 48vh);
    margin-top: 50px;
  }
}

@media (max-width: 420px) {
  .build-stage {
    width: min(300px, 94vw);
    height: min(300px, 46vh);
    margin-top: 45px;
  }
}

/* ==========================================================================
   Foodie Menu Section
   ========================================================================== */

.light-section { background: var(--paper); color: var(--ink); }
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 46px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; }
.section-head .section-desc { max-width: 400px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }

.menu-tabs {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 8px; margin-bottom: 40px; scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  flex: none;
  background: transparent;
  border: 1.5px solid var(--line-dark);
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 800; white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.menu-tab:hover { border-color: var(--ink); }
.menu-tab.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.menu-category { margin-bottom: 60px; }
.menu-category:last-child { margin-bottom: 0; }

.menu-category-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; border-bottom: 2px solid var(--line-dark);
  padding-bottom: 14px; margin-bottom: 24px;
}
.menu-category-head h3 { font-size: clamp(26px, 3.2vw, 36px); }
.menu-category-head .category-count { font-size: 13px; font-weight: 800; color: var(--ember-dark); margin-left: 10px; }
.menu-category-head .tagline { font-size: 14px; color: var(--ink-soft); font-style: italic; text-align: right; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.menu-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(29, 21, 16, 0.08);
  display: flex; flex-direction: column;
  cursor: pointer;
  outline: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  border-color: rgba(255, 71, 19, 0.3);
}
.menu-card:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.menu-card-img-wrap {
  position: relative; width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--charcoal-2);
}
.menu-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.menu-card:hover .menu-card-img { transform: scale(1.06); }

.menu-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ember); color: #ffffff;
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.menu-card-time {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(20, 16, 14, 0.85); color: #ffffff;
  font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; backdrop-filter: blur(4px);
}

.menu-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.menu-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.menu-card-name { font-family: var(--display); font-size: 20px; color: var(--ink); }
.menu-card-price { font-weight: 900; font-size: 16px; color: var(--maroon); white-space: nowrap; }
.menu-card-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.menu-card-footer { margin-top: 8px; display: flex; justify-content: flex-end; }
.menu-card-add {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #ffffff;
  border: none; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 800;
  transition: background 0.25s ease, transform 0.2s ease;
  width: 100%; justify-content: center;
}
.menu-card-add:hover { background: var(--ember); transform: scale(1.02); }
.menu-card-add.is-added { background: #16a34a; }

/* ==========================================================================
   The Lineup — Uniform Equal Format Grid
   ========================================================================== */

.lineup-grid-uniform {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

@media (max-width: 600px) {
  .lineup-grid-uniform {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.lineup-card-uniform {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  cursor: pointer;
  outline: none;
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s var(--ease);
}
.lineup-card-uniform:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 170, 0, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.lineup-card-uniform:focus-visible {
  outline: 2px solid var(--mustard);
  outline-offset: 3px;
}

.lineup-img-wrap {
  position: relative; width: 100%;
  aspect-ratio: 16 / 11;
  background: var(--charcoal-3);
  overflow: hidden;
}
.lineup-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.lineup-card-uniform:hover .lineup-img { transform: scale(1.05); }

.lineup-tag-pill {
  position: absolute; top: 12px; left: 12px;
  background: var(--mustard); color: var(--ink);
  font-size: 11px; font-weight: 900;
  padding: 4px 10px; border-radius: 999px;
}

.lineup-body {
  padding: 20px;
  display: flex; flex-direction: column;
  flex: 1; gap: 10px;
}
.lineup-title-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
}
.lineup-body h4 { font-size: 20px; color: var(--paper); line-height: 1.1; }
.lineup-body .price { font-weight: 900; color: var(--mustard); font-size: 15.5px; white-space: nowrap; }
.lineup-body p.desc { font-size: 13px; color: var(--paper); opacity: 0.7; line-height: 1.5; flex: 1; }

/* ==========================================================================
   Interactive Product Detail Pop Card Modal
   ========================================================================== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.product-modal-card {
  position: relative;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: min(720px, 100%);
  max-height: min(88vh, 800px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 71, 19, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-modal-overlay.is-open .product-modal-card {
  transform: scale(1) translateY(0);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.85);
  border: 1.5px solid var(--line);
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.product-modal-close:hover {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
  transform: rotate(90deg) scale(1.05);
}

.product-modal-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.product-modal-media {
  position: relative;
  min-height: 280px;
  background: var(--charcoal-3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-modal-card:hover .product-modal-img {
  transform: scale(1.04);
}
.product-modal-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 16, 14, 0.8) 100%);
  pointer-events: none;
}
.product-modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ember);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.product-modal-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-modal-top-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-modal-category {
  font-size: 11.5px;
  font-weight: 900;
  color: var(--mustard);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-modal-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--paper);
  opacity: 0.85;
}

.product-modal-title {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--paper);
  line-height: 1.1;
  margin: 0;
}
.product-modal-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--mustard);
}
.product-modal-desc {
  font-size: 14.5px;
  color: var(--paper);
  opacity: 0.8;
  line-height: 1.6;
}

.product-modal-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: var(--charcoal);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.pm-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  opacity: 0.9;
}
.pm-icon {
  font-size: 14px;
}

.product-modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.product-modal-qty-box {
  display: flex;
  align-items: center;
  background: var(--charcoal);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 8px;
}
.pm-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--paper);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pm-qty-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--mustard);
}
.pm-qty-value {
  font-size: 16px;
  font-weight: 900;
  min-width: 24px;
  text-align: center;
  color: var(--paper);
}

.product-modal-add-btn {
  flex: 1;
  min-width: 180px;
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 999px;
}
.product-modal-add-btn.is-added {
  background: #16a34a !important;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4) !important;
}

/* Modal Responsive for Mobiles */
@media (max-width: 680px) {
  .product-modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }
  .product-modal-card {
    border-radius: 20px 20px 0 0;
    max-height: 90svh;
    width: 100%;
    transform: translateY(100%);
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-media {
    min-height: 210px;
    max-height: 240px;
  }
  .product-modal-info {
    padding: 20px 18px 24px;
    gap: 12px;
  }
  .product-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .product-modal-qty-box {
    width: 100%;
    justify-content: space-between;
    padding: 4px 16px;
  }
  .product-modal-add-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Hot Servings Carousel Section
   ========================================================================== */

.offer {
  position: relative;
  background: var(--maroon);
  color: var(--paper);
  overflow: hidden;
  padding: 100px 0;
}

.deals-carousel-wrapper {
  position: relative;
  width: 100%;
}

.deals-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.deal-slide {
  flex: 0 0 100%;
  width: 100%;
  opacity: 0.35;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.deal-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.deal-slide-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.offer-tag {
  display: inline-block;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.deal-slide h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin-bottom: 18px;
  line-height: 1.05;
}
.deal-slide p {
  opacity: 0.88;
  max-width: 44ch;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}
.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.offer-price {
  font-family: var(--display);
  font-size: 46px;
  color: var(--mustard);
}
.offer-price-old {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 18px;
}

.offer-card {
  background: rgba(253, 248, 240, 0.08);
  border: 1px solid rgba(253, 248, 240, 0.2);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 170, 0, 0.4);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}
.offer-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(0,0,0,0.2);
}
.offer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.offer-card:hover .offer-img {
  transform: scale(1.05);
}
.offer-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.offer-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--mustard);
  border-radius: 50%;
  flex: none;
}

/* Carousel Arrow Controls */
.deals-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.deals-arrow:hover {
  background: var(--ember);
  border-color: var(--ember);
  transform: translateY(-50%) scale(1.08);
}
.deals-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.deals-arrow.prev {
  left: -22px;
}
.deals-arrow.next {
  right: -22px;
}

/* Carousel Dots */
.deals-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.deals-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(253, 248, 240, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}
.deals-dot.is-active {
  background: var(--mustard);
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .deal-slide-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .deals-arrow {
    display: none;
  }
}

/* ==========================================================================
   Location & Footer
   ========================================================================== */

.location-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.location-info { background: var(--charcoal-2); padding: 50px; }
.location-info h3 { font-size: 28px; color: var(--paper); margin-bottom: 24px; }
.location-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.location-row:first-of-type { border-top: none; }
.location-row .k { width: 110px; flex: none; font-size: 13px; color: var(--mustard); font-weight: 800; }
.location-row .v { font-size: 15px; color: var(--paper); opacity: 0.85; }

.location-map {
  position: relative; min-height: 340px;
  background: radial-gradient(circle at center, rgba(255,71,19,0.15), transparent 70%), var(--charcoal-3);
  display: flex; align-items: center; justify-content: center;
}
.location-pin { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px; }
.location-pin svg { width: 44px; height: 44px; color: var(--ember); margin-bottom: 8px; }

@media (max-width: 880px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-info { padding: 30px 20px; }
}

.footer {
  background: var(--charcoal-2);
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: var(--paper); opacity: 0.65; max-width: 34ch; font-size: 14px; line-height: 1.6; }
.footer-col h5 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 0.05em; color: var(--mustard); margin-bottom: 18px; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--paper); opacity: 0.75; transition: opacity 0.2s ease; }
.footer-col a:hover { opacity: 1; color: var(--mustard); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--paper); opacity: 0.55; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cart Drawer & Toast
   ========================================================================== */

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(20,16,14,0.7);
  z-index: 300; opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper); color: var(--ink);
  z-index: 301; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--line-dark);
}
.cart-drawer-head h3 { font-size: 26px; }
.cart-drawer-close { background: none; border: none; font-size: 28px; color: var(--ink); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 28px; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--ink-soft); }
.cart-empty p { font-weight: 800; margin-bottom: 6px; font-size: 16px; }

.cart-item {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line-dark);
}
.cart-item-name { font-weight: 800; font-size: 14.5px; }
.cart-item-price { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line-dark); background: none;
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.qty-btn:hover { border-color: var(--ink); }
.cart-item-remove { background: none; border: none; font-size: 20px; color: var(--ink-soft); }
.cart-item-remove:hover { color: var(--ember); }

.cart-drawer-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line-dark); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.cart-subtotal-value { font-weight: 900; color: var(--maroon); }
.cart-min-note { font-size: 12.5px; color: var(--maroon); margin: 8px 0 4px; display: none; }
.cart-checkout-btn { width: 100%; margin-top: 14px; }
.cart-checkout-btn.is-disabled { opacity: 0.45; pointer-events: none; }

.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #ffffff;
  padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 800; z-index: 400;
  opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.checkout-hero { padding: 140px 0 40px; }
.checkout-hero h1 { font-size: clamp(36px, 5.5vw, 60px); }
.checkout-hero .breadcrumb { font-size: 13px; opacity: 0.65; margin-bottom: 16px; }

.checkout-layout {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 50px; align-items: start; padding-bottom: 120px;
}
.checkout-panel {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 36px;
}
.checkout-panel + .checkout-panel { margin-top: 24px; }
.checkout-panel h3 { font-size: 24px; color: var(--paper); margin-bottom: 22px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 13px; font-weight: 800; color: var(--mustard); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--charcoal);
  border: 1.5px solid var(--line);
  border-radius: 8px; padding: 12px 16px;
  color: var(--paper); font-family: var(--body); font-size: 15px;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--ember); outline: none; }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-error { font-size: 12px; color: var(--ember); min-height: 16px; font-weight: 700; }

.fulfil-toggle { display: flex; gap: 12px; margin-bottom: 26px; }
.fulfil-option {
  flex: 1; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 16px; cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.fulfil-option.is-active { border-color: var(--ember); background: rgba(255,71,19,0.1); }
.fulfil-option .name { font-weight: 800; color: var(--paper); font-size: 15px; display: block; margin-bottom: 4px; }
.fulfil-option .desc { font-size: 12.5px; color: var(--paper); opacity: 0.65; }

.pay-options { display: flex; flex-direction: column; gap: 12px; }
.pay-option {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 16px; cursor: pointer;
}
.pay-option.is-active { border-color: var(--mustard); background: rgba(255,170,0,0.08); }
.pay-option input { accent-color: var(--ember); width: 18px; height: 18px; }
.pay-option .name { font-weight: 800; color: var(--paper); font-size: 15px; }
.pay-option .desc { font-size: 12.5px; color: var(--paper); opacity: 0.65; margin-top: 2px; }

.order-summary-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.order-summary-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.order-summary-item .qty { color: var(--mustard); font-weight: 800; margin-right: 6px; }
.order-summary-totals { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.order-summary-totals .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--paper); opacity: 0.8; }
.order-summary-totals .row.grand { opacity: 1; font-size: 18px; font-weight: 900; color: var(--mustard); padding-top: 10px; border-top: 1px dashed var(--line); }

.checkout-empty { text-align: center; padding: 100px 0 160px; }
.checkout-empty p { color: var(--paper); opacity: 0.7; margin: 16px 0 30px; }

/* Confirmation Screen */
.confirm-wrap { max-width: 620px; margin: 0 auto; text-align: center; padding: 160px 0 140px; }
.confirm-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; color: #22c55e;
}
.confirm-icon svg { width: 40px; height: 40px; }
.confirm-wrap h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.confirm-wrap .sub { color: var(--paper); opacity: 0.75; margin-bottom: 32px; font-size: 16px; }
.confirm-code {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 36px; margin-bottom: 32px;
}
.confirm-code .label { font-size: 11.5px; color: var(--mustard); font-weight: 900; letter-spacing: 0.05em; }
.confirm-code .value { font-family: var(--display); font-size: 32px; color: var(--paper); }
.confirm-details {
  text-align: left; background: var(--charcoal-2);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 30px; margin-bottom: 30px;
}
.confirm-details .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.confirm-details .row:last-child { border-bottom: none; }
.confirm-details .row .k { color: var(--paper); opacity: 0.65; }
.confirm-details .row .v { color: var(--paper); font-weight: 700; text-align: right; }
.confirm-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-panel { padding: 24px; }
}

/* ==========================================================================
   Secure Portal Authentication Gates (Admin & Staff)
   ========================================================================== */

.auth-gate-overlay {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(255, 71, 19, 0.15), transparent 70%), #0d0a08;
}

.auth-gate-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.auth-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.auth-badge {
  font-size: 10px; font-weight: 900;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.08em;
}
.admin-badge { background: var(--ember); color: #ffffff; }
.staff-badge { background: var(--mustard); color: var(--ink); }

.auth-gate-card h2 { font-size: 28px; margin-bottom: 8px; color: var(--paper); }
.auth-sub { font-size: 13.5px; opacity: 0.65; margin-bottom: 24px; line-height: 1.5; }
.auth-hint {
  margin-top: 20px; padding: 12px;
  background: var(--charcoal); border: 1px dashed var(--line);
  border-radius: 8px; font-size: 12px; opacity: 0.75; text-align: center;
}

@media (max-width: 480px) {
  .auth-gate-card { padding: 26px 20px; }
}

/* Subnav Bar */
.admin-subnav-bar {
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.admin-tab-links { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.admin-tab-links::-webkit-scrollbar { display: none; }
.adm-tab {
  background: transparent; border: 1px solid transparent;
  color: var(--paper); padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 800; white-space: nowrap; flex: none;
  transition: all 0.2s ease;
}
.adm-tab:hover { background: rgba(253, 248, 240, 0.05); }
.adm-tab.is-active { background: var(--paper); color: var(--ink); font-weight: 900; }

.admin-tab-pane { display: none; }
.admin-tab-pane.is-active { display: block; }

/* Admin Header & App Layout */
.admin-header {
  background: rgba(20, 16, 14, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px);
}
.admin-header-left { display: flex; align-items: center; gap: 16px; }
.admin-header-right { display: flex; align-items: center; gap: 14px; }
.admin-live-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; color: #22c55e;
  background: rgba(34, 197, 94, 0.1); padding: 6px 14px;
  border-radius: 999px; border: 1px solid rgba(34, 197, 94, 0.2);
}

.admin-container { padding-top: 36px; padding-bottom: 80px; }
.admin-welcome-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.admin-title { font-size: clamp(28px, 4vw, 42px); }
.admin-subtitle { color: var(--paper); opacity: 0.65; font-size: 14px; margin-top: 6px; }
.admin-top-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .admin-header { padding: 12px 18px; }
  .admin-container { padding-top: 20px; padding-bottom: 40px; }
}

/* Admin Metrics Grid */
.admin-metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-bottom: 36px;
}
.admin-metric-card {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.metric-head { display: flex; justify-content: space-between; align-items: center; }
.metric-label { font-size: 11px; font-weight: 900; color: var(--mustard); letter-spacing: 0.05em; }
.metric-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.bg-ember { background: rgba(255, 71, 19, 0.2); }
.bg-mustard { background: rgba(255, 170, 0, 0.2); }
.bg-gold { background: rgba(234, 179, 8, 0.2); }
.bg-maroon { background: rgba(110, 28, 20, 0.4); }

.metric-value { font-family: var(--display); font-size: 34px; color: var(--paper); }
.metric-footer { font-size: 12.5px; color: var(--paper); opacity: 0.7; }
.metric-highlight { color: #22c55e; font-weight: 800; }

/* Sales Chart & Kitchen Queue Section */
.admin-analytics-section {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 24px; margin-bottom: 40px;
}
.analytics-card, .analytics-summary-card {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 26px;
}
.analytics-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.analytics-card-header h3 { font-size: 22px; }
.analytics-card-header .desc { font-size: 13px; opacity: 0.6; margin-top: 2px; }

.chart-toggles { display: flex; gap: 8px; }
.chart-tab {
  background: var(--charcoal); border: 1px solid var(--line);
  color: var(--paper); padding: 6px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 800; transition: background 0.2s ease;
}
.chart-tab.is-active { background: var(--ember); border-color: var(--ember); color: #fff; }

.analytics-chart-wrap {
  height: 200px; display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.chart-bars {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: space-around; gap: 12px;
}
.chart-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.chart-bar-wrap { width: 100%; max-width: 44px; height: 160px; display: flex; align-items: flex-end; justify-content: center; }
.chart-bar {
  width: 100%; background: linear-gradient(180deg, var(--ember), var(--mustard));
  border-radius: 6px 6px 0 0; position: relative; transition: height 0.6s var(--ease);
  min-height: 12px;
}
.chart-bar:hover .chart-bar-tooltip { opacity: 1; transform: translateX(-50%) translateY(-8px); }
.chart-bar-tooltip {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--mustard); font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; border: 1px solid var(--line);
}
.chart-bar-label { font-size: 11.5px; opacity: 0.7; font-weight: 700; }

.queue-status-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.queue-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 8px; background: var(--charcoal);
  border: 1px solid var(--line);
}
.status-indicator { width: 10px; height: 10px; border-radius: 50%; }
.status-indicator.received { background: #3b82f6; }
.status-indicator.preparing { background: #f59e0b; }
.status-indicator.delivery { background: #8b5cf6; }
.status-indicator.delivered { background: #10b981; }

.status-name { font-size: 13.5px; font-weight: 700; flex: 1; margin-left: 10px; }
.status-count { font-family: var(--display); font-size: 20px; color: var(--mustard); }

.aov-box {
  background: rgba(255, 170, 0, 0.08);
  border: 1px dashed rgba(255, 170, 0, 0.3);
  border-radius: 8px; padding: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.aov-box .label { font-size: 12.5px; opacity: 0.75; font-weight: 700; }
.aov-box .val { font-family: var(--display); font-size: 22px; color: var(--mustard); }

@media (max-width: 880px) {
  .admin-analytics-section { grid-template-columns: 1fr; }
  .chart-toggles { flex-wrap: wrap; }
  .admin-top-actions { flex-direction: column; align-items: stretch; }
  .admin-top-actions > div { width: 100%; justify-content: flex-start; }
}

@media (max-width: 600px) {
  .chart-bars { gap: 4px; }
  .chart-bar-label { font-size: 9px; }
  .chart-bar-wrap { max-width: 24px; }
  .admin-table th, .admin-table td { padding: 10px 12px; }
}

/* Device Image Upload Zone & Preview */
.image-upload-section {
  background: var(--charcoal);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 16px;
}
.upload-label { font-size: 12px; font-weight: 900; color: var(--mustard); display: block; margin-bottom: 12px; letter-spacing: 0.04em; }
.upload-options-grid {
  display: grid; grid-template-columns: 1fr 130px;
  gap: 14px; align-items: center;
}
.file-upload-box {
  position: relative; border: 2px dashed rgba(255, 170, 0, 0.4);
  border-radius: 8px; padding: 20px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; background: rgba(255, 170, 0, 0.04); cursor: pointer;
  transition: all 0.25s ease;
}
.file-upload-box:hover { border-color: var(--mustard); background: rgba(255, 170, 0, 0.08); }
.file-upload-box input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.file-upload-box svg { color: var(--mustard); }
.file-upload-box span { font-size: 12px; font-weight: 800; color: var(--paper); opacity: 0.9; }

.upload-preview-box {
  position: relative; width: 100%; aspect-ratio: 1;
  border-radius: 8px; overflow: hidden; background: var(--charcoal-2);
  border: 1.5px solid var(--line);
}
.upload-preview-box img { width: 100%; height: 100%; object-fit: cover; }
.preview-tag {
  position: absolute; bottom: 4px; left: 4px; right: 4px;
  background: rgba(0,0,0,0.75); color: #fff; font-size: 10px; font-weight: 800;
  text-align: center; padding: 2px 4px; border-radius: 4px;
}

@media (max-width: 520px) {
  .upload-options-grid { grid-template-columns: 1fr; }
  .upload-preview-box { max-width: 140px; margin: 0 auto; }
}

/* Menu Manager Cards Grid */
.admin-menu-cat-box { margin-bottom: 40px; }
.admin-cat-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1.5px solid var(--line); padding-bottom: 10px; margin-bottom: 20px;
}
.admin-cat-head h3 { font-size: 24px; color: var(--paper); }
.admin-cat-head .cat-tag { font-size: 12.5px; color: var(--mustard); font-weight: 700; }

.admin-menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.admin-dish-card {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
}
.dish-thumb-wrap { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--charcoal); }
.dish-thumb { width: 100%; height: 100%; object-fit: cover; }
.dish-badge-pill {
  position: absolute; top: 8px; left: 8px;
  background: var(--ember); color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
}
.dish-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.dish-name-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dish-name-row h4 { font-size: 18px; color: var(--paper); }
.dish-price { font-weight: 800; color: var(--mustard); font-size: 14.5px; white-space: nowrap; }
.dish-desc { font-size: 12.5px; color: var(--paper); opacity: 0.65; flex: 1; line-height: 1.4; }
.dish-actions { display: flex; gap: 8px; margin-top: 8px; }
.btn-dish-edit {
  flex: 1; background: transparent; border: 1px solid var(--line);
  color: var(--paper); padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
}
.btn-dish-edit:hover { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.btn-dish-del {
  background: transparent; border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
}
.btn-dish-del:hover { background: #ef4444; color: #fff; }

/* Admin & Staff Table Styles */
.admin-orders-section {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px;
}
.orders-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.orders-section-head h2 { font-size: 26px; }
.orders-section-head .desc { font-size: 13.5px; opacity: 0.65; margin-top: 4px; }

.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-input-wrap svg { position: absolute; left: 14px; color: var(--paper); opacity: 0.5; }
.search-input-wrap input {
  background: var(--charcoal); border: 1.5px solid var(--line);
  border-radius: 8px; padding: 11px 16px 11px 40px; color: var(--paper);
  font-family: var(--body); font-size: 14px; width: 300px;
}
.search-input-wrap input:focus { border-color: var(--ember); outline: none; }

.order-filter-tabs {
  display: flex; gap: 8px; border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: 22px; overflow-x: auto;
}
.order-tab {
  background: transparent; border: 1px solid var(--line); color: var(--paper);
  padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
.order-tab.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; min-width: 800px; }
.admin-table th {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 900; color: var(--mustard); letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td { padding: 14px 16px; border-bottom: 1px solid rgba(253, 248, 240, 0.07); vertical-align: middle; }
.order-row:hover { background: rgba(253, 248, 240, 0.03); }
.order-id-badge { font-family: var(--display); font-size: 18px; color: var(--mustard); }
.items-cell { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; font-size: 13px; }

.order-type-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.type-delivery { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; }
.type-pickup { background: rgba(245, 158, 11, 0.15); color: #fde68a; }

.admin-status-select,
.admin-select-sm,
select.admin-select-sm {
  background-color: #1a1614 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px;
  color: #fdf8f0 !important;
  padding: 7px 12px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}
.admin-status-select:focus,
.admin-select-sm:focus {
  border-color: var(--mustard) !important;
  box-shadow: 0 0 0 2px rgba(255, 170, 0, 0.25);
}
.admin-status-select option,
.admin-select-sm option,
select option {
  background-color: #1a1614 !important;
  color: #ffffff !important;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.btn-action-view {
  background: transparent; border: 1px solid var(--line); color: var(--paper);
  padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.btn-action-view:hover { background: var(--paper); color: var(--ink); }

/* Staff Summary Grid */
.staff-summary-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 30px;
}
.staff-stat-card {
  padding: 20px; border-radius: 12px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.staff-stat-card .num { font-family: var(--display); font-size: 36px; }
.staff-stat-card .lbl { font-size: 13px; font-weight: 800; opacity: 0.8; }
.bg-blue { background: rgba(59, 130, 246, 0.12); color: #93c5fd; }
.bg-yellow { background: rgba(245, 158, 11, 0.12); color: #fde68a; }
.bg-purple { background: rgba(139, 92, 246, 0.12); color: #c4b5fd; }
.bg-green { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; }

/* Status Badges */
.badge-received { border-color: #3b82f6 !important; color: #93c5fd !important; }
.badge-preparing { border-color: #f59e0b !important; color: #fcd34d !important; }
.badge-delivery { border-color: #8b5cf6 !important; color: #c4b5fd !important; }
.badge-delivered { border-color: #10b981 !important; color: #6ee7b7 !important; }
.badge-cancelled { border-color: #ef4444 !important; color: #fca5a5 !important; }

/* ==========================================================================
   SMOOTH SCROLLABLE MODALS (FIXED FOR ALL VIEWPORTS & PHONES)
   ========================================================================== */

.admin-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.admin-modal-overlay.is-open { opacity: 1; visibility: visible; }

.admin-modal-card {
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 14px;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  margin: auto;
}

.admin-modal-card form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.admin-modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  background: var(--charcoal-2); flex: none;
}
.modal-label { font-size: 11px; font-weight: 900; color: var(--mustard); letter-spacing: 0.06em; }
.admin-modal-head h3 { font-size: 24px; color: var(--paper); margin-top: 2px; }
.admin-modal-close {
  background: none; border: none; font-size: 28px; color: var(--paper); opacity: 0.7;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  line-height: 1; border-radius: 6px;
}
.admin-modal-close:hover { opacity: 1; background: rgba(255,255,255,0.08); }

.admin-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - 170px);
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 16px;
}

.admin-modal-foot {
  padding: 16px 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; gap: 10px;
  background: var(--charcoal-2); flex: none;
}

.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--charcoal); padding: 16px; border-radius: 8px; }
.info-block .label { font-size: 11px; color: var(--mustard); font-weight: 800; display: block; margin-bottom: 2px; }
.info-block .val { font-size: 13.5px; font-weight: 700; word-break: break-word; }

.modal-address-block, .modal-notes-block { background: var(--charcoal); padding: 14px; border-radius: 8px; }
.modal-address-block .label, .modal-notes-block .label { font-size: 11px; color: var(--mustard); font-weight: 800; display: block; margin-bottom: 4px; }
.address-text, .notes-text { font-size: 13.5px; opacity: 0.9; }

.receipt-items-list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.receipt-item-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.receipt-item-row .qty { font-weight: 900; color: var(--mustard); margin-right: 8px; }
.receipt-totals { border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.receipt-totals .r-row { display: flex; justify-content: space-between; opacity: 0.8; }
.receipt-totals .r-row.grand { opacity: 1; font-weight: 900; font-size: 16px; color: var(--mustard); padding-top: 6px; border-top: 1px solid var(--line); }

@media (max-width: 580px) {
  .modal-info-grid { grid-template-columns: 1fr; }
  .admin-modal-head, .admin-modal-body, .admin-modal-foot { padding: 14px 16px; }
  .admin-modal-head h3 { font-size: 20px; }
}

/* ==========================================================================
   Customer Live Order Tracking Page & Conditional Rider Box
   ========================================================================== */

.track-page-container { padding-top: 140px; padding-bottom: 120px; }
.track-hero { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.track-hero h1 { font-size: clamp(36px, 5.5vw, 56px); margin-bottom: 10px; }
.track-hero .sub { color: var(--paper); opacity: 0.75; font-size: 16px; margin-bottom: 30px; }
.track-hero .breadcrumb { font-size: 13px; opacity: 0.65; margin-bottom: 14px; }

.track-search-box form { display: flex; gap: 10px; margin-bottom: 16px; }
.track-search-box input {
  flex: 1; background: var(--charcoal-2); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 14px 20px; color: var(--paper);
  font-family: var(--body); font-size: 15px; font-weight: 700;
}
.track-search-box input:focus { border-color: var(--ember); outline: none; }

.track-demo-shortcuts {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 12px; opacity: 0.75; flex-wrap: wrap;
}
.btn-demo-pill {
  background: var(--charcoal-2); border: 1px solid var(--line); color: var(--mustard);
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
}
.btn-demo-pill:hover { background: var(--mustard); color: var(--ink); }

.track-status-hero {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 40px; margin-bottom: 36px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.track-status-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.track-order-label { font-size: 12px; font-weight: 900; color: var(--mustard); letter-spacing: 0.06em; }
.track-status-head h2 { font-size: 38px; color: var(--paper); margin-top: 4px; }
.track-eta-box {
  text-align: right; background: rgba(255, 71, 19, 0.12);
  border: 1px solid rgba(255, 71, 19, 0.3); padding: 10px 20px; border-radius: 10px;
}
.eta-title { font-size: 11px; font-weight: 900; color: var(--ember); letter-spacing: 0.05em; display: block; }
.eta-val { font-family: var(--display); font-size: 26px; color: var(--paper); }

.track-stepper-container { position: relative; margin: 30px 0 40px; }
.stepper-track-bar {
  position: absolute; top: 26px; left: 6%; right: 6%; height: 6px;
  background: var(--charcoal-3); border-radius: 4px; z-index: 1;
}
.stepper-progress-fill {
  height: 100%; width: 15%;
  background: linear-gradient(90deg, var(--mustard), var(--ember));
  border-radius: 4px; transition: width 0.8s var(--ease);
  box-shadow: 0 0 12px rgba(255, 71, 19, 0.6);
}

.stepper-steps { position: relative; z-index: 2; display: flex; justify-content: space-between; }
.step-node { display: flex; flex-direction: column; align-items: center; text-align: center; width: 120px; }
.step-icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--charcoal); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); opacity: 0.5; margin-bottom: 12px;
  transition: all 0.4s var(--ease);
}
.step-node.is-completed .step-icon-circle {
  background: var(--ember); border-color: var(--ember); color: #ffffff; opacity: 1;
}
.step-node.is-active .step-icon-circle {
  background: var(--mustard); border-color: var(--mustard); color: var(--ink);
  opacity: 1; transform: scale(1.15); box-shadow: 0 0 20px rgba(255, 170, 0, 0.6);
}

.step-node .step-title { font-weight: 800; font-size: 14px; color: var(--paper); opacity: 0.6; margin-bottom: 2px; }
.step-node .step-desc { font-size: 12px; opacity: 0.45; }
.step-node.is-completed .step-title, .step-node.is-active .step-title { opacity: 1; }
.step-node.is-active .step-title { color: var(--mustard); font-weight: 900; }
.step-node.is-completed .step-desc, .step-node.is-active .step-desc { opacity: 0.75; }

.track-live-callout {
  background: var(--charcoal); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-size: 14.5px;
}
.callout-indicator {
  width: 10px; height: 10px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 10px #22c55e; flex: none; animation: pulseBeacon 1.5s infinite;
}

.track-details-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.track-card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.track-card h3 { font-size: 22px; margin-bottom: 20px; color: var(--paper); }

.rider-profile-box {
  display: flex; align-items: center; gap: 16px;
  background: var(--charcoal); border: 1.5px solid rgba(34, 197, 94, 0.4);
  border-radius: 10px; padding: 16px; margin-bottom: 22px;
}
.rider-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.2); color: #22c55e;
  display: flex; align-items: center; justify-content: center;
}
.rider-info { flex: 1; }
.rider-name { font-weight: 800; font-size: 15px; display: block; }
.rider-vehicle { font-size: 12.5px; opacity: 0.65; display: block; }
.rider-status { font-size: 11.5px; color: #22c55e; font-weight: 800; }
.rider-call-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ember);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.rider-call-btn:hover { transform: scale(1.08); }

.awaiting-rider-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255, 170, 0, 0.08); border: 1px dashed rgba(255, 170, 0, 0.3);
  border-radius: 10px; padding: 16px; margin-bottom: 22px;
}
.awaiting-icon { font-size: 26px; line-height: 1; }

.track-info-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; font-size: 13.5px; }
.track-info-rows .t-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.track-info-rows .t-row .k { color: var(--paper); opacity: 0.65; width: 120px; flex: none; }
.track-info-rows .t-row .v { font-weight: 700; text-align: right; word-break: break-word; }
.track-support-actions { display: flex; gap: 12px; }

.track-items-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.track-item-row { display: flex; justify-content: space-between; font-size: 14px; }
.track-item-row .qty { color: var(--mustard); font-weight: 800; margin-right: 8px; }

.track-totals-box { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.track-totals-box .t-total-row { display: flex; justify-content: space-between; opacity: 0.75; }
.track-totals-box .t-total-row.grand { opacity: 1; font-weight: 900; font-size: 17px; color: var(--mustard); padding-top: 8px; border-top: 1px dashed var(--line); }

.track-empty-card { text-align: center; background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 14px; padding: 60px 30px; max-width: 600px; margin: 0 auto; }
.track-empty-card h2 { font-size: 32px; margin-bottom: 12px; }
.track-empty-card p { color: var(--paper); opacity: 0.7; }

@media (max-width: 880px) {
  .track-details-grid { grid-template-columns: 1fr; }
  .track-card { padding: 20px; }
  .track-status-hero { padding: 24px; }
  .stepper-steps { gap: 8px; }
  .step-node { width: auto; flex: 1; }
  .step-node .step-title { font-size: 12px; }
  .step-node .step-desc { display: none; }
}
