/* ==========================================================================
   L'ÉCLAT NOIR — PHONE-FIRST DIGITAL QR RESTAURANT MENU
   Ultra-Luxury Mobile Experience with Obsidian Black & Imperial Gold
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #070709;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(26, 26, 36, 0.9);
  --bg-elevated: #111116;
  --bg-sheet: #0d0d12;
  --bg-glass-nav: rgba(10, 10, 14, 0.88);

  /* Gold Palette */
  --gold-primary: #d4af37;
  --gold-light: #f6e27a;
  --gold-champagne: #fcf6ba;
  --gold-dark: #a17a22;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-glow-subtle: rgba(212, 175, 55, 0.12);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #fcf6ba 0%, #d4af37 40%, #aa771c 85%, #80560e 100%);
  --gradient-gold-hover: linear-gradient(135deg, #ffffff 0%, #f6e27a 30%, #d4af37 70%, #9e6f18 100%);
  --gradient-gold-badge: linear-gradient(135deg, #d4af37 0%, #a17a22 100%);

  /* Borders & Glass */
  --border-gold-subtle: rgba(212, 175, 55, 0.22);
  --border-gold-bright: rgba(212, 175, 55, 0.5);
  --border-glass: rgba(255, 255, 255, 0.08);
  --backdrop-blur: blur(20px);

  /* Typography Colors */
  --text-white: #ffffff;
  --text-primary: #f0f0f4;
  --text-secondary: #a7a7b4;
  --text-muted: #6e6e7c;
  --text-gold: #e5c158;

  /* Dietary Indicators */
  --veg-color: #22c55e;
  --nonveg-color: #ef4444;

  /* Typography */
  --font-serif-display: 'Cinzel', serif;
  --font-serif-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max-app-width: 580px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 10px 28px -6px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-gold-btn: 0 8px 24px -4px rgba(212, 175, 55, 0.45);
  --shadow-floating-bar: 0 16px 40px -8px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.2);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & MOBILE-FIRST BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--bg-main);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.mobile-menu-body {
  background-color: var(--bg-main);
  background-image: 
    linear-gradient(180deg, rgba(7, 7, 9, 0.88) 0%, rgba(9, 9, 13, 0.94) 100%),
    url('assets/images/cafe-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for floating bottom bar */
}

/* Ambient glow orbs */
.mobile-ambient-orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.25;
}

.orb-top {
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
}

.orb-bottom {
  bottom: 10%;
  left: -100px;
  background: radial-gradient(circle, rgba(161, 122, 34, 0.25) 0%, transparent 70%);
}

/* App Shell (Centered on desktop, full-width on mobile) */
.menu-app-shell {
  width: 100%;
  max-width: var(--max-app-width);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  background: rgba(9, 9, 13, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 1px rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   TOP TABLE BAR (TABLE NUMBER & QUICK CALLS)
   ========================================================================== */

.table-top-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 56px;
  background: rgba(9, 9, 13, 0.95);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.table-info-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  padding: 5px 12px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.table-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-number {
  font-family: var(--font-serif-display);
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 700;
}

.btn-change-table {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
  padding: 0 2px;
}

.btn-change-table:hover {
  color: var(--gold-light);
}

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

.top-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.top-icon-btn:hover,
.top-icon-btn:active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.waiter-bell-btn .bell-ping {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
}

.currency-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.currency-toggle-btn:active {
  transform: scale(0.92);
}

/* ==========================================================================
   RESTAURANT BRAND BANNER
   ========================================================================== */

.restaurant-brand-header {
  position: relative;
  overflow: hidden;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-cover-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.brand-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1) blur(2px);
  transform: scale(1.05);
}

.brand-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.7) 0%, rgba(9, 9, 13, 0.96) 100%);
}

.brand-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.brand-crest-frame {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(14, 14, 20, 0.85);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-crest-svg {
  width: 44px;
  height: 44px;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.michelin-ribbon {
  font-family: var(--font-serif-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-champagne);
  margin-bottom: 3px;
}

.brand-name {
  font-family: var(--font-serif-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-caption {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.quick-status-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.quick-status-row::-webkit-scrollbar {
  display: none;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  white-space: nowrap;
}

.green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* ==========================================================================
   STICKY MENU TOOLBAR (SEARCH + DIETARY TABS + CATEGORY PILLS)
   ========================================================================== */

.menu-sticky-toolbar {
  position: sticky;
  top: 56px; /* Just below table top bar */
  z-index: 850;
  background: rgba(9, 9, 13, 0.94);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 12px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Search Bar */
.search-bar-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--gold-primary);
  pointer-events: none;
}

.phone-search-input {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  padding: 0 40px 0 42px;
  color: var(--text-white);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

.phone-search-input:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.clear-search-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dietary Quick Switch Pills */
.dietary-filter-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.dietary-filter-scroll::-webkit-scrollbar {
  display: none;
}

.dietary-switch-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.diet-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.diet-tab.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-glow-subtle);
}

/* Veg / Non-Veg Indicator Dots */
.veg-icon-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--veg-color);
  box-shadow: 0 0 6px var(--veg-color);
}

.nonveg-icon-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nonveg-color);
  box-shadow: 0 0 6px var(--nonveg-color);
}

