/* ==========================================================================
   Washido HDS™ — Tienda y Catálogo
   Estilos principales de navegación, hero, catálogo, calculadora, carrito,
   modales y visor de etiquetas oficiales.
   ========================================================================== */

/* ─── Top Banner ─────────────────────────────────────────────────── */
.top-banner {
  background: linear-gradient(90deg, #0284c7, #0369a1, #0ea5e9);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .3px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* ─── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
  transition: var(--transition);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--text-main);
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-accent), var(--cyan-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 14px var(--primary-glow);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text strong {
  background: linear-gradient(135deg, var(--primary-accent), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition);
  padding: 6px 4px;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-accent);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-accent);
  border-radius: 2px;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
}
.search-box svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 9px 38px 9px 36px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13.5px;
  transition: var(--transition);
}
.search-box input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}
.search-box kbd {
  position: absolute;
  right: 10px;
  padding: 2px 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  pointer-events: none;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 1000;
  max-height: 380px;
  overflow-y: auto;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.search-item:hover {
  background: var(--primary-light);
}
.search-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
}
.search-item-info strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-main);
}
.search-item-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  transition: var(--transition);
}
.account-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}
.cart-trigger {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-accent);
  color: #080d1a;
  font-size: 11px;
  font-weight: 800;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* ─── Hero Section ────────────────────────────────────────────────── */
.hero {
  padding: 60px 0 45px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.8px;
  margin-bottom: 18px;
  color: var(--text-main);
}
.hero .lead {
  font-size: 16.5px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-accent);
}
.hero-stats div span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ─── Global Ambient Backdrop & Full-Page Floating Particles ────── */
.global-ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.global-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
}
.glow-top-cyan {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.42), rgba(0, 210, 255, 0));
  top: -80px;
  right: -60px;
}
.glow-mid-gold {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), rgba(217, 119, 6, 0));
  top: 45%;
  left: -80px;
}
.glow-bottom-cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.32), rgba(14, 165, 233, 0));
  bottom: -100px;
  right: 5%;
}
.global-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ─── Parallax Multi-Capa Hero & Section Styles ─────────────────── */
.parallax-hero-section {
  position: relative;
  overflow: visible;
  perspective: 1000px;
}
.parallax-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: transform 0.1s cubic-bezier(0.1, 0.9, 0.2, 1);
}
.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.55), rgba(0, 210, 255, 0));
  top: -60px;
  right: -50px;
}
.glow-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), rgba(217, 119, 6, 0));
  bottom: -40px;
  left: 5%;
}
.parallax-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.85), rgba(255, 255, 255, 0.25));
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.7);
  pointer-events: none;
  animation: floatParticle 9s infinite ease-in-out;
}
.particle.gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.85), rgba(255, 255, 255, 0.3));
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.7);
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.25; }
  50% { transform: translateY(-30px) translateX(16px); opacity: 0.9; }
}

.hero-text-col {
  position: relative;
  z-index: 2;
  transition: transform 0.12s cubic-bezier(0.1, 0.9, 0.2, 1);
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.12s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.hero-card-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 400px;
  background: radial-gradient(140% 120% at 50% 20%, #081126 0%, #030712 100%);
  border: 1px solid rgba(14, 165, 233, 0.45);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 45px rgba(14, 165, 233, 0.3);
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.hero-card-stage:hover {
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.9), 0 0 60px rgba(14, 165, 233, 0.45);
}

.stage-mesh-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background-image: radial-gradient(rgba(14, 165, 233, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.bottle-aura {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.38) 0%, rgba(14, 165, 233, 0.08) 55%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
  transition: transform 0.15s ease-out;
  z-index: 1;
}

.hero-card-stage img.stage-bottle {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.2s ease-out;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75));
  will-change: transform;
}

/* Floating 3D Badges en el Stage */
.floating-p-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(8, 16, 34, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(14, 165, 233, 0.25);
  z-index: 4;
  pointer-events: none;
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform;
}
.floating-p-tag strong {
  display: block;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;
}
.floating-p-tag small {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}
.tag-top-right {
  top: -18px;
  right: -24px;
  border-color: rgba(245, 158, 11, 0.45);
}
.tag-bottom-left {
  bottom: 50px;
  left: -28px;
  border-color: rgba(0, 210, 255, 0.45);
}
.p-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.p-dot.gold {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}
.p-dot.cyan {
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
}

.hero-card-stage .stage-foam-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(6, 12, 26, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}
.hero-card-stage .stage-foam-badge strong {
  font-size: 13.5px;
  color: var(--text-main);
}
.hero-card-stage .stage-foam-badge span {
  font-size: 11.5px;
  color: var(--primary-accent);
  font-weight: 700;
}

