/* ==========================================================================
   SEE FOOD - Modern Visual Restaurant Menu App Styles
   Theme: Luxury Dark Mode with Warm Gold & Vivid Accent Palettes
   Mobile-First, Responsive, Smooth Animations & Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Strictly Black & White Palette */
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --bg-card-hover: #2a2a2a;
  --bg-glass: rgba(18, 18, 18, 0.95);
  --bg-glass-card: rgba(255, 255, 255, 0.05);
  --border-color: #333333;
  --border-glow: rgba(255, 255, 255, 0.2);
  
  --primary-gold: #FFFFFF;
  --primary-gold-hover: #E5E5E5;
  --primary-gold-light: rgba(255, 255, 255, 0.12);
  
  --accent-coral: #FFFFFF;
  --accent-emerald: #FFFFFF;
  --accent-cyan: #FFFFFF;
  --accent-purple: #FFFFFF;
  
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --text-dim: #757575;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.15);
  
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Light Mode Palette Override (Strict Clean Black & White) */
[data-theme="light"] {
  --bg-dark: #FFFFFF;
  --bg-card: #F6F6F6;
  --bg-card-hover: #EEEEEE;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-card: rgba(0, 0, 0, 0.03);
  --border-color: #E0E0E0;
  --border-glow: rgba(0, 0, 0, 0.2);
  
  --primary-gold: #000000;
  --primary-gold-hover: #222222;
  --primary-gold-light: rgba(0, 0, 0, 0.06);
  
  --text-main: #000000;
  --text-muted: #545454;
  --text-dim: #757575;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .search-input {
  background: #F6F6F6;
  border-color: #E0E0E0;
  color: #000000;
}

[data-theme="light"] .category-chip {
  background: #F6F6F6;
  border-color: #E0E0E0;
  color: #000000;
}

[data-theme="light"] .category-chip.active {
  background: #000000;
  color: #FFFFFF;
}

[data-theme="light"] .sheet-container {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .qr-code-graphic {
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Visibility Responsive Helpers */
.desktop-only {
  display: flex !important;
}
.mobile-only {
  display: none !important;
}

@media (max-width: 640px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 100px; /* Space for sticky order bar */
  min-height: 100vh;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Typography Helpers */
h1, h2, h3, .brand-font {
  font-family: var(--font-heading);
}

/* ==========================================================================
   Header & Table Banner
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  transition: var(--transition-normal);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon-wrap {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-gold), #b45309);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.table-badge-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary-gold);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.table-badge-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.table-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-emerald 2s infinite;
}

@keyframes pulse-emerald {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

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

.mode-toggle-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.mode-toggle-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero & Interactive Search Bar
   ========================================================================== */
.hero-section {
  padding: 20px 16px 12px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Actual Heritage Restaurant Banner Replica */
.heritage-actual-banner {
  background: #f6f4ee !important;
  color: #111111 !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
  border-radius: var(--radius-lg);
  padding: 30px 20px 26px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.heritage-pattern-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#111111 0.75px, transparent 0.75px), radial-gradient(#111111 0.75px, #f6f4ee 0.75px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  opacity: 0.05;
  pointer-events: none;
}

.heritage-palm {
  position: absolute;
  width: 150px;
  height: 150px;
  pointer-events: none;
  z-index: 2;
}

.heritage-palm.palm-tl {
  top: -15px;
  left: -15px;
}

.heritage-palm.palm-br {
  bottom: -15px;
  right: -15px;
}

.heritage-banner-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.heritage-shield-graphic {
  width: 85px;
  height: 105px;
}

.heritage-shield-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}

.heritage-brand-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.heritage-title-text {
  font-family: var(--font-body);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #0f172a;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.heritage-subtitle-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #334155;
  text-transform: uppercase;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .heritage-actual-banner {
    padding: 24px 16px 20px;
    margin-bottom: 20px;
  }
  .search-box {
    margin-top: 20px;
    margin-bottom: 18px;
  }
  .heritage-title-text {
    font-size: 1.75rem;
    letter-spacing: 0.2em;
  }
  .heritage-subtitle-text {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }
  .heritage-shield-graphic {
    width: 68px;
    height: 84px;
  }
  .heritage-palm {
    width: 95px;
    height: 95px;
  }
}

.search-box {
  position: relative;
  margin-bottom: 16px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px 12px 44px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
  background: var(--bg-card-hover);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
  pointer-events: none;
}

.clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: none;
  font-size: 1rem;
}

.clear-search.active {
  display: block;
}

/* Category Slider Nav */
.category-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.category-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.category-chip:hover {
  color: var(--text-main);
  background: var(--bg-card-hover);
}

.category-chip.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
  border-color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.category-icon {
  font-size: 0.9rem;
}

/* Dietary Filter Tags Bar (Hidden as per user request - big category slider kept above) */
.dietary-bar {
  display: none !important;
}

.dietary-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dietary-tag.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* ==========================================================================
   Visual Menu Grid & Cards
   ========================================================================== */
.menu-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.item-count-badge {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

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


/* Dish Card Container */
.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: var(--transition-normal);
}

.dish-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-md);
}

/* Card Image Wrapper */
.dish-image-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: #1a1d2d;
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover .dish-image {
  transform: scale(1.06);
}

.dish-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-tag {
  background: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
}

.badge-tag.chef-pick {
  background: #FFFFFF;
  color: #000000;
  border: none;
  font-weight: 800;
}

