/* ==========================================================================
   PASTELERÍA BARRIGUITAS - ESTILOS V2 (DUAL PC/MOBILE BACKGROUNDS & PNG ASSETS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Lilita+One&family=Quicksand:wght@500;600;700&display=swap');

:root {
  --candy-pink: #ff4d80;
  --candy-pink-light: #ffe4ec;
  --candy-pink-dark: #d81b60;
  --candy-blue: #38bdf8;
  --candy-blue-light: #e0f2fe;
  --candy-blue-dark: #0284c7;
  --candy-yellow: #fbbf24;
  --candy-yellow-light: #fef3c7;
  --candy-cream: #fffaf5;
  --candy-mint: #34d399;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Quicksand', sans-serif;
  background-color: #1a1016;
  color: #2d2926;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==========================================================================
   SPLASH SCREEN DE CARGA
   ========================================================================== */

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, #fff0f5 0%, #e0f2fe 50%, #fef3c7 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  padding: 20px;
  text-align: center;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-mascot-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.18));
  animation: splash-float 3s infinite ease-in-out alternate;
}

.splash-title {
  font-family: 'Lilita One', cursive;
  font-size: 3rem;
  color: var(--candy-pink-dark);
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 var(--candy-pink-light);
  margin-top: 15px;
}

.splash-subtitle {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  color: #4b5563;
  margin-top: 4px;
  margin-bottom: 20px;
}

.splash-loader-bar {
  width: 240px;
  height: 12px;
  background: rgba(255,255,255,0.85);
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid var(--candy-pink);
}

.splash-loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--candy-pink), var(--candy-yellow));
  border-radius: 9999px;
  animation: load-progress 2s ease forwards;
}

@keyframes splash-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes load-progress {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN
   ========================================================================== */

.navbar-sweet {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 95%;
  max-width: 1200px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 3px solid rgba(255, 228, 236, 0.9);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Lilita One', cursive;
  font-size: 1.8rem;
  color: var(--candy-pink-dark);
  text-decoration: none;
}

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

.nav-btn-link {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #4b5563;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn-link:hover, .nav-btn-link.active {
  background: var(--candy-pink-light);
  color: var(--candy-pink-dark);
}

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  transition: all 0.25s ease;
}

.nav-social-btn.nav-insta:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.nav-social-btn.nav-fb:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-pink-dark));
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 77, 128, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 77, 128, 0.5);
}

/* Botón Menú Hamburguesa para Móvil */
.nav-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  padding: 8px 7px;
  background: #fff0f5;
  border: 2px solid var(--candy-pink);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--candy-pink-dark);
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.nav-hamburger-btn:hover {
  background: var(--candy-pink-light);
}

/* MENÚ DESPLEGABLE MÓVIL (DRAWER) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 340px;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer-panel.active {
  transform: translateX(0);
}

.drawer-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 2px solid #f1f5f9;
  background: #fff5f8;
}

.drawer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lilita One', cursive;
  font-size: 1.6rem;
  color: var(--candy-pink-dark);
}

.drawer-logo-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.drawer-btn-order-cta {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-pink-dark)) !important;
  color: white !important;
  font-family: 'Lilita One', cursive !important;
  font-size: 1.15rem !important;
  border-radius: 9999px !important;
  padding: 12px 18px !important;
  text-align: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 77, 128, 0.4) !important;
  display: flex !important;
  align-items: center;
  gap: 6px;
  border-color: transparent !important;
}

.drawer-btn-order-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 77, 128, 0.5) !important;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.drawer-nav-items {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
}

.drawer-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #334155;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.drawer-nav-btn:hover, .drawer-nav-btn.active {
  background: var(--candy-pink-light);
  border-color: var(--candy-pink);
  color: var(--candy-pink-dark);
  transform: translateX(4px);
}

.drawer-social-section {
  padding: 16px 20px;
  border-top: 2px solid #f1f5f9;
}

.drawer-section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.drawer-social-links-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-social-link {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: white;
  transition: all 0.2s;
}

.drawer-social-link.insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.drawer-social-link.fb {
  background: #1877f2;
}

.drawer-social-link.wsp {
  background: #25D366;
  color: white;
}

.drawer-footer-discreet {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.discreet-admin-anchor {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #f8fafc;
  display: inline-block;
  transition: all 0.2s;
}

.discreet-admin-anchor:hover {
  color: #334155;
  background: #e2e8f0;
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: wa-pulse 2.2s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.floating-wa-bubble {
  position: absolute;
  right: 70px;
  background: white;
  color: #1f2937;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.floating-whatsapp-btn:hover .floating-wa-bubble {
  opacity: 1;
  transform: translateX(0);
}

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

.nav-admin-btn {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-admin-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* ==========================================================================
   ESCENARIO PRINCIPAL (GAME STAGE)
   ========================================================================== */

