/* ==========================================================================
   CHOP SUEY INTERNACIONAL - SISTEMA DE DISEÑO Y ESTILOS MÓVILES
   Barra fija garantizada, combos compactos con afiche ampliable y alto contraste.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta oficial de Chop Suey Internacional */
  --color-red-primary: #d91c1b;       /* Rojo imperial del logo */
  --color-red-dark: #b01010;          /* Rojo sombra / encabezados */
  --color-red-deep: #800707;          /* Fondo banners profundos */
  --color-red-subtle: #fdf2f2;        /* Fondo tenue para destaques */

  --color-gold-accent: #f5b300;       /* Amarillo dorado de afiches oficiales */
  --color-gold-light: #fff9e6;        /* Fondo claro dorado */
  --color-gold-dark: #8c5b00;         /* Texto legible sobre dorado */

  --color-green-accent: #1e7e34;      /* Acento vegetal / precios de banquetes */
  --color-green-bg: #eaf7ec;

  /* Superficies y fondos */
  --color-surface-card: #ffffff;      /* Superficie blanca para lectura óptima */
  --color-bg-body: #f8f7f4;           /* Fondo general cálido (evita fatiga visual) */
  --color-surface-muted: #f2efe9;     /* Fondo de contenedores secundarios */
  --color-surface-hover: #faf8f5;

  /* Jerarquía de texto de alto contraste (WCAG AAA) */
  --color-text-primary: #1a1714;     /* Negro cálido para máxima legibilidad */
  --color-text-secondary: #4a453e;   /* Gris cálido para ingredientes y descripciones */
  --color-text-muted: #736b63;       /* Metadata y notas secundarias */
  --color-text-inverse: #ffffff;     /* Texto sobre rojo */

  /* Bordes y separadores */
  --color-border-subtle: #eae6dd;
  --color-border-medium: #d6cfc2;
  --color-border-red: rgba(217, 28, 27, 0.2);

  /* Sombras moderadas */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 23, 20, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 23, 20, 0.14);

  /* Tipografías */
  --font-display: 'Outfit', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaciado */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-2xl: 40px;

  /* Radios de borde */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Altura de navegación pegajosa */
  --nav-height: 52px;

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. RESET Y BASES (SIN ROMPER POSITION: STICKY)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* IMPORTANTE: overflow-x: clip previene desborde sin crear contenedor de scroll que rompa sticky */
  overflow-x: clip;
  position: relative;
  background-color: var(--color-bg-body);
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 16px));
}

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

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

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

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

/* --------------------------------------------------------------------------
   3. CONTENEDOR PRINCIPAL
   -------------------------------------------------------------------------- */
.app-container {
  width: 100%;
  max-width: 640px; /* Lectura óptima móvil */
  margin: 0 auto;
  background-color: var(--color-bg-body);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
  position: relative;
}

@media (min-width: 860px) {
  .app-container {
    max-width: 780px;
  }
}

/* --------------------------------------------------------------------------
   4. ENCABEZADO COMPACTO DE MARCA
   -------------------------------------------------------------------------- */
.brand-header {
  background: linear-gradient(135deg, #d91c1b 0%, #b01010 100%);
  color: var(--color-text-inverse);
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 14px;
  position: relative;
  border-bottom: 3px solid var(--color-gold-accent);
}

.brand-header__content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.brand-logo-frame {
  width: 52px;
  height: 52px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.brand-info {
  flex: 1;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-gold-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 3px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 5px #22c55e;
}

/* Barra de acciones: Buscador + Botón Llamar */
.header-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.search-bar-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 44px;
  background-color: #ffffff;
  color: var(--color-text-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  padding: 0 14px 0 38px;
  font-size: 0.88rem;
  outline: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 179, 0, 0.5);
}

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

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e5e5e5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.quick-call-btn {
  background-color: var(--color-gold-accent);
  color: #1a1714;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.quick-call-btn:active {
  transform: scale(0.97);
  background-color: #e5a700;
}

/* --------------------------------------------------------------------------
   5. NAVEGACIÓN STICKY DE CATEGORÍAS (PERMANENCIA TOTAL EN TODA LA PÁGINA)
   -------------------------------------------------------------------------- */
.sticky-nav-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 2px solid var(--color-border-subtle);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.categories-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 14px;
  gap: 8px;
  align-items: center;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.cat-pill:hover {
  background-color: var(--color-surface-muted);
  color: var(--color-text-primary);
}

.cat-pill.is-active {
  background-color: var(--color-red-primary);
  color: #ffffff;
  border-color: var(--color-red-primary);
  box-shadow: 0 2px 8px rgba(217, 28, 27, 0.3);
}

/* --------------------------------------------------------------------------
   6. SECCIÓN HERO: PROMOCIÓN 3×2
   -------------------------------------------------------------------------- */
.promo-hero-card {
  margin: var(--space-md);
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-gold-accent);
  box-shadow: var(--shadow-md);
  position: relative;
}

