/* ==========================================================================
   PAPÁ GOLFEADO — SISTEMA DE DISEÑO & HOJA DE ESTILOS DE ALTO IMPACTO
   Paleta cromática 60-30-10:
   - 60% Dominante: Crema Harina / Blanco Cálido (#FBF8F3, #FFFFFF)
   - 30% Secundario: Rojo Golfeado Tradicional (#D32F2F, #B71C1C)
   - 10% Acento: Melao de Papelón & Miel Ámbar (#4A2311, #E67E22, #F39C12)
   ========================================================================== */

:root {
  /* Colors */
  --bg-crema: #FBF8F3;
  --bg-crema-soft: #F5EFEB;
  --bg-white: #FFFFFF;
  --bg-dark: #22120A;
  
  --brand-red: #D32F2F;
  --brand-red-dark: #B71C1C;
  --brand-red-light: #FFEBEE;
  
  --brand-melao: #4A2311;
  --brand-melao-deep: #2F1407;
  --brand-amber: #E67E22;
  --brand-gold: #F39C12;
  --brand-gold-light: #FEF5E7;
  
  --text-main: #2C1810;
  --text-muted: #6E5347;
  --text-light: #FAF5F0;
  
  --border-subtle: rgba(74, 35, 17, 0.1);
  --shadow-sm: 0 4px 12px rgba(74, 35, 17, 0.06);
  --shadow-md: 0 10px 30px rgba(74, 35, 17, 0.1);
  --shadow-lg: 0 20px 45px rgba(74, 35, 17, 0.15);
  
  /* Fonts */
  --font-script: 'Pacifico', cursive;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --tr-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-crema);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  /* Scroll-driven background color system */
  transition: background-color 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-w-md {
  max-width: 800px;
}

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

/* ==========================================================================
   MICRO-ANIMACIONES ON SCROLL (REVEAL & FLOAT SYSTEM)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Floating Elements Animation */
@keyframes floatingOrganic {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}

@keyframes floatingHorizontal {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(18px) rotate(-4deg);
  }
}

.floating-icon {
  display: inline-block;
  animation: floatingOrganic 5s infinite ease-in-out;
}

/* ==========================================================================
   0. PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background-color: var(--brand-melao);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  color: var(--text-light);
}

.preloader-logo {
  width: 140px;
  margin: 0 auto 1.5rem;
  animation: pulseLogo 2s infinite ease-in-out;
}

.steaming-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1rem;
}

.steam-wave {
  width: 6px;
  height: 24px;
  background: var(--brand-amber);
  border-radius: 4px;
  animation: steamRise 1.2s infinite ease-in-out;
}

.steam-wave.s2 { animation-delay: 0.2s; }
.steam-wave.s3 { animation-delay: 0.4s; }

.preloader-text {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: #FFE699;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes steamRise {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

/* ==========================================================================
   1. SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: linear-gradient(to bottom, rgba(20, 8, 4, 0.65) 0%, rgba(20, 8, 4, 0) 100%);
  transition: background var(--tr-fast), padding var(--tr-fast), box-shadow var(--tr-fast);
}

.site-header:not(.scrolled) .nav-links a {
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.site-header:not(.scrolled) .nav-links a:hover {
  color: #FFE699;
}

.site-header:not(.scrolled) .mobile-menu-toggle .bar {
  background-color: #FFFFFF;
}

.site-header.scrolled {
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ─ Logo Aislado: Dimensionamiento libre sin alterar la altura del topbar ─ */
.brand-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 180px;
  height: 52px;
  flex-shrink: 0;
  z-index: 1005;
}

.brand-logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 98px; /* Incremento notable respecto a los 52px originales */
  width: auto;
  max-width: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s ease, filter 0.3s ease;
  pointer-events: auto;
  transform-origin: left center;
}

.brand-logo-link:hover .brand-logo {
  transform: translateY(-50%) scale(1.06);
  filter: drop-shadow(0 6px 20px rgba(211, 47, 47, 0.45));
}

.site-header.scrolled .brand-logo-link {
  width: 155px;
  height: 48px;
}

.site-header.scrolled .brand-logo {
  height: 82px;
  filter: drop-shadow(0 3px 10px rgba(74, 35, 17, 0.22));
}

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav .nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
}

.main-nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-red);
  transition: width var(--tr-fast);
}

.main-nav .nav-links a:hover::after {
  width: 100%;
}

.main-nav .nav-links a.nav-b2b-link {
  color: var(--brand-red);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--brand-melao);
  margin: 5px 0;
  transition: var(--tr-fast);
  border-radius: 2px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast), background-color var(--tr-fast);
}

.btn-primary {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-red-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
}

.btn-outline:hover {
  background-color: var(--brand-red);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.sticker-badge {
  display: inline-block;
  font-family: var(--font-script);
  color: var(--brand-red);
  background-color: var(--brand-red-light);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  transform: rotate(-2deg);
  transition: transform var(--tr-smooth);
}

.sticker-badge:hover {
  transform: rotate(2deg) scale(1.05);
}

.sticker-badge-light {
  display: inline-block;
  font-family: var(--font-script);
  color: var(--brand-amber);
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   2. HERO CINEMATOGRÁFICO — VIDEO HD NATIVO 60 FPS
   ========================================================================== */
.hero-canvas-section {
  position: relative;
  width: 100%;
  background-color: #482a1a;
  overflow: hidden;
}

.hero-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #482a1a;
}

#hero-canvas,
.hero-video-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* Viñeta cinematográfica para máximo contraste del texto y transición invisible */
.hero-canvas-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(circle at center, rgba(0,0,0,0) 35%, rgba(20,9,5,0.45) 80%, rgba(15,6,3,0.72) 100%),
    linear-gradient(to bottom, rgba(30,12,6,0.65) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 70%, rgba(72,42,26,0.98) 100%);
}

/* Contenedor superpuesto (Fase 2: Fade-in suave en fotograma 50) */
.hero-canvas-overlay {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0; /* Controlado por GSAP en Fase 2 */
  transform: translateY(28px);
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Badge flotante artesanal */
.hero-badge-artesanal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.42rem 1.3rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.86rem;
  color: #FFE699;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge-artesanal .badge-spark {
  color: #FFD580;
  font-size: 1rem;
}

