/* ==========================================================================
   SAZÓN DE BARRIO - HOJA DE ESTILOS PRINCIPAL
   Diseño profesional, cálido, moderno y optimizado para restaurantes
   ========================================================================== */

/* --- Variables y Paleta de Color --- */
:root {
  --primary: #C4512C;          /* Terracota artesanal */
  --primary-hover: #A63F1E;
  --primary-dark: #873115;
  --primary-light: #FBF0EB;
  
  --secondary: #1B3B2B;        /* Verde esmeralda profundo / bosque */
  --secondary-hover: #26523D;
  --secondary-dark: #11261C;
  --secondary-light: #EBF4EF;

  --accent-gold: #D99B26;      /* Dorado maíz colombiano */
  --accent-gold-light: #FDF5E6;

  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --whatsapp-dark: #128C7E;

  --bg-page: #FAF8F5;          /* Crema suave */
  --bg-card: #FFFFFF;
  --bg-alt: #F3EFEA;
  --bg-dark: #171513;

  --text-main: #1F2421;        /* Carbón profundo */
  --text-muted: #58635D;
  --text-subtle: #85918B;
  --text-white: #FFFFFF;

  --border-light: #E8E2D9;
  --border-dark: #2D332F;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 22px 48px rgba(0, 0, 0, 0.18);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
}

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;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: transparent;
}

ul {
  list-style: none;
}

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

section[id] { scroll-margin-top: 8rem; }

.text-center { text-align: center; }
.text-subtle { color: var(--text-subtle); font-size: 0.9rem; }
.text-terracotta-400 { color: #E5734A; }
.text-white { color: #FFFFFF !important; }
.bg-stone-100 { background-color: var(--bg-alt); }
.bg-stone-900 { background-color: var(--bg-dark); }

/* Encabezados de Sección */
.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.subheading {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: normal;
  max-width: 100%;
  line-height: 1.25;
  text-align: center;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(196, 81, 44, 0.35);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 81, 44, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(27, 59, 43, 0.25);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   BANNER DE CONTEXTO DEMO CONCEPTUAL
   ========================================================================== */
.portfolio-demo-banner {
  background-color: #111827;
  color: #F3F4F6;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1010;
}

.portfolio-demo-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.portfolio-demo-left {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.portfolio-demo-pill {
  display: inline-block;
  background: #374151;
  color: #E5E7EB;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.portfolio-demo-msg {
  color: #9CA3AF;
  font-size: 0.78rem;
}

.portfolio-demo-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #60A5FA;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  transition: all var(--transition-fast);
}

.portfolio-demo-return-btn:hover {
  background: rgba(96, 165, 250, 0.2);
  color: #93C5FD;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background-color: var(--secondary-dark);
  color: #D2DDD6;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.divider-dot {
  opacity: 0.4;
}

.top-bar-link:hover {
  color: #FFFFFF;
}

/* Insignia de Estado en Vivo (Abierto/Cerrado) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: #FFFFFF;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseGreen 2s infinite;
}

.pulse-dot.closed {
  background-color: #E5734A;
  box-shadow: none;
  animation: none;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   HEADER PRINCIPAL & NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

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

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-emblem {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Enlaces de escritorio */
.desktop-nav {
  display: none;
}

@media (min-width: 1280px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

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

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

/* Acciones en Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cart-trigger-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  color: var(--secondary);
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  background-color: var(--border-light);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-page);
}

.header-cta-btn {
  display: none;
}

@media (min-width: 768px) {
  .header-cta-btn {
    display: inline-flex;
  }
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
}

@media (min-width: 1280px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Menú Drawer Móvil */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  visibility: hidden;
  opacity: 0;
  background-color: var(--bg-card);
  z-index: 2800;
  box-shadow: var(--shadow-xl);
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  overflow-y: auto;
}

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

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2799;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
}

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

.close-drawer-btn {
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-link {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.mobile-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.mobile-contact-info {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ==========================================================================
   1. SECCIÓN INICIO (HERO)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: clamp(560px, 82vh, 760px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
  background-color: #1A1816;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-backdrop-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.02);
  filter: saturate(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 59, 43, 0.94) 0%, rgba(20, 20, 20, 0.92) 55%, rgba(196, 81, 44, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #F8D89D;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.4rem;
  }
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #E2E8E4;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-subtext strong {
  color: #F8D89D;
}

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

.hero-proof-points {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

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

.proof-icon {
  font-size: 1.4rem;
}

.proof-item strong {
  display: block;
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.1;
}

.proof-item p {
  font-size: 0.78rem;
  color: #C1CDC6;
  margin: 0;
}

.proof-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.2);
  display: none;
}

@media (min-width: 640px) {
  .proof-divider {
    display: block;
  }
}

/* Tarjeta Destacada Hero */
.hero-card-col {
  display: flex;
  justify-content: center;
}

.hero-featured-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  width: 100%;
  transform: rotate(-1deg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* En móvil la rotación hace que la esquina desborde el viewport */
@media (max-width: 991px) {
  .hero-featured-card {
    transform: none;
  }
  .hero-featured-card:hover {
    transform: translateY(-4px);
  }
}

.hero-featured-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.featured-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.hero-featured-card:hover .featured-img {
  transform: scale(1.06);
}

.featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--accent-gold);
  color: #171513;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.featured-card-body {
  padding: 1.5rem;
}

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

.featured-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--secondary);
}

.featured-price {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  white-space: nowrap;
}

.featured-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.featured-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.link-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}
.link-more:hover {
  color: var(--primary);
}

