/* ==========================================================================
   BENDITA PIZZA · SISTEMA DE DISEÑO Y ESTILOS DE PRODUCCIÓN
   Santa Mónica, Cartagena, Colombia
   (Integración completa del personalizador interactivo)
   ========================================================================== */

:root {
  /* Paleta Oficial */
  --color-primary: #E03A26;        /* Rojo Bendita protagonista */
  --color-primary-hover: #C92E1B;
  --color-primary-active: #AD2414;
  --color-secondary: #FFD23F;      /* Amarillo queso / halos / acentos */
  --color-secondary-hover: #FFE27A;
  --color-cta: #1E8E4E;            /* Verde WhatsApp oficial */
  --color-cta-hover: #17753F;
  --color-surface-cream: #F7F2E7;  /* Crema masa suave */
  --color-surface-card: #FFFFFF;   /* Blanco puro tarjetas */
  --color-surface-dark: #181513;   /* Carbón horno textos oscuros */
  --color-surface-oven: #200806;   /* Fondo cálido escenario pizza */
  --color-selected: #FFF0EE;       /* Fondo tarjeta seleccionada */
  --color-text-on-red: #FFFFFF;
  --color-text-muted: #665E57;
  --color-border-card: rgba(24, 21, 19, 0.09);
  --color-warning-bg: rgba(245, 158, 11, 0.15);
  --color-warning-text: #92400E;
  --color-error-bg: rgba(220, 38, 38, 0.1);
  --color-error-text: #DC2626;

  /* Toppings (Colores exactos del personalizador) */
  --topping-bacon: #8B2515;
  --topping-bacon-fat: #F8C8A5;
  --topping-ham: #E57373;
  --topping-ham-edge: #C62828;
  --topping-chorizo: #B71C1C;
  --topping-chorizo-fleck: #FFF9C4;
  --topping-chicken: #FFE082;
  --topping-chicken-edge: #FFB300;
  --topping-corn: #FFEB3B;
  --topping-corn-edge: #F57F17;
  --topping-mushroom: #EDE7DC;
  --topping-mushroom-edge: #5D4037;
  --topping-pineapple: #FDD835;
  --topping-pineapple-edge: #F57F17;
  --topping-tomato: #E53935;
  --topping-tomato-seed: #EF5350;
  --topping-oregano: #2E7D32;
  --topping-cheese-pool: #FFF9EB;
  --crust-ring: #DDA658;

  /* Tipografías */
  --font-display: 'Rubik Wet Paint', cursive, sans-serif;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Radios de borde */
  --radius-full: 9999px;
  --radius-card: 16px;
  --radius-btn: 16px;
  --radius-chip: 12px;

  /* Sombras y Elevaciones */
  --shadow-slice: drop-shadow(0 24px 36px rgba(90, 12, 5, 0.45));
  --shadow-btn: 0 10px 24px rgba(24, 21, 19, 0.14);
  --shadow-card: 0 2px 8px rgba(24, 21, 19, 0.05), 0 8px 20px rgba(24, 21, 19, 0.04);
  --shadow-cta: 0 8px 20px rgba(24, 21, 19, 0.12);
  --shadow-float: 0 16px 32px rgba(224, 58, 38, 0.25);

  /* Curvas de aceleración */
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--color-surface-cream);
  color: var(--color-surface-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  overflow-x: clip;
  overflow-y: hidden;
  background: var(--color-surface-cream);
}

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

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

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

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

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.tabular-nums {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   CABECERA GLOBAL FLOTANTE
   ========================================================================== */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 3vw, 28px) clamp(20px, 4vw, 56px);
  pointer-events: none;
}

.global-header > * {
  pointer-events: auto;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 220ms var(--ease-elastic);
}

.brand-badge:hover {
  transform: scale(1.06) rotate(-2deg);
}

.brand-badge__logo {
  height: clamp(54px, 7vw, 76px);
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
}

.header-meta {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 16px);
  flex-shrink: 0;
}