/* Títulos del Hero */
.hero-canvas-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 25px rgba(0,0,0,0.65);
}

.hero-title-script {
  font-family: var(--font-script);
  color: #FFE699;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.1;
  transform: rotate(-1.5deg);
  display: block;
}

.hero-title-bold {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 4.8rem);
  color: #FFFFFF;
  letter-spacing: -0.025em;
  line-height: 1.06;
  display: block;
}

/* Subtítulo sensorial con Glassmorphism para máxima legibilidad */
.hero-canvas-desc {
  max-width: 660px;
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 auto 2rem;
  padding: 0.9rem 1.6rem;
  background: rgba(18, 10, 4, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Botones de acción */
.hero-canvas-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F39C12 0%, #D35400 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 28px rgba(211, 84, 0, 0.45), inset 0 1px 1px rgba(255,255,255,0.4);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.btn-hero-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 36px rgba(211, 84, 0, 0.6);
  color: #FFFFFF;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  transition: var(--tr-fast);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Indicador dinámico de scroll */
.hero-scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.scroll-mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: #FFE699;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-prompt-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFE699;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .hero-canvas-wrap {
    height: 100svh !important;
    min-height: 100svh !important;
  }
  .hero-canvas-overlay {
    padding: 0 1.25rem;
  }
  .hero-canvas-title {
    margin-bottom: 0.65rem;
  }
  .hero-title-script {
    font-size: clamp(1.9rem, 7.5vw, 2.4rem);
  }
  .hero-title-bold {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }
  .hero-canvas-desc {
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0 auto 1.3rem;
    max-width: 320px;
    padding: 0.65rem 1rem;
    border-radius: 12px;
  }
  .hero-canvas-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
  }
  .btn-hero-gold,
  .btn-hero-ghost {
    width: 100%;
    max-width: 290px;
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
    justify-content: center;
  }
  .hero-scroll-prompt {
    display: none; /* En móvil deja todo el espacio para los botones de acción sin cortes */
  }
}

/* ==========================================================================
   3. INFINITE ASSET MARQUEE & FLORAL/BADGE STRIP
   ========================================================================== */
.marquee-strip {
  background-color: #482a1a; /* Coincide exactamente con el fotograma 240 para transición invisible */
  color: #FFFFFF;
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.15);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.marquee-item .m-sep {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0;
}

/* Shape dot for floating badge strip */
.shape-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-red);
  flex-shrink: 0;
}

/* Author initials avatar (replaces emoji) */
.author-initials {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-amber)) !important;
  color: #FFFFFF !important;
}

/* Star row using CSS text (no emoji) */
.stars-row {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.star-svg {
  color: #E67E22;
  font-size: 1.1rem;
  line-height: 1;
}

/* Footer contact dot */
.fc-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-amber);
  margin-right: 6px;
  vertical-align: middle;
}

/* Spark icon in badge-tag */
.spark-icon svg {
  display: inline-block;
  vertical-align: middle;
  color: var(--brand-amber);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Secondary Floating Elements Slider (Like MiCha Shapes) */
.floating-shapes-strip {
  background-color: var(--bg-crema);
  padding: 2.2rem 0;
  overflow: hidden;
  border-bottom: 1px dashed var(--border-subtle);
}

.shapes-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  width: max-content;
  animation: shapesSlide 35s linear infinite;
}

.shape-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFFFFF;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-melao);
  transition: transform var(--tr-smooth), background-color var(--tr-fast);
}

.shape-badge:hover {
  transform: translateY(-4px) rotate(-2deg);
  background-color: var(--brand-gold-light);
}

@keyframes shapesSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   4. SECTIONS & STORYTELLING — BASE RULES + ORGANIC STACKING CARDS (ESTILO MICHA)
   ========================================================================== */

/* Global section spacing — used by ALL sections */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-melao);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Overrides for the stacking section — keeps its own vertical padding */
.tradition-stack-section {
  padding: 6rem 0 8rem;
  position: relative;
  background-color: var(--bg-crema);
  overflow: hidden;
}

/* Ambient Floating Bubbles */
.stack-ambient-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.4) 0%, rgba(211, 47, 47, 0.15) 100%);
  filter: blur(1px);
  animation: floatBubbleUpDown 6s infinite ease-in-out;
}

.ambient-bubble.ab-1 { width: 45px; height: 45px; top: 15%; left: 4%; animation-delay: 0s; }
.ambient-bubble.ab-2 { width: 30px; height: 30px; top: 45%; right: 6%; animation-delay: 1.5s; }
.ambient-bubble.ab-3 { width: 60px; height: 60px; bottom: 25%; left: 8%; animation-delay: 3s; }
.ambient-bubble.ab-4 { width: 25px; height: 25px; bottom: 10%; right: 10%; animation-delay: 2s; }

@keyframes floatBubbleUpDown {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.12); }
}

/* Stacking Cards Wrapper */
.stack-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 1050px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stack-card-container {
  position: sticky;
  top: 110px; /* Sticky effect on scroll */
  transition: transform var(--tr-smooth);
}

.stack-card-container.card-stick-1 { top: 100px; z-index: 1; }
.stack-card-container.card-stick-2 { top: 125px; z-index: 2; }
.stack-card-container.card-stick-3 { top: 150px; z-index: 3; }

/* Organic Fluid Containers (Blob / Wavy Borders) */
.stack-card {
  border-radius: 42px 24px 46px 28px;
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(74, 35, 17, 0.18), 0 10px 25px rgba(0,0,0,0.06);
  position: relative;
  overflow: visible;
  border: 4px solid rgba(255, 255, 255, 0.6);
  transition: transform var(--tr-smooth), box-shadow var(--tr-smooth);
}

.stack-card:hover {
  box-shadow: 0 32px 75px rgba(74, 35, 17, 0.25);
}