/* ==========================================================================
   BARRA DE CARACTERÍSTICAS
   ========================================================================== */
.features-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 2.2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   2. SECCIÓN MENÚ
   ========================================================================== */
.menu-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .menu-controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.category-tabs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  max-width: 100%;
}

.category-tabs::-webkit-scrollbar {
  height: 4px;
}
.category-tabs::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.tab-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(196, 81, 44, 0.25);
}

/* Buscador de Menú */
.menu-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.menu-search-wrapper input {
  width: 100%;
  padding: 0.7rem 2.4rem 0.7rem 2.6rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.menu-search-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 81, 44, 0.15);
}

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

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--text-subtle);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cuadrícula de Platos */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tarjeta de Producto */
.dish-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 81, 44, 0.3);
}

.dish-img-box {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: var(--bg-alt);
}

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

.dish-card:hover .dish-img {
  transform: scale(1.05);
}

.dish-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(27, 59, 43, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
}

.dish-portion-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.dish-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dish-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.dish-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.dish-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

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

.dish-price-box {
  display: flex;
  flex-direction: column;
}

.price-currency {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.dish-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.btn-add-cart {
  background-color: var(--secondary);
  color: #FFFFFF;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-add-cart:hover {
  background-color: var(--primary);
  transform: scale(1.03);
}

/* No Results Box */
.no-results-box {
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  max-width: 480px;
  margin: 2rem auto;
}
.no-results-box p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Banner de Pedido al pie del Menú */
.menu-cta-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .menu-cta-banner {
    flex-direction: row;
    padding: 2.5rem 3rem;
  }
}

.banner-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.banner-text p {
  color: #C6D6CD;
  font-size: 0.95rem;
  max-width: 580px;
}

/* ==========================================================================
   3. SECCIÓN GALERÍA
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  color: #FFFFFF;
}

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

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

.gallery-zoom-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.gallery-overlay p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #E2E8E4;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2.5rem;
  color: #FFFFFF;
  line-height: 1;
  padding: 8px;
}

/* ==========================================================================
   4. SECCIÓN SOBRE NOSOTROS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.about-image-card {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: 0;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 4px solid #FFFFFF;
}

@media (max-width: 640px) {
  .about-experience-badge {
    position: static;
    margin-top: 1rem;
  }
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.about-text-col p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.8rem 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.value-bullet {
  font-size: 1.4rem;
}

.value-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--secondary);
}

.value-item p {
  font-size: 0.82rem;
  margin: 0;
}

.about-quote-box {
  background-color: var(--bg-alt);
  border-left: 4px solid var(--accent-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.5rem;
}

.about-quote-box p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.about-quote-box cite {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

/* ==========================================================================
   5. SECCIÓN RESEÑAS
   ========================================================================== */
