/* ==========================================================================
   KÖDE 2026 — APPLE KEYNOTE & PRODUCT SHOWCASE EXPERIENCE
   Estética minimalista de alta gama, fondo blanco puro, microinteracciones
   ========================================================================== */

:root {
  color-scheme: only light !important;
  -webkit-color-scheme: only light !important;
  forced-color-adjust: none !important;
  --bg-white: #ffffff;
  --bg-surface: #fbfbfd;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #f5f5f7;
  
  --text-main: #1d1d1f;
  --text-dim: #86868b;
  --text-sub: #6e6e73;
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(0, 113, 227, 0.4);
  
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --amber-gold: #b45309;
  --amber-glow: rgba(180, 83, 9, 0.12);
  --whatsapp-green: #25d366;
  
  --font-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html, body {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: only light !important;
  -webkit-color-scheme: only light !important;
  forced-color-adjust: none !important;
  overflow-anchor: none;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 80px;
}

/* ================= TICKER BAR SUPERIOR ================= */
.ticker-bar {
  background-color: #000000;
  color: #f5f5f7;
  overflow: hidden;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Plus Jakarta Sans", Roboto, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  height: 36px;
  display: flex;
  align-items: center;
  user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 101;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-loop 21s linear infinite;
}

.ticker-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span {
  padding: 0 16px;
  line-height: 36px;
}

.ticker-group .ticker-bullet {
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 400;
}

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

/* ================= NAVEGACIÓN ESTILO APPLE ================= */
.apple-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #1d1d1f;
}

.nav-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-cart-btn {
  background: #f5f5f7;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cart-btn:hover {
  background: #e5e5ea;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.nav-cart-btn.cart-pulse {
  animation: cartReceivePulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartReceivePulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.14);
    background: #e5e5ea;
    box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.22);
  }
  70% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.cart-svg {
  width: 18px;
  height: 18px;
}

.nav-cart-badge {
  background-color: var(--apple-blue);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  min-width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.nav-cart-badge.badge-pop {
  animation: badgePop 0.35s ease;
}

@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

/* Indicador animado: "Mira tu orden Acá" */
.cart-order-hint {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #1d1d1f;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1200;
  cursor: pointer;
}

.cart-order-hint::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: #1d1d1f;
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}

.cart-order-hint.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-hint-arrow {
  width: 15px;
  height: 15px;
  color: #34c759;
  flex-shrink: 0;
  animation: hintArrowBounce 0.45s ease-in-out infinite alternate;
}

@keyframes hintArrowBounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}

.cart-hint-text {
  color: #ffffff;
}

/* Partícula voladora que denota hacia dónde va el producto */
.cart-flyer-particle {
  position: fixed;
  width: 24px;
  height: 24px;
  background: #0071e3;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.45);
  transform: translate(-50%, -50%);
  transition: transform 0.48s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.48s ease;
}

/* ================= HERO KEYNOTE SECTION ================= */
.hero-keynote {
  position: relative;
  padding: 16px 20px 28px 20px;
  text-align: center;
  background: #ffffff;
}

.hero-container {
  max-width: 880px;
  margin: 0 auto;
}

/* 1. Frasco 3D en la parte de arriba (un poco más abajo y con mayor presencia) */
.hero-bottle-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 8px auto 2px auto;
  position: relative;
  z-index: 1;
  perspective: 1000px;
  user-select: none;
}

.bottle-top-title {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin: 0 auto 6px auto;
  text-align: center;
}

.bottle-3d-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-bottle-top {
    margin: 14px auto 4px auto;
  }

  .bottle-3d-wrapper {
    width: 340px;
    height: 340px;
  }
}

.bottle-3d-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  display: block;
  mix-blend-mode: multiply;
}

/* Flechas indicadoras de deslizamiento */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -14px;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.scroll-arrow {
  color: #86868b;
  animation: scrollArrowBounce 1.8s infinite ease-in-out;
}

.scroll-arrow.arrow-1 {
  opacity: 0.45;
}

.scroll-arrow.arrow-2 {
  margin-top: -10px;
  opacity: 0.9;
  animation-delay: 0.2s;
}

@keyframes scrollArrowBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottle-3d-wrapper {
    transform: none !important;
  }
  .scroll-arrow {
    animation: none !important;
  }
}

/* 2. Contenido de texto que sigue después */
.hero-content {
  position: relative;
  z-index: 10;
  margin-top: 4px;
}

.hero-container {
  max-width: 880px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--apple-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #1d1d1f;
}