/* Individual Color Palettes */
.bg-amber-organic {
  background: linear-gradient(135deg, #FFF9EB 0%, #FFE8B8 100%);
  color: var(--brand-melao);
}

.bg-red-organic {
  background: linear-gradient(135deg, #D32F2F 0%, #A81B1B 100%);
  color: #FFFFFF;
}

.bg-melao-organic {
  background: linear-gradient(135deg, #3A1A0C 0%, #200D05 100%);
  color: #FFFFFF;
}

/* Card Floating Badges & 360deg Rotating Flowers */
.card-floating-badge {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--brand-melao);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-subtle);
}

.card-floating-badge.badge-top-right {
  top: -16px;
  right: 2.5rem;
}

.rot-flower .flower-icon {
  display: inline-block;
  font-size: 1.3rem;
  animation: rotateFlower 12s linear infinite;
  transform-origin: center;
}

.rot-flower.reverse .flower-icon {
  animation: rotateFlowerReverse 10s linear infinite;
}

@keyframes rotateFlower {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateFlowerReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Stack Card Inner Layout */
.stack-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

/* Sticker Typography Titles */
.sticker-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.sticker-tag.sticker-yellow {
  background-color: var(--brand-red);
  color: #FFFFFF;
}

.sticker-tag.sticker-cream {
  background-color: #FFE699;
  color: var(--brand-melao);
}

.sticker-tag.sticker-gold {
  background-color: var(--brand-amber);
  color: #FFFFFF;
}

.stack-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.stack-title .sticker-word {
  display: inline-block;
}

.stack-title .sticker-word.highlight {
  font-family: var(--font-script);
  color: var(--brand-red);
  font-size: 2.7rem;
  transform: rotate(-1.5deg);
}

.stack-title .sticker-word.highlight-cream {
  font-family: var(--font-script);
  color: #FFE699;
  font-size: 2.7rem;
  transform: rotate(-1.5deg);
}

.stack-title .sticker-word.highlight-gold {
  font-family: var(--font-script);
  color: #F39C12;
  font-size: 2.7rem;
  transform: rotate(-1.5deg);
}

.stack-text {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
  opacity: 0.92;
}

.stack-content.text-light-mode .stack-text {
  color: rgba(255, 255, 255, 0.9);
}

.stack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(74, 35, 17, 0.08);
  color: var(--brand-melao);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
}

.meta-badge.light {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.meta-badge.gold {
  background-color: rgba(243, 156, 18, 0.25);
  color: #FFE699;
}

/* Organic Media Wrapper with Asymmetrical Corners */
.media-organic-wrapper {
  position: relative;
  border-radius: 38px 16px 42px 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border: 6px solid rgba(255, 255, 255, 0.4);
  transform: rotate(1.5deg);
  transition: transform var(--tr-smooth);
}

.stack-card:hover .media-organic-wrapper {
  transform: rotate(-1deg) scale(1.03);
}

.stack-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ==========================================================================
   5. MENÚ & VARIANTES INTERACTIVAS
   ========================================================================== */
.menu-section {
  background-color: transparent;
}

.menu-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.6rem;
  background-color: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-melao);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--tr-smooth);
}

.tab-btn:hover {
  background-color: var(--brand-gold-light);
  transform: translateY(-3px);
}

.tab-btn.active {
  background-color: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
  transform: translateY(-2px);
}

/* ── TABS COMPACTOS EN MÓVIL ── */
@media (max-width: 640px) {
  .menu-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 2rem;
  }

  .tab-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    gap: 5px;
    justify-content: center;
    border-radius: 40px;
  }
}

.menu-panel {
  display: none;
  animation: slideFadeIn 0.5s var(--tr-smooth);
}

.menu-panel.active {
  display: block;
}

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

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.menu-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-smooth), box-shadow var(--tr-smooth);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.menu-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.item-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--brand-amber);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.item-tag.popular {
  background-color: var(--brand-red);
}

.menu-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-melao);
}

.item-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-red);
}

.item-prices-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.price-solo-tag,
.price-queso-tag {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}

.price-solo-tag {
  background: #F3F4F6;
  color: #4B5563;
}

.price-solo-tag strong {
  color: #1F2937;
  font-size: 0.88rem;
}

.price-queso-tag {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.price-queso-tag strong {
  color: var(--brand-red);
  font-size: 0.96rem;
  font-weight: 900;
}

.item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

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

.item-spec {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-amber);
}

/* ==========================================================================
   6. TESTIMONIOS — CINTILLO DINÁMICO CONTINUO (MARQUEE RIBBON)
   ========================================================================== */
.testimonials-section {
  background-color: transparent;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.testimonials-cintillo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 0.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.cintillo-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: cintilloMarquee 34s linear infinite;
  will-change: transform;
}

@keyframes cintilloMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.cintillo-pill {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  width: 310px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(74, 35, 17, 0.07);
  border: 1px solid rgba(224, 75, 43, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cintillo-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(74, 35, 17, 0.12);
}

.pill-stars {
  color: #F39C12;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.35rem;
}

.pill-quote {
  font-size: 0.88rem;
  color: var(--brand-melao);
  line-height: 1.45;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.pill-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pill-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-amber));
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-info strong {
  display: block;
  font-size: 0.84rem;
  color: var(--brand-melao);
  line-height: 1.2;
}

.pill-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. FAQ ACORDEÓN
   ========================================================================== */
.faq-section {
  background-color: transparent;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--tr-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-melao);
  cursor: pointer;
  text-align: left;
}

.faq-arrow {
  font-size: 0.85rem;
  color: var(--brand-red);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  background-color: transparent;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   8. LIFESTYLE BANNER & TILT
   ========================================================================== */
.lifestyle-card {
  background-color: var(--brand-melao);
  color: #FFFFFF;
  border-radius: 28px;
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lifestyle-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.lifestyle-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.lifestyle-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
}

.feat-icon svg {
  opacity: 0.85;
}

.lifestyle-media {
  position: relative;
  perspective: 1000px;
}

.tilt-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  transition: transform 0.2s ease-out;
}

/* ==========================================================================
   9. B2B & EVENTOS FORM
   ========================================================================== */
.b2b-section {
  background-color: transparent;
}

.b2b-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.b2b-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--brand-melao);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.b2b-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.b2b-direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.4rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-melao);
  width: fit-content;
  box-shadow: var(--shadow-sm);
  transition: var(--tr-smooth);
}

.contact-pill:hover {
  background-color: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  transform: translateX(6px);
}