/* ─── Trust Bar ───────────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 24px 0;
  margin-bottom: 50px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}
.trust-item span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ─── Catálogo Compacto de Alta Densidad (Estilo Imagen 2) ────────── */
.catalog {
  padding-top: 36px;
  padding-bottom: 60px;
}
.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}
.catalog-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #ffffff;
  margin: 0;
}
.catalog-subtitle {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 0;
}
.catalog-subtitle strong {
  color: #10b981;
}

.catalog-controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Switch "Solo en stock" */
.toggle-stock-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  user-select: none;
}
.toggle-stock-label:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.9);
}
.toggle-stock-label input {
  display: none;
}
.toggle-switch-track {
  width: 32px;
  height: 18px;
  background: #334155;
  border-radius: 20px;
  position: relative;
  transition: all 0.25s ease;
}
.toggle-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.toggle-stock-label input:checked + .toggle-switch-track {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.toggle-stock-label input:checked + .toggle-switch-track .toggle-switch-thumb {
  transform: translateX(14px);
}
.toggle-text {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

/* Selector Ordenar */
.select-sort-pill {
  padding: 7px 16px 7px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.select-sort-pill:hover,
.select-sort-pill:focus {
  border-color: var(--primary-accent);
}

/* Barra de Chips de Categoría con Puntos de Color y Conteo */
.category-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 22px;
  scrollbar-width: thin;
}
.category-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}
.category-chip-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: #1e293b;
}
.category-chip-pill.active {
  background: #ffffff !important;
  color: #090e17 !important;
  border-color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.chip-count {
  font-size: 11px;
  font-family: var(--font-mono);
  opacity: 0.75;
}
.category-chip-pill.active .chip-count {
  opacity: 0.9;
  font-weight: 700;
}

/* Grid de Productos Compacto: 4 Columnas Exactas como Imagen 2 */
.product-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1200px) {
  .product-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .product-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 520px) {
  .product-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* Tarjeta de Producto Compacta */
.product-card-compact {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.product-card-compact:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(14, 165, 233, 0.15);
}

/* Contenedor Superior de Imagen (Fondo de Estudio Extendido y Efecto Neón Estético) */
.compact-card-media {
  background: radial-gradient(circle at 50% 60%, #0e192d 0%, #060a16 65%, #02050c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  height: 195px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.7);
}

/* Extensión difuminada y estética de los colores del producto */
.compact-media-backdrop {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.65) saturate(1.5);
  opacity: 0.55;
  transform: scale(1.15);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

/* Halo de luz de estudio detrás de la botella */
.compact-media-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 65%, rgba(0, 210, 255, 0.16) 0%, rgba(2, 6, 15, 0.6) 60%, rgba(2, 6, 15, 0.95) 100%);
  pointer-events: none;
}

.compact-badge-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3.5px 8px;
  border-radius: 6px;
  z-index: 3;
}

.compact-badge-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 10px;
  font-weight: 700;
  padding: 3.5px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
}
.compact-badge-stock::before {
  content: '●';
  font-size: 8px;
  color: #10b981;
}

.compact-card-media img.compact-prod-img,
.compact-card-media img {
  position: relative;
  z-index: 2;
  max-height: 168px;
  width: auto;
  max-width: 95%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
}

.product-card-compact:hover .compact-media-backdrop {
  opacity: 0.8;
  transform: scale(1.25);
  filter: blur(20px) brightness(0.85) saturate(1.8);
}

.product-card-compact:hover .compact-card-media img.compact-prod-img,
.product-card-compact:hover .compact-card-media img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 14px 26px rgba(0, 210, 255, 0.35));
}

