/* ==========================================================================
   Firestone Pizza Co. — Master Stylesheet
   Modern Italian/Pizzeria Aesthetic
   Handcrafted with Vanilla CSS & Modern Variables
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Warm Pizzeria Color Palette */
  --color-cream: #FAF6EF;
  --color-cream-subtle: #F3EBDD;
  --color-cream-dark: #E8DCC9;
  --color-surface: #FFFFFF;
  --color-surface-hover: #FFFDF9;
  
  --color-red: #B91C1C;
  --color-red-hover: #991B1B;
  --color-red-dark: #7F1D1D;
  --color-red-light: #FEE2E2;
  --color-red-subtle: #FFF1F2;
  
  --color-green: #15803D;
  --color-green-light: #DCFCE7;
  --color-green-hover: #166534;
  
  --color-gold: #D97706;
  --color-gold-light: #FEF3C7;
  
  --color-charcoal: #1E293B;
  --color-charcoal-dark: #0F172A;
  --color-muted: #64748B;
  --color-border: #E5DDCE;
  --color-border-light: #F1ECE1;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(27, 23, 19, 0.05);
  --shadow-sm: 0 2px 6px rgba(27, 23, 19, 0.06);
  --shadow-md: 0 6px 18px rgba(27, 23, 19, 0.08);
  --shadow-lg: 0 14px 32px rgba(27, 23, 19, 0.12);
  --shadow-xl: 0 24px 48px rgba(27, 23, 19, 0.15);
  
  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Max width */
  --max-width: 1240px;
  --header-height: 76px;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--color-cream);
  color: var(--color-charcoal);
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-charcoal-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 700; }

p {
  color: var(--color-charcoal);
  font-size: 1.05rem;
}

.text-muted { color: var(--color-muted); }
.text-red { color: var(--color-red); }
.text-green { color: var(--color-green); }
.text-center { text-align: center; }

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

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-cream {
  background-color: var(--color-cream-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-white {
  background-color: var(--color-surface);
}

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

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--color-red);
  border-radius: 2px;
}

.section-desc {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 1.125rem;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  box-shadow: var(--shadow-xs);
}

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

.btn-primary {
  background-color: var(--color-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-charcoal-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-cream-subtle);
  border-color: var(--color-cream-dark);
  color: var(--color-red);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--color-charcoal-dark);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-red {
  background-color: var(--color-red-light);
  color: var(--color-red-dark);
}

.badge-green {
  background-color: var(--color-green-light);
  color: var(--color-green);
}

.badge-gold {
  background-color: var(--color-gold-light);
  color: var(--color-gold);
}

.badge-white {
  background-color: #FFFFFF;
  color: var(--color-charcoal-dark);
  box-shadow: var(--shadow-sm);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

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

.logo-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-charcoal-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-red);
  font-weight: 700;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-red);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-charcoal-dark);
}

.header-phone:hover {
  color: var(--color-red);
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal-dark);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.cart-btn:hover {
  background-color: var(--color-cream-subtle);
  border-color: var(--color-red-light);
  color: var(--color-red);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.4);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-charcoal-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer Nav */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(4px);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background-color: var(--color-cream);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.mobile-nav-overlay.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.close-drawer-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream-subtle);
  font-size: 1.25rem;
  color: var(--color-charcoal);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-charcoal-dark);
  padding: 0.5rem 0;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-red);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-cream) 0%, #F5EDE0 100%);
  border-bottom: 1px solid var(--color-border);
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  box-shadow: var(--shadow-xs);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(21, 128, 61, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-charcoal-dark);
}

.stars {
  color: #F59E0B;
  letter-spacing: 1px;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--color-charcoal-dark);
}

.hero-title span {
  color: var(--color-red);
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

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

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-charcoal-dark);
}

.hero-badge-item .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 490px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid #FFFFFF;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  animation: float 4s ease-in-out infinite;
}

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

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-red-light);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-charcoal-dark);
}

.floating-text span {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* --- Popular Menu Cards / Menu Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-cream-dark);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: var(--color-cream-subtle);
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

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

.product-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal-dark);
}

.product-card-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-charcoal-dark);
  font-family: var(--font-sans);
}