.b2b-form-card {
  background-color: #FFFFFF;
  padding: 2.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-melao);
  margin-bottom: 1.5rem;
}

.custom-form .form-group {
  margin-bottom: 1.2rem;
}

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

.custom-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-crema);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--tr-fast);
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

/* ==========================================================================
   10. MEGA FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 2rem;
}

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

.footer-logo {
  height: 60px;
  margin-bottom: 1.2rem;
}

.footer-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.footer-socials a {
  font-size: 1.3rem;
  transition: transform var(--tr-fast);
}

.footer-socials a:hover {
  transform: translateY(-3px) scale(1.15);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.footer-links li,
.footer-hours li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFE699;
}

.fresh-batch-note {
  color: #FFE699;
  font-weight: 600;
  margin-top: 0.8rem;
}

.footer-contact-item {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-signature {
  font-family: var(--font-script);
  color: #FFE699;
  font-size: 1.05rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE ADAPTATIONS)
   ========================================================================== */
@media (max-width: 992px) {
  .story-cards-grid,
  .testimonials-carousel,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .b2b-wrapper,
  .lifestyle-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .title-bold {
    font-size: 2.4rem;
  }
  
  .title-script {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .brand-logo-link {
    width: 145px;
    height: 46px;
  }

  .brand-logo {
    height: 76px;
  }

  .site-header.scrolled .brand-logo {
    height: 66px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--tr-smooth);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav .nav-links {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .btn-header {
    display: none;
  }

  .custom-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  /* ── 1. DECK STACKING RESPONSIVE (BARAJA ESCALONADA PERFECTA) ── */
  .deck-track {
    min-height: 130vh !important;
  }

  .deck-track:last-child {
    min-height: 85vh !important;
  }

  /* Alturas escalonadas para apilamiento natural de baraja */
  .deck-track:nth-child(1) .deck-sticky {
    top: 68px !important;
    z-index: 10;
  }
  .deck-track:nth-child(2) .deck-sticky {
    top: 82px !important;
    z-index: 20;
  }
  .deck-track:nth-child(3) .deck-sticky {
    top: 96px !important;
    z-index: 30;
  }

  .deck-sticky {
    padding: 0 0.85rem !important;
  }

  .deck-card {
    padding: 1.15rem 1.1rem !important;
    border-radius: 26px !important;
    border-width: 3.5px !important;
    max-width: 100% !important;
    box-shadow: 0 16px 40px rgba(74, 35, 17, 0.25) !important;
  }

  .deck-card__inner,
  .deck-card__inner--reverse {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .deck-sticker-tag {
    font-size: 0.68rem !important;
    padding: 0.2rem 0.55rem !important;
    margin-bottom: 0.3rem !important;
  }

  .deck-title { 
    font-size: clamp(1.15rem, 4.2vw, 1.4rem) !important; 
    line-height: 1.15 !important;
    margin-bottom: 0.3rem !important;
  }

  .deck-cursive {
    font-size: clamp(1.3rem, 4.8vw, 1.6rem) !important;
  }

  .deck-text {
    max-width: 100%;
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.5rem !important;
  }

  .deck-pills {
    gap: 0.35rem !important;
  }

  .deck-pill {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.68rem !important;
  }

  .deck-blob-frame {
    height: 185px !important;
    max-width: 280px !important;
    border-radius: 16px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .deck-badge--tl {
    left: 1rem !important;
    top: -10px !important;
    font-size: 0.68rem !important;
    padding: 0.2rem 0.55rem !important;
  }

  .deck-badge--br,
  .deck-corner-icon {
    display: none !important;
  }

  /* ── 2. MENÚ CARDS MÓVIL (PROPORCIÓN ARMONIOSA, CERO ESTIRAMIENTO) ── */
  .menu-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.15rem !important;
  }

  .menu-card {
    border-radius: 20px !important;
  }

  .menu-card-img-wrap {
    height: 155px !important;
  }

  .menu-card-body {
    padding: 1rem 1.1rem !important;
  }

  .item-title {
    font-size: 1.05rem !important;
  }

  .item-price {
    font-size: 1.15rem !important;
  }

  .item-desc {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.75rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .item-footer {
    padding-top: 0.45rem !important;
  }

  .item-spec {
    font-size: 0.72rem !important;
  }

  .item-actions .btn-open-modal {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
    height: 38px;
  }

  .item-actions .btn-quick-add {
    width: 38px !important;
    height: 38px !important;
  }

  /* ── 3. B2B / ALIANZAS COMPACTO (CERO SCROLL EXCESIVO) ── */
  .b2b-section {
    padding: 3rem 0 !important;
  }

  .b2b-wrapper {
    gap: 1.4rem !important;
    padding: 1.25rem 0.85rem !important;
  }

  .b2b-info .b2b-title {
    font-size: 1.55rem !important;
    margin-bottom: 0.45rem !important;
  }

  .b2b-info .b2b-desc {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.85rem !important;
  }

  .b2b-direct-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .contact-pill {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.78rem !important;
  }

  .b2b-form-card {
    padding: 1.2rem 1rem !important;
    border-radius: 20px !important;
  }

  .b2b-form-card .form-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.85rem !important;
  }

  .b2b-form-compact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
  }

  .b2b-form-compact .form-group {
    margin-bottom: 0.6rem !important;
  }

  .b2b-form-compact label {
    font-size: 0.72rem !important;
    margin-bottom: 0.2rem !important;
  }

  .b2b-form-compact input,
  .b2b-form-compact select,
  .b2b-form-compact textarea {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }

  .b2b-form-compact textarea {
    height: 48px !important;
    min-height: 48px !important;
  }

  .btn-b2b-submit {
    padding: 0.7rem 1rem !important;
    font-size: 0.86rem !important;
    margin-top: 0.3rem;
  }

  /* ── 4. FOOTER COMPACTO (VISTA ÚNICA EN MÓVILES) ── */
  .site-footer {
    padding: 2.2rem 0 1.2rem !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.2rem 0.8rem !important;
    margin-bottom: 1.2rem !important;
  }

  .footer-col.brand-col {
    grid-column: 1 / -1 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.25rem;
  }

  .footer-logo {
    height: 44px !important;
    margin-bottom: 0.35rem !important;
  }

  .footer-bio {
    font-size: 0.78rem !important;
    max-width: 320px;
    margin: 0 auto 0.6rem !important;
    line-height: 1.35 !important;
    opacity: 0.82;
  }

  .footer-socials {
    justify-content: center;
    gap: 0.8rem;
  }

  .footer-socials a {
    width: 32px !important;
    height: 32px !important;
  }

  .footer-heading {
    font-size: 0.86rem !important;
    margin-bottom: 0.45rem !important;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-links li,
  .footer-hours li {
    margin-bottom: 0.3rem !important;
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }

  .fresh-batch-note {
    font-size: 0.7rem !important;
    color: #F1C40F !important;
  }

  .footer-bottom {
    padding-top: 0.8rem !important;
    font-size: 0.68rem !important;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }
}

@media (max-width: 1080px) and (min-width: 769px) {
  .deck-card {
    padding: 3rem 2.8rem !important;
  }

  .deck-card__inner,
  .deck-card__inner--reverse {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.8rem;
  }

  .deck-blob-frame {
    height: 260px;
  }

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

  .deck-cursive {
    font-size: 2.1rem;
  }

  .deck-text {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

/* ==========================================================================
   DECK — NUESTRA ESENCIA STACKING CARDS (STICKY BARAJA SYSTEM)
   ========================================================================== */

/* Outer section wrapper */
.essence-section {
  background-color: transparent;
  position: relative;
  /* NO overflow:hidden — it breaks position:sticky on children */
}

/* Fixed header above the scroll deck */
.essence-header-wrap {
  padding: 5.5rem 0 3rem;
  text-align: center;
}

/* The scroll scene — gives the sticky context */
.deck-scene {
  position: relative;
  /* Bottom padding ensures last card fully clears before next section */
  padding-bottom: 4rem;
}

/*
  Each .deck-track is the SCROLL CONTAINER for one sticky card.
  Its height determines how long the card stays pinned:
  110vh = card (~60vh tall) + ~50vh of "held" travel time
  giving a clear stacking overlap before the next card arrives.
*/
.deck-track {
  position: relative;
  min-height: 110vh;
}

/* Last track doesn't need extra scroll space — card just sits there */
.deck-track:last-child {
  min-height: 80vh;
}

/* The sticky wrapper — pins the card while scrolling through its track */
.deck-sticky {
  position: sticky;
  top: 90px;
  padding: 0 1.5rem;
}

/* Progressive z-index: each new card slides ON TOP of the previous */
.deck-track:nth-child(1) .deck-sticky { z-index: 10; }
.deck-track:nth-child(2) .deck-sticky { z-index: 20; }
.deck-track:nth-child(3) .deck-sticky { z-index: 30; }

.deck-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 4.5rem;
  position: relative;
  /* overflow: visible — permite que orbs y flores asomen por detrás con profundidad */
  overflow: visible;
  box-shadow:
    0 50px 100px rgba(74, 35, 17, 0.35),
    0 20px 40px rgba(0,0,0,0.15),
    0 4px 12px rgba(0,0,0,0.08);
  transition: border-radius 0.6s ease;
  will-change: transform;
  border: 6px solid rgba(255,255,255,0.6);
  /* GPU acceleration + 3D layer context */
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Slight scale-down + 3D push when buried under a stacking card (driven by JS) */
.deck-card.is-buried {
  transform: scale(0.96) translateY(10px);
}

/* ══ CARD 1 — AMBER ══
   Silueta orgánica contenida con margen seguro para el texto */
.deck-card--amber {
  background: linear-gradient(140deg, #FFF8E1 0%, #FFE0A0 55%, #FFCA5A 100%);
  color: var(--brand-melao);
  border-radius: 48px 64px 44px 58px / 52px 48px 56px 48px;
  padding-left: 4.2rem;
  padding-right: 3.8rem;
}

/* ══ CARD 2 — RED ══
   Silueta orgánica contenida para diseño inverso */
.deck-card--red {
  background: linear-gradient(135deg, #FF4B38 0%, #D81B1B 50%, #8B0000 100%);
  color: #FFFFFF;
  border-radius: 58px 44px 64px 48px / 48px 56px 48px 52px;
  padding-left: 3.8rem;
  padding-right: 4.2rem;
}

/* ══ CARD 3 — MELAO OSCURO ══
   Silueta orgánica suave y balanceada */
.deck-card--melao {
  background: linear-gradient(145deg, #4A2314 0%, #2C1206 55%, #0D0400 100%);
  color: #FFFFFF;
  border-radius: 52px 56px 48px 60px / 56px 48px 54px 50px;
  padding-left: 4.2rem;
  padding-right: 3.8rem;
}

/* ── INNER GRID LAYOUT ── */
.deck-card__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.deck-card__inner--reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.deck-card__content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
}

.deck-card__media {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}

/* ── STICKER TAGS ── */
.deck-sticker-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.28rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  background-color: rgba(74, 35, 17, 0.12);
  color: var(--brand-melao);
}

.deck-sticker-tag--cream {
  background-color: rgba(255,255,255,0.22);
  color: #FFE699;
}

.deck-sticker-tag--gold {
  background-color: rgba(243, 156, 18, 0.28);
  color: #FFD580;
}

/* ── TITLES ── */
.deck-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.deck-title--light { color: #FFFFFF; }

.deck-cursive {
  font-style: normal;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 3.6vw, 2.65rem);
  display: block;
  color: var(--brand-red);
  transform: rotate(-1.5deg);
  transform-origin: left center;
  margin-top: 0.2rem;
}

.deck-cursive--cream { color: #FFE699; }
.deck-cursive--gold  { color: #F39C12; }

/* ── BODY TEXT ── */
.deck-text {
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  color: rgba(74, 35, 17, 0.9);
  max-width: 480px;
}

.deck-text--light { color: rgba(255,255,255,0.92); }

/* ── PILLS / META BADGES ── */
.deck-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deck-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background-color: rgba(74, 35, 17, 0.1);
  color: var(--brand-melao);
}

.deck-pill--light {
  background-color: rgba(255,255,255,0.18);
  color: #fff;
}

.deck-pill--gold {
  background-color: rgba(243,156,18,0.22);
  color: #FFD580;
}

/* ── TRADITIONAL CLEAN IMAGE FRAMES (Visualización completa del producto) ── */
.deck-blob-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  border: 4px solid rgba(255,255,255,0.75);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  max-width: 360px;
  width: 100%;
  height: 310px;
  margin: 0 auto;
  contain: paint;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-color: #f5ede2;
}

.deck-blob-frame--a,
.deck-blob-frame--b,
.deck-blob-frame--c {
  border-radius: 22px;
  height: 310px;
  transform: none;
}

.deck-card:hover .deck-blob-frame {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 48px rgba(0,0,0,0.3);
}

.deck-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.5s ease;
  will-change: transform;
  content-visibility: auto;
}

.deck-blob-frame--a .deck-img {
  object-position: center 42%;
}

.deck-blob-frame--b .deck-img {
  object-position: center 45%;
}

.deck-blob-frame--c .deck-img {
  object-position: center 72%;
}

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

/* ── FLOATING ROTATING BADGES ── */
.deck-badge {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--brand-melao);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  white-space: nowrap;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,0.85);
}

.deck-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-amber);
  display: inline-block;
  box-shadow: 0 0 8px var(--brand-amber);
}

.deck-badge--tl {
  top: -14px;
  left: 3.5rem;
}

.deck-badge--br {
  bottom: -14px;
  right: 3.5rem;
}

/* ── FLOR POLIGONAL GIRATORIA EN ESQUINAS (DETRÁS DE LA TARJETA + REACCIÓN AL SCROLL) ── */
.deck-corner-icon {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  transform: translateY(calc(var(--orb-scroll-y, 0px) * -0.6)) scale(var(--orb-scroll-scale, 1));
  transition: opacity 0.4s ease, transform 0.15s cubic-bezier(0,0,0.2,1);
  will-change: transform;
}

.deck-corner-icon--tr {
  top: -45px;
  right: -45px;
  width: 170px;
  height: 170px;
  color: #F39C12;
}

.deck-corner-icon--tl {
  top: -45px;
  left: -45px;
  width: 170px;
  height: 170px;
  color: #FFFFFF;
}

.flower-poly-icon {
  width: 100%;
  height: 100%;
  animation: deckSpin 25s linear infinite;
  transform-origin: center;
  transform: rotate(var(--orb-scroll-rot, 0deg));
  transition: transform 0.2s ease-out;
}

.deck-card:hover .flower-poly-icon {
  animation-duration: 12s;
}

.deck-card:hover .deck-corner-icon {
  opacity: 0.6;
}

@keyframes deckSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes deckSpinRev {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

/* ── DECORATIVE ORBS (DETRÁS DE LA TARJETA, CON REACCIÓN DINÁMICA AL SCROLL) ── */
.deck-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--orb-scroll-y, 0px)) scale(var(--orb-scroll-scale, 1));
  transition: transform 0.12s cubic-bezier(0,0,0.2,1);
}