.game-stage-container {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #180d15;
  padding-top: 75px;
  padding-bottom: 20px;
}

.scene-frame {
  position: relative;
  width: 100%;
  max-width: 1360px;
  height: calc(100vh - 95px);
  min-height: 640px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 4px solid rgba(255, 228, 236, 0.7);
  display: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

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

@keyframes scene-fade-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   FONDOS DUALES (PC vs MOBILE)
   ========================================================================== */

/* PC (Default / Horizontal) */
#scene-01 { background-image: url('../assets/backgrounds/pc/bg_01.webp'); }
#scene-02, #scene-sub-cakes, #scene-sub-tartas, #scene-sub-cookies, #scene-sub-box {
  background-image: url('../assets/backgrounds/pc/bg_02.webp');
}
#scene-sub-fillings, #scene-sub-decor { background-image: url('../assets/backgrounds/pc/bg_03.webp'); }
#scene-sub-delivery { background-image: url('../assets/backgrounds/pc/bg_04.webp'); }
#scene-05-gallery { background-image: url('../assets/backgrounds/pc/bg_05.webp'); }
#scene-06-reviews { background-image: url('../assets/backgrounds/pc/bg_06.webp'); }
#scene-07-promos { background-image: url('../assets/backgrounds/pc/bg_07.webp'); }

/* MÓVIL (Pantallas verticales <= 768px o en portrait) */
@media (max-width: 768px), (orientation: portrait) {
  #scene-01 { background-image: url('../assets/backgrounds/mobile/bg_01.webp'); }
  #scene-02, #scene-sub-cakes, #scene-sub-tartas, #scene-sub-cookies, #scene-sub-box {
    background-image: url('../assets/backgrounds/mobile/bg_02.webp');
  }
  #scene-sub-fillings, #scene-sub-decor { background-image: url('../assets/backgrounds/mobile/bg_03.webp'); }
  #scene-sub-delivery { background-image: url('../assets/backgrounds/mobile/bg_04.webp'); }
  #scene-05-gallery { background-image: url('../assets/backgrounds/mobile/bg_05.webp'); }
  #scene-06-reviews { background-image: url('../assets/backgrounds/mobile/bg_06.webp'); }
  #scene-07-promos { background-image: url('../assets/backgrounds/mobile/bg_07.webp'); }
}

/* ==========================================================================
   PÁGINA 1: INICIO (TARJETA SEMI-TRANSPARENTE)
   ========================================================================== */

.overlay-hero-glass {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  width: 44%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.hero-tag-pill {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--candy-yellow-light);
  color: #92400e;
  border: 2px solid var(--candy-yellow);
  padding: 4px 16px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.hero-title-main {
  font-family: 'Lilita One', cursive;
  font-size: 2.9rem;
  line-height: 1.1;
  color: var(--candy-pink-dark);
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 var(--candy-pink-light);
  margin-bottom: 14px;
}

.hero-desc-clean {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 26px;
  font-weight: 500;
}

/* ==========================================================================
   PÁGINA 2: MOSTRADOR DE PRODUCTOS CON PNGS TRANSPARENTES
   ========================================================================== */

.counter-table-stage {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  padding: 0 30px;
}

/* Tarjeta / Item de Producto Transparente */
.item-card-png {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  text-decoration: none;
  width: 220px;
}

.item-card-png:hover {
  transform: translateY(-12px) scale(1.05);
}

.item-png-img {
  width: 100%;
  max-width: 180px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}

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

/* Botón/Pill debajo de cada producto */
.item-btn-pill {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid var(--candy-pink);
  border-radius: 9999px;
  padding: 8px 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  width: 100%;
  backdrop-filter: blur(8px);
}

.item-pill-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1f2937;
}

