/* ==========================================================================
   THE COPPER & FIG — BASIC DIGITAL MENU
   Aesthetic: Warm, Bright, Appetizing, and Cheerful Cafe & Bistro
   No dark/gloomy energy — Pure sunshine, warm linen & crisp culinary typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (Primitive -> Semantic -> Component)
   -------------------------------------------------------------------------- */
:root {
  /* --- Primitive Tones: Bright, Warm, Sunny & Inviting --- */
  --primitive-pure-white: #ffffff;
  --primitive-cream-warm: #fcfaf6;
  --primitive-amber-glow: #fff8ee;
  --primitive-sun-50: #fefce8;
  --primitive-warm-sand: #f5ede0;
  
  --primitive-espresso-950: #1c1917;
  --primitive-espresso-800: #292524;
  --primitive-chestnut-600: #57534e;
  --primitive-muted-stone: #78716c;

  --primitive-saffron-500: #ea580c;  /* Warm, appetizing primary */
  --primitive-saffron-600: #c2410c;
  --primitive-amber-gold: #b45309;   /* Price accent */
  --primitive-amber-light: #f59e0b;

  --primitive-leaf-emerald: #15803d;
  --primitive-chili-crimson: #dc2626;

  /* --- Semantic Color Tokens (Light & Cheerful by Default) --- */
  --color-bg: #faf7f2;
  --color-bg-rgb: 250, 247, 242;
  --color-surface: #ffffff;
  --color-surface-card: #ffffff;
  --color-surface-subtle: #fdfaf5;
  --color-surface-hover: #fcf4e8;
  
  --color-text-main: #1c1917;
  --color-text-muted: #57534e;
  --color-text-subtle: #78716c;
  --color-text-inverse: #ffffff;

  --color-primary: #ea580c;
  --color-primary-hover: #c2410c;
  --color-accent: #d97706;
  --color-price: #b45309;

  --color-border: #ede4d8;
  --color-border-card: #f0e6d8;
  --color-border-subtle: #f6efe6;
  --color-border-focus: #ea580c;

  /* Fresh, cheerful badges */
  --color-badge-veg-bg: #f0fdf4;
  --color-badge-veg-text: #166534;
  --color-badge-veg-border: #bbf7d0;

  --color-badge-gf-bg: #fffbeb;
  --color-badge-gf-text: #92400e;
  --color-badge-gf-border: #fde68a;

  --color-badge-chef-bg: #fff7ed;
  --color-badge-chef-text: #9a3412;
  --color-badge-chef-border: #fed7aa;

  --color-badge-spicy-bg: #fef2f2;
  --color-badge-spicy-text: #991b1b;
  --color-badge-spicy-border: #fecaca;

  /* --- Typography Scale --- */
  --font-serif: 'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --font-sans: 'Karla', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* --- Spacing & Radii --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* --- Shadows (Soft & Sunny, not heavy or murky) --- */
  --shadow-sm: 0 2px 6px rgba(180, 83, 9, 0.03);
  --shadow-md: 0 6px 18px rgba(180, 83, 9, 0.06);
  --shadow-card: 0 4px 20px -2px rgba(180, 83, 9, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 12px 32px rgba(234, 88, 12, 0.15);

  /* --- Component Dimensions --- */
  --header-logo-size: 88px;
  --nav-bar-height: 56px;
  --container-max-w: 720px;
}

/* --------------------------------------------------------------------------
   Warm Twilight Bistro Theme (Cozy Candlelight Glow, NOT cold dark)
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --color-bg: #1c1815;
  --color-bg-rgb: 28, 24, 21;
  --color-surface: #26211d;
  --color-surface-card: #241f1b;
  --color-surface-subtle: #2d2722;
  --color-surface-hover: #38302a;

  --color-text-main: #fcf8f2;
  --color-text-muted: #b8aea2;
  --color-text-subtle: #8c8276;
  --color-text-inverse: #1c1815;

  --color-primary: #f97316;
  --color-primary-hover: #fb923c;
  --color-accent: #fbbf24;
  --color-price: #fbbf24;

  --color-border: #3d352e;
  --color-border-card: #383029;
  --color-border-subtle: #302923;
  --color-border-focus: #f97316;

  --color-badge-veg-bg: rgba(22, 101, 52, 0.3);
  --color-badge-veg-text: #86efac;
  --color-badge-veg-border: rgba(34, 197, 94, 0.4);

  --color-badge-gf-bg: rgba(146, 64, 14, 0.3);
  --color-badge-gf-text: #fde047;
  --color-badge-gf-border: rgba(234, 179, 8, 0.4);

  --color-badge-chef-bg: rgba(154, 52, 18, 0.3);
  --color-badge-chef-text: #fdba74;
  --color-badge-chef-border: rgba(249, 115, 22, 0.4);

  --color-badge-spicy-bg: rgba(153, 27, 27, 0.3);
  --color-badge-spicy-text: #fca5a5;
  --color-badge-spicy-border: rgba(239, 68, 68, 0.4);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-float: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE (Bright, Sunny & Fresh)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  line-height: 1.5;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: var(--color-bg);
  /* Radiant warm cafe lighting effect */
  background-image: 
    radial-gradient(at 15% 0%, #fff7eb 0px, transparent 45%),
    radial-gradient(at 85% 5%, #fef3c7 0px, transparent 40%),
    radial-gradient(at 50% 100%, #fff8ee 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--color-text-main);
  transition: background-color 0.25s ease, color 0.25s ease;
  position: relative;
  padding-bottom: 96px;
}

[data-theme="dark"] body {
  background-image: 
    radial-gradient(at 15% 0%, rgba(249, 115, 22, 0.08) 0px, transparent 45%),
    radial-gradient(at 85% 5%, rgba(251, 191, 36, 0.06) 0px, transparent 40%),
    radial-gradient(at 50% 100%, rgba(249, 115, 22, 0.05) 0px, transparent 50%);
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   3. RESTAURANT TOP BANNER & UTILITY
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

[data-theme="dark"] .top-notice-bar {
  background-color: rgba(36, 31, 27, 0.85);
}

.top-notice-bar .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--color-text-main);
}

.top-notice-bar .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primitive-leaf-emerald);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

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

.theme-toggle-btn, .table-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover, .table-btn:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   4. RESTAURANT HEADER (Center-Aligned, Warm & Welcoming)
   -------------------------------------------------------------------------- */
.menu-header {
  text-align: center;
  padding-top: 36px;
  padding-bottom: 24px;
}

.logo-wrapper {
  margin: 0 auto 16px auto;
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #fed7aa; /* Warm sun-kissed border */
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12), var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-wrapper:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.2);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  color: var(--color-text-main);
}

