/* ==========================================================================
   Culver's Menu With Prices & Calories - Design System (culvers-menu.us style)
   Palette: Brand Blue (#004D91), Butter Gold (#FDCA3A), Ice Surface & Slate
   ========================================================================== */

:root {
  --brand: #004D91;
  --brand-dark: #003362;
  --brand-deep: #002448;
  --brand-light: #1D6FB8;
  --brand-subtle: #EBF3FC;
  --brand-foreground: #FDFCF8;

  --gold: #FDCA3A;
  --gold-dark: #B48208;
  --gold-subtle: #FFF8E6;
  --gold-foreground: #0C1B2D;

  --color-primary: var(--brand);
  --color-primary-dark: var(--brand-dark);
  --color-primary-subtle: var(--brand-subtle);
  --color-secondary: #0284C7;
  --color-accent: var(--gold);

  --color-bg: #FFFFFF;
  --color-surface: #F3F7FC;
  --color-surface-muted: #EBF1F8;
  --color-border: #E0E5EB;
  --color-border-subtle: #CBD5E1;

  --color-text-main: #0B121A;
  --color-text-muted: #4D5660;
  --color-text-light: #64748B;
  --color-text-inverse: #FFFFFF;

  --color-warning-bg: #FFFBEB;
  --color-warning-border: #FCD34D;
  --color-warning-text: #92400E;

  --color-info-bg: #F0F9FF;
  --color-info-border: #7DD3FC;
  --color-info-text: #0369A1;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, Cambria, 'Times New Roman', serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 30, 60, 0.05);
  --shadow-card: 0 1px 2px rgba(15, 30, 60, 0.04), 0 8px 24px -12px rgba(15, 30, 60, 0.1);
  --shadow-card-hover: 0 4px 12px rgba(15, 30, 60, 0.08), 0 18px 36px -14px rgba(15, 30, 60, 0.16);

  --container-max: 1220px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.main-content {
  flex: 1 0 auto;
  padding-bottom: 4rem;
}

/* Disclaimer Top Banner */
.disclaimer-top-banner {
  background-color: var(--brand-deep);
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 0.45rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.disclaimer-top-banner a {
  color: var(--gold);
  text-decoration: underline;
}

/* Header & Nav */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(15, 30, 60, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.brand-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 2px 6px rgba(0, 77, 145, 0.25);
  border: 1px solid rgba(253, 202, 58, 0.3);
}

.brand-logo-img {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: var(--radius-md);
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 77, 145, 0.2);
  background: #ffffff;
  padding: 3px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.05);
}

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

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
  background-color: var(--brand-subtle);
  text-decoration: none;
}

.nav-cta {
  background-color: var(--brand);
  color: #fff !important;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 77, 145, 0.2);
}

.nav-cta:hover {
  background-color: var(--brand-dark) !important;
  color: var(--gold) !important;
  box-shadow: 0 4px 8px rgba(0, 77, 145, 0.3);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text-main);
}
.mobile-nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: 2.6rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 77, 145, 0.2);
}
.btn-primary:hover {
  background-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(253, 202, 58, 0.3);
}
.btn-gold:hover {
  background-color: #F5BC25;
  color: #000;
  text-decoration: none;
}