.cake-portion-guide {
  position: absolute;
  top: 88px;
  left: 0;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  color: #475569;
  font-size: 0.9rem;
  text-align: center;
}

.item-pill-portions {
  margin-top: 2px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
}

.item-pill-price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--candy-pink-dark);
  margin-top: 2px;
}

/* ==========================================================================
   CABECERA / BANNER SUPERIOR DE CADA ESCENA
   ========================================================================== */

.scene-header-banner {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid var(--candy-yellow);
  border-radius: 9999px;
  padding: 8px 30px;
  font-family: 'Lilita One', cursive;
  font-size: 1.5rem;
  color: #b45309;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 10;
  text-align: center;
  white-space: nowrap;
}

.btn-scene-back {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(255, 255, 255, 0.95);
  border: 2.5px solid var(--candy-pink);
  border-radius: 9999px;
  padding: 8px 22px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--candy-pink-dark);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  z-index: 15;
}

.btn-scene-back:hover {
  background: var(--candy-pink-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   PANEL DERECHO DECORACIÓN (ESCENA 3 CON NENE DECORANDO A LA IZQUIERDA)
   ========================================================================== */

.decor-panel-right {
  position: absolute;
  top: 25px;
  right: 3.5%;
  bottom: 25px;
  width: 48%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 3.5px solid var(--candy-pink-light);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.decor-step-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--candy-pink-light);
  color: var(--candy-pink-dark);
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.decor-title-text {
  font-family: 'Lilita One', cursive;
  font-size: 1.65rem;
  color: var(--candy-pink-dark);
  margin-bottom: 2px;
}

.decor-subtitle-text {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 12px;
}

.decor-styles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.decor-item-card {
  position: relative;
  background: #ffffff;
  border: 2.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.decor-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--candy-pink-light);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.decor-item-card.selected {
  border-color: var(--candy-pink);
  background: #fff5f8;
  box-shadow: 0 0 0 3px var(--candy-pink-light);
}

.decor-card-img {
  width: 100%;
  max-width: 105px;
  height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
  transition: transform 0.2s ease;
}

.decor-item-card.selected .decor-card-img {
  transform: scale(1.06);
}

.decor-card-meta {
  text-align: center;
  margin-top: 6px;
  width: 100%;
}

.decor-card-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
}

.decor-card-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 1px;
}

.decor-check-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  background: var(--candy-pink);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
}

.decor-item-card.selected .decor-check-badge {
  display: flex;
}

.decor-custom-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filling-panel {
  gap: 14px;
}

.filling-selection-guidance {
  color: var(--candy-pink-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 8px;
}

.filling-categories {
  display: grid;
  gap: 12px;
  overflow-y: auto;
  min-height: 0;
  padding: 2px 4px 8px 0;
}

.filling-category {
  background: #fff;
  border: 2px solid var(--candy-pink-light);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filling-category summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--candy-pink-dark);
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.filling-options-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.filling-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  color: #334155;
  cursor: pointer;
  font-size: 0.88rem;
}

.filling-option:has(input:checked) {
  border-color: var(--candy-pink);
  background: #fff5f8;
}

.filling-option input {
  accent-color: var(--candy-pink-dark);
}

.filling-load-error {
  padding: 10px 12px;
  border: 1px solid #fca5a5;
  border-radius: 9px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 600;
}

.decor-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.decor-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.decor-input-box {
  width: 100%;
  padding: 8px 14px;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s;
}

.decor-input-box:focus {
  border-color: var(--candy-pink);
  background: #ffffff;
}

.decor-notes-box {
  min-height: 96px;
  resize: vertical;
}

.decor-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.decor-file-btn {
  flex: 1;
  padding: 6px 10px;
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.decor-thumb-preview {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--candy-pink);
  display: none;
}