/* Orbs grandes — asoman detrás de los bordes con efecto de profundidad 3D */
.deck-orb--a {
  width: 90px; height: 90px; top: 10%; left: -45px;
  background: radial-gradient(circle, rgba(230,126,34,0.55) 0%, rgba(230,126,34,0.15) 70%, transparent 100%);
  animation: orbOscillate 6s ease-in-out infinite;
}
.deck-orb--c {
  width: 80px; height: 80px; top: 8%; right: -40px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 70%, transparent 100%);
  animation: orbOscillate 8s ease-in-out infinite 1.2s;
}
.deck-orb--e {
  width: 75px; height: 75px; top: 15%; left: -38px;
  background: radial-gradient(circle, rgba(243,156,18,0.5) 0%, rgba(243,156,18,0.12) 70%, transparent 100%);
  animation: orbOscillate 7s ease-in-out infinite 2s;
}

/* Orbs pequeños — flotando en la profundidad detrás de la tarjeta */
.deck-orb--b {
  width: 60px; height: 60px; bottom: 12%; right: -30px;
  background: radial-gradient(circle, rgba(230,126,34,0.45) 0%, rgba(230,126,34,0.08) 70%, transparent 100%);
  animation: orbOscillateSmall 4.5s ease-in-out infinite 0.8s;
}
.deck-orb--d {
  width: 55px; height: 55px; bottom: 10%; left: -25px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.08) 70%, transparent 100%);
  animation: orbOscillateSmall 5s ease-in-out infinite 1.5s;
}
.deck-orb--f {
  width: 48px; height: 48px; bottom: 8%; right: -22px;
  background: radial-gradient(circle, rgba(243,156,18,0.38) 0%, rgba(243,156,18,0.08) 70%, transparent 100%);
  animation: orbOscillateSmall 3.8s ease-in-out infinite 2.5s;
}