.badge-tag.best-seller {
  background: #000000;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.price-tag-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Card Body */
.dish-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dish-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.dish-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.dish-rating {
  display: none !important;
}

.dish-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.prep-time {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.add-btn {
  background: #FFFFFF;
  color: #000000;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.add-btn:hover {
  background: #E0E0E0;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

/* Out of Stock Overlay */
.dish-card.sold-out {
  opacity: 0.6;
}
.dish-card.sold-out .dish-image-wrapper::after {
  content: 'SOLD OUT';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  color: #ef4444;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Phone Responsive Override: Horizontal Cards (Text Left, Image Right) */
@media (max-width: 640px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dish-card {
    flex-direction: row-reverse; /* Text description on left, image on right */
    align-items: stretch;
    height: 140px;
  }

  .dish-image-wrapper {
    width: 120px;
    min-width: 120px;
    height: 100%;
    flex-shrink: 0;
  }

  .dish-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .price-tag-badge {
    bottom: 6px;
    right: 6px;
    font-size: 0.82rem;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
  }

  .dish-content {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0; /* Prevents text overflow breaking container */
    overflow: hidden;
  }

  .dish-title-row {
    margin-bottom: 2px;
  }

  .dish-title {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dish-rating {
    font-size: 0.75rem;
    padding: 1px 4px;
  }

  .dish-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .dish-meta-row {
    margin-top: auto;
    padding-top: 0;
    border-top: none;
  }

  .add-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
}

/* Empty Search Results */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* ==========================================================================
   Modals & Slide-up Bottom Sheets
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sheet-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@media (min-width: 640px) {
  .sheet-container {
    border-radius: var(--radius-lg);
    transform: scale(0.95);
  }
}

.modal-overlay.active .sheet-container {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .modal-overlay.active .sheet-container {
    transform: scale(1);
  }
}

.sheet-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.sheet-fav-btn {
  position: absolute;
  top: 14px;
  right: 58px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

.sheet-fav-btn:hover {
  transform: scale(1.1);
}

.sheet-fav-btn.is-fav {
  background: #E63946;
  border-color: #E63946;
  color: #FFFFFF;
}

.fav-action-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fav-action-pill:hover {
  border-color: #E63946;
  color: #E63946;
}

.fav-action-pill.is-fav {
  background: #E63946;
  border-color: #E63946;
  color: #FFFFFF;
}

.dish-card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dish-card-fav-btn:hover {
  transform: scale(1.1);
}

.dish-card-fav-btn.is-fav {
  background: #E63946;
  border-color: #E63946;
  color: #FFFFFF;
}

/* Modal Content Details */
.sheet-hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.sheet-body {
  padding: 20px;
}

.sheet-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sheet-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-gold);
}

.sheet-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Hidden Dish Modal Drawer Sections per User Request */
#dish-modal .nutrition-grid,
#dish-modal .options-section,
#dish-modal label[for="modal-notes"],
#dish-modal #modal-notes,
#dish-modal #modal-dish-prep,
#dish-modal .sheet-footer {
  display: none !important;
}

/* Dish Detail Modal Container */

/* Nutritional Pills */
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.nutrition-item {
  display: flex;
  flex-direction: column;
}

.nutrition-val {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.nutrition-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Options / Toppings Section */
.options-section {
  margin-bottom: 20px;
}

.options-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

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

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.option-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.option-row input[type="checkbox"] {
  accent-color: var(--primary-gold);
  width: 18px;
  height: 18px;
}

/* Special Instructions */
.notes-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  resize: vertical;
  min-height: 60px;
  margin-bottom: 20px;
}

.notes-input:focus {
  outline: none;
  border-color: var(--primary-gold);
}

/* Quantity & Action Footer */
.sheet-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.qty-control {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card-hover);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--primary-gold);
  color: #000;
}

.qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.btn-primary-add {
  flex-grow: 1;
  background: #FFFFFF;
  color: #000000;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.btn-primary-add:hover {
  background: #E0E0E0;
  color: #000000;
  transform: translateY(-1px);
}

/* ==========================================================================
   Sticky Bottom Order Bar & Cart Drawer
   ========================================================================== */
.sticky-order-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 500px;
  z-index: 90;
  background: #000000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.15);
  transition: var(--transition-bounce);
}

.sticky-order-bar.hidden {
  transform: translate(-50%, 120px);
  opacity: 0;
  pointer-events: none;
}

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

.order-count-badge {
  background: var(--primary-gold);
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.order-total-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.order-bar-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-view-order {
  background: linear-gradient(135deg, var(--primary-gold), #d97706);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Call Waiter Floating Button */
.btn-call-waiter-fab {
  position: fixed;
  bottom: 84px;
  right: 16px;
  z-index: 85;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--primary-gold);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.btn-call-waiter-fab:hover {
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

/* Cart Slide Drawer */
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-opts {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-gold);
  font-size: 0.95rem;
}

/* Split Bill Widget */
.split-bill-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 16px 0;
}

.split-bill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.split-guest-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Order Progress Tracker Banner
   ========================================================================== */
.order-status-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}

.order-status-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 14px;
}

.order-status-steps::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.status-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.status-step.completed .step-icon {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.status-step.active .step-icon {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.status-step.completed, .status-step.active {
  color: var(--text-main);
  font-weight: 700;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toast-in {
  from {
    transform: translateY(-20px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   QR Code / Table Selector Modal
   ========================================================================== */
.table-grid-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.table-select-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.table-select-btn:hover, .table-select-btn.active {
  border-color: #FFFFFF;
  background: #FFFFFF;
  color: #000000;
}

.qr-code-graphic {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  width: 160px;
  height: 160px;
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