/* Cuerpo de la Tarjeta */
.compact-card-body {
  padding: 12px 4px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.compact-prod-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 4px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.compact-prod-title:hover {
  color: var(--primary-accent);
}
.compact-prod-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fila de Especificaciones Técnicas (Pills) */
.compact-specs-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.compact-spec-pill {
  font-size: 10.5px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Descripción Corta (2 líneas) */
.compact-prod-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Etiqueta y Selector de Variantes */
.compact-variant-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.compact-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}
.compact-var-btn {
  padding: 5px 6px;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compact-var-btn:hover {
  border-color: rgba(0, 210, 255, 0.5);
  color: #ffffff;
}
.compact-var-btn.active {
  background: rgba(0, 210, 255, 0.12);
  border-color: #00d2ff;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.2);
}

/* Banner Destacado Fórmula / Tecnología (como el aviso amarillo en Imagen 2) */
.compact-formula-badge {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10.5px;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.compact-formula-badge strong {
  font-weight: 700;
}

/* Pie de Tarjeta: Precio y Botones */
.compact-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.compact-price-wrap {
  display: flex;
  flex-direction: column;
}
.compact-price-val {
  font-size: 19px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
}
.compact-price-sub {
  font-size: 10px;
  color: #64748b;
  font-family: var(--font-mono);
  margin-top: 3px;
}
.compact-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-compact-quickview {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.btn-compact-quickview:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-compact-add {
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  background: #00d2ff;
  border: none;
  color: #061120;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 210, 255, 0.3);
}
.btn-compact-add:hover {
  background: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.45);
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md), 0 0 20px var(--primary-glow);
}
.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-img-box {
  height: 270px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.12) 0%, rgba(10, 16, 26, 0.95) 75%, #050910 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 4px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
}
.product-img-box img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1.15);
  transform-origin: center bottom;
  border-radius: 4px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img-box img {
  transform: scale(1.22);
}
.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-line {
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-accent);
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
  cursor: pointer;
}
.product-name:hover {
  color: var(--primary-accent);
}
.product-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.meta-pill {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}
.meta-pill strong { color: var(--text-main); }

.variant-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.variant-btn {
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition);
}
.variant-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}
.variant-btn.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: #fff;
  font-weight: 700;
}

.card-footer-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price-block .price-val {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}
.price-block .washes-est {
  display: block;
  font-size: 11px;
  color: var(--emerald-accent);
  font-weight: 600;
}

/* ─── SECCIÓN DESTACADA: ETIQUETAS OFICIALES ─────────────────────── */
.labels-showcase-section {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 50%, var(--bg-main) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.labels-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.labels-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.labels-header p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.6;
}

.labels-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.label-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-sub);
  transition: var(--transition);
  cursor: pointer;
}
.label-tab-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}
.label-tab-btn.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: #fff;
  box-shadow: 0 0 16px var(--primary-glow);
}

.label-display-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-width: 1120px;
  margin: 0 auto;
}
.label-display-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.label-image-wrapper {
  background: #000000;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.label-image-wrapper:hover {
  border-color: var(--primary-accent);
}
.label-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}
.label-image-wrapper:hover img {
  transform: scale(1.02);
}
.label-details-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.label-details-box p.label-tagline {
  font-size: 14.5px;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.5;
}
.label-bars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  background: var(--bg-surface);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.label-bar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.label-bar-item span { color: var(--text-sub); font-weight: 600; }
.label-bar-item strong { color: var(--gold-accent); font-family: var(--font-mono); font-size: 14px; }

/* ─── Calculadora de Dilución y Espuma ────────────────────────────── */
.calc-band {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 70px 0;
  margin-bottom: 70px;
}
.calc-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.calc-panel h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}
.calc-panel p.calc-desc {
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.calc-field select, .calc-field input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
}

.calc-result-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.calc-result-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--cyan-accent));
}

.bottle-visualizer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.foam-bottle-graphic {
  width: 80px;
  height: 180px;
  border: 3px solid var(--primary-accent);
  border-radius: 12px 12px 20px 20px;
  position: relative;
  overflow: hidden;
  background: rgba(14, 165, 233, 0.05);
  flex-shrink: 0;
}
.bottle-fill-water {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: rgba(56, 189, 248, 0.4);
  transition: height 0.3s ease;
}
.bottle-fill-washido {
  position: absolute;
  bottom: 80%;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(180deg, #0284c7, #0369a1);
  transition: all 0.3s ease;
}
.bottle-cap-neck {
  position: absolute;
  top: -12px;
  left: 25px;
  width: 30px;
  height: 12px;
  background: #334155;
  border-radius: 4px 4px 0 0;
}

.calc-stats-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 6px;
}
.calc-stat-row span {
  font-size: 13px;
  color: var(--text-sub);
}
.calc-stat-row strong {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-main);
}
.calc-stat-highlight {
  color: var(--primary-accent) !important;
  font-size: 18px !important;
}