.btn-proceed-sweet {
  width: 100%;
  background: linear-gradient(135deg, var(--candy-pink) 0%, var(--candy-pink-dark) 100%);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 12px 24px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(216, 27, 96, 0.3);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.btn-proceed-sweet:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(216, 27, 96, 0.4);
}

/* ==========================================================================
   PANEL IZQUIERDO ENTREGA (ESCENA 4 CON NENE DIBUJANDO A LA DERECHA)
   ========================================================================== */

.delivery-panel-left {
  position: absolute;
  top: 25px;
  left: 3.5%;
  bottom: 25px;
  width: 50%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 3.5px solid var(--candy-pink-light);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.delivery-step-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--candy-yellow-light);
  color: #92400e;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.delivery-title-text {
  font-family: 'Lilita One', cursive;
  font-size: 1.65rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.delivery-subtitle-text {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 12px;
}

.delivery-choice-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.delivery-choice-card {
  position: relative;
  background: #ffffff;
  border: 2.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delivery-choice-card[hidden] {
  display: none !important;
}

.delivery-choice-card:hover {
  border-color: var(--candy-pink-light);
  background: #fff;
  transform: translateY(-2px);
}

.delivery-choice-card.selected {
  border-color: var(--candy-pink);
  background: #fff5f8;
  box-shadow: 0 0 0 3px var(--candy-pink-light);
}

.delivery-choice-img {
  width: 58px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.12));
}

.delivery-choice-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
}

.delivery-choice-desc {
  font-size: 0.74rem;
  color: #64748b;
}

.delivery-choice-radio {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
}

.delivery-choice-card.selected .delivery-choice-radio {
  background: var(--candy-pink);
  border-color: var(--candy-pink);
}

.delivery-form-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.delivery-field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 2px;
  display: block;
}

.delivery-select-box, .delivery-input-box {
  width: 100%;
  padding: 8px 12px;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  color: #1e293b;
  outline: none;
}

.delivery-select-box:focus, .delivery-input-box:focus {
  border-color: var(--candy-pink);
  background: #ffffff;
}

.delivery-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   OFERTAS SUGERIDAS AL FINALIZAR PEDIDO (UPSELL ESTILO MCDONALD'S)
   ========================================================================== */
.checkout-upsell-wrapper {
  margin-bottom: 12px;
}

.checkout-upsell-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  position: relative;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  transition: all 0.25s ease;
}

.checkout-upsell-banner.selected {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.18);
}

.upsell-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.upsell-badge-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.upsell-save-badge {
  background: #fee2e2;
  color: #b91c1c;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #fca5a5;
}

.upsell-body-content {
  margin-bottom: 8px;
}

.upsell-question-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #92400e;
  line-height: 1.3;
  margin-bottom: 4px;
}

.upsell-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.upsell-product-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  color: #1e293b;
}

.upsell-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.upsell-deal-price {
  font-family: 'Lilita One', cursive;
  font-size: 1.15rem;
  color: #d97706;
}

.checkout-upsell-banner.selected .upsell-deal-price {
  color: #059669;
}

.upsell-old-price {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.btn-toggle-upsell {
  width: 100%;
  padding: 7px 14px;
  border-radius: 9999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}

.btn-toggle-upsell:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.3);
}

.btn-toggle-upsell.active {
  background: #10b981;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.btn-toggle-upsell.active:hover {
  background: #059669;
}

/* Resumen de Seña */
.delivery-summary-card {
  background: #fffaf5;
  border: 2px dashed #f97316;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
}

.summary-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.summary-product-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1f2937;
}

.summary-deposit-pill {
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #fcd34d;
}

.summary-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 3px;
}

.summary-calc-val {
  font-family: 'Lilita One', cursive;
  font-size: 1.15rem;
  color: #1e293b;
}

.summary-calc-row.highlight {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #fed7aa;
}

.summary-deposit-label {
  font-weight: 700;
  color: #059669;
  font-size: 0.9rem;
}

.summary-deposit-val {
  font-family: 'Lilita One', cursive;
  font-size: 1.35rem;
  color: #059669;
}