/* Oscilación suave combinada */
@keyframes orbOscillate {
  0%, 100% { filter: brightness(1); }
  30%       { filter: brightness(1.18); }
  60%       { filter: brightness(1.08); }
}

/* Oscilación pequeña */
@keyframes orbOscillateSmall {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.22); }
}



/* ═══════════════════════════════════════════════════════════════
   PARALLAX LAYERS — controlados por JS (scroll)
   Cada capa recibe --parallax-offset via JS:
   transform: translateY(var(--parallax-offset, 0px))
   Velocidades: slow(0.3), mid(0.6), fast(1.0) relative a scroll
═══════════════════════════════════════════════════════════════ */
.parallax-layer {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* ─ Layer lenta: fondo, orbs grandes ─ */
.parallax-slow {
  --parallax-speed: 0.25;
}

/* ─ Layer media: imágenes flotantes principales ─ */
.parallax-mid {
  --parallax-speed: 0.5;
}

/* ─ Layer rápida: badges, orbs pequeños ─ */
.parallax-fast {
  --parallax-speed: 0.85;
}

/* ==========================================================================
   11. ACCIONES DEL MENÚ & BOTONES RÁPIDOS
   ========================================================================== */
.item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-actions .btn-open-modal {
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.item-actions .btn-open-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
}

.btn-quick-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-melao);
  background: #FFFFFF;
  color: var(--brand-melao);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr-fast);
  box-shadow: var(--shadow-sm);
}