.gradient-text {
  background: linear-gradient(180deg, #1d1d1f 30%, #434344 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 660px;
  margin: 0 auto 20px auto;
  line-height: 1.55;
}

.hero-description strong {
  color: var(--text-main);
}

/* Cinta de Precios Apple */
.pricing-pill-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f5f5f7;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.pill-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pill-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1d1d1f;
}

.pill-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1d1d1f;
}

.pill-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #1d1d1f;
}

.pill-divider {
  width: 1px;
  height: 20px;
  background-color: #d1d1d6;
}

.pill-highlight .pill-label {
  color: #1d1d1f;
  font-weight: 600;
}

.pill-highlight .pill-value {
  color: #1d1d1f;
  font-weight: 800;
}

.pill-old-price {
  text-decoration: line-through;
  color: #1d1d1f;
  font-size: 0.95em;
  font-weight: 600;
  opacity: 1;
  margin-right: 5px;
}

.pill-green-price {
  color: #1d1d1f;
  font-weight: 800;
}

@media (max-width: 640px) {
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 350px;
    margin: 0 auto 18px auto;
    padding: 0 6px;
    text-wrap: balance;
  }

  .pricing-pill-banner {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 18px;
    flex-direction: column;
    gap: 0;
    padding: 8px 18px;
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }

  .pill-divider {
    display: none;
  }

  .pill-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
  }

  .pill-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .pill-label {
    font-size: 0.84rem;
    font-weight: 600;
    text-align: left;
    color: #1d1d1f;
  }

  .pill-item:first-child .pill-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1d1d1f;
  }

  .pill-value {
    font-size: 1.05rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
    color: #1d1d1f;
  }

  .pill-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1d1d1f;
  }

  .pill-highlight .pill-label {
    color: #1d1d1f;
    font-weight: 600;
  }

  .pill-highlight .pill-value {
    color: #1d1d1f;
    font-weight: 800;
  }
}

/* ================= BARRA FLOTANTE DE FILTROS ================= */
.sticky-filter-bar {
  position: sticky;
  top: 61px;
  z-index: 90;
  padding: 12px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow-anchor: none;
}

.filter-bar-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .filter-bar-container {
    flex-direction: row;
    align-items: center;
  }
}

.gender-segmented-control {
  display: inline-flex;
  align-items: center;
  background: #f5f5f7;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid #e5e5ea;
  gap: 2px;
  flex-shrink: 0;
}

.gender-tab {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  white-space: nowrap;
}

.gender-tab:hover {
  color: var(--text-main);
}

.gender-tab.active {
  background: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
  .sticky-filter-bar {
    padding: 10px 14px;
  }
  .gender-segmented-control {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 3px;
    gap: 2px;
  }
  .gender-segmented-control::-webkit-scrollbar {
    display: none;
  }
  .gender-tab {
    flex: 1 1 auto;
    text-align: center;
    padding: 7px 8px;
    font-size: 0.77rem;
    white-space: nowrap;
  }
}

.search-input-wrap {
  position: relative;
  flex: 1;
  max-height: 52px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.18s ease,
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.22s ease;
  will-change: transform, opacity, max-height;
}

.search-input-wrap.is-hidden {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none !important;
  overflow: hidden !important;
  margin-top: -12px !important;
  visibility: hidden;
  transition: max-height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.18s ease,
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.22s ease,
              visibility 0s linear 0.22s;
}

.search-input-wrap.is-hidden input {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 640px) {
  .search-input-wrap {
    max-width: 480px;
    margin-left: auto;
    transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.2s ease,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.2s ease;
  }
  .search-input-wrap.is-hidden {
    max-width: 0 !important;
    max-height: 52px !important;
    opacity: 0 !important;
    transform: translateX(16px);
    pointer-events: none !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    visibility: hidden;
    transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.2s ease,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.2s ease,
                visibility 0s linear 0.25s;
  }
}

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

.search-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-main);
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-pill);
  outline: none;
  transition: var(--transition-smooth);
}

.search-input-wrap input::placeholder {
  color: #86868b;
}