.summary-footnote {
  font-size: 0.72rem;
  color: #9a3412;
  margin: 4px 0 8px;
}

.summary-action-buttons {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
}

.summary-action-buttons.single-btn {
  grid-template-columns: 1fr;
}

.summary-alias-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.summary-alias-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #166534;
  font-weight: 600;
}

.summary-alias-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
  cursor: pointer;
  transition: all 0.2s;
}

.summary-alias-action:hover {
  background: #dcfce7;
  transform: scale(1.03);
}

.alias-code {
  font-family: monospace;
  font-size: 0.95rem;
  color: #15803d;
  font-weight: 700;
}

.alias-copy-tag {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 700;
}

.btn-confirm-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 9px 14px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-confirm-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

.btn-pay-deposit {
  background: linear-gradient(135deg, var(--candy-pink) 0%, var(--candy-pink-dark) 100%);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 9px 14px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pay-deposit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(216, 27, 96, 0.35);
}

/* ==========================================================================
   PÁGINA 5: CARRUSEL DE PASTELES (FONDO BG 5 - 3 FOTOS SIMULTÁNEAS)
   ========================================================================== */

.gallery-carousel-transparent-stage,
.carousel-container-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 1080px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.gallery-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.gallery-title-pill {
  display: inline-flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border: 2px solid var(--candy-pink-light);
}

.gallery-main-heading {
  font-family: 'Lilita One', cursive;
  font-size: 1.4rem;
  color: var(--candy-pink-dark);
  line-height: 1.2;
}

.gallery-subtitle-badge {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #64748b;
}

.gallery-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #cbd5e1;
  color: #475569;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: var(--candy-pink);
  color: white;
  border-color: var(--candy-pink);
  box-shadow: 0 4px 12px rgba(255, 77, 128, 0.3);
}

.gallery-carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-slider-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  transition: opacity 0.3s ease;
}

.gallery-cake-card,
.carousel-cake-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--candy-pink-light);
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-cake-card:hover,
.carousel-cake-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(255, 77, 128, 0.22);
}

.gallery-cake-card img,
.carousel-cake-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.14));
  margin-bottom: 10px;
}

.gallery-cake-card img {
  cursor: zoom-in;
}

.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.92);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close:focus-visible,
.gallery-cake-card img:focus-visible {
  outline: 3px solid var(--candy-yellow);
  outline-offset: 4px;
}

.gallery-lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}

.gallery-lightbox-figure img {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 82vh;
  object-fit: contain;
}

.gallery-lightbox-figure figcaption {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.gallery-card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #1e293b;
  margin-top: 4px;
}

.gallery-card-cat-badge {
  display: inline-block;
  background: var(--candy-blue-light);
  color: #0284c7;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ==========================================================================
   PÁGINA 6: CARRUSEL DE RESEÑAS GOOGLE MAPS (3 COMENTARIOS, AUTO-SLIDE 5s)
   ========================================================================== */

.reviews-carousel-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 1080px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.reviews-google-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.reviews-google-left {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border: 2px solid var(--candy-blue-light);
}

.google-logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1e293b;
}

.google-rating-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #475569;
}

.score-stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

.score-val {
  font-family: 'Lilita One', cursive;
  font-size: 1.15rem;
  color: #1e293b;
}

.score-verified {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.score-timer-info {
  font-size: 0.76rem;
  color: #94a3b8;
}

.btn-open-review-form {
  background: #4285f4;
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-open-review-form:hover {
  background: #3367d6;
  transform: translateY(-2px);
}

/* Barra de progreso de 5 segundos */
.reviews-timer-track {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.reviews-timer-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
  transition: width 0.1s linear;
}

/* Viewport con 3 tarjetas */
.reviews-carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #334155;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.2s;
  flex-shrink: 0;
}

.reviews-nav-arrow:hover {
  background: var(--candy-blue);
  color: white;
  border-color: var(--candy-blue);
}

.reviews-slider-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 200px;
}

.google-review-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  animation: review-fade 0.4s ease forwards;
}

@keyframes review-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rev-user-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rev-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--candy-pink-light), var(--candy-blue-light));
  color: var(--candy-pink-dark);
  font-family: 'Lilita One', cursive;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.rev-user-info {
  flex: 1;
}