.promo-hero-badge-strip {
  background: linear-gradient(90deg, #d91c1b 0%, #b01010 100%);
  color: #ffffff;
  padding: 8px var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.promo-tag-pill {
  background-color: var(--color-gold-accent);
  color: var(--color-text-primary);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.promo-hero-body {
  padding: var(--space-md);
}

.promo-headline-wrap {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.promo-huge-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.3rem);
  font-weight: 900;
  color: var(--color-red-primary);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.promo-sub-headline {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.promo-restriction-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.promo-families-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.promo-family-cell {
  background-color: var(--color-surface-muted);
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-subtle);
}

.promo-family-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2px);
  background-color: #eee;
}

.promo-family-info {
  padding: 6px 4px 2px;
}

.promo-family-name {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-red-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.promo-family-desc {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  line-height: 1.25;
  margin-top: 2px;
}

.promo-footer-note {
  margin-top: var(--space-sm);
  padding: 8px 12px;
  background-color: var(--color-gold-light);
  border-left: 3px solid var(--color-gold-accent);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-gold-dark);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   7. SECCIONES Y ENCABEZADOS DE CATEGORÍA
   -------------------------------------------------------------------------- */
.section-wrapper {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  scroll-margin-top: calc(var(--nav-height) + 14px);
}

.section-wrapper + .section-wrapper {
  border-top: 1px solid var(--color-border-subtle);
}

.section-header {
  margin-bottom: var(--space-md);
  position: relative;
}

.section-header-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-red-primary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 18px;
  background-color: var(--color-gold-accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
  font-weight: 500;
}

.section-accompaniment-badge {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--color-border-medium);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   8. FAVORITOS DE LA CASA
   -------------------------------------------------------------------------- */
.favorites-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.featured-dish-card {
  background-color: var(--color-surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.featured-dish-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  background-color: #f0eee8;
  overflow: hidden;
}

.featured-dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-dish-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-red-primary);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.featured-dish-category-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(26, 23, 20, 0.8);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
}

.featured-dish-content {
  padding: var(--space-md);
}

.dish-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
}

.dish-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.25;
  text-transform: uppercase;
}

.dish-price {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-red-primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dish-composition {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-top: 3px;
}

.dish-desc {
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  line-height: 1.42;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   9. FAMILIAS ORIENTALES (CHOP SUEY, CHOW MEIN, ARROZ CHINO, LO MEIN)
   -------------------------------------------------------------------------- */
.family-block {
  background-color: var(--color-surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.family-header {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-border-subtle);
  background: linear-gradient(to right, #ffffff, var(--color-surface-muted));
}

.family-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.family-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-red-primary);
  letter-spacing: 0.3px;
}

.family-badge {
  background-color: var(--color-surface-muted);
  border: 1px solid var(--color-border-medium);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.family-intro {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.35;
  margin-top: 6px;
}

.family-featured-photo-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f0eee8;
  position: relative;
  overflow: hidden;
}

.family-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.family-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #ffffff;
  padding: 16px var(--space-md) 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.variants-table {
  padding: 0 var(--space-md);
}

.variant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--color-border-subtle);
  gap: var(--space-sm);
}

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

.variant-row.is-especial {
  background-color: #fffdf5;
  margin: 0 -16px;
  padding: 12px 16px;
  border-bottom: 1px solid #fae8a4;
  border-top: 1px solid #fae8a4;
}

.variant-main {
  flex: 1;
  min-width: 0;
}