.demo-disclaimer-pill {
  display: inline-block;
  background-color: rgba(217, 155, 38, 0.15);
  color: #996005;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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

.review-stars {
  color: #F59E0B;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  font-style: italic;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--secondary);
  line-height: 1.2;
}

.review-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.reviewed-dish {
  font-weight: 600;
  color: var(--primary) !important;
  margin-top: 0.2rem;
}

/* ==========================================================================
   6. SECCIÓN HORARIOS Y UBICACIÓN
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.location-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.location-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-light);
}

.status-indicator-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--secondary);
}

.time-tip {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-block h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.schedule-list li strong {
  color: var(--primary);
}

/* Mapa */
.map-container-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  min-height: 420px;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--secondary);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

/* ==========================================================================
   7. SECCIÓN CONTACTO Y RESERVAS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-desc {
  font-size: 1.05rem;
  color: #C2CEC7;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.channel-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.channel-card.channel-wa:hover {
  border-color: var(--whatsapp);
  background-color: rgba(37, 211, 102, 0.12);
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.channel-wa .channel-icon {
  background-color: var(--whatsapp);
}

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

.channel-text {
  flex-grow: 1;
}

.channel-text strong {
  display: block;
  font-size: 1rem;
  color: #FFFFFF;
}

.channel-text span {
  font-size: 0.85rem;
  color: #A7B6AF;
}

.channel-arrow {
  font-size: 1.3rem;
  color: #A7B6AF;
}

/* Tarjeta de Formulario */
.form-card {
  background-color: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-xl);
}

.form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.form-card-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background-color: #FFFFFF;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0F0E0C;
  color: #D4DCD7;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.footer-logo .logo-title {
  color: #FFFFFF;
  font-size: 1.5rem;
}

.footer-logo .logo-badge {
  font-size: 0.72rem;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.9rem;
  color: #A0ABA4;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.demo-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.footer-col-links h4, .footer-col-hours h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.footer-col-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

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

.footer-col-hours p {
  font-size: 0.9rem;
  color: #A0ABA4;
  margin-bottom: 0.35rem;
}

.footer-col-hours strong {
  color: #FFFFFF;
}

.footer-address {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-bottom {
  background-color: #080706;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: #7E8983;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   DRAWER / CARRITO INTERACTIVO (WHATSAPP ORDER BUILDER)
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  visibility: hidden;
  opacity: 0;
  background-color: var(--bg-card);
  z-index: 2500;
  box-shadow: var(--shadow-xl);
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2499;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.cart-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-alt);
}

.cart-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.cart-title-row h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--secondary);
}

.cart-item-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.close-cart-btn {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
}

.cart-drawer-body {
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Empty State */
.cart-empty-state {
  margin: auto 0;
  text-align: center;
  padding: 2rem 1rem;
}

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

.cart-empty-state h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.cart-empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Items del Carrito */
.cart-item-card {
  display: flex;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

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

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border-light);
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background-color: #FFFFFF;
  color: var(--secondary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qty-btn:active {
  transform: scale(0.92);
}

.qty-number {
  min-width: 28px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.remove-item-btn {
  font-size: 0.78rem;
  color: #C4512C;
  text-decoration: underline;
}

/* Footer del Carrito */
.cart-drawer-footer {
  flex-shrink: 0;
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.1rem 1.4rem 1.4rem 1.4rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-alt);
}

.order-client-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.client-input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.client-input-group input, .client-input-group select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  font-size: 0.85rem;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--border-light);
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  padding-top: 0.4rem;
}