.rev-user-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
}

.rev-post-date {
  font-size: 0.74rem;
  color: #94a3b8;
}

.rev-stars-row {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.rev-quote-text {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
  font-style: italic;
}

.rev-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  margin-top: 8px;
}

.reviews-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s;
}

.reviews-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: var(--candy-blue);
}

/* ==========================================================================
   PÁGINA 7: PROMOCIONES ELEVADAS (FONDO BG 7 CON PICNIC LIBRE ABAJO)
   ========================================================================== */

.promos-container-elevated {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1060px;
  z-index: 10;
}

.promos-header-badge {
  text-align: center;
  margin-bottom: 14px;
}

.promos-tag-top {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--candy-yellow);
  color: #92400e;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 16px;
  border-radius: 9999px;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.promos-main-heading {
  font-family: 'Lilita One', cursive;
  font-size: 2.2rem;
  color: #b45309;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(254, 243, 199, 0.8);
}

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

.promo-bubble-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 3px solid var(--candy-yellow);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.promo-bubble-card:hover {
  transform: translateY(-4px);
}

.promo-card-image {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
  margin-bottom: 14px;
}

.promo-card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1f2937;
  margin: 6px 0;
}

.promo-card-description {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 14px;
}

.promo-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1.5px dashed #fde68a;
  padding-top: 10px;
}

.promo-card-price {
  font-family: 'Lilita One', cursive;
  font-size: 1.4rem;
  color: var(--candy-pink-dark);
}

.promo-card-order {
  background: var(--candy-pink);
  color: white;
  border: none;
  text-decoration: none;
  padding: 6px 14px;
}

/* ==========================================================================
   PANEL DE ADMINISTRACIÓN Y SUPABASE
   ========================================================================== */

.admin-full-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-panel-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 4px solid var(--candy-pink);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}

.firebase-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 9999px;
}

.firebase-status-pill.local {
  background: #fef3c7;
  color: #92400e;
  border: 1.5px solid #fcd34d;
}

.firebase-status-pill.connected {
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #86efac;
}

.admin-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  background: #f1f5f9;
  border: none;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab-btn.active {
  background: var(--candy-pink);
  color: white;
}

/* Estilos para Presentación de Box Degustación */
.box-presentation-card {
  position: absolute;
  bottom: 25px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 3px solid var(--candy-yellow-light);
  border-radius: var(--radius-xl);
  padding: 16px 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

.box-presentation-img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
  margin-bottom: 10px;
}

.box-presentation-desc {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-order-box-action {
  background: var(--candy-yellow);
  color: #78350f;
  border: none;
  font-family: 'Lilita One', cursive;
  font-size: 1.15rem;
  padding: 12px 28px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.4);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-order-box-action:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.6);
}

/* Aviso de 72 horas para pedidos */
.delivery-notice-72h {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 10px;
  color: #92400e;
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}


/* ==========================================================================
   RESPONSIVIDAD MÓVIL (PANTALLAS VERTICALES / CELULARES <= 768px)
   Todos los niños quedan libres abajo; todas las interacciones van ARRIBA.
   ========================================================================== */