.btn-quick-add:hover {
  background: var(--brand-melao);
  color: #FFFFFF;
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(74, 35, 17, 0.25);
}

/* ==========================================================================
   12. SEDES FÍSICAS · RECIÉN HORNEADOS & FRESCOS
   ========================================================================== */
.sedes-section {
  padding: 6rem 0 5rem;
  background-color: #FFF5E6;
}

/* Ticker: Recién Horneados & Frescos en Vivo */
.live-baking-ticker {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF8 100%);
  border: 2px solid #F3DFC1;
  border-radius: 50px;
  padding: 0.85rem 1.8rem;
  margin: 0 auto 3rem;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: 0 10px 30px rgba(74, 35, 17, 0.08);
  flex-wrap: wrap;
}

.ticker-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #2E7D32;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #2E7D32;
  box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  animation: livePulseDot 1.8s infinite;
}

@keyframes livePulseDot {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);   }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);   }
}

.ticker-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 0.96rem;
  color: var(--brand-melao);
}

.ticker-steam-icon {
  font-size: 1.3rem;
}

.ticker-cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.86rem;
  border-radius: 30px;
  white-space: nowrap;
}

/* Grid de Sedes (4 Sedes Oficiales) */
.sedes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (max-width: 1200px) {
  .sedes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
}

.sede-card {
  background: #FFFFFF;
  border: 1px solid #F0E6D8;
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  transition: transform var(--tr-smooth), box-shadow var(--tr-smooth), border-color var(--tr-smooth), background-color var(--tr-smooth);
}

.sede-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #E2CFB6;
}

.sede-card.active {
  border-color: #E2CFB6;
  box-shadow: 0 10px 28px rgba(107, 43, 8, 0.08);
}

.sede-card-header {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.sede-card-header * {
  pointer-events: none;
}

.sede-header-text {
  flex: 1;
  min-width: 0;
}

.sede-chevron-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FAF7F2;
  border: 1px solid #EDE0CF;
  color: var(--brand-melao);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.sede-card.active .sede-chevron-indicator {
  transform: rotate(180deg);
  background: rgba(211, 47, 47, 0.1);
  color: var(--brand-red);
  border-color: rgba(211, 47, 47, 0.2);
}

.sede-badge-flag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  background: rgba(211, 47, 47, 0.08);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.sede-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-melao);
  margin-bottom: 0.5rem;
}

.sede-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
}

.sede-address svg {
  flex-shrink: 0;
  color: var(--brand-red);
  margin-top: 2px;
}

/* Collapsible wrapper con max-height robusta (compatible 100% en Safari, iOS, Android y Chrome) */
.sede-collapsible-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  will-change: max-height, opacity;
}

.sede-card.active .sede-collapsible-wrapper {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
}

.sede-collapsible-inner {
  padding-top: 1.4rem;
}

.sede-card-body {
  border-top: 1px dashed #EDE0CF;
  border-bottom: 1px dashed #EDE0CF;
  padding: 1rem 0;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.sede-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-weight: 700;
  color: var(--brand-melao);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-val {
  color: var(--text-main);
  font-weight: 500;
}

.meta-tags {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.sede-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: #FAF7F2;
  color: var(--brand-melao);
  transition: all var(--tr-fast);
}

.btn-map-link:hover {
  background: #FFFFFF;
  border-color: var(--brand-melao);
  color: var(--brand-melao);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-map-link.google-maps:hover {
  border-color: #4285F4;
  color: #4285F4;
}

.btn-map-link.waze:hover {
  border-color: #33CCFF;
  color: #00A3E0;
}

.btn-map-link.whatsapp-sede {
  grid-column: span 2;
  background: #E8F5E9;
  border-color: #C8E6C9;
  color: #2E7D32;
}

.btn-map-link.whatsapp-sede:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

/* Mobile & Tablet */
@media (max-width: 992px) {
  .sedes-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.2rem;
  }

  .sede-card {
    padding: 1.4rem;
    border-radius: 22px;
  }

  .sede-collapsible-inner {
    padding-top: 1.2rem;
  }
}

/* ==========================================================================
   13. MODAL: CONFIGURADOR DE TOPPINGS & EXTRAS
   ========================================================================== */
.topping-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 8, 4, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.topping-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.topping-modal-backdrop.open .topping-modal {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--brand-melao);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--tr-fast);
  box-shadow: var(--shadow-sm);
}

.modal-close-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  transform: rotate(90deg);
}

/* Cabecera del producto dentro del modal */
.modal-product-header {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 1.6rem 1.2rem;
  background: linear-gradient(to bottom, #FFF9F2 0%, #FFFFFF 100%);
  border-bottom: 1px solid #F0E6D8;
}

.modal-img-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-badge-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(74, 35, 17, 0.85);
  color: #FFE699;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  padding: 2px 4px;
  border-radius: 8px;
  text-transform: uppercase;
}

.modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-melao);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

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

.modal-base-price {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-red);
}

/* Área de scroll para opciones */
.modal-options-scroll {
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.option-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-melao);
}

.option-req {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-red);
  background: rgba(211, 47, 47, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.option-req.optional {
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #FAF7F2;
  border: 1.5px solid #F0E6D8;
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--tr-fast);
  user-select: none;
}

.option-item:hover {
  background: #FFFDF9;
  border-color: #DFC8A8;
}

.option-item input {
  display: none;
}

.option-custom-radio,
.option-custom-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #C8B294;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.option-custom-check {
  border-radius: 6px;
}