.search-input-wrap input:focus {
  border-color: var(--apple-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.brand-dropdown-wrap select {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-main);
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.brand-dropdown-wrap select:focus {
  border-color: var(--apple-blue);
  background: #ffffff;
}

@media (min-width: 640px) {
  .brand-dropdown-wrap select {
    width: 260px;
  }
}

/* ================= SHOWCASE DE PRODUCTOS (APPLE GRID) ================= */
.showcase-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px 60px 24px;
}

.showcase-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.results-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.apple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Tarjeta de Producto */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  content-visibility: auto;
  contain-intrinsic-size: auto 450px;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

/* Tarjeta con líneas doradas promocionales para Kódigo 343 */
.product-card.promo-card-gold {
  border: 2px solid #d4af37 !important;
  box-shadow: 0 0 0 1.5px rgba(212, 175, 55, 0.4), 0 8px 24px rgba(212, 175, 55, 0.18) !important;
}

.product-card.promo-card-gold::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  z-index: 3;
}

.product-card.promo-card-gold:hover {
  transform: translateY(-4px);
  border-color: #ffd700 !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.6), 0 16px 36px rgba(212, 175, 55, 0.28) !important;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-title-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.product-title-link:hover .product-title {
  color: var(--apple-blue);
}

/* Marco de Estudio del Frasco */
.product-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Badge de Top Más Vendido */
.top-seller-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 4px 10px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 100px;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-top-1 {
  background: #000000;
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.40);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.badge-top-2 {
  background: #000000;
  color: #f3f4f6;
  border: 1px solid rgba(243, 244, 246, 0.40);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.badge-top-3 {
  background: #000000;
  color: #fdba74;
  border: 1px solid rgba(253, 186, 116, 0.40);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.badge-special-offer {
  background: #000000 !important;
  color: #ffd700 !important;
  border: 1.5px solid #ffd700 !important;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4) !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.product-bottle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-bottle-img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .top-seller-badge {
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 0.60rem;
    line-height: 1.2;
  }
  .top-seller-badge .badge-desc {
    display: none !important;
  }
  .product-bottle-img {
    transform: scale(0.85) translateY(6px);
  }
}

.product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.kode-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--apple-blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 113, 227, 0.18);
}

.designer-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-dim);
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.product-inspiration {
  font-size: 0.92rem;
  color: #1d1d1f;
  margin-bottom: 16px;
  line-height: 1.35;
}

.inspiration-label {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.85rem;
}

.inspiration-brand {
  color: var(--text-sub);
  font-weight: 500;
}

.product-family-line {
  font-size: 0.84rem;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.4;
}

.family-label {
  color: var(--text-dim);
  font-weight: 500;
}

.product-family-line strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Segmented Control Estilo iOS / Apple */
.segmented-control-container {
  margin-bottom: 18px;
}

.segmented-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.apple-segmented-control {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f2f2f7;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  gap: 0;
  isolation: isolate;
  user-select: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.segment-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: #ffffff;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.09), 0 0.5px 2px rgba(0, 0, 0, 0.04);
  border: 0.5px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.05);
  pointer-events: none;
  z-index: 1;
}

.apple-segmented-control.is-extra .segment-slider {
  transform: translateX(100%);
}

.segment-btn {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #636366;
  padding: 6px 4px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 9px;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  min-height: 42px;
  opacity: 0.78;
}

.segment-btn:hover {
  color: #1d1d1f;
  opacity: 1;
}

.segment-btn:active {
  transform: scale(0.97);
}

.segment-btn.active {
  color: #1d1d1f !important;
  opacity: 1 !important;
}

.segment-btn.active .seg-btn-label {
  font-weight: 700;
  color: #1d1d1f;
}

.segment-btn.active.segment-extra {
  color: #1d1d1f !important;
}

.seg-btn-label {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.segment-badge-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e8f5e9;
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.22);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 1.5px 6px;
  border-radius: 999px;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.promo-card-gold .segment-badge-green {
  background-color: #fef3c7;
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.25);
}

/* Fila de Acción y Precio */
.product-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.price-display-wrap {
  display: flex;
  flex-direction: column;
}

.price-hero {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1d1d1f !important;
  line-height: 1;
  transition: color 0.2s ease;
}

.price-hero.price-gold {
  color: #1d1d1f !important;
}

.price-original-strike {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: line-through;
  color: #86868b;
  margin-right: 5px;
  opacity: 0.85;
}

.price-deal-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1d1d1f;
}

.price-footnote {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 3px;
}

.apple-buy-btn {
  background-color: #1d1d1f;
  color: #ffffff;
  border: 1.5px solid #1d1d1f;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.apple-buy-btn:hover {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  transform: scale(1.02);
}

.apple-buy-btn:active {
  transform: scale(0.96);
}

