/* ==========================================================================
   CAVA Mediterranean Menu - Design System & Modern Stylesheet
   ========================================================================== */

:root {
  /* Mediterranean Color Palette */
  --primary: #d9480f;
  --primary-hover: #bf3c09;
  --primary-light: #ffebd9;
  --primary-glow: rgba(217, 72, 15, 0.25);
  --price-color: #e63946;
  
  --secondary: #1c382f;
  --secondary-light: #285244;
  --secondary-glow: rgba(28, 56, 47, 0.2);
  
  --accent-gold: #f59e0b;
  --accent-olive: #607955;
  --accent-sage: #8da47e;
  --accent-azure: #0284c7;
  
  /* Light Theme (Default Warm Mediterranean) */
  --bg-main: #fcf9f4;
  --bg-card: #ffffff;
  --bg-subtle: #f5efe6;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-main: #171f1d;
  --text-muted: #5b6864;
  --text-subtle: #8a9693;
  --text-inverse: #ffffff;
  
  --border-light: #e8e0d5;
  --border-focus: #d9480f;
  
  --shadow-sm: 0 2px 8px rgba(28, 56, 47, 0.05);
  --shadow-md: 0 8px 24px rgba(28, 56, 47, 0.08);
  --shadow-lg: 0 16px 36px rgba(28, 56, 47, 0.12);
  --shadow-glow: 0 0 24px rgba(217, 72, 15, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-main: #0e1513;
  --bg-card: #151f1c;
  --bg-subtle: #1c2925;
  --bg-glass: rgba(21, 31, 28, 0.88);
  
  --text-main: #f0f4f2;
  --text-muted: #a6b5b0;
  --text-subtle: #6b7c77;
  
  --border-light: #253832;
  --primary-light: #382017;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.6rem;
  box-shadow: 0 8px 16px var(--primary-glow);
  font-family: var(--font-heading);
  transform: rotate(-3deg);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
}

/* Header Middle - Location indicator */
.location-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}

.location-btn:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.location-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 6px 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: 0.85rem;
}

.theme-toggle-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.bag-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--secondary), #132720);
  color: var(--text-inverse);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.bag-btn:hover {
  background: linear-gradient(135deg, var(--primary), #e8590c);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.bag-count {
  background: var(--accent-gold);
  color: #171f1d;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bag-count.bump {
  transform: scale(1.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(217, 72, 15, 0.15);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), #e8590c);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  max-width: 100%;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

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

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--secondary);
}

[data-theme="dark"] .stat-val {
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Media Preview */
.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-card);
  background: var(--primary-light);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.04);
}