.header-slide-indicator {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFFFFF;
  background: rgba(24, 21, 19, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(24, 21, 19, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hours-text-short {
  display: none;
}

.header-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-surface-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-elastic), background-color 180ms ease;
}

.header-cart-btn:hover {
  transform: scale(1.08);
  background: var(--color-surface-cream);
}

.cart-counter-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   CONTENEDOR HORIZONTAL FULL-BLEED (100vw × 100vh)
   ========================================================================== */
.horizontal-slider {
  display: flex;
  width: 300vw;
  height: 100vh;
  will-change: transform;
  touch-action: pan-x;
}

.horizontal-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(80px, 12vh, 100px) clamp(24px, 5vw, 64px) clamp(24px, 4vh, 40px);
}

/* ==========================================================================
   PANTALLA 1: PANEL HERO
   ========================================================================== */
#panel-hero {
  background-color: var(--color-primary);
  color: var(--color-text-on-red);
}

#panel-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255, 125, 60, 0.22) 0%, rgba(224, 58, 38, 0) 65%);
  pointer-events: none;
}

.hero-main-stage {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 480px;
}

.hero-headline-block {
  max-width: 720px;
  z-index: 6;
  position: relative;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.2vw, 7.4rem);
  line-height: 0.93;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  filter: drop-shadow(0 8px 24px rgba(120, 15, 6, 0.45));
  user-select: none;
}

.hero-main-title span {
  display: block;
}

.hero-slice-wrap {
  position: absolute;
  left: clamp(230px, 31vw, 440px);
  top: clamp(190px, 30vh, 280px);
  z-index: 8;
  cursor: grab;
  filter: var(--shadow-slice);
  transition: transform 260ms var(--ease-elastic);
  will-change: transform;
}

.hero-slice-wrap:hover {
  transform: translateY(-8px) scale(1.03) rotate(1deg);
}

.hero-slice-img {
  width: clamp(270px, 34vw, 470px);
  height: auto;
  object-fit: contain;
}

.hero-footer-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.nav-controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

.progress-track-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.progress-dash-dot {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color 200ms ease, width 200ms ease;
}

.progress-dash-dot.active {
  width: 44px;
  background: #FFFFFF;
}

.progress-step-name {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.95;
  margin-left: 8px;
}

.hero-action-quadrant {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: 400px;
}

.hero-action-explanation {
  font-size: 13.5px;
  line-height: 1.35;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-surface-cream);
  color: var(--color-surface-dark);
  padding: 20px 34px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  min-width: 310px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.btn-cta-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(24, 21, 19, 0.25);
  background: #FFFFFF;
  border-color: var(--color-secondary);
}

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

.btn-cta-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface-dark);
  color: #FFFFFF;
  transition: transform 220ms var(--ease-elastic), background-color 200ms ease;
}

.btn-cta-hero:hover .btn-cta-icon-circle {
  transform: translateX(4px);
  background: var(--color-primary);
}

/* ==========================================================================
   PANTALLA 2: PANEL ESPECIALIDADES
   ========================================================================== */
#panel-especialidades {
  background-color: var(--color-surface-cream);
  color: var(--color-surface-dark);
}

.panel-header-editorial {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.section-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-surface-dark);
}

.split-experience-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  flex: 1;
}

.pizzas-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.specialty-pizza-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms ease, border-color 200ms ease;
}

.specialty-pizza-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(224, 58, 38, 0.12);
  border-color: rgba(224, 58, 38, 0.3);
}

.specialty-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.specialty-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #FFF2D1;
  color: #8C5E00;
}

.specialty-badge.bestseller {
  background: var(--color-secondary);
  color: var(--color-surface-dark);
}

.specialty-img-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.specialty-pizza-img {
  max-height: 130px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
  transition: transform 240ms var(--ease-elastic);
}

.specialty-pizza-card:hover .specialty-pizza-img {
  transform: scale(1.06) rotate(3deg);
}

.specialty-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-surface-dark);
  margin-bottom: 4px;
}

.specialty-ingredients-desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.4;
  min-height: 36px;
}

.specialty-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed rgba(24, 21, 19, 0.08);
}

.specialty-price-tag {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-surface-dark);
}

.btn-order-specialty {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

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

.experience-story-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-surface-dark);
}

.story-body-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.story-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-surface-dark);
}