.restaurant-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text-main);
  line-height: 1.15;
  margin-bottom: 6px;
}

.restaurant-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.restaurant-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-divider {
  opacity: 0.4;
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   5. QUICK FILTER & LIVE SEARCH STRIP
   -------------------------------------------------------------------------- */
.menu-controls {
  margin-top: 22px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.menu-search-input {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 44px;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text-main);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.04);
}

.menu-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.menu-search-input::placeholder {
  color: var(--color-text-subtle);
  opacity: 0.85;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-surface-hover);
  border: none;
  color: var(--color-text-muted);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.search-clear-btn.visible {
  display: flex;
}

/* Dietary filter chips */
.dietary-chips-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.dietary-chips-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-surface-hover);
}

.filter-chip.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

/* --------------------------------------------------------------------------
   6. STICKY HORIZONTAL CATEGORY NAVIGATION BAR
   -------------------------------------------------------------------------- */
.category-nav-sticky {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .category-nav-sticky {
  background-color: rgba(28, 24, 21, 0.95);
}

.category-nav-sticky.is-scrolled {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.category-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.category-scroll-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
  width: 100%;
}

.category-scroll-track::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  min-height: 40px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--color-text-muted);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.category-pill:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-surface-hover);
  transform: translateY(-1px);
}

.category-pill:active {
  transform: scale(0.97);
}

/* Active Category Pill state */
.category-pill.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
  font-weight: 700;
}

.nav-scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.25s ease;
}

.nav-scroll-indicator.left {
  left: 0;
  background: linear-gradient(to right, rgba(var(--color-bg-rgb), 1), rgba(var(--color-bg-rgb), 0));
  opacity: 0;
}

.nav-scroll-indicator.right {
  right: 0;
  background: linear-gradient(to left, rgba(var(--color-bg-rgb), 1), rgba(var(--color-bg-rgb), 0));
  opacity: 1;
}