.total-price {
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   BOTONES FLOTANTES (MÓVIL Y DESKTOP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

body.drawer-open .floating-actions {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.floating-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.floating-wa-btn svg {
  width: 32px;
  height: 32px;
}

.floating-wa-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa-btn .tooltip-text {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--secondary-dark);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.floating-wa-btn:hover .tooltip-text {
  opacity: 1;
}

.floating-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--secondary);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  border: 2px solid var(--accent-gold);
}

.floating-cart-pill:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.floating-price {
  background-color: var(--accent-gold);
  color: #171513;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  width: max-content;
  max-width: calc(100% - 32px);
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3500;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast-msg {
  background: var(--secondary-dark);
  color: #FFFFFF;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideUpToast 0.3s ease forwards;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* ==========================================================================
   OPTIMIZACIONES MÓVILES ADICIONALES
   ========================================================================== */
@media (max-width: 640px) {
  .hero-section {
    padding: 4.25rem 0 2.75rem 0;
    min-height: auto;
  }

  .hero-badge-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1.2rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  
  .hero-heading {
    font-size: 2.1rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .top-bar-content {
    justify-content: center;
  }
  
  .top-bar-right {
    display: none;
  }

  .dish-img-box {
    height: 190px;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }
}

/* Evitar mínimos intrínsecos en columnas, controles y texto dentro de flex. */
.hero-content > *, .features-grid > *, .menu-grid > *, .about-grid > *,
.reviews-grid > *, .location-grid > *, .contact-grid > *, .footer-content > *,
.form-row > *, .form-group, .brand-logo, .logo-text,
.feature-item > div, .value-item > div, .review-author > div,
.info-block > div, .channel-text, .cart-item-details {
  min-width: 0;
  overflow-wrap: anywhere;
}

.form-group input, .form-group select, .form-group textarea {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.header-actions, .mobile-toggle, .cart-trigger-btn,
.pulse-dot, .close-drawer-btn, .channel-arrow { flex-shrink: 0; }

.top-bar-left { flex-wrap: wrap; justify-content: center; }
.cart-drawer-body { min-height: 0; }
.cart-item-controls, .summary-row, .summary-total-row, .footer-logo {
  flex-wrap: wrap;
  gap: 0.5rem;
}
.floating-actions { max-width: calc(100% - 44px); }
.floating-cart-pill { max-width: 100%; flex-wrap: wrap; justify-content: center; }
.status-indicator-box.closed { color: var(--primary); }

@media (max-width: 480px) {
  .header-container { gap: 0.5rem; }
  .brand-logo { gap: 0.5rem; }
  .header-actions { gap: 0.5rem; }
  .logo-title { font-size: 1.15rem; }
  .logo-subtitle { letter-spacing: 0.5px; }
  .featured-header, .featured-card-action { flex-wrap: wrap; }
  .featured-card-action .btn { white-space: normal; }
  .about-values-grid { grid-template-columns: 1fr; }
  .location-card, .form-card { padding: 1.25rem; }
  .schedule-list li { flex-direction: column; gap: 0.15rem; }
  .channel-card { padding: 1rem; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Contexto visible y revisión previa de los mensajes de demostración. */
.demo-content-note { font-size: .875rem; line-height: 1.6; padding: 12px; border-radius: 8px; background: #f5eee7; color: #594437; }
.about-experience-badge .exp-number { font-size: 1.5rem; }
.demo-whatsapp-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 0; border-radius: 16px; background: #fff; color: #292524; overflow-y: auto; box-shadow: 0 20px 60px #0005; }
.demo-whatsapp-dialog::backdrop { background: #0009; }
.demo-whatsapp-dialog h3 { margin: 0 0 16px; }
.demo-whatsapp-dialog p { margin: 0 0 16px; font-size: .875rem; line-height: 1.6; }
.demo-whatsapp-dialog label { display: block; font-weight: 600; margin-bottom: 8px; }
.demo-whatsapp-dialog textarea { display: block; width: 100%; min-width: 0; max-height: 30dvh; resize: vertical; padding: 12px; border: 1px solid #d6d3d1; border-radius: 8px; font: inherit; font-size: .875rem; }
.demo-whatsapp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.demo-whatsapp-actions .btn { flex: 1 1 180px; }