.story-features-list svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.btn-customize-secondary {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface-dark);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 180ms ease, transform 180ms var(--ease-smooth);
}

.btn-customize-secondary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   PANTALLA 3: PANEL 03 — SANTA MÓNICA Y HORARIOS
   ========================================================================== */
#panel-visitanos {
  background-color: var(--color-surface-dark);
  color: #FFFFFF;
}

#panel-visitanos::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(224, 58, 38, 0.25) 0%, rgba(24, 21, 19, 0) 65%);
  pointer-events: none;
}

.bento-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3.5vw, 36px);
  flex: 1;
  align-items: center;
  position: relative;
  z-index: 5;
}

.bento-card-info {
  background: #231F1C;
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-schedule-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  border-left: 4px solid var(--color-secondary);
}

.schedule-days {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.schedule-hours {
  font-size: 15px;
  color: #E2DDD6;
}

.info-address-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #BFB7AD;
}

.info-address-box svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.bento-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.btn-maps-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.btn-maps-action:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* Tarjeta visual con imagen real del local */
.bento-card-neon {
  background: #231F1C;
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.neon-photo-wrap {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.neon-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.bento-card-neon:hover .neon-photo-img {
  transform: scale(1.04);
}

.btn-open-customizer-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 18px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-float);
  transition: background-color 180ms ease, transform 180ms var(--ease-smooth);
}

.btn-open-customizer-full:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   PANTALLA 4: MODAL / CONSTRUCTOR INTERACTIVO (SPLIT-SCREEN LOVABLE)
   ========================================================================== */
.customizer-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 280ms var(--ease-smooth), visibility 280ms;
}

.customizer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.customizer-split-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   STAGE IZQUIERDO: VISTA PREVIA CENITAL EN TIEMPO REAL
   -------------------------------------------------------------------------- */
.customizer-stage-pane {
  width: 50%;
  height: 100%;
  background-color: var(--color-surface-oven);
  background-image: radial-gradient(120% 90% at 50% 40%, #3B120E 0%, #230806 55%, #150403 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3.5vw, 36px);
  position: relative;
  overflow: hidden;
}

.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 20;
}

.btn-back-stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.btn-back-stage:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(-2px);
}

.stage-brand-logo {
  height: 48px;
  width: auto;
}

/* Escenario interactivo central */
.pizza-interactive-viewport {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pizza-visual-box {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(34vw, 58vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pizza-scale-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 500ms var(--ease-smooth);
}

.pizza-base-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--shadow-slice);
  user-select: none;
}

.pizza-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Etiquetas flotantes en órbita alrededor de la pizza */
.stage-orbit-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
}

.orbit-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--color-surface-cream);
  color: var(--color-surface-dark);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  animation: popIn 280ms cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}

@keyframes popIn {
  from { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Pie del escenario */
.stage-footer-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  z-index: 20;
}

.stage-total-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.stage-total-amount {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
}

.stage-total-kcal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.btn-stage-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  transition: all 180ms ease;
}

.btn-stage-reset:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   PANEL DERECHO: CONSTRUCTOR POR PASOS
   -------------------------------------------------------------------------- */
.customizer-controls-pane {
  width: 50%;
  height: 100%;
  background-color: var(--color-surface-cream);
  color: var(--color-surface-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Stepper horizontal */
.stepper-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px clamp(20px, 4vw, 36px);
  background: var(--color-surface-cream);
  border-bottom: 1px solid var(--color-border-card);
  overflow-x: auto;
  scrollbar-width: none;
}

.stepper-header-bar::-webkit-scrollbar { display: none; }

.step-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border-card);
  white-space: nowrap;
  transition: all 180ms ease;
}

.step-tab-pill.active {
  background: var(--color-surface-dark);
  color: #FFFFFF;
  border-color: var(--color-surface-dark);
}

.step-tab-pill.completed {
  background: var(--color-selected);
  color: var(--color-primary);
  border-color: rgba(224, 58, 38, 0.3);
}