.comparison-box {
  margin-top: 20px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
}
.comparison-box strong {
  color: var(--emerald-accent);
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}
.comparison-box p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ─── B2B Banner ─────────────────────────────────────────────────── */
.b2b-section {
  padding-bottom: 70px;
}
.b2b-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(13, 21, 39, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-md);
}
.b2b-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.b2b-content p {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 680px;
  line-height: 1.55;
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq-section {
  padding-bottom: 80px;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
}
.faq-item summary {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary-accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  white-space: pre-line;
}

/* ─── Carrito Slide-Over Drawer ───────────────────────────────────── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
}
.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}
.cart-shipping-notice {
  padding: 10px 24px;
  background: var(--primary-light);
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
  font-size: 12px;
  color: var(--primary-accent);
  font-weight: 600;
  text-align: center;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.cart-item-variant {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-qty-ctrls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}
.cart-qty-ctrls button {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
}
.cart-qty-ctrls span {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0 6px;
}
.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart-total-row span {
  font-size: 15px;
  color: var(--text-sub);
}
.cart-total-row strong {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--text-main);
}

/* ─── Modal de Producto ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 30px;
  padding: 32px;
}
.modal-gallery img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
}
.modal-info h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.modal-specs-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
}
.modal-specs-table td {
  padding: 7px 10px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border-color);
}
.modal-specs-table td:first-child {
  color: var(--text-muted);
  width: 35%;
  font-weight: 600;
}
.modal-specs-table td:last-child {
  color: var(--text-main);
}

.modal-thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.modal-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  object-fit: contain;
  padding: 3px;
  transition: var(--transition);
}
.modal-thumb:hover {
  border-color: var(--primary-accent);
}
.modal-thumb.active {
  border-color: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-glow);
}


/* ─── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-sub);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--primary-accent);
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Botón Flotante WhatsApp ─────────────────────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition);
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* ─── Rutina de Detallado en 3 Pasos ──────────────────────────────── */
.routine-section {
  padding: 60px 0 30px;
  position: relative;
}
.routine-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.routine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.routine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.routine-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.15);
}
.routine-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-accent);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.routine-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.routine-card-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.routine-card-products {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.routine-card-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.routine-card-btn:hover {
  background: var(--primary-accent);
  color: #061120;
  border-color: var(--primary-accent);
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
}

/* ─── Comparador Interactivo Antes y Después ──────────────────────── */
.before-after-section {
  padding: 70px 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(14, 25, 45, 0.6) 0%, rgba(6, 10, 22, 0.95) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.ba-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}
.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.ba-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ba-tab-btn:hover {
  border-color: var(--primary-accent);
  color: var(--text-main);
}
.ba-tab-btn.active {
  background: var(--primary-accent);
  color: #061120;
  border-color: var(--primary-accent);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.35);
}

.ba-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 210, 255, 0.1);
  aspect-ratio: 16 / 9;
  user-select: none;
  touch-action: pan-y;
  cursor: col-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(0 0, var(--ba-pos, 50%) 0, var(--ba-pos, 50%) 100%, 0 100%);
  pointer-events: none;
  transition: clip-path 0.04s ease-out;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 4px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.9), 0 0 30px rgba(0, 210, 255, 0.6);
  transform: translateX(-50%);
  pointer-events: none;
  transition: left 0.04s ease-out;
  z-index: 10;
}
.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #061120;
  border: 2px solid #00d2ff;
  color: #00d2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 210, 255, 0.8);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -2px;
}
.ba-badge {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 5;
}
.ba-badge-before {
  left: 16px;
  background: rgba(15, 23, 42, 0.75);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.ba-badge-after {
  right: 16px;
  background: rgba(6, 17, 32, 0.8);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.ba-footer-cta {
  max-width: 900px;
  margin: 22px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ─── Tabla Visual Comparativa ("¿Cuál fórmula elegir?") ─────────── */
.formula-comparison-section {
  padding: 65px 0;
  position: relative;
}
.formula-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.formula-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.formula-card.featured {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 210, 255, 0.15);
}
.formula-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-accent);
  color: #061120;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.formula-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 6px;
}
.formula-type {
  font-size: 12px;
  color: var(--primary-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 16px;
}
.formula-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.formula-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}
.formula-metric-name {
  color: var(--text-sub);
}
.formula-metric-meter {
  display: flex;
  align-items: center;
  gap: 6px;
}
.formula-bar-track {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.formula-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary-accent);
}
.formula-bar-fill.gold {
  background: #f59e0b;
}
.formula-bar-fill.purple {
  background: #a855f7;
}
.formula-metric-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  width: 24px;
  text-align: right;
}
.formula-best-for {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}
.formula-best-for strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