/* --------------------------------------------------------------------------
   7. MENU CONTENT SECTIONS (Crisp, Elevated Warm Cafe Cards)
   -------------------------------------------------------------------------- */
.menu-main-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-section {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--nav-bar-height) + 14px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-section:hover {
  box-shadow: 0 8px 24px -4px rgba(180, 83, 9, 0.08);
}

.section-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-border), transparent);
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  margin-top: 4px;
  font-style: italic;
}

/* Menu Items List */
.menu-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--color-border-subtle);
  transition: background-color 0.15s ease;
  position: relative;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item:first-child {
  padding-top: 4px;
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.item-left {
  flex: 1;
  min-width: 0;
}

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

.item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Dietary badges */
.item-badges {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  line-height: 1.2;
}

.badge-veg {
  background-color: var(--color-badge-veg-bg);
  color: var(--color-badge-veg-text);
  border-color: var(--color-badge-veg-border);
}

.badge-vegan {
  background-color: #ecfeff;
  color: #0e7490;
  border-color: #a5f3fc;
}

[data-theme="dark"] .badge-vegan {
  background-color: rgba(14, 116, 144, 0.25);
  color: #67e8f9;
  border-color: rgba(6, 182, 212, 0.4);
}

.badge-gf {
  background-color: var(--color-badge-gf-bg);
  color: var(--color-badge-gf-text);
  border-color: var(--color-badge-gf-border);
}

.badge-chef {
  background-color: var(--color-badge-chef-bg);
  color: var(--color-badge-chef-text);
  border-color: var(--color-badge-chef-border);
}

.badge-spicy {
  background-color: var(--color-badge-spicy-bg);
  color: var(--color-badge-spicy-text);
  border-color: var(--color-badge-spicy-border);
}

/* Item right: Indian Rupees Price clearly aligned to the right */
.item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-align: right;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-price);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Add to order / bookmark button */
.item-bookmark-btn {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.item-bookmark-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-surface-hover);
  transform: scale(1.08);
}

.item-bookmark-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Short muted description below */
.item-description {
  font-size: 0.8875rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin-top: 5px;
  max-width: 92%;
}

/* Hidden filtered items */
.menu-item.is-hidden {
  display: none !important;
}

.menu-section.is-hidden {
  display: none !important;
}

/* No results state */
.no-results-state {
  display: none;
  text-align: center;
  padding: 48px 20px;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
  box-shadow: var(--shadow-sm);
  margin: 12px 0;
}

.no-results-state.visible {
  display: block;
}

.no-results-state h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.no-results-state p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.reset-search-btn {
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

/* --------------------------------------------------------------------------
   8. FOOTER & RESTAURANT INFORMATION
   -------------------------------------------------------------------------- */
.menu-footer {
  text-align: center;
  padding: 40px 20px 24px 20px;
  margin-top: 32px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  text-align: left;
}

.footer-info-card {
  background-color: var(--color-surface);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.footer-info-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-info-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.footer-dietary-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.775rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-copyright {
  font-size: 0.775rem;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   9. FLOATING ORDER PAD & CALL WAITER ACTIONS
   -------------------------------------------------------------------------- */
.floating-order-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 32px);
  max-width: 520px;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-float);
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 95;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.floating-order-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.order-bar-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.order-count-pill {
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.order-subtotal {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.view-order-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.view-order-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

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

/* --------------------------------------------------------------------------
   10. MODAL SHEETS (ORDER PAD & ASSISTANCE)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-drawer {
  background-color: var(--color-surface);
  width: 100%;
  max-width: 580px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.order-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.order-summary-item-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.order-summary-item-price {
  font-weight: 700;
  color: var(--color-price);
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-surface-subtle);
}

.btn-secondary {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Toast alert notification */
.toast-notice {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background-color: var(--primitive-espresso-950);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 110;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. ACCESSIBILITY & REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .top-notice-bar {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .restaurant-meta {
    flex-direction: column;
    gap: 4px;
  }
  .meta-divider {
    display: none;
  }
  .menu-section {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }
  .item-title {
    font-size: 0.975rem;
  }
  .item-price {
    font-size: 1rem;
  }
  .item-description {
    max-width: 100%;
  }
}