.step-number-bubble {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.step-tab-pill.active .step-number-bubble {
  background: var(--color-secondary);
  color: var(--color-surface-dark);
}

.step-tab-pill.completed .step-number-bubble {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* Cuerpo deslizante de pasos */
.steps-scroll-body {
  flex: 1 1 0;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-pane-content {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: fadeInStep 260ms var(--ease-smooth);
}

.step-pane-content.active {
  display: flex;
}

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

.step-title-group {
  margin-bottom: 4px;
}

.step-step-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.step-heading-text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 800;
  color: var(--color-surface-dark);
  line-height: 1.15;
}

.step-sub-desc {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Controles de Mitad y Mitad */
.half-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.segmented-toggle-wrap {
  display: inline-flex;
  background: #EAE3D5;
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.btn-segmented-opt {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: all 180ms ease;
}

.btn-segmented-opt.active {
  background: var(--color-surface-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.half-active-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-half-side {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  border: 2px solid var(--color-border-card);
  background: #FFFFFF;
  transition: all 180ms ease;
}

.btn-half-side.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #FFFFFF;
}

/* Advertencia de toppings */
.alert-toppings-limit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  padding: 12px 18px;
  border-radius: var(--radius-chip);
  font-size: 13.5px;
  font-weight: 700;
}

/* Grid de tarjetas seleccionables */
.cards-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.choice-item-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  padding: 18px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  position: relative;
  transition: transform 180ms var(--ease-smooth), border-color 180ms ease, box-shadow 180ms ease;
}

.choice-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 58, 38, 0.3);
}

.choice-item-card.is-selected {
  border-color: var(--color-primary);
  background: var(--color-selected);
  box-shadow: 0 8px 24px rgba(224, 58, 38, 0.12);
}

.card-top-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thumb-preview-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-surface-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}

.choice-item-card.is-selected .thumb-preview-box {
  background: #FFE4E0;
}

/* Iconos Pixel Art de Ingredientes */
.pixel-art-thumb {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.3, 1.3);
  display: block;
}

.choice-item-card:hover .pixel-art-thumb {
  transform: scale(1.15) rotate(-3deg);
}

.choice-item-card.is-selected .pixel-art-thumb {
  filter: drop-shadow(0 3px 6px rgba(224, 58, 38, 0.25));
}

.card-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #D5CCC0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  transition: all 180ms ease;
}

.choice-item-card.is-selected .card-radio-circle {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #FFFFFF;
}

.card-radio-circle::after {
  content: '✓';
  font-size: 12px;
  font-weight: 800;
  display: none;
}

.choice-item-card.is-selected .card-radio-circle::after {
  display: block;
}

.choice-card-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-surface-dark);
  line-height: 1.25;
}

.choice-card-desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.choice-card-extra-price {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-surface-dark);
}

.choice-item-card.is-selected .choice-card-extra-price {
  color: var(--color-primary);
}

.half-indicator-badges {
  display: flex;
  gap: 4px;
}

.half-badge-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--color-surface-dark);
  color: #FFFFFF;
}

/* Contador de bebidas (+ / -) */
.drink-counter-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface-cream);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  margin-top: 6px;
}

.btn-drink-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-surface-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 140ms ease;
}

.btn-drink-step:hover:not(:disabled) {
  transform: scale(1.08);
}

.btn-drink-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-drink-step.add {
  background: var(--color-surface-dark);
  color: #FFFFFF;
}

.drink-qty-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
}

/* Modalidad de entrega */
.delivery-options-box {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 22px;
  border: 1px solid var(--color-border-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-address-field {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-chip);
  border: 1px solid rgba(24, 21, 19, 0.15);
  background: #FAF7F2;
  font-size: 14.5px;
  outline: none;
  transition: border-color 180ms ease;
}

.input-address-field:focus {
  border-color: var(--color-surface-dark);
}

/* Tabla de resumen desglosado */
.order-summary-box {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 22px;
  border: 1px solid var(--color-border-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-item-line {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--color-surface-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(24, 21, 19, 0.05);
}

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

.summary-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 2px solid var(--color-surface-dark);
  padding-top: 14px;
  margin-top: 6px;
}

.summary-total-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.summary-total-val {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--color-primary);
}

/* Barra inferior fija */
.customizer-fixed-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 36px);
  background: #FFFFFF;
  border-top: 1px solid var(--color-border-card);
  position: relative;
  z-index: 30;
  width: 100%;
  box-shadow: 0 -4px 16px rgba(24, 21, 19, 0.08);
}