/* Category Sticky Nav Pills */
.category-sticky-nav {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 2px;
}

.category-sticky-nav::-webkit-scrollbar {
  display: none;
}

.category-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.cat-pill {
  padding: 7px 15px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-pill.active {
  background: var(--gradient-gold);
  color: #070709;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

/* ==========================================================================
   MENU FEED & CATEGORY SECTIONS
   ========================================================================== */

.menu-feed-container {
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.menu-category-section {
  scroll-margin-top: 190px;
}

.category-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-ornament {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.category-title {
  font-family: var(--font-serif-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.cat-badge {
  font-family: var(--font-serif-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--gradient-gold);
  color: #070709;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.cat-count-tag {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.category-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   PHONE-OPTIMIZED MENU ITEM CARDS
   ========================================================================== */

.item-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 14px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.item-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold-bright);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.15);
}

.item-card:active {
  transform: scale(0.99);
}

/* Item Content Side */
.item-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-indicator-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

/* Official Veg/Non-Veg Indian & Global Icons */
.diet-indicator-badge {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diet-indicator-badge.veg {
  border: 1.5px solid var(--veg-color);
}

.diet-indicator-badge.veg::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--veg-color);
}

.diet-indicator-badge.nonveg {
  border: 1.5px solid var(--nonveg-color);
}

.diet-indicator-badge.nonveg::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nonveg-color);
}

.bestseller-tag {
  font-family: var(--font-serif-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.item-name {
  font-family: var(--font-serif-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.item-price-tag {
  font-family: var(--font-serif-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: auto;
}

/* Media Side (Right) */
.item-card-media {
  width: 105px;
  height: 105px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-food-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating "ADD" button or Stepper */
.item-add-container {
  position: absolute;
  bottom: -8px;
  width: 86px;
  height: 32px;
  z-index: 2;
}

.btn-add-item {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: #0d0d12;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.25);
  transition: all var(--transition-fast);
}

.btn-add-item:active {
  transform: scale(0.94);
  background: var(--gradient-gold);
  color: #070709;
}

/* Quantity Stepper when item added to cart */
.item-qty-stepper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.stepper-btn {
  background: none;
  border: none;
  color: #070709;
  font-size: 1rem;
  font-weight: 800;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.stepper-btn:active {
  transform: scale(1.2);
}

.stepper-count {
  font-size: 0.85rem;
  font-weight: 800;
  color: #070709;
}

/* Empty State */
.search-no-results {
  text-align: center;
  padding: 48px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-gold-subtle);
}

.no-res-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.search-no-results h3 {
  font-family: var(--font-serif-heading);
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.search-no-results p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-gold-sm {
  background: var(--gradient-gold);
  color: #070709;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
}

/* Bottom Note */
.menu-bottom-note {
  text-align: center;
  padding: 30px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-crest-icon {
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.note-title {
  font-family: var(--font-serif-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.note-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.table-service-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.table-service-pills span {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* ==========================================================================
   FLOATING BOTTOM ORDER BAR
   ========================================================================== */

.floating-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  display: flex;
  justify-content: center;
  padding: 12px 16px 20px;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-order-bar.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.order-bar-inner {
  width: 100%;
  max-width: var(--max-app-width);
  background: rgba(14, 14, 20, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-floating-bar);
}

.order-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-badge-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #070709;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.order-summary-text {
  display: flex;
  flex-direction: column;
}

.order-total-price {
  font-family: var(--font-serif-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}

.order-sub-note {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.order-bar-cta-btn {
  background: var(--gradient-gold);
  color: #070709;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  transition: all var(--transition-fast);
}

.order-bar-cta-btn:active {
  transform: scale(0.96);
}

/* Floating Quick Waiter Pill (Bottom Left when Cart Empty) */
.floating-waiter-pill {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 800;
  background: rgba(14, 14, 20, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-waiter-pill:hover,
.floating-waiter-pill:active {
  background: var(--gradient-gold);
  color: #070709;
  border-color: transparent;
  transform: translateY(-2px);
}

.waiter-bell-icon {
  font-size: 1rem;
}

.waiter-fab-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Hide waiter pill when bottom order bar is up to prevent overlap on phone */
.floating-order-bar.visible ~ .floating-waiter-pill {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   MOBILE BOTTOM SHEET: TABLE ORDER & BILL BREAKDOWN
   ========================================================================= */

.order-sheet-backdrop,
.dish-modal-backdrop,
.waiter-modal-backdrop,
.change-table-backdrop,
.wifi-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.order-sheet-backdrop.open,
.dish-modal-backdrop.open,
.waiter-modal-backdrop.open,
.change-table-backdrop.open,
.wifi-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.order-sheet-panel {
  width: 100%;
  max-width: var(--max-app-width);
  background: var(--bg-sheet);
  border-top: 1px solid var(--border-gold-bright);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px 20px 24px;
}

.order-sheet-backdrop.open .order-sheet-panel {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 14px;
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sheet-table-badge {
  font-family: var(--font-serif-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.sheet-title {
  font-family: var(--font-serif-heading);
  font-size: 1.3rem;
  color: var(--text-white);
}

.sheet-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-items-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 32vh;
  margin-bottom: 16px;
  padding-right: 4px;
}

.sheet-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.sheet-item-left {
  display: flex;
  flex-direction: column;
}

.sheet-item-name {
  font-family: var(--font-serif-heading);
  font-size: 0.95rem;
  color: var(--text-white);
}

.sheet-item-price {
  font-family: var(--font-serif-display);
  font-size: 0.85rem;
  color: var(--gold-light);
}

.sheet-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet-step-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sheet-step-btn:active {
  background: var(--gold-primary);
  color: #070709;
}

.sheet-step-val {
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* Cooking note */
.cooking-note-wrap {
  margin-bottom: 14px;
}

.note-input-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.cooking-note-input {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xs);
  padding: 0 12px;
  font-size: 0.82rem;
  color: var(--text-white);
  outline: none;
}

.cooking-note-input:focus {
  border-color: var(--gold-primary);
}

/* Bill Breakdown */
.sheet-bill-summary {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
}

.bill-row.grand-total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 4px;
}

.grand-total-val {
  font-family: var(--font-serif-display);
  color: var(--gold-light);
}

/* Actions */
.sheet-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-gold-lg {
  background: var(--gradient-gold);
  color: #070709;
  font-weight: 800;
  font-size: 0.95rem;
  height: 48px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold-btn);
  transition: all var(--transition-fast);
}

.btn-gold-lg:active {
  transform: scale(0.98);
}

.btn-clear-order {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  align-self: center;
}

/* ==========================================================================
   DISH DETAILS / CUSTOMIZE MODAL
   ========================================================================== */

.dish-modal-panel {
  width: 100%;
  max-width: var(--max-app-width);
  background: var(--bg-sheet);
  border-top: 1px solid var(--border-gold-bright);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-modal-backdrop.open .dish-modal-panel {
  transform: translateY(0);
}

.dish-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dish-modal-media-frame {
  width: 100%;
  height: 220px;
  position: relative;
  background: #000;
}

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

.dish-modal-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-serif-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gradient-gold);
  color: #070709;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.dish-modal-details {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dish-modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dish-modal-title {
  font-family: var(--font-serif-heading);
  font-size: 1.35rem;
  color: var(--text-white);
  line-height: 1.25;
}

.dish-modal-price {
  font-family: var(--font-serif-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.dish-modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dish-modal-pairing-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 2.5px solid var(--gold-primary);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dish-modal-pairing-box strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.dish-modal-pairing-box p {
  font-size: 0.82rem;
  color: var(--text-white);
}

.dish-modal-dietary-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.dish-modal-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.dish-modal-qty-stepper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  height: 48px;
}

.modal-stepper-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-stepper-btn:active {
  background: var(--gold-primary);
  color: #070709;
}

.modal-stepper-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.flex-1 {
  flex: 1;
}

/* ==========================================================================
   CALL WAITER & COMMON MODALS
   ========================================================================== */

.waiter-modal-panel,
.change-table-panel,
.wifi-modal-panel {
  width: 90%;
  max-width: 400px;
  background: var(--bg-sheet);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: auto;
  margin-top: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.25);
  text-align: center;
  position: relative;
}

.waiter-modal-icon,
.wifi-icon-big {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.waiter-modal-panel h3,
.change-table-panel h3,
.wifi-modal-panel h3 {
  font-family: var(--font-serif-heading);
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.waiter-sub,
.change-table-panel p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.waiter-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.waiter-opt-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.waiter-opt-btn span {
  font-size: 1.3rem;
}

.waiter-opt-btn strong {
  font-size: 0.78rem;
}

.waiter-opt-btn:active {
  background: var(--gradient-gold);
  color: #070709;
  border-color: transparent;
  transform: scale(0.96);
}

/* Change Table */
.table-input-wrap {
  margin: 16px 0 20px;
}

.table-num-input {
  width: 90px;
  height: 60px;
  font-family: var(--font-serif-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  outline: none;
}

/* WiFi Modal */
.wifi-credentials-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 0.85rem;
}

.cred-row {
  display: flex;
  justify-content: space-between;
}

.cred-row strong {
  color: var(--gold-light);
  font-family: monospace;
  font-size: 0.95rem;
}

/* ==========================================================================
   MOBILE TOAST NOTIFICATIONS
   ========================================================================== */

.mobile-toast-container {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 440px;
  pointer-events: none;
}

.mobile-toast {
  background: rgba(14, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-toast.toast-out {
  animation: toastFadeUp 0.3s forwards;
}

@keyframes toastSlideDown {
  from { opacity: 0; transform: translateY(-15px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastFadeUp {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px); }
}

.toast-gold-star {
  color: var(--gold-light);
  font-size: 0.95rem;
}