.btn-secondary {
  background-color: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-secondary:hover {
  background-color: var(--brand-subtle);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border);
}
.btn-outline:hover {
  background-color: var(--color-surface);
  border-color: var(--color-border-subtle);
  text-decoration: none;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-xs {
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-add-to-meal {
  background-color: var(--brand-subtle);
  color: var(--brand);
  border: 1px solid rgba(0, 77, 145, 0.25);
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-add-to-meal:hover {
  background-color: var(--brand);
  color: #fff;
  text-decoration: none;
}
.btn-add-to-meal.btn-added {
  background-color: #10B981;
  color: #fff;
  border-color: #059669;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1.1;
}

.badge-subtle {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.badge-primary {
  background-color: var(--brand-subtle);
  color: var(--brand);
}

.badge-gold {
  background-color: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid rgba(253, 202, 58, 0.4);
}

.badge-warning {
  background-color: var(--color-warning-bg);
  color: var(--color-warning-text);
  border: 1px solid var(--color-warning-border);
}

.badge-info {
  background-color: var(--color-info-bg);
  color: var(--color-info-text);
  border: 1px solid var(--color-info-border);
}

/* Alerts */
.alert {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.alert-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.alert-warning {
  background-color: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: var(--color-warning-text);
}

.alert-info {
  background-color: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--color-info-text);
}

/* Hero Section (culvers-menu.us style) */
.hero-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 50%, var(--brand-deep) 100%);
  color: #fff;
  padding: 4.5rem 0 3.75rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(253, 202, 58, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(253, 202, 58, 0.18);
  border: 1px solid rgba(253, 202, 58, 0.5);
  color: var(--gold);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #FFFFFF;
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  color: #E2E8F0;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Hero Live Search Box */
.hero-search-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.75rem;
  position: relative;
}

.hero-search-icon {
  padding-left: 0.85rem;
  color: var(--color-text-light);
  font-size: 1.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hero-search-input {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  border: none;
  font-size: 1rem;
  color: var(--color-text-main);
  padding: 0.6rem 0.5rem;
  outline: none;
  background: transparent;
}

.hero-search-btn {
  background-color: var(--brand);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.hero-search-btn:hover {
  background-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.hero-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 60;
  margin-top: 0.4rem;
  display: none;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Category Quick Pills */
.category-pills-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.category-pill {
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.category-pill:hover, .category-pill.active {
  background-color: var(--brand);
  color: #fff;
  border-color: var(--brand);
  text-decoration: none;
}

/* View Toggle Bar (Cards vs Table) */
.view-toggle-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.view-toggle-buttons {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.btn-toggle-view {
  background: transparent;
  border: none;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-toggle-view.active {
  background: var(--brand);
  color: #fff;
}

/* =========================================================================
   EXACT CULVERS-MENU.US CARDS GRID STYLING
   ========================================================================= */
.culvers-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1140px) {
  .culvers-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .culvers-cards-grid {
    grid-template-columns: 1fr;
  }
}

.culvers-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
}

.culvers-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -10px rgba(15, 30, 60, 0.12), 0 4px 6px -2px rgba(15, 30, 60, 0.04);
  border-color: #CBD5E1;
}

.culvers-card-img-wrap {
  width: 100%;
  height: 195px;
  background-color: #F1F5F9;
  overflow: hidden;
  position: relative;
}

.culvers-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.culvers-card:hover .culvers-card-img {
  transform: scale(1.04);
}

.culvers-card-body {
  padding: 1.35rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.culvers-card-badge {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #004D91;
  margin-bottom: 0.4rem;
}

.culvers-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.culvers-card-desc {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.culvers-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
}

.culvers-card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
}

.culvers-card-explore {
  font-size: 0.875rem;
  font-weight: 600;
  color: #004D91;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.culvers-card:hover .culvers-card-explore {
  text-decoration: underline;
}

/* Category cards grid legacy compatibility */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.category-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-subtle);
}

.category-card-banner {
  height: 120px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}

.category-card-banner-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.category-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 0.725rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.category-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.category-card-price-range {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.category-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* =========================================================================
   MENU ITEM CARDS GRID (Item Cards View)
   ========================================================================= */
.menu-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.menu-item-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.menu-item-card-header {
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.menu-item-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-main);
}
.menu-item-card-title a {
  color: var(--color-text-main);
}
.menu-item-card-title a:hover {
  color: var(--brand);
}

.menu-item-card-body {
  padding: 0 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.menu-item-variants-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.variant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(224, 229, 235, 0.8);
}
.variant-row:last-child {
  border-bottom: none;
}

.variant-size-name {
  font-weight: 600;
  color: var(--color-text-main);
}
.variant-price-cal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.variant-price {
  font-weight: 700;
  color: var(--brand);
}
.variant-cal {
  font-size: 0.775rem;
  color: var(--color-text-light);
}

.menu-item-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: #FCFDFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* =========================================================================
   ITEM DETAIL PAGE STYLING (/items/{slug}.html)
   ========================================================================= */
.item-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.item-detail-hero {
  background: linear-gradient(135deg, var(--color-surface) 0%, #FFFFFF 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.item-detail-hero-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0, 77, 145, 0.2);
}

.item-detail-hero-info h1 {
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

.item-detail-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.item-detail-sidebar {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-action-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

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

.menu-table th {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.25rem;
  border-bottom: 2px solid var(--color-border);
}

.menu-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.menu-table tr:last-child td {
  border-bottom: none;
}

.menu-table tr:hover td {
  background-color: rgba(243, 247, 252, 0.7);
}

.item-main-col {
  min-width: 260px;
}
.item-title-bold {
  font-weight: 700;
  color: var(--color-text-main);
  display: block;
}
.item-title-bold a {
  color: var(--color-text-main);
}
.item-title-bold a:hover {
  color: var(--brand);
}

.item-desc-text {
  font-size: 0.825rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.text-right { text-align: right; }
.text-center { text-align: center; }

.price-text {
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}

.cals-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.row-verification-needed {
  background-color: #FFFDF7;
}
.table-note-alert {
  font-size: 0.775rem;
  color: #B45309;
  background-color: #FEF3C7;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
  border-left: 3px solid #D97706;
}

/* Calculator App Styling */
.calculator-app-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 980px) {
  .calculator-app-container, .item-detail-layout {
    grid-template-columns: 1fr;
  }
}

.calc-builder-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.calc-summary-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 5.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #fff;
  color: var(--color-text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 77, 145, 0.15);
}

.form-help {
  font-size: 0.775rem;
  color: var(--color-text-light);
  margin-top: 0.35rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.btn-qty {
  background: var(--color-surface);
  border: none;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-qty:hover {
  background: #E0E5EB;
}

.input-table-qty {
  width: 2.75rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  padding: 0.2rem 0.3rem;
  font-weight: 600;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
}
.btn-remove-item:hover {
  color: #DC2626;
  background-color: #FEE2E2;
}

.calc-search-box {
  position: relative;
  margin-bottom: 1.5rem;
}
.calc-search-results {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 50;
  display: none;
  margin-top: 0.25rem;
}
.search-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.search-result-row:last-child {
  border-bottom: none;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--color-border);
}
.summary-line.total-line {
  border-bottom: none;
  border-top: 2px solid var(--brand);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
}
.summary-line.cal-line {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  border-bottom: none;
  padding-top: 0.5rem;
}

.unverified-tentative-box {
  background: rgba(254, 243, 199, 0.6);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-size: 0.825rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

/* Floating Meal Tray */
.floating-meal-tray {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 1.25rem;
  z-index: 90;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.floating-meal-tray.tray-visible {
  transform: translateY(0);
  opacity: 1;
}

.tray-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tray-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tray-badge {
  background-color: var(--brand);
  color: var(--gold);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.tray-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tray-calories {
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background: #0B121A;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-card-hover);
  max-width: 380px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast-message.toast-show {
  transform: translateX(0);
  opacity: 1;
}

.toast-message.toast-warning {
  background: #78350F;
  border-left: 4px solid var(--gold);
}

.toast-message.toast-success {
  background: #064E3B;
  border-left: 4px solid #10B981;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 1.25rem 0 1.5rem;
}
.breadcrumbs a {
  color: var(--color-text-muted);
}
.breadcrumbs a:hover {
  color: var(--brand);
}
.breadcrumbs .crumb-sep {
  color: var(--color-border-subtle);
}

/* FAQ Accordion */
.faq-section {
  margin: 3.5rem 0;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.15rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question:hover {
  background-color: var(--color-surface);
}
.faq-icon {
  font-size: 1.25rem;
  color: var(--brand);
  font-weight: bold;
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Blog Cards */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.blog-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex: 1 0 auto;
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* Footer (culvers-menu.us style) */
.site-footer {
  background-color: #071E36;
  color: #94A3B8;
  font-size: 0.875rem;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-header h4 {
  margin-bottom: 0 !important;
}

.footer-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

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

.footer-disclaimer-box {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94A3B8;
}

/* Print Styles */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .disclaimer-top-banner, .site-footer, .floating-meal-tray,
  .btn, .breadcrumbs, .mobile-nav-toggle, .calc-search-box, .toast-container,
  .view-toggle-bar { display: none !important; }
  .calculator-app-container { display: block !important; }
  .calc-summary-card, .calc-builder-card { border: none !important; box-shadow: none !important; padding: 0 !important; }
  .print-header { display: block !important; border-bottom: 2px solid #000; padding-bottom: 1rem; margin-bottom: 1.5rem; }
  .print-header h1 { font-size: 18pt; margin-bottom: 0.25rem; }
  .print-disclaimer { display: block !important; font-size: 8pt; margin-top: 2rem; border-top: 1px solid #999; padding-top: 0.5rem; color: #555; }
  .menu-table { font-size: 10pt; }
  .btn-remove-item, .qty-control button { display: none !important; }
  .input-table-qty { border: none !important; }
}

.print-header, .print-disclaimer { display: none; }

/* Responsive Media Queries */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Hours & Nutrition Specialized Page Layouts
   ========================================================================== */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #F0F6FC 0%, #E2ECF7 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 77, 145, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Live Open Status Banner */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 2px solid #10B981;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: #065F46;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.live-status-pill.closed {
  border-color: #F59E0B;
  color: #92400E;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

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

.pulse-dot.closed {
  background: #F59E0B;
  animation: pulseAmber 2s infinite;
}

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

@keyframes pulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Schedule Cards */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.schedule-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.schedule-card.featured-today {
  border: 2px solid var(--brand);
  background: #FCFDFF;
}

.schedule-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: var(--brand-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.schedule-card.featured-today .schedule-card-badge {
  background: var(--brand);
  color: #FFFFFF;
}

.schedule-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
}

.schedule-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-surface);
  font-size: 0.95rem;
}

.schedule-time-row:last-child {
  border-bottom: none;
}

.schedule-time-label {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.schedule-time-val {
  font-weight: 700;
  color: var(--color-text-main);
}

/* Service Comparison Grid */
.service-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--brand-subtle);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Holiday Matrix Grid */
.holiday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.holiday-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

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

.holiday-subtext {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.status-badge.closed {
  background: #FEE2E2;
  color: #991B1B;
}

.status-badge.reduced {
  background: #FEF3C7;
  color: #92400E;
}

.status-badge.open {
  background: #D1FAE5;
  color: #065F46;
}

/* Nutrition Metrics Strip */
.nutrition-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.nutrition-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.nutrition-stat-card:hover {
  transform: translateY(-3px);
}

.nutrition-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.nutrition-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Calorie Range Cards */
.cal-range-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.cal-range-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.cal-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cal-range-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.cal-range-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.cal-meter-track {
  width: 100%;
  height: 8px;
  background: var(--color-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0.75rem 0;
}

.cal-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #10B981 0%, #F59E0B 60%, #EF4444 100%);
}

/* Dietary & Allergen Cards */
.dietary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dietary-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

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

.dietary-icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dietary-icon-badge.green { background: #D1FAE5; color: #065F46; }
.dietary-icon-badge.blue { background: #E0F2FE; color: #0284C7; }
.dietary-icon-badge.gold { background: #FEF3C7; color: #B45309; }
.dietary-icon-badge.amber { background: #FFEDD5; color: #C2410C; }

/* Swaps & Hacks Box */
.hacks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hack-card {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.hack-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #065F46;
  background: #D1FAE5;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

/* Media queries for new grids */
@media (max-width: 992px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .nutrition-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hacks-grid { grid-template-columns: 1fr; }
  .dietary-grid { grid-template-columns: 1fr; }
  .service-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-hero { padding: 2rem 1.25rem; }
  .page-hero-title { font-size: 1.85rem; }
  .nutrition-stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }

  /* Hero Section Mobile Optimization */
  .hero-section {
    padding: 2.75rem 0 2.25rem;
  }
  
  .hero-tagline {
    font-size: 0.775rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.85rem;
    white-space: normal;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
    color: #E2E8F0;
  }

  .hero-search-wrapper {
    padding: 0.35rem 0.4rem;
    gap: 0.35rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-search-icon {
    padding-left: 0.5rem;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .hero-search-input {
    font-size: 0.9rem;
    padding: 0.5rem 0.35rem;
    min-width: 0;
  }

  .hero-search-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.825rem;
    white-space: nowrap;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .primary-nav {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0; right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav.nav-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .mobile-nav-toggle { display: block; }
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-meal-tray { left: 1rem; right: 1rem; bottom: 1rem; border-radius: var(--radius-lg); }
  .item-detail-hero { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2.25rem 0 1.85rem;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-search-wrapper {
    padding: 0.3rem 0.35rem;
    gap: 0.3rem;
  }

  .hero-search-icon {
    padding-left: 0.35rem;
    font-size: 0.95rem;
  }

  .hero-search-input {
    font-size: 0.85rem;
    padding: 0.45rem 0.25rem;
  }

  .hero-search-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}