.product-price small {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* --- Specials / Deals Section --- */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.special-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  border: 2px solid var(--color-border);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.special-card.featured {
  background: linear-gradient(145deg, #FFFDF8, #FFF5EB);
  border-color: var(--color-red);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

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

.special-ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 38px;
  transform: rotate(45deg);
  box-shadow: var(--shadow-xs);
}

.special-tag {
  color: var(--color-red);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.special-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.special-items {
  margin: 1.25rem 0 1.75rem 0;
  flex-grow: 1;
}

.special-items li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-charcoal);
}

.special-items li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 800;
}

.special-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.special-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-charcoal-dark);
}

.special-old-price {
  font-size: 1.15rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

/* --- Why Choose Us (Benefits) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cream-dark);
  box-shadow: var(--shadow-md);
}

.benefit-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem auto;
  border-radius: var(--radius-full);
  background-color: var(--color-cream-subtle);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-red);
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-images-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-img-sub {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 180px;
}

.about-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background-color: var(--color-cream-subtle);
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-charcoal-dark);
}

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  color: var(--color-charcoal-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-charcoal-dark);
}

.author-location {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
}

/* --- Location & Hours --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location-info-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.location-title {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-red-light);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 1rem;
  color: var(--color-charcoal-dark);
}

.info-text span,
.info-text p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hours-table {
  width: 100%;
  margin-top: 0.5rem;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

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

.hours-table td {
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-charcoal-dark);
}

.hours-table tr.today {
  color: var(--color-red);
  font-weight: 700;
}

.hours-table tr.today td:last-child {
  color: var(--color-red);
}

.map-placeholder-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  background-color: #E2E8F0;
}

.map-placeholder-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Newsletter / Coupon Section --- */
.newsletter-banner {
  background: linear-gradient(135deg, var(--color-charcoal-dark), #1E1B18);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.newsletter-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.newsletter-lead {
  color: #CBD5E1;
  max-width: 580px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 0.75rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-red);
}

.newsletter-input::placeholder {
  color: #94A3B8;
}

.coupon-code-reveal {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 480px;
  margin: 1.5rem auto 0 auto;
}

.coupon-code-reveal.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-charcoal-dark);
  color: #E2E8F0;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid #334155;
  margin-top: auto;
}

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

.footer-brand .logo-brand {
  color: #FFFFFF;
}

.footer-tagline {
  margin-top: 1rem;
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--color-red);
  transform: translateY(-2px);
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  font-size: 0.875rem;
  color: #64748B;
}

/* --- Mobile Bottom Nav Bar --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 990;
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-charcoal);
  padding: 4px 12px;
  border-radius: var(--radius-md);
  position: relative;
}

.mobile-bottom-item.active {
  color: var(--color-red);
}

.mobile-bottom-order-btn {
  background-color: var(--color-red);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.625rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
}

/* --- Cart Drawer --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 440px);
  background-color: #FFFFFF;
  z-index: 2100;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-cream);
}

.cart-header h3 {
  font-size: 1.35rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-order-type-toggle {
  display: flex;
  background: var(--color-cream-dark);
  border-radius: var(--radius-full);
  padding: 3px;
  margin: 1rem 1.5rem 0.5rem 1.5rem;
}

.order-type-btn {
  flex: 1;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-align: center;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.order-type-btn.active {
  background-color: #FFFFFF;
  color: var(--color-red);
  box-shadow: var(--shadow-xs);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
}

.cart-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--color-cream-dark);
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--color-cream-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-charcoal-dark);
  margin-bottom: 0.25rem;
}

.cart-item-customs {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--color-cream-subtle);
  color: var(--color-red);
}

.qty-number {
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.cart-item-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-charcoal-dark);
}

.cart-item-remove {
  color: #94A3B8;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--color-red);
}

.cart-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  background-color: #FFFFFF;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.cart-pricing-table {
  width: 100%;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.cart-pricing-table tr td {
  padding: 0.25rem 0;
}

.cart-pricing-table tr td:last-child {
  text-align: right;
  font-weight: 600;
}

.cart-pricing-table tr.total-row {
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-charcoal-dark);
}

.cart-pricing-table tr.total-row td {
  padding-top: 0.75rem;
}

.cart-promo-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cart-promo-input {
  flex: 1;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-transform: uppercase;
}

/* --- Product Customization Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

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

.modal-header {
  position: relative;
  height: 220px;
  background-color: var(--color-cream-subtle);
}

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

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-charcoal-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #FFFFFF;
  color: var(--color-red);
}

.modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-item-title {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.modal-item-desc {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.custom-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.custom-section:last-of-type {
  border-bottom: none;
}

.custom-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--color-charcoal-dark);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.custom-section-title small {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Radio & Checkbox Card Pills */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.625rem;
}