.option-item input:checked + .option-custom-radio {
  border-color: var(--brand-red);
  background: var(--brand-red);
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

.option-item input:checked + .option-custom-check {
  border-color: var(--brand-red);
  background: var(--brand-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.option-item:has(input:checked) {
  background: #FFF9F2;
  border-color: var(--brand-red);
}

.option-label {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.option-price-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-melao);
}

.option-price-tag.free {
  color: #2E7D32;
  background: #E8F5E9;
  padding: 2px 8px;
  border-radius: 8px;
}

.option-price-tag.highlight {
  color: var(--brand-red);
}

.option-price-tag.discount {
  color: #2E7D32;
}

.modal-input-notes {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #E2D3BE;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: #FAF7F2;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--tr-fast);
}

.modal-input-notes:focus {
  border-color: var(--brand-red);
  background: #FFFFFF;
}

/* Pie de Acción del Modal */
.modal-footer-action {
  padding: 1.2rem 1.6rem;
  border-top: 1px solid #F0E6D8;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-counter {
  display: flex;
  align-items: center;
  background: #FAF7F2;
  border: 1.5px solid #E2D3BE;
  border-radius: 50px;
  padding: 4px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-melao);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr-fast);
  box-shadow: var(--shadow-sm);
}

.qty-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
}

.qty-val {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-melao);
}

.btn-add-modal {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
}

.modal-total-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 1.05rem;
}

/* ==========================================================================
   14. FLOATING CART PILL & CART DRAWER
   ========================================================================== */
.floating-cart-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.floating-cart-pill.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-pill-inner {
  background: #2F1407;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(47, 20, 7, 0.45);
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cart-pill-summary {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  color: #FFFFFF;
}

.cart-pill-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFE699;
}

.cart-badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.72rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cart-pill-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cart-pill-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-pill-total {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: #FFE699;
  line-height: 1.1;
}

.cart-pill-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 40px;
  cursor: pointer;
  transition: transform var(--tr-fast), background var(--tr-fast);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.cart-pill-send-btn:hover {
  background: #1EBE5D;
  transform: scale(1.05);
}

.wa-icon-svg {
  display: inline-flex;
}

/* Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(20, 8, 4, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2110;
}

.cart-drawer-backdrop.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid #F0E6D8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFDF9;
}

.drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-melao);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--tr-fast);
}

.drawer-close-btn:hover {
  color: var(--brand-red);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-row {
  background: #FAF7F2;
  border: 1px solid #F0E6D8;
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--brand-melao);
}

.cart-item-remove-btn {
  background: none;
  border: none;
  color: #BDBDBD;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 2px;
  line-height: 1;
  transition: color var(--tr-fast);
}

.cart-item-remove-btn:hover {
  color: var(--brand-red);
}

.cart-item-extras {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-red);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2D3BE;
  border-radius: 20px;
  padding: 2px 6px;
}

.cart-item-qty button {
  background: none;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-melao);
  cursor: pointer;
  padding: 0 4px;
}

.cart-item-qty span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  min-width: 18px;
  text-align: center;
}

.cart-drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-drawer-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
  opacity: 0.6;
}

.cart-drawer-footer {
  padding: 1.4rem 1.6rem;
  border-top: 1px solid #F0E6D8;
  background: #FFFDF9;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cart-destination-select label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-melao);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.custom-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #E2D3BE;
  border-radius: 12px;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--brand-melao);
  font-weight: 600;
  outline: none;
}

.cart-drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-melao);
}

.subtotal-amount {
  font-size: 1.45rem;
  color: var(--brand-red);
}

.btn-send-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  padding: 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-send-whatsapp:hover {
  background: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

@media (max-width: 576px) {
  .floating-cart-pill {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .cart-pill-inner {
    justify-content: space-between;
  }
  .cart-drawer {
    max-width: 100%;
  }
}

/* =============================================================
   11. BANNER INFORMATIVO SUPERIOR (HORARIO CARACAS & TASA BCV)
   ============================================================= */
.store-top-announcement {
  background: #251208;
  color: #FFF2D6;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(245, 175, 25, 0.25);
  position: relative;
  z-index: 1001;
  padding: 6px 0;
  transition: background-color 0.3s ease;
}

.store-top-announcement.closed {
  background: #3A130C;
  border-bottom-color: rgba(220, 53, 69, 0.4);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.status-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator-dot.open {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseOpen 2s infinite ease-in-out;
}

.status-indicator-dot.closed {
  background: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

@keyframes pulseOpen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.announcement-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bcv-title-tag {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.bcv-rate-number {
  color: #FCD34D;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* =============================================================
   12. DELIVERY GEOFENCING & HORARIO COMERCIAL (DRAWER & BOTONES)
   ============================================================= */
.cart-address-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

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

.address-header-row label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-melao);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-geo-detect {
  background: #F4EADF;
  border: 1px solid #D7C4AF;
  color: var(--brand-melao);
  border-radius: 14px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.btn-geo-detect:hover {
  background: #E8D9C8;
  color: var(--brand-red);
}

.custom-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E2D3BE;
  border-radius: 12px;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--brand-melao);
  outline: none;
  transition: border-color var(--tr-fast);
}

.custom-input:focus {
  border-color: var(--brand-melao);
}

.cart-geo-feedback {
  font-size: 0.75rem;
  line-height: 1.3;
}

.cart-geo-feedback.success {
  color: #059669;
  font-weight: 600;
}

.cart-geo-feedback.warning {
  color: #D97706;
  font-weight: 600;
}

.delivery-error-alert {
  background: #FEF2F2;
  border: 1.5px solid #F87171;
  color: #B91C1C;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  animation: shakeAlert 0.3s ease;
}

.store-closed-alert {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  color: #92400E;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Desglose en Drawer */
.cart-drawer-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #FAF7F2;
  border: 1px solid #EFE4D6;
  border-radius: 14px;
  padding: 10px 14px;
}

.breakdown-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breakdown-line.total-line {
  border-top: 1px dashed #E2D3BE;
  padding-top: 8px;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-melao);
}

.total-values-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total-bs-val {
  font-size: 0.82rem;
  color: #059669;
  font-weight: 800;
  font-family: var(--font-heading);
}

.bcv-live-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #5C4A3E;
  margin-top: 4px;
  background: #FFFFFF;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid #E2D3BE;
}

.bcv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

/* Estados Desactivados (Horario Cerrado o Fuera de Cobertura) */
.btn:disabled,
.btn-quick-add:disabled,
.btn-open-modal:disabled,
.btn-send-whatsapp:disabled,
.cart-pill-send-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  filter: grayscale(40%) !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.catalog-mode-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  margin-top: 6px;
  text-align: center;
  border: 1px solid #FCD34D;
}