.variant-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.variant-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.especial-tag {
  background-color: var(--color-gold-accent);
  color: var(--color-text-primary);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

.veg-tag {
  background-color: var(--color-green-bg);
  color: var(--color-green-accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

.variant-composition {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.variant-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--color-red-primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   10. CATÁLOGO COMPACTO
   -------------------------------------------------------------------------- */
.catalog-list {
  background-color: var(--color-surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.catalog-item {
  display: flex;
  align-items: flex-start;
  padding: 13px var(--space-md);
  border-bottom: 1px solid var(--color-border-subtle);
  gap: var(--space-sm);
  transition: background-color var(--transition-fast);
}

.catalog-item:last-child {
  border-bottom: none;
}

.catalog-item:hover {
  background-color: var(--color-surface-hover);
}

.catalog-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background-color: #f0eee8;
  border: 1px solid var(--color-border-subtle);
}

.catalog-item-body {
  flex: 1;
  min-width: 0;
}

.catalog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-xs);
}

.catalog-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.catalog-item-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--color-red-primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}

.catalog-item-desc {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  line-height: 1.35;
  margin-top: 4px;
}

.catalog-item-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  background-color: var(--color-gold-light);
  padding: 1px 5px;
  border-radius: 3px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   11. REDISEÑO DE COMBOS Y BANQUETES (COMPACTO, EQUILIBRADO Y CON LIGHTBOX)
   -------------------------------------------------------------------------- */
.combos-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.combo-compact-card {
  background-color: var(--color-surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px 14px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.combo-compact-card:hover {
  box-shadow: var(--shadow-md);
}

.combo-compact-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.combo-compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.combo-type-tag {
  background-color: var(--color-gold-accent);
  color: var(--color-text-primary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.combo-price-pill {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-green-accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.combo-compact-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-red-primary);
  line-height: 1.2;
  margin-bottom: 2px;
}

.combo-compact-desc {
  font-size: 0.76rem;
  color: var(--color-text-secondary);
  line-height: 1.3;
  margin-bottom: 6px;
}

.combo-items-compact {
  list-style: none;
  background-color: var(--color-bg-body);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  border: 1px solid var(--color-border-subtle);
  margin-bottom: 4px;
}

.combo-items-compact li {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.check-icon {
  color: var(--color-green-accent);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.combo-note-compact {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 2px;
}

.combo-courtesy-badge {
  display: inline-block;
  background-color: var(--color-gold-light);
  border: 1px solid #f6d884;
  color: var(--color-gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

/* Columna lateral con miniatura del afiche proporcional 4:5 y disparador de ampliación */
.combo-compact-thumb-wrap {
  width: 105px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 380px) {
  .combo-compact-thumb-wrap {
    width: 90px;
  }
}

.combo-thumb-btn {
  width: 100%;
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--color-border-medium);
  background-color: #1a1714;
  text-align: center;
  transition: transform var(--transition-fast);
}

.combo-thumb-btn:active {
  transform: scale(0.96);
}

.combo-compact-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.thumb-zoom-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 23, 20, 0.85);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   12. LIGHTBOX MODAL PARA AMPLIAR AFICHES DE COMBOS
   -------------------------------------------------------------------------- */
.flyer-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.flyer-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 8, 7, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.lightbox-image-wrap {
  width: 100%;
  background-color: #12100e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border-subtle);
}

.lightbox-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-red-primary);
}

.lightbox-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-green-accent);
}

/* --------------------------------------------------------------------------
   13. EXTRAS Y GUARNICIONES
   -------------------------------------------------------------------------- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: var(--space-xs);
}

.extra-chip {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.extra-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.extra-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--color-red-primary);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   14. SECCIÓN HISTORIA Y CONTACTO
   -------------------------------------------------------------------------- */
.footer-section {
  background-color: #ffffff;
  border-top: 3px solid var(--color-red-primary);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
  scroll-margin-top: calc(var(--nav-height) + 14px);
}

.story-card {
  background: linear-gradient(to bottom, #ffffff, var(--color-surface-muted));
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.story-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-red-primary);
  margin-bottom: 6px;
}

.story-card-text {
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 12px var(--space-md);
  min-height: 52px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.contact-card-link:hover {
  border-color: var(--color-red-primary);
  background-color: var(--color-surface-hover);
}

.contact-icon-frame {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.icon-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.icon-phone {
  background-color: var(--color-red-primary);
  color: #ffffff;
}

.icon-location {
  background-color: #ea4335;
  color: #ffffff;
}

.icon-pedidosya {
  background-color: #ff1a40;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
}

.contact-text-wrap {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.contact-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-primary);
  word-break: break-word;
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-subtle);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   15. BARRA DE ACCIÓN RÁPIDA FLOTANTE
   -------------------------------------------------------------------------- */
.floating-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border-subtle);
  padding: 8px var(--space-md) calc(8px + env(safe-area-inset-bottom, 8px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.floating-action-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-xs);
}

.floating-btn {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

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

.floating-btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.floating-btn-call {
  background-color: var(--color-red-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. ESTADOS DE BÚSQUEDA Y MENÚ VACÍO
   -------------------------------------------------------------------------- */
.search-results-feedback {
  background-color: var(--color-gold-light);
  border: 1px solid #fae8a4;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin: 0 var(--space-md) var(--space-sm);
  font-size: 0.82rem;
  color: var(--color-gold-dark);
  display: none;
  justify-content: space-between;
  align-items: center;
}

.no-results-box {
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  color: var(--color-text-secondary);
  display: none;
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   17. ACCESIBILIDAD Y REDUCED MOTION
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-red-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   18. PANTALLA DE CARGA INICIAL (SPLASH SCREEN)
   Diseño minimalista, centrado absoluto, fondo rojo oficial y salida progresiva
   -------------------------------------------------------------------------- */
.splash-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #c8102e;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, visibility;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.025);
}

body.is-splash-active {
  overflow: hidden !important;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 90vw;
}

.splash-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: splashEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
}

.splash-logo-img {
  display: block;
  width: clamp(170px, 45vw, 230px);
  height: auto;
  max-height: 46vh;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.16));
  user-select: none;
  -webkit-user-drag: none;
}

/* Barra de progreso sutil y elegante */
.splash-progress-track {
  width: clamp(130px, 35vw, 180px);
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  margin-top: 18px;
  overflow: hidden;
  position: relative;
}

.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 4px #ffffff;
  animation: splashFill 1.25s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
}

@keyframes splashEntrance {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(6px);
    filter: blur(2px) drop-shadow(0 0 0 transparent);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.16));
  }
}

@keyframes splashFill {
  0% {
    width: 0%;
    opacity: 0.8;
  }
  60% {
    width: 72%;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