@media (max-width: 768px), (orientation: portrait) {
  #scene-sub-fillings {
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-image: none !important;
    background-color: #fff8fb;
  }

  #scene-sub-fillings .filling-panel {
    top: 68px;
    right: 6px;
    bottom: 8px;
    left: 6px;
    width: auto;
    max-height: none;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }

  #scene-sub-fillings .filling-categories {
    flex: 0 0 auto;
    overflow: visible;
  }

  #scene-sub-fillings .filling-options-list {
    grid-template-columns: 1fr;
  }

  #scene-sub-fillings .filling-option {
    min-height: 44px;
    padding: 10px;
    font-size: 0.95rem;
  }

  .game-stage-container {
    padding-top: 65px;
    padding-bottom: 10px;
  }

  .scene-frame {
    height: calc(100vh - 78px);
    min-height: 560px;
    border-radius: var(--radius-lg);
    border-width: 3px;
    background-position: center bottom !important;
    background-size: cover !important;
  }

  /* BARRA SUPERIOR EN MÓVIL: SOLO BARRIGUITAS Y MENÚ DESPLEGABLE */
  .navbar-sweet {
    position: fixed;
    top: 10px;
    left: 4%;
    right: 4%;
    transform: none;
    width: 92%;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 9999px;
    z-index: 1000;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-logo span {
    font-size: 1.5rem;
  }

  .nav-links {
    display: none !important;
  }

  /* Ocultar redes y botón de pedido en la barra superior móvil (ahora van dentro del menú desplegable) */
  .nav-social-btn {
    display: none !important;
  }

  .nav-cta-btn {
    display: none !important;
  }

  /* Mostrar exclusivamente el botón de menú hamburguesa */
  .nav-hamburger-btn {
    display: flex !important;
  }

  /* PÁGINA 1: TARJETA ARRIBA CON SCROLL SUAVE Y AMPLIO */
  .overlay-hero-glass {
    position: absolute;
    top: 50px;
    left: 4%;
    right: 4%;
    transform: none;
    width: 92%;
    max-height: 58vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 22px 20px;
  }

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

  /* PÁGINA 2 / SUB-ESCENAS DE PRODUCTOS: ARRIBA EN CUADRÍCULA COMPACTA CON SCROLL SUAVE */
  .counter-table-stage {
    position: absolute;
    top: 82px;
    bottom: auto;
    left: 4%;
    right: 4%;
    width: 92%;
    max-height: 54vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px 6px;
    align-items: flex-start;
  }

  .item-card-png {
    width: 100%;
  }

  .item-png-img {
    height: 75px;
    max-width: 85px;
  }

  .item-btn-pill {
    padding: 5px 8px;
    margin-top: 4px;
  }

  .item-pill-title {
    font-size: 0.85rem;
  }

  .item-pill-portions {
    font-size: 0.7rem;
  }

  .cake-portion-guide {
    top: 48px;
    font-size: 0.78rem;
  }

  .filling-panel {
    gap: 10px;
  }

  .filling-options-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .filling-option {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .item-pill-price {
    font-size: 0.78rem;
  }

  /* SUB-ESCENA BOX EN MÓVIL: ARRIBA PARA NO TAPAR EL PERSONAJE ABAJO */
  .box-presentation-card {
    position: absolute;
    top: 55px;
    left: 4%;
    right: 4%;
    bottom: auto;
    transform: none;
    width: 92%;
    max-width: none;
    max-height: 58vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 18px 16px;
  }

  .box-presentation-img {
    max-width: 160px;
    margin-bottom: 8px;
  }

  .box-presentation-desc {
    font-size: 0.82rem;
    margin-bottom: 12px;
    line-height: 1.35;
  }

  .btn-order-box-action {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  /* ESCENA 3 (DECORACIÓN): ARRIBA, EL NENE QUEDA LIBRE ABAJO */
  .decor-panel-right {
    position: absolute;
    top: 55px;
    left: 4%;
    right: 4%;
    bottom: auto;
    width: 92%;
    max-width: none;
    max-height: 58vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 18px 16px;
  }

  .decor-styles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .decor-card-img {
    height: 55px;
    max-width: 70px;
  }

  /* ESCENA 4 (ENTREGA): ARRIBA, EL NENE DIBUJANDO QUEDA LIBRE ABAJO */
  .delivery-panel-left {
    position: absolute;
    top: 55px;
    left: 4%;
    right: 4%;
    bottom: auto;
    width: 92%;
    max-width: none;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 18px 16px;
  }

  .delivery-choice-cards-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* ESCENA 5 & 6: TOTALMENTE TRANSPARENTES */
  .carousel-container-box, .gallery-carousel-transparent-stage, .reviews-carousel-box {
    position: absolute;
    top: 55px;
    left: 4%;
    right: 4%;
    transform: none;
    width: 92%;
    max-width: none;
    max-height: 58vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 6px 2px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .gallery-slider-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-cake-card img {
    height: 140px;
  }

  .promos-container-elevated {
    position: absolute;
    top: 55px;
    left: 4%;
    right: 4%;
    transform: none;
    width: 92%;
    max-width: none;
    max-height: 58vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 18px 14px;
  }

  /* Barras de desplazamiento sutiles y estéticas en móvil */
  .overlay-hero-glass::-webkit-scrollbar,
  .counter-table-stage::-webkit-scrollbar,
  .box-presentation-card::-webkit-scrollbar,
  .decor-panel-right::-webkit-scrollbar,
  .delivery-panel-left::-webkit-scrollbar,
  .promos-container-elevated::-webkit-scrollbar {
    width: 4px;
  }

  .overlay-hero-glass::-webkit-scrollbar-thumb,
  .counter-table-stage::-webkit-scrollbar-thumb,
  .box-presentation-card::-webkit-scrollbar-thumb,
  .decor-panel-right::-webkit-scrollbar-thumb,
  .delivery-panel-left::-webkit-scrollbar-thumb,
  .promos-container-elevated::-webkit-scrollbar-thumb {
    background: rgba(216, 27, 96, 0.4);
    border-radius: 9999px;
  }

  .reviews-slider-track {
    grid-template-columns: 1fr;
  }

  .promos-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .promos-main-heading {
    font-size: 1.6rem;
  }

  /* ENCABEZADO Y BOTÓN VOLVER: NUNCA SE SUPERPONEN */
  .btn-scene-back {
    position: absolute;
    top: 10px;
    left: 8px;
    padding: 5px 12px;
    font-size: 0.8rem;
    z-index: 30;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  }

  .scene-header-banner {
    position: absolute;
    top: 10px;
    left: auto;
    right: 8px;
    transform: none;
    font-size: 0.82rem;
    padding: 5px 12px;
    max-width: calc(100% - 110px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
  }

  /* POSICIONAMIENTO DEL BOTÓN FLOTANTE DE WHATSAPP EN MÓVIL */
  .whatsapp-floating-btn {
    bottom: 20px !important;
  }

  .game-stage-container {
    display: block;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 68px 0 0;
  }

  .scene-frame,
  #scene-sub-fillings {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-position: center top !important;
    background-size: cover !important;
  }

  .scene-frame.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 14px 14px 100px;
  }

  .scene-header-banner {
    position: relative;
    inset: auto;
    transform: none;
    align-self: flex-end;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-align: right;
  }

  .btn-scene-back {
    position: relative;
    inset: auto;
    align-self: flex-start;
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .overlay-hero-glass,
  .counter-table-stage,
  .decor-panel-right,
  .delivery-panel-left,
  .box-presentation-card,
  .gallery-carousel-transparent-stage,
  .reviews-carousel-box,
  .promos-container-elevated {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .overlay-hero-glass {
    align-self: stretch;
  }

  #scene-01 .overlay-hero-glass {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 2px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .counter-table-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .cake-portion-guide {
    position: relative;
    inset: auto;
  }

  .decor-panel-right,
  .delivery-panel-left,
  .box-presentation-card,
  .gallery-carousel-transparent-stage,
  .reviews-carousel-box,
  .promos-container-elevated {
    padding: 0 !important;
  }

  .decor-panel-right,
  .delivery-panel-left {
    justify-content: flex-start;
  }

  #scene-sub-fillings {
    background-image: none !important;
    background-color: #fff8fb;
  }

  #scene-sub-fillings .filling-panel {
    position: relative;
    inset: auto;
    width: 100%;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #scene-sub-fillings .filling-categories {
    overflow: visible;
  }

  .gallery-carousel-transparent-stage,
  .reviews-carousel-box,
  .promos-container-elevated {
    align-self: stretch;
  }

  .gallery-carousel-stage {
    gap: 6px;
  }

  .gallery-slider-grid {
    min-width: 0;
  }

  .gallery-cake-card {
    padding: 12px;
  }

  .gallery-cake-card img {
    height: min(42vh, 320px);
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-lightbox-figure img {
    max-width: 96vw;
    max-height: 80vh;
  }

  .gallery-lightbox-close {
    top: 8px;
    right: 8px;
  }
}