.option-pill-label {
  display: block;
  position: relative;
  cursor: pointer;
}

.option-pill-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-pill-box {
  border: 1.5px solid var(--color-border);
  background-color: var(--color-cream-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.625rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.option-pill-label:hover .option-pill-box {
  border-color: var(--color-cream-dark);
  background-color: #FFFFFF;
}

.option-pill-label input:checked + .option-pill-box {
  border-color: var(--color-red);
  background-color: var(--color-red-subtle);
  color: var(--color-red-dark);
  box-shadow: 0 0 0 1px var(--color-red);
}

.option-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.option-price-diff {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.option-pill-label input:checked + .option-pill-box .option-price-diff {
  color: var(--color-red);
  font-weight: 600;
}

/* Toppings selector list */
.toppings-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin: 1rem 0 0.5rem 0;
}

.toppings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}

.topping-checkbox-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-cream-subtle);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.topping-checkbox-card:hover {
  background-color: #FFFFFF;
}

.topping-checkbox-card input {
  accent-color: var(--color-red);
  width: 17px;
  height: 17px;
}

.topping-checkbox-card.selected {
  background-color: var(--color-red-subtle);
  border-color: var(--color-red-light);
  color: var(--color-red-dark);
  font-weight: 600;
}

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

.special-instructions-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 70px;
}

/* --- Build-Your-Own Pizza Wizard --- */
.byo-wizard-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.byo-steps-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.byo-steps-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
  transform: translateY(-50%);
}

.byo-step-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: none;
}

.byo-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-border);
  color: var(--color-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.byo-step-btn.active .byo-step-num {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--color-red-light);
}

.byo-step-btn.completed .byo-step-num {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: #FFFFFF;
}

.byo-step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
}

.byo-step-btn.active .byo-step-label {
  color: var(--color-red);
}

.byo-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.byo-panel.active {
  display: block;
}

.byo-live-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-top: 2rem;
}

/* --- Menu Page Specifics --- */
.menu-nav-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.875rem 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-nav-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab-btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.menu-tab-btn:hover {
  border-color: var(--color-cream-dark);
  color: var(--color-red);
}

.menu-tab-btn.active {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
}

.menu-search-wrap {
  position: relative;
  max-width: 420px;
  margin: 1.5rem auto 2.5rem auto;
}

.menu-search-input {
  width: 100%;
  padding: 0.875rem 1.25rem 0.875rem 2.875rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background-color: #FFFFFF;
  font-size: 1rem;
  box-shadow: var(--shadow-xs);
  outline: none;
}

.menu-search-input:focus {
  border-color: var(--color-red);
}

.menu-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
}

.category-anchor-section {
  scroll-margin-top: calc(var(--header-height) + 70px);
  margin-bottom: 4.5rem;
}

.category-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

/* --- Checkout Page Specifics --- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.checkout-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.checkout-card-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group.col-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-charcoal-dark);
}

.form-input,
.form-select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background-color: #FFFFFF;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-red);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-red-subtle);
}

.form-input.error {
  border-color: var(--color-red);
}

.payment-method-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-tab-btn {
  border: 1.5px solid var(--color-border);
  background-color: var(--color-cream-subtle);
  border-radius: var(--radius-md);
  padding: 0.875rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-tab-btn.active {
  border-color: var(--color-red);
  background-color: var(--color-red-subtle);
  color: var(--color-red-dark);
}

/* Sticky Order Summary */
.checkout-summary-card {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

/* --- Order Confirmation / Tracker --- */
.confirmation-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.confirmation-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-green-light);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 0 8px #DCFCE7;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.tracker-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.tracker-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin: 2.5rem 0 1.5rem 0;
}

.tracker-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 4px;
  background-color: var(--color-border);
  z-index: 1;
}

