/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Colors - Warm Cozy & Premium Dark Theme */
  --bg-primary: hsl(60, 8%, 7%);          /* Warm Charcoal Black */
  --bg-surface: hsl(60, 6%, 12%);         /* Card & Section Surface */
  --bg-surface-glass: rgba(18, 18, 16, 0.75);
  --border-color: rgba(212, 175, 55, 0.12);
  --border-focus: rgba(212, 175, 55, 0.4);
  
  --primary: hsl(43, 65%, 53%);            /* Soft Muted Gold */
  --primary-hover: hsl(43, 75%, 45%);
  --primary-light: hsl(43, 65%, 70%);
  --primary-glow: rgba(212, 175, 55, 0.25);
  
  --text-primary: #f5f5f0;                 /* Soft Off-White */
  --text-secondary: #c5c5be;               /* Warm Light Gray */
  --text-muted: #8e8e85;                   /* Muted Gray */
  --text-inverse: hsl(60, 8%, 7%);
  
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height-large: 100px;
  --header-height-small: 70px;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease;
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

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

ul {
  list-style: none;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-quick);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.text-gold {
  color: var(--primary);
}

.section-padding {
  padding: 8rem 0;
}

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

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

.section-subtitle {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Glassmorphism Effect */
.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-large);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}

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

.header .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.logo span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  color: var(--primary);
  margin-top: -0.2rem;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

@media (min-width: 1300px) {
  .nav-menu {
    gap: 2.25rem;
  }
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

@media (min-width: 1300px) {
  .nav-link {
    font-size: 0.9rem;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition-quick);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.lang-btn:hover {
  color: var(--primary);
}

.lang-btn.active {
  color: var(--primary);
  background: rgba(197, 160, 89, 0.1);
  border-color: rgba(197, 160, 89, 0.3);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  user-select: none;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  transition: var(--transition-quick);
}

/* Native Header Animation on Scroll (CSS Scroll-driven) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-header {
    to {
      height: var(--header-height-small);
      background: var(--bg-surface-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
  }
  
  .header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* Fallback Class for Header (when Scroll-driven is unsupported) */
.header.scrolled {
  height: var(--header-height-small);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: brightness(0.6) contrast(1.1);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 16, 0.3) 0%,
    rgba(18, 18, 16, 0.85) 80%,
    var(--bg-primary) 100%
  );
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 650px;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(35px);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax Effect on Hero Image (Native scroll driven) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .hero-bg img {
    animation: parallax-zoom auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0vh 100vh;
  }
  @keyframes parallax-zoom {
    to {
      transform: translateY(20vh) scale(1.15);
    }
  }
}

/* ==========================================================================
   CHI SIAMO SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-grid.image-left {
  grid-template-columns: 1fr 1.2fr;
}

.about-text {
  padding-right: 2rem;
}

.about-grid.image-left .about-text {
  padding-left: 2rem;
  padding-right: 0;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--primary-light);
}

.highlight-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0.9) contrast(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  pointer-events: none;
  margin: 15px;
}

/* ==========================================================================
   SPECIALTIES (CARD GRID)
   ========================================================================== */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.specialty-card {
  position: relative;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.specialty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.specialty-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 18, 16, 0.9) 0%,
    rgba(18, 18, 16, 0.5) 50%,
    rgba(18, 18, 16, 0.1) 100%
  );
  z-index: 2;
  transition: var(--transition-smooth);
}

.specialty-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 3;
  transition: var(--transition-smooth);
  text-align: left;
}

.specialty-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.specialty-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  opacity: 0.85;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.specialty-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.1);
}

.specialty-card:hover .specialty-img {
  transform: scale(1.08);
}

.specialty-card:hover .specialty-overlay {
  background: linear-gradient(
    to top,
    rgba(18, 18, 16, 0.95) 0%,
    rgba(18, 18, 16, 0.6) 40%,
    rgba(18, 18, 16, 0.2) 100%
  );
}

.specialty-card:hover .specialty-desc {
  transform: translateY(0);
}