/* ─── Carrusel / Grid de Reseñas ⭐⭐⭐⭐⭐ ────────────────────────── */
.reviews-section {
  padding: 70px 0;
  background: rgba(8, 14, 28, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.reviews-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Tarjeta Destacada de Caso Real con Fotos y Chat WhatsApp */
.featured-testimonial-card {
  background: linear-gradient(145deg, rgba(14, 25, 45, 0.85) 0%, rgba(6, 12, 24, 0.98) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 210, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.featured-test-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.featured-test-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
}
.featured-test-photos {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 14px;
}
.test-photo-box {
  background: #02050c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.test-photo-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.test-photo-box:hover img {
  transform: scale(1.04);
}
.test-photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}
.test-photo-tag.before {
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: 1px solid rgba(239, 68, 68, 0.5);
}
.test-photo-tag.after {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
  border: 1px solid rgba(16, 185, 129, 0.5);
}
.test-photo-caption {
  padding: 8px 10px;
  font-size: 11px;
  color: #94a3b8;
  background: rgba(10, 16, 30, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.3;
}
.featured-test-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-bubble-container {
  background: rgba(11, 20, 36, 0.9);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.chat-sender-label {
  font-size: 11px;
  font-weight: 700;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}
.chat-screenshot-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.featured-quote-text {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-quote-text::before {
  content: '“';
  font-size: 36px;
  color: var(--primary-accent);
  line-height: 0;
}
.featured-quote-text::after {
  content: '”';
  font-size: 36px;
  color: var(--primary-accent);
  line-height: 0;
}
.featured-test-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12.5px;
}
.test-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.test-spec-item span {
  color: var(--text-muted);
}
.test-spec-item strong {
  color: var(--text-main);
}
@media (max-width: 992px) {
  .featured-test-grid { grid-template-columns: 1fr; }
  .featured-test-photos { grid-template-columns: 1fr; }
  .test-photo-box img { height: 200px; }
}
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.3);
}
.review-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-quote {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
  font-style: italic;
}
.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e192d, #00d2ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.review-meta strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}
.review-meta span {
  font-size: 11px;
  color: var(--text-muted);
}
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: #10b981;
  font-weight: 700;
  margin-top: 2px;
}

/* ─── Barra de Envío Gratis Dinámica en Carrito ───────────────────── */
.cart-free-shipping-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.cart-shipping-text-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.cart-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.cart-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d2ff 0%, #10b981 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}
.cart-progress-bar.unlocked {
  background: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.8);
}

/* ─── Toast Flotante de Confirmación ("Agregado al carrito") ──────── */
.washido-toast {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 10000;
  background: rgba(9, 17, 36, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 210, 255, 0.25);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 290px;
  max-width: 380px;
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.washido-toast.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.toast-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #02050c;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.toast-body {
  flex: 1;
}
.toast-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 2px;
}
.toast-sub {
  font-size: 11.5px;
  color: var(--emerald-accent);
  font-weight: 700;
  margin: 0;
}
.toast-btn {
  background: #00d2ff;
  color: #061120;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.toast-btn:hover {
  background: #38bdf8;
  transform: scale(1.05);
}

/* ─── Responsive Media Queries ────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .routine-grid { grid-template-columns: 1fr; }
  .formula-comparison-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-panel { grid-template-columns: 1fr; padding: 24px; }
  .label-display-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ba-footer-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .header-inner { gap: 12px; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .account-btn .label { display: none; }
  .account-btn { padding: 8px 10px; }
  
  .hero { padding: 36px 0 30px; }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .hero .lead { font-size: 15px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px 14px; }
  .hero-stats div strong { font-size: 18px; }
  .hero-stats div span { font-size: 11px; }

  .trust-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .b2b-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }

  .floating-wa {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .floating-wa svg { width: 28px; height: 28px; }

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

  .modal-container {
    width: 95%;
    max-height: 90vh;
    padding: 20px 16px;
    margin: 10px;
  }

  .washido-toast {
    left: 16px;
    right: 16px;
    top: 20px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 25px; }
  .top-banner { font-size: 11.5px; padding: 7px 10px; }
  .product-grid-compact {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .compact-card-footer {
    padding-top: 10px;
  }
}

/* ─── Global Scroll Parallax & Cinematic Reveal Classes ────────────── */
.scroll-parallax-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  transition: transform 0.12s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform;
}

.parallax-reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  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;
}

.parallax-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Retardo progresivo para elementos en cuadrícula */
.routine-grid .routine-card:nth-child(1) { transition-delay: 0.05s; }
.routine-grid .routine-card:nth-child(2) { transition-delay: 0.18s; }
.routine-grid .routine-card:nth-child(3) { transition-delay: 0.31s; }

.product-grid-compact .product-card-compact:nth-child(1) { transition-delay: 0.05s; }
.product-grid-compact .product-card-compact:nth-child(2) { transition-delay: 0.12s; }
.product-grid-compact .product-card-compact:nth-child(3) { transition-delay: 0.19s; }
.product-grid-compact .product-card-compact:nth-child(4) { transition-delay: 0.26s; }

/* Micro-desplazamiento vertical reactivo al scroll para tarjetas y banners */
.parallax-float-slow {
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform;
}