.footer-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-step-prev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-surface-dark);
  border: 1px solid var(--color-border-card);
  transition: all 180ms ease;
}

.btn-step-prev:hover {
  background: #F4EFE6;
}

.btn-step-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  background: var(--color-surface-dark);
  color: #FFFFFF;
  transition: all 180ms ease;
}

.btn-step-next:hover {
  background: var(--color-primary);
}

.footer-order-summary-pill {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.btn-checkout-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-cta);
  color: #FFFFFF;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(30, 142, 78, 0.28);
  transition: background-color 180ms ease, transform 180ms ease;
}

.btn-checkout-whatsapp:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA (MÓVIL A 375PX Y TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  body {
    overflow-y: auto;
  }

  /* Cabecera compacta y limpia */
  .global-header {
    padding: 12px clamp(14px, 4vw, 24px);
  }

  .brand-badge {
    flex-shrink: 0;
  }

  .brand-badge__logo {
    height: clamp(44px, 12vw, 54px);
  }

  .header-meta {
    gap: 10px;
    flex-shrink: 0;
  }

  /* En móvil el flujo es vertical: se oculta el indicador numérico 01/03 */
  .header-slide-indicator {
    display: none;
  }

  .header-hours-badge {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }

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

  .horizontal-slider {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .horizontal-panel {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 84px clamp(16px, 4vw, 28px) 36px;
  }

  .hero-main-stage {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 12px 0 24px;
    text-align: center;
  }

  .hero-headline-block {
    max-width: 100%;
  }

  .hero-main-title {
    font-size: clamp(2.3rem, 11vw, 4rem);
    line-height: 0.95;
  }

  .hero-slice-wrap {
    position: relative;
    left: auto;
    top: auto;
    margin: 8px auto 20px;
    align-self: center;
    max-width: 290px;
  }

  .hero-slice-img {
    width: clamp(230px, 72vw, 320px);
    height: auto;
  }

  /* Los controles de slider horizontal (flechas) no aplican en móvil */
  .nav-controls-group {
    display: none;
  }

  .hero-footer-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero-action-quadrant {
    max-width: 100%;
    align-items: stretch;
  }

  .hero-action-explanation {
    text-align: center;
    font-size: 13px;
  }

  .btn-cta-hero {
    width: 100%;
    min-width: unset;
    padding: 18px 24px;
    font-size: 17px;
    justify-content: center;
  }

  .split-experience-layout {
    grid-template-columns: 1fr;
  }

  .pizzas-showcase-grid {
    grid-template-columns: 1fr;
  }

  .bento-location-grid {
    grid-template-columns: 1fr;
  }

  /* Customizer en móvil */
  .customizer-split-container {
    flex-direction: column;
    height: 100vh;
  }

  .customizer-stage-pane {
    width: 100%;
    height: 40vh;
    padding: 14px 18px;
  }

  .stage-brand-logo {
    display: none;
  }

  .pizza-visual-box {
    max-width: 190px;
  }

  .stage-orbit-labels {
    display: none; /* En móvil las etiquetas saturan la vista compacta */
  }

  .stage-total-amount {
    font-size: 28px;
  }

  .customizer-controls-pane {
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .steps-scroll-body {
    flex: 1 1 0;
    min-height: 0;
    max-height: 100%;
  }

  .customizer-fixed-footer {
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  .footer-nav-btns {
    justify-content: space-between;
  }

  .btn-checkout-whatsapp {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hours-text-full {
    display: none;
  }
  .hours-text-short {
    display: inline;
  }
}

@media (max-width: 380px) {
  .global-header {
    padding: 10px 14px;
  }

  .brand-badge__logo {
    height: 42px;
  }

  .header-hours-badge {
    padding: 5px 9px;
    font-size: 11px;
    gap: 5px;
  }

  .header-cart-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .hero-main-title {
    font-size: 2.3rem;
  }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION
   ========================================================================== */
@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;
  }
}