.apple-buy-btn.in-cart {
  background-color: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.apple-buy-btn.in-cart:hover {
  background-color: #1d1d1f;
  border-color: #1d1d1f;
}

@media (max-width: 640px) {
  .showcase-section {
    padding: 16px 6px 40px 6px;
  }
  .apple-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .product-details {
    padding: 10px 6px;
  }
  .product-meta-header {
    gap: 4px;
    margin-bottom: 6px;
  }
  .kode-badge {
    font-size: 0.68rem;
    padding: 2px 7px;
    white-space: nowrap;
  }
  .designer-label {
    display: none;
  }
  .product-title {
    font-size: 1rem;
    margin-bottom: 3px;
  }
  .product-inspiration {
    font-size: 0.76rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .inspiration-label {
    font-size: 0.70rem;
  }
  .product-family-line {
    font-size: 0.70rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .segmented-label {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }
  .segment-btn {
    padding: 5px 2px;
    font-size: 0.68rem;
    min-height: 46px;
  }
  .seg-btn-label {
    font-size: 0.70rem;
    line-height: 1.2;
  }
  .segment-badge-green {
    font-size: 0.50rem;
    padding: 1.5px 4px;
  }
  .product-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .apple-buy-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}


/* Estado Vacío */
.empty-showcase {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-dim);
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.empty-showcase h3 {
  font-size: 1.4rem;
  color: #1d1d1f;
  margin-bottom: 6px;
}

/* ================= MODAL / DRAWER ESTILO APPLE ================= */
.apple-dialog {
  border: none;
  background: transparent;
  padding: 0;
  width: 100%;
  max-width: 520px;
  margin: auto;
  outline: none;
}

.apple-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfbfd;
}

.dialog-title-wrap h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1d1d1f;
}

.cart-subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.dialog-close-btn {
  background: #e5e5ea;
  border: none;
  color: #1d1d1f;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dialog-close-btn:hover {
  background: #d1d1d6;
}

.dialog-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-empty {
  text-align: center;
  color: var(--text-dim);
  padding: 50px 10px;
  font-size: 1.05rem;
}

/* Item del Carrito */
.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-row-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2px;
}

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

.cart-row-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--apple-blue);
  letter-spacing: 0.5px;
}

.cart-row-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-row-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.badge-norm {
  background: #f5f5f7;
  color: #6e6e73;
}

.badge-gold {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid #e5e5ea;
  font-weight: 700;
}

/* Controles de Cantidad Estilo iOS */
.cart-row-stepper {
  display: flex;
  align-items: center;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 6px;
}

.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  border: none;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.stepper-btn:hover {
  background: #f2f2f7;
}

.stepper-val {
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  color: #1d1d1f;
}

.cart-row-delete {
  background: none;
  border: none;
  color: #86868b;
  cursor: pointer;
  padding: 6px;
  margin-left: 2px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.cart-row-delete:hover {
  color: #1d1d1f;
}

/* Footer del Carrito */
.dialog-footer {
  padding: 20px 24px;
  background: #fbfbfd;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-breakdown-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.84rem;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.breakdown-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-sub);
}

.breakdown-line strong {
  color: #1d1d1f;
}

.breakdown-line.promo-gold-line {
  color: #b8860b;
  font-weight: 600;
  border-top: 1px dashed rgba(212, 175, 55, 0.4);
  padding-top: 4px;
  margin-top: 2px;
}

.breakdown-line.promo-gold-line strong {
  color: #15803d;
}

.total-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.total-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d1d1f;
}

.total-taxes {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.total-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.5px;
}

.customer-field {
  margin-bottom: 16px;
}

.customer-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.customer-field input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.94rem;
  font-family: inherit;
  color: #1d1d1f;
  background: #ffffff;
  border: 1px solid #d1d1d6;
  border-radius: var(--radius-md);
  outline: none;
}

.customer-field input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* Sección Datos de Entrega */
.delivery-toggle-wrap {
  margin-bottom: 16px;
}

.delivery-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1d1d1f;
  transition: var(--transition-smooth);
}

.delivery-toggle-btn:hover {
  background: #ebebee;
  border-color: #d1d1d6;
}

.delivery-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-icon {
  width: 18px;
  height: 18px;
  color: #1d1d1f;
  flex-shrink: 0;
}

.delivery-toggle-arrow {
  font-size: 0.72rem;
  color: #86868b;
  transition: transform 0.2s ease;
}

.delivery-fields-collapse {
  background: #fbfbfd;
  border: 1px solid #e5e5ea;
  border-top: none;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  padding: 14px;
  margin-top: -4px;
}

.delivery-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.delivery-optional-badge {
  font-size: 0.76rem;
  font-weight: 500;
  color: #86868b;
  margin-left: 4px;
}