.tracker-progress-fill {
  position: absolute;
  top: 24px;
  left: 10%;
  height: 4px;
  background-color: var(--color-green);
  z-index: 2;
  transition: width 0.8s ease;
}

.tracker-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tracker-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
}

.tracker-step.completed .tracker-step-circle {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: #FFFFFF;
}

.tracker-step.active .tracker-step-circle {
  border-color: var(--color-red);
  color: var(--color-red);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 6px var(--color-red-light);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(185, 28, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
}

.tracker-step-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-charcoal-dark);
}

.tracker-step-time {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.tracker-demo-controls {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--color-border);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--color-charcoal-dark);
  color: #FFFFFF;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--color-red);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Media Queries / Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .nav-desktop,
  .header-phone {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-floating-card {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .tracker-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tracker-timeline::before,
  .tracker-progress-fill {
    display: none;
  }

  .tracker-step {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .byo-steps-nav {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .byo-steps-nav::before {
    display: none;
  }

  .payment-method-selector {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.col-full {
    grid-column: span 1;
  }
}

/* ========================================================================== 
   2026 Visual Polish Pass
   Keeps the existing markup/JS intact while improving spacing, hierarchy,
   cards, featured-deal treatment, and cart states.
   ========================================================================== */

/* Slightly warmer, more premium page rhythm */
:root {
  --shadow-card: 0 10px 28px rgba(54, 39, 25, 0.08);
  --shadow-card-hover: 0 18px 38px rgba(54, 39, 25, 0.13);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 28, 28, 0.035), transparent 26rem),
    var(--color-cream);
}

.section {
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}

.section-header {
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.section-subtitle {
  gap: 0.65rem;
  letter-spacing: 0.13em;
}

.section-subtitle::before,
.section-subtitle::after {
  width: 26px;
  height: 1.5px;
  opacity: 0.8;
}

/* Header polish */
.header {
  box-shadow: 0 1px 0 rgba(109, 86, 62, 0.08), 0 8px 24px rgba(51, 38, 27, 0.035);
}

.header-actions {
  gap: 0.9rem;
}

/* Cart: keep the count anchored to the button instead of floating awkwardly */
.cart-btn {
  width: 46px;
  height: 46px;
  overflow: visible;
  isolation: isolate;
  border-color: #DED4C4;
  box-shadow: 0 2px 10px rgba(47, 35, 25, 0.06);
}

.cart-btn svg {
  width: 21px;
  height: 21px;
  transition: transform var(--transition-fast);
}

.cart-btn:hover svg {
  transform: scale(1.04);
}

.cart-btn .cart-badge {
  top: 2px;
  right: 2px;
  transform: translate(38%, -38%);
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow: 0 3px 8px rgba(127, 29, 29, 0.28);
  z-index: 2;
}

/* Make badges in the bottom mobile nav feel intentionally attached to Cart */
.mobile-bottom-item .cart-badge {
  top: -3px !important;
  right: 8px !important;
  transform: translate(35%, -20%);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  box-shadow: 0 2px 7px rgba(127, 29, 29, 0.25);
}

/* Buttons feel less pill-heavy and more modern while retaining friendliness */
.btn {
  min-height: 46px;
  padding: 0.8rem 1.45rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-sm {
  min-height: 36px;
  padding: 0.45rem 0.9rem;
  border-radius: 9px;
}

.btn-primary {
  box-shadow: 0 7px 18px rgba(185, 28, 28, 0.22);
}

/* Product/menu cards */
.product-card {
  border-color: #E8DFD2;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #DACBBA;
  box-shadow: var(--shadow-card-hover);
}

.product-card-image-wrap {
  background: #F0E7DA;
}

.product-card-image-wrap img,
.product-card-image {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-image-wrap img,
.product-card:hover .product-card-image {
  transform: scale(1.035);
}

.product-card-content {
  padding: 1.35rem 1.4rem 1.45rem;
}

.product-card-footer {
  margin-top: 0.25rem;
}

/* Specials: replace the diagonal ribbon with a clean anchored status pill */
.specials-grid {
  gap: 1.5rem;
  align-items: stretch;
}

.special-card {
  border-width: 1px;
  border-color: #E4DACB;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  overflow: visible;
}

.special-card.featured {
  background: linear-gradient(160deg, #FFFDF9 0%, #FFF7ED 100%);
  border: 1.5px solid rgba(185, 28, 28, 0.65);
  box-shadow: 0 16px 38px rgba(120, 48, 31, 0.13);
  transform: none;
  padding-top: 4.35rem;
}

.special-card:hover,
.special-card.featured:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.special-ribbon {
  top: 1.35rem;
  right: 1.35rem;
  left: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-red);
  color: #FFFFFF;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.09em;
  box-shadow: 0 5px 13px rgba(185, 28, 28, 0.2);
}

.special-ribbon::before {
  content: "★";
  margin-right: 0.35rem;
  font-size: 0.65rem;
}

.special-card.featured .special-tag {
  position: absolute;
  top: 1.65rem;
  left: 2rem;
  margin: 0;
}

.special-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.73rem;
  letter-spacing: 0.115em;
}

.special-title {
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.special-items {
  margin-top: 1.35rem;
  margin-bottom: 1.6rem;
}

.special-items li {
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.special-price-row {
  padding-top: 0.2rem;
}

/* Reviews / benefits: unify surface treatment */
.review-card,
.benefit-card {
  border-color: #E7DED1;
  box-shadow: var(--shadow-card);
}

.review-card:hover,
.benefit-card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Menu page navigation */
.menu-nav-tabs {
  padding: 0.75rem 0;
  background: rgba(250, 246, 239, 0.975);
  box-shadow: 0 8px 18px rgba(48, 37, 28, 0.04);
}

.menu-tab-btn {
  min-height: 40px;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border-color: #DED4C5;
  background: rgba(255, 255, 255, 0.86);
}

.menu-tab-btn.active {
  box-shadow: 0 5px 14px rgba(185, 28, 28, 0.2);
}

.menu-search-input {
  min-height: 52px;
  border-color: #D9CDBD;
  box-shadow: 0 6px 20px rgba(48, 37, 28, 0.055);
}

.menu-search-input:focus {
  border-color: rgba(185, 28, 28, 0.7);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08), 0 8px 22px rgba(48, 37, 28, 0.06);
}

/* Cart drawer */
.cart-drawer {
  width: min(94vw, 455px);
  border-left: 1px solid rgba(222, 212, 196, 0.8);
}

.cart-header {
  padding: 1.2rem 1.35rem;
  background: rgba(250, 246, 239, 0.9);
}

.cart-order-type-toggle {
  margin: 1rem 1.35rem 0.6rem;
  padding: 4px;
  background: #F0E8DC;
}

.cart-items-list {
  padding: 0.9rem 1.35rem 1.15rem;
}

.cart-item {
  gap: 0.9rem;
  padding: 0.9rem;
  background: #FFFDF9;
  border-color: #E7DDCF;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(47, 35, 25, 0.045);
}

.cart-item-img {
  width: 78px;
  height: 78px;
  border-radius: 10px;
}

.cart-item-actions {
  gap: 0.6rem;
}

.qty-control {
  border-color: #DDD2C3;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  margin-left: 0.2rem;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: var(--color-red-subtle);
}

.cart-footer {
  padding: 1.15rem 1.35rem 1.35rem;
  border-top-color: #E7DDCF;
  box-shadow: 0 -10px 24px rgba(44, 33, 24, 0.045);
}

@media (max-width: 900px) {
  .special-card.featured {
    padding-top: 4.25rem;
  }

  .special-ribbon {
    top: 1.25rem;
    right: 1.25rem;
  }

  .special-card.featured .special-tag {
    top: 1.55rem;
    left: 1.5rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .cart-btn {
    width: 42px;
    height: 42px;
  }

  .cart-btn .cart-badge {
    top: 1px;
    right: 1px;
  }

  .specials-grid {
    grid-template-columns: 1fr;
  }

  .special-card,
  .special-card.featured {
    padding: 1.5rem;
  }

  .special-card.featured {
    padding-top: 4.6rem;
  }

  .special-ribbon {
    top: 1.1rem;
    right: 1.1rem;
    font-size: 0.62rem;
    padding: 0.38rem 0.6rem;
  }

  .special-card.featured .special-tag {
    top: 1.42rem;
    left: 1.25rem;
    font-size: 0.66rem;
  }

  .cart-items-list {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cart-order-type-toggle,
  .cart-footer {
    margin-left: 0;
    margin-right: 0;
  }

  .cart-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ==========================================================================\n   Navigation refinement — responsive header + unified SVG mobile navigation\n   ========================================================================== */

/* Brand mark: replaces the emoji so the identity is consistent everywhere. */
.logo-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #C82620 0%, #961B18 100%);
  box-shadow: 0 5px 14px rgba(127, 29, 29, 0.2);
}

.logo-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.logo {
  min-width: 0;
  flex-shrink: 0;
}

.logo-text {
  min-width: 0;
}

.logo-brand {
  white-space: nowrap;
}

.logo-tagline {
  white-space: nowrap;
}

/* Give the desktop header room to breathe on medium/large laptops. */
.header-inner {
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-desktop {
  gap: clamp(1rem, 1.6vw, 1.8rem);
  margin-left: auto;
}

.header-actions {
  flex-shrink: 0;
}

.header .btn-primary {
  white-space: nowrap;
}

/* Drawer brand is intentionally simpler than the full desktop lockup. */
.mobile-nav-header .logo {
  gap: 0.65rem;
}

.mobile-nav-header .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.mobile-nav-header .logo-icon svg {
  width: 22px;
  height: 22px;
}

.mobile-nav-header .logo-brand {
  font-size: 1.2rem;
}

.close-drawer-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Bottom nav: one SVG language instead of mixed emoji/icon rendering. */
.mobile-bottom-bar {
  padding: 0.45rem 0.8rem calc(0.45rem + env(safe-area-inset-bottom));
  border-top-color: #E7DDCF;
  box-shadow: 0 -8px 28px rgba(44, 33, 24, 0.09);
}

.mobile-bottom-inner {
  max-width: 520px;
  margin: 0 auto;
  min-height: 54px;
  justify-content: space-between;
}

.mobile-bottom-item {
  width: 68px;
  min-height: 48px;
  padding: 4px 8px;
  gap: 3px;
  line-height: 1.1;
}

.mobile-nav-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-bottom-order-btn {
  min-height: 46px;
  padding: 0.62rem 1.3rem;
  gap: 0.48rem;
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.25);
}

.mobile-bottom-order-btn .mobile-nav-icon {
  width: 20px;
  height: 20px;
}

.mobile-bottom-item .cart-badge {
  top: 0 !important;
  right: 7px !important;
  transform: translate(26%, -22%);
}

/* Collapse before the desktop header becomes crowded. */
@media (max-width: 1120px) {
  .nav-desktop,
  .header-phone {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-inner {
    gap: 0.8rem;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.65rem;
  }
}

/* Tablet/mobile header: keep brand + essential actions only. */
@media (max-width: 768px) {
  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header .logo {
    gap: 0.55rem;
  }

  .header .logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .header .logo-icon svg {
    width: 22px;
    height: 22px;
  }

  .header .logo-brand {
    font-size: 1.13rem;
  }

  .header .logo-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
  }

  .mobile-menu-toggle:hover {
    background: #fff;
    border-color: var(--color-border);
  }

  .mobile-nav-drawer {
    width: min(88vw, 360px);
    padding: 1.25rem;
  }

  .mobile-nav-links {
    gap: 0.25rem;
  }

  .mobile-nav-link {
    padding: 0.78rem 0.15rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(229, 221, 206, 0.7);
  }
}

/* Small phones: remove secondary brand copy and header CTA to prevent wrapping. */
@media (max-width: 560px) {
  .header .logo-tagline {
    display: none;
  }

  .header .logo-brand {
    font-size: 1.1rem;
  }

  .header-actions > .btn-primary {
    display: none;
  }

  .cart-btn {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .mobile-bottom-order-btn {
    padding-left: 1.05rem;
    padding-right: 1.05rem;
  }
}

@media (max-width: 380px) {
  .header-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .header .logo-icon {
    width: 36px;
    height: 36px;
  }

  .header .logo-brand {
    font-size: 1rem;
  }

  .mobile-bottom-item {
    width: 60px;
    font-size: 0.7rem;
  }

  .mobile-bottom-order-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
  }
}