/* ==========================================================================
   KM 0 SECTION (TIMELINE)
   ========================================================================== */
.km-section {
  background-color: var(--bg-surface);
  position: relative;
}

.km-intro {
  max-width: 600px;
  margin: 0 auto 4rem;
}

.km-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.km-card {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  z-index: 2;
  height: 100%;
}

.km-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.km-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.km-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.km-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Connective lines for grid cards on desktop */
@media (min-width: 992px) {
  .km-grid::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-glow), var(--primary), var(--primary-glow), transparent);
    z-index: 1;
    pointer-events: none;
  }
}

/* ==========================================================================
   INFO & OPENING HOURS
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: stretch;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-box {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-box h3 {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.info-box p {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.info-box p i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 20px;
}

/* Status indicator live badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 1rem;
  vertical-align: middle;
}

.status-badge.open {
  background-color: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-badge.closed {
  background-color: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background-color: currentColor;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hours-list li.today {
  color: var(--primary);
  font-weight: 500;
}

.map-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(1.2); /* Stylized dark map */
  opacity: 0.8;
}

/* ==========================================================================
   BOOKING DIALOG (MODAL)
   ========================================================================== */
dialog.booking-modal {
  margin: auto;
  width: 90%;
  max-width: 550px;
  /* No max-height here: dialog grows to fit its content on desktop */
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

dialog.booking-modal[open] {
  opacity: 1;
  transform: scale(1);
}

/* CSS transition entry/exit trigger using @starting-style */
@starting-style {
  dialog.booking-modal[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}

dialog::backdrop {
  background-color: rgba(10, 10, 8, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}

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

.modal-header h2 {
  font-size: 1.8rem;
}

.modal-close {
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition-quick);
}

.modal-close:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
}

/* Form steps control */
.booking-form {
  padding: 2.5rem;
  /* overflow-y and flex:1 applied only on mobile via media query */
  -webkit-overflow-scrolling: touch;
}

/* Step 2 row-based layout */
.form-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-row .form-group.half-width {
  flex: 1;
  min-width: 0; /* Prevents overflow with long content */
}

.form-row .form-group.full-width {
  flex: 1;
}

/* Center wrapper for the email row */
.form-row.centered {
  justify-content: center;
}

.form-row.centered .form-group.full-width {
  max-width: 100%;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: step-fade-in 0.4s ease forwards;
}

@keyframes step-fade-in {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-dot {
  flex-grow: 1;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.step-dot.active {
  background-color: var(--primary);
}

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

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

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

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-quick);
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Styled HTML Select */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23c5c5be%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65em auto;
  padding-right: 2.5rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Confirmation Summary step styling */
.summary-box {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.summary-val {
  font-weight: 500;
  color: var(--text-primary);
}

.booking-success {
  text-align: center;
  padding: 1rem 0;
}

.booking-success i {
  font-size: 4rem;
  color: #2ecc71;
  margin-bottom: 1.5rem;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0b0b0a;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-desc {
  color: var(--text-muted);
}

.footer-links h4, .footer-contacts h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contacts p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contacts p i {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-quick);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 100%;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ==========================================================================
   SCROLL-DRIVEN ANIMATION EFFECTS (ENTRY/EXIT SECTIONS)
   ========================================================================== */
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  /* Default visible state for older browsers/fallback */
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal-on-scroll {
      animation: reveal-in auto cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 10% entry 80%;
    }
  }
}

/* Fallback Classes for JavaScript IntersectionObserver Fallback */
.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.not-revealed {
  opacity: 0;
  transform: translateY(40px);
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & iPad Portrait (Under 1024px) */
@media (max-width: 1024px) {
  .section-padding {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-text {
    padding-right: 0;
  }

  .about-grid.image-left {
    grid-template-columns: 1fr;
  }

  .about-grid.image-left .about-text {
    padding-left: 0;
  }
  
  .about-image img {
    height: 400px;
  }
  
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specialty-card:last-child {
    grid-column: span 2;
    height: 380px;
  }
  
  .km-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .map-container {
    min-height: 350px;
  }
}

/* Smartphone Landscape & Small Tablets (Under 768px) */
/* Navigation Breakpoint for Mobile/Tablet (Under 1200px) */
@media (max-width: 1200px) {
  .header {
    height: var(--header-height-small);
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height-small);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height-small));
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  /* Menu icon active state styling */
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-actions {
    gap: 0.75rem;
    margin-left: 0.75rem;
  }
  
  .nav-actions .btn {
    display: none; /* Hide header CTA button on mobile, will show inside mobile menu */
  }
  
  .nav-menu .mobile-cta {
    display: inline-flex !important;
    margin-top: 1rem;
  }
}

/* Smartphone Landscape & Small Tablets (Under 768px) */
@media (max-width: 768px) {
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .specialty-card:last-child {
    grid-column: span 1;
    height: 480px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }

  /* Stack prefix and phone number vertically on mobile */
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  /* Nome/Cognome stay side-by-side even on mobile (short fields) */
  .form-row.names-row {
    flex-direction: row;
    gap: 0.75rem;
  }

  /* Mobile: modal occupies most of the screen and the form scrolls inside */
  dialog.booking-modal {
    max-height: 90dvh;
    min-height: 75dvh;   /* Prevents the modal from appearing tiny on mobile */
    display: flex;
    flex-direction: column;
    width: 95%;          /* Slightly wider on small screens */
  }

  .booking-form {
    overflow-y: auto;
    flex: 1;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .form-actions .btn {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .summary-label {
    font-size: 0.8rem;
  }

  .summary-val {
    font-size: 0.9rem;
    word-break: break-all;
  }
}

/* Small Smartphone (Under 480px) */
@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
    margin-right: 0.5rem;
  }
  
  .logo span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .lang-switcher {
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .container {
    padding: 0 1.25rem;
  }
  
  .section-padding {
    padding: 4.5rem 0;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .km-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-form {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   TRIPADVISOR CUSTOM WIDGET STYLING
   ========================================================================== */
.tripadvisor-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.tripadvisor-icon-wrap {
  font-size: 2.8rem;
  color: #00af87;
  background: rgba(0, 175, 135, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tripadvisor-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.tripadvisor-stars {
  color: #00af87;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.tripadvisor-stars span {
  color: var(--text-secondary);
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.tripadvisor-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.tripadvisor-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Align yellow line to the left for left-aligned section titles (Chi Siamo & Sacro Monte) */
.about-text .section-title::after,
.sacro-monte-header .section-title::after {
  margin: 1rem 0 0;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 650px;
  z-index: 2000;
  padding: 1.5rem 2rem;
  transform: translateY(150%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
}

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

/* Adjustments for smaller screens */
@media (max-width: 768px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
  }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   DIGITAL MENU PAGE STYLES
   ========================================================================== */
.menu-page .header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.menu-hero {
  padding: 10rem 0 5rem;
  background: radial-gradient(circle at center, rgba(18, 18, 16, 0.4) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.menu-title {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.menu-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-weight: 300;
}

/* Sticky Filter & Search Bar */
.menu-filter-sticky {
  position: sticky;
  top: 70px; /* Small header height */
  z-index: 100;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: top 0.3s ease;
}

.search-bar-container {
  max-width: 650px;
  margin: 0 auto 1.25rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(18, 18, 16, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 0 1.5rem;
  transition: var(--transition-quick);
}

.search-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  background: rgba(18, 18, 16, 0.85);
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.8rem 0;
  padding-left: 2.2rem;
  padding-right: 2rem;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.search-input-wrapper input::placeholder {
  color: var(--text-muted);
}

.search-clear {
  position: absolute;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-quick);
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.search-clear:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.categories-tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.categories-tabs-scroll {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.categories-tabs-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 20px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-quick);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.05);
}

.tab-btn.active {
  color: var(--text-inverse);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.tab-badge {
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
  margin-left: 0.4rem;
  font-weight: 600;
}

.tab-btn.active .tab-badge {
  background: rgba(0, 0, 0, 0.2);
}

/* Menu Layout & Items */
.menu-container {
  padding-top: 4rem;
  padding-bottom: 6rem;
  min-height: 450px;
}

.menu-category-section {
  margin-bottom: 5rem;
  animation: menuFadeIn 0.5s ease forwards;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-title {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  color: var(--primary);
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--primary);
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.03);
  background: rgba(30, 30, 26, 0.25);
  transition: var(--transition-quick);
}

.menu-item:hover {
  background: rgba(30, 30, 26, 0.55);
  border-color: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}

.menu-item-price {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.15rem;
  white-space: nowrap;
  padding-left: 0.5rem;
}

.menu-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  justify-content: space-between;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.menu-item-allergens {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.allergen-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 50%;
  border: 1px solid var(--primary-glow);
  color: var(--primary);
  background: rgba(212, 175, 55, 0.05);
  cursor: help;
  transition: var(--transition-quick);
}

.allergen-tag:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.category-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
}

/* WIP Pizze Section styling */
.menu-wip-panel {
  padding: 5rem 2rem;
  max-width: 650px;
  margin: 3rem auto;
  border-color: var(--primary-glow);
}

.wip-icon-wrap {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: wipFloat 3s ease-in-out infinite;
}

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

.wip-status {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary-glow);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.wip-pulse-indicator {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.wip-pulse-indicator span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 0.5rem;
  animation: wipPulseGlow 1.8s infinite;
}

@keyframes wipPulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 var(--primary-glow); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.wip-sub-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Allergen Legend Accordion */
.allergen-legend-section {
  margin-top: 6rem;
  border-color: var(--border-color);
  padding: 1.75rem 2.25rem;
  transition: var(--transition-smooth);
}

.legend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  user-select: none;
}

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

.legend-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.toggle-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.allergen-legend-section.active .toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.legend-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease;
}

.allergen-legend-section.active .legend-content {
  max-height: 800px;
  opacity: 1;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

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

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legend-item .allergen-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--primary-glow);
  color: var(--primary);
  flex-shrink: 0;
}

.legend-item .allergen-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legend-footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
}

/* Empty Search State */
.menu-empty-state {
  padding: 5rem 2rem;
  text-align: center;
  max-width: 450px;
  margin: 4rem auto;
  background: rgba(30, 30, 26, 0.2);
  border-radius: 12px;
  border: 1px dashed var(--border-color);
  animation: menuFadeIn 0.4s ease forwards;
}

.menu-empty-state i {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.menu-empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.menu-empty-state p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* ==========================================================================
   MENU MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 992px) {
  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .menu-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-hero {
    padding: 7rem 0 3.5rem;
  }
  
  .menu-title {
    font-size: 2.25rem;
  }
  
  .menu-subtitle {
    font-size: 0.95rem;
  }
  
  .menu-filter-sticky {
    top: 60px; /* Matching small header height */
    padding: 0.75rem 0;
  }
  
  .search-bar-container {
    margin-bottom: 0.75rem;
  }
  
  .search-input-wrapper input {
    padding: 0.7rem 0 0.7rem 2.2rem;
    font-size: 0.9rem;
  }
  
  .categories-tabs-scroll {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 1rem;
    mask-image: linear-gradient(to right, transparent, white 20px, white 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 20px, white 90%, transparent);
  }
  
  .tab-btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.75rem;
  }
  
  .menu-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  
  .menu-category-section {
    margin-bottom: 3.5rem;
  }
  
  .category-title {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
  }
  
  .menu-item {
    padding: 1.25rem;
  }
  
  .menu-item-name {
    font-size: 1.05rem;
  }
  
  .menu-item-price {
    font-size: 1.05rem;
  }
  
  .allergen-legend-section {
    padding: 1.25rem;
    margin-top: 4rem;
  }
  
  .legend-header h3 {
    font-size: 1.15rem;
  }
  
  .legend-subtitle {
    display: none; /* Hide subtitle to fit title and chevron on mobile */
  }
  
  .legend-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