.delivery-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
}

.delivery-field input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1d1d1f;
  background: #ffffff;
  border: 1.5px solid #d2d2d7;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.delivery-field input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
}

/* Selector estilizado de departamentos estilo Apple */
.delivery-field select {
  width: 100%;
  height: 44px;
  padding: 10px 38px 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  color: #1d1d1f;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  border: 1.5px solid #d2d2d7;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.delivery-field select:hover {
  border-color: #86868b;
  background-color: #fafafc;
}

.delivery-field select:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
  background-color: #ffffff;
}

.delivery-row-group {
  display: flex;
  gap: 10px;
}

.delivery-row-group .flex-1 {
  flex: 1;
}

@media (max-width: 480px) {
  .delivery-row-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* Sección Selección de Método de Pago (Opcional) */
.payment-method-wrap {
  margin-bottom: 18px;
}

.payment-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.payment-opt-btn {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-opt-btn:hover {
  background: #ebebee;
  border-color: #d1d1d6;
}

.payment-opt-btn.active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

/* Botón Checkout WhatsApp */
.apple-checkout-btn {
  width: 100%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: var(--transition-smooth);
}

.apple-checkout-btn:hover {
  background-color: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

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

.wa-icon {
  width: 20px;
  height: 20px;
}

/* ================= FOOTER / DISCLAIMER ================= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #fbfbfd;
  padding: 40px 24px 60px 24px;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer-text {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.disclaimer-text strong {
  color: var(--text-sub);
  font-weight: 700;
}

/* ================= SECCIÓN BLOG: QUÉ ES LA MACERACIÓN ================= */
.maceracion-blog {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 16px 80px 16px;
  animation: fadeInBlog 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.maceracion-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px auto;
  padding: 0 16px;
}

.maceracion-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin-bottom: 12px;
}

.maceracion-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.maceracion-lead {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-sub);
}

.maceracion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.maceracion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.maceracion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.maceracion-card-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.maceracion-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.maceracion-card-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-sub);
}

.maceracion-card-text strong {
  color: var(--text-main);
  font-weight: 600;
}

.maceracion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.maceracion-list li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-sub);
  position: relative;
  padding-left: 20px;
}

.maceracion-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--text-main);
  font-weight: bold;
}

.maceracion-list li strong {
  color: var(--text-main);
  font-weight: 600;
}

.maceracion-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maceracion-hero-card:hover,
.maceracion-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.maceracion-hero-media,
.maceracion-feature-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0d0d0f;
}

.maceracion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.maceracion-hero-card:hover .maceracion-img,
.maceracion-feature-card:hover .maceracion-img {
  transform: scale(1.025);
}

.maceracion-hero-info,
.maceracion-feature-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.maceracion-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.maceracion-hero-title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.maceracion-hero-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-sub);
}

.maceracion-hero-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.maceracion-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maceracion-feature-card.reverse {
  grid-template-columns: 1.25fr 1fr;
}

.maceracion-feature-card.reverse .maceracion-feature-media {
  order: 2;
}

.maceracion-feature-card.reverse .maceracion-feature-info {
  order: 1;
}

.maceracion-tips-box {
  margin-top: 18px;
  padding: 16px 18px;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

.maceracion-tips-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .maceracion-hero-card,
  .maceracion-feature-card,
  .maceracion-feature-card.reverse {
    grid-template-columns: 1fr;
  }
  .maceracion-feature-card.reverse .maceracion-feature-media {
    order: unset;
  }
  .maceracion-feature-card.reverse .maceracion-feature-info {
    order: unset;
  }
  .maceracion-hero-media,
  .maceracion-feature-media {
    height: 230px;
    min-height: 230px;
  }
  .maceracion-hero-info,
  .maceracion-feature-info {
    padding: 22px 18px;
  }
  .maceracion-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .maceracion-card {
    padding: 22px 18px;
  }
}

/* ================= PREVENCIÓN TOTAL DE MODO OSCURO FORZADO ================= */
@media (prefers-color-scheme: dark) {
  :root, html, body {
    color-scheme: only light !important;
    -webkit-color-scheme: only light !important;
    forced-color-adjust: none !important;
    background-color: #ffffff !important;
    color: #1d1d1f !important;
  }
  .product-card,
  .apple-nav,
  .site-footer,
  .dialog-card,
  .hero-keynote {
    background-color: #ffffff !important;
    color: #1d1d1f !important;
  }
  .product-title,
  .hero-main-title,
  .detail-title {
    color: #1d1d1f !important;
  }
}