.floating-badge {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-top {
  top: -15px;
  left: -20px;
}

.floating-badge.badge-bottom {
  bottom: -20px;
  right: -15px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge-icon {
  font-size: 1.4rem;
}

.floating-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.floating-badge-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Build Your Own Bowl Section (Interactive Studio)
   ========================================================================== */
.studio-section {
  padding: 4.5rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 4px 15px rgba(217, 72, 15, 0.2);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.builder-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

/* Step Progress Indicator */
.builder-steps-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bg-subtle);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  gap: 0.35rem;
}

.step-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.step-tab.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.step-tab.completed {
  color: #10b981;
}

.step-number {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.step-tab.active .step-number {
  background: var(--primary);
  color: #fff;
}

.step-tab.completed .step-number {
  background: #10b981;
  color: #fff;
}

/* Step Options Grid */
.step-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.step-pane-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.step-pane-limit {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-card {
  background: var(--bg-main);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  user-select: none;
}

.option-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 12px var(--primary-glow);
}

[data-theme="dark"] .option-card.selected {
  background: #2b1a13;
  border-color: var(--primary);
}

.option-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.option-icon {
  font-size: 1.6rem;
}

.option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: var(--transition);
}

.option-card.selected .option-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.option-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.option-nutrition {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.option-extra-cost {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.builder-step-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}

/* Builder Live Summary Box */
.builder-summary-card {
  position: sticky;
  top: 5.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.summary-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.summary-macros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.macro-box {
  display: flex;
  flex-direction: column;
}

.macro-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.macro-name {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-selection-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.summary-step-group {
  font-size: 0.82rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-light);
}

.summary-step-label {
  font-weight: 700;
  color: var(--text-subtle);
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.summary-step-items {
  color: var(--text-main);
  font-weight: 600;
}

.summary-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.summary-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.summary-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.summary-total-price {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--price-color);
}

.btn-add-custom-bowl {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), #e8590c);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: var(--transition);
}

.btn-add-custom-bowl:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-add-custom-bowl:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

/* ==========================================================================
   Menu Explorer & Categories Section
   ========================================================================== */
.menu-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

/* Sticky Filters Toolbar */
.menu-controls {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.category-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  padding-right: 1.5rem;
  scrollbar-width: thin;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.category-pill.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .category-pill.active {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 1rem;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.dietary-tags-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.dietary-tag-chip {
  padding: 0.4rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.dietary-tag-chip:hover {
  border-color: var(--primary);
}

.menu-result-count {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.dietary-tag-chip.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.card-diet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.card-diet-pill {
  background: #F0FDF4;
  color: #166534;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: capitalize;
  border: 1px solid #BBF7D0;
}

[data-theme="dark"] .dietary-tag-chip.active {
  background: #382017;
  color: #ff9800;
  border-color: #ff9800;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2.5rem;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(217, 72, 15, 0.12);
  border-color: rgba(217, 72, 15, 0.4);
}

.card-image-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #F9F3EC;
  border-bottom: 1px solid var(--border-light);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  mix-blend-mode: multiply;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.favorite-btn:hover {
  transform: scale(1.15);
  color: #ef4444;
}

.favorite-btn.active {
  color: #ef4444;
  background: #ffe4e6;
  border-color: #fca5a5;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.card-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--price-color);
}

.card-btn-group {
  display: flex;
  gap: 0.5rem;
}

.btn-card-quickview {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-quickview:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.btn-card-add {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-card-add:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Empty State */
.empty-menu-state {
  text-align: center;
  padding: 4rem 1rem;
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Story & Mediterranean Freshness Showcase
   ========================================================================== */
.story-section {
  padding: 5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-card {
  background: var(--bg-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.story-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.story-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Modals (Quick View, Location Picker)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 4000;
}

.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--border-light);
}

.quickview-body {
  padding: 2rem;
}

.quickview-media {
  margin: -2rem -2rem 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.quickview-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.quickview-img-fallback {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
}

.quickview-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.quickview-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.macro-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.allergen-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.allergen-pill {
  font-size: 0.78rem;
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

[data-theme="dark"] .allergen-pill {
  background: #450a0a;
  color: #fca5a5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--secondary);
  color: #fff;
  padding: 4.5rem 0 2.5rem;
}

[data-theme="dark"] .footer {
  background: #090e0c;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer-links a,
.footer-social a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.footer-links a:hover,
.footer-social a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--text-main);
  color: var(--text-inverse);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border: 2px solid var(--primary);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
  padding: 4.5rem 0;
  background: var(--bg-main);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after {
  opacity: 1;
}

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

/* ==========================================================================
   Responsive Breakpoints
/* ==========================================================================
   2026 CAVA Menu Guide Extensions & Enhancements
   ========================================================================== */

/* Top Announcement Verification Bar */
.top-announcement-bar {
  background: var(--secondary);
  color: #f1f8f5;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.announcement-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.announcement-link:hover {
  text-decoration: underline;
}

.btn-print-top {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-print-top:hover {
  background: var(--primary);
}

/* Main Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.highlight {
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .nav-link.highlight {
  background: rgba(217, 72, 15, 0.2);
}

/* Sticky Jump Navigation Bar */
.toc-sticky-bar {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
  backdrop-filter: blur(8px);
}

.toc-scroll-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.toc-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.toc-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

/* Hero Culinary Card Visual */
.hero-culinary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.culinary-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.culinary-tag {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.culinary-cal {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-olive);
}

.culinary-visual {
  text-align: center;
  padding: 1.25rem 0;
  background: linear-gradient(180deg, var(--bg-subtle), var(--bg-card));
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.bowl-emoji-art {
  font-size: 5.5rem;
  line-height: 1;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,0.12));
  animation: float-bowl 3s ease-in-out infinite alternate;
}

@keyframes float-bowl {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.culinary-ingredients-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.culinary-ingredients-chips span {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.culinary-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* Editorial Sections */
.editorial-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.bg-subtle-section {
  background: var(--bg-subtle);
}

.editorial-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.lead-paragraph {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.editorial-sub-block {
  margin-top: 2rem;
}

.editorial-h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.65rem;
}

[data-theme="dark"] .editorial-h3 {
  color: #8da47e;
}

.editorial-sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-card.highlight-card {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
}

.feature-card-icon {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.feature-list li {
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--border-light);
}

.bullet-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bullet-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.health-callout-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.health-callout-box h4 {
  color: var(--accent-gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.health-callout-box p {
  font-size: 0.9rem;
  margin: 0;
}

/* Pricing Highlight Category Cards */
.pricing-category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.price-cat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.price-cat-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cat-box-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cat-box-icon {
  font-size: 1.4rem;
}

.cat-box-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.cat-box-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--price-color);
  margin-bottom: 0.5rem;
}

.cat-box-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Data Tables & Rankings */
.table-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.table-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.data-table tr:hover td {
  background: rgba(217, 72, 15, 0.03);
}

.price-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--price-color);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  white-space: nowrap;
}

[data-theme="dark"] .price-pill {
  background: rgba(217, 72, 15, 0.2);
}

.btn-table-action {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-table-action:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Spotlights Grid */
.signature-spotlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.spotlight-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

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

.spotlight-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
}

[data-theme="dark"] .spotlight-meta {
  color: #8da47e;
}

/* Macro Gauge Profile */
.macro-health-gauge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.macro-health-gauge-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.gauge-bar-item {
  margin-bottom: 1rem;
}

.gauge-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.gauge-track {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

/* Dietary Protocol Cards Grid */
.dietary-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.dietary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.dietary-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.dietary-icon {
  font-size: 1.5rem;
}

.dietary-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.dietary-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Seasonal Cards Grid */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.seasonal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.seasonal-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-azure);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

.seasonal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.seasonal-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.seasonal-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--price-color);
}

/* Comparison Face-off Grid */
.comparison-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.comparison-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.comp-tag {
  background: var(--bg-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.comp-comparison-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comp-comparison-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--border-light);
}

/* App & Catering Section */
.app-catering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.app-card-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.app-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.markup-warning {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
}

.markup-warning strong {
  color: #dc2626;
}

.student-discount-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.catering-option-item {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.catering-option-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.catering-option-item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Hours & Holiday Grid */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.hours-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.hours-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.hours-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hours-highlight {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.75rem 0;
}

.holiday-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.holiday-list li {
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--border-light);
}

/* Interactive FAQ Accordion */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Verdict & About Guide Boxes */
.verdict-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-subtle));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.about-guide-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-guide-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.about-guide-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
/* ==========================================================================
   Modern Allergen Badges, Rank Medals & Refined UI Components
   ========================================================================== */

.chevron-icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--text-subtle);
  transition: transform 0.2s ease;
}

.location-btn:hover .chevron-icon {
  color: var(--primary);
  transform: translateY(1px);
}

.card-allergen-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  width: fit-content;
}

/* Modal Allergen Pills */
.allergen-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .allergen-pill {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}

.allergen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.allergen-safe-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* Rank Medals in Table */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid var(--border-light);
}

.rank-badge.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.rank-badge.top {
  background: var(--secondary);
  color: #fff;
  border: none;
}

.cal-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
}

.protein-num {
  color: #10b981;
  font-size: 0.95rem;
  font-weight: 800;
}

/* Modern Allergen Matrix Badges */
.allergen-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.allergen-tag-badge.dairy {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.allergen-tag-badge.sesame {
  background: rgba(96, 121, 85, 0.12);
  color: #44593c;
  border: 1px solid rgba(96, 121, 85, 0.25);
}

[data-theme="dark"] .allergen-tag-badge.sesame {
  color: #8da47e;
}

.allergen-tag-badge.wheat {
  background: rgba(217, 72, 15, 0.1);
  color: #d9480f;
  border: 1px solid rgba(217, 72, 15, 0.25);
}

.allergen-tag-badge.fish {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.allergen-tag-badge.safe {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.allergen-summary-pill {
  display: inline-block;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .allergen-summary-pill {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}

/* ==========================================================================
   Mobile Menu Styles
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-main);
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu-drawer.open {
  right: 0;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.25rem;
  overflow-y: auto;
}
.mobile-menu-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

/* ==========================================================================
   Print Stylesheet for Download / PDF Guide
   ========================================================================== */
@media print {
  .top-announcement-bar,
  .header,
  .toc-sticky-bar,
  .hero-cta-group,
  .modal-overlay,
  .toast-container,
  .btn-table-action,
  .btn-card-add,
  .favorite-btn,
  .menu-controls {
    display: none !important;
  }
  
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .data-table th, .data-table td {
    border: 1px solid #ddd !important;
    padding: 6px 8px !important;
  }
  
  .faq-answer {
    display: block !important;
  }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .editorial-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block;
  }
  .top-links {
    display: none !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .builder-summary-card {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0 3rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .header-actions .location-btn span.loc-name {
    display: none;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

