:root {
  --cds-bg: #121212;
  --cds-bg-soft: #1a1a1a;
  --cds-surface: #191919;
  --cds-surface-2: #202020;
  --cds-surface-3: #262626;
  --cds-gold: #c5a059;
  --cds-gold-soft: #d4af37;
  --cds-ivory: #f8f5ef;
  --cds-text: rgba(248, 245, 239, 0.9);
  --cds-muted: rgba(248, 245, 239, 0.62);
  --cds-line: rgba(212, 175, 55, 0.18);
  --cds-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --cds-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.22);
  --cds-radius: 24px;
  --cds-radius-sm: 18px;
  --cds-font-brand: 'Cinzel', Georgia, serif;
  --cds-font-display: 'Playfair Display', Georgia, serif;
  --cds-font-body: 'Inter', 'Segoe UI', sans-serif;
}

html.age-gate-pending,
body.age-gate-open {
  overflow: hidden;
}

/* Mientras el age-gate está activo, el sitio no debe verse ni ser interactivo. */
html.age-gate-pending .site-shell,
body.is-age-locked .site-shell,
html.age-gate-pending #cart-overlay,
html.age-gate-pending #cart-drawer,
body.is-age-locked #cart-overlay,
body.is-age-locked #cart-drawer,
html.age-gate-pending .cds-float-whatsapp,
html.age-gate-pending .cds-float-cart,
html.age-gate-pending .cds-sommelier-fab,
body.is-age-locked .cds-float-whatsapp,
body.is-age-locked .cds-float-cart,
body.is-age-locked .cds-sommelier-fab {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Portada limpia: sin FABs sobre el hero */
body[data-page='home'] .cds-float-whatsapp,
body[data-page='home'] .cds-float-cart,
body[data-page='home'] .cds-sommelier-fab,
body[data-page='home'] .cds-sommelier,
body[data-page='home'] #cs-carrito-flotante {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cart-drawer__payments {
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.cart-drawer__payments-label {
  margin: 0 0 0.65rem;
  color: rgba(212, 175, 55, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cart-drawer__payments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cart-drawer__payments-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.cart-drawer__payments-name {
  color: rgba(248, 245, 239, 0.92);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cart-drawer__payments-hint {
  color: rgba(248, 245, 239, 0.48);
  font-size: 0.72rem;
  line-height: 1.4;
}

.cart-drawer__payment-slots:not([hidden]) {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

body[data-page='home'] {
  font-family: var(--cds-font-body);
  color: var(--cds-text);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.07), transparent 18%),
    linear-gradient(180deg, #181818 0%, #121212 38%, #141414 100%);
}

body[data-page='home']::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 16%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0, transparent 14%, transparent 86%, rgba(255, 255, 255, 0.012) 100%);
  z-index: -2;
}

body[data-page='home']::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(212, 175, 55, 0.08), transparent 32%);
  z-index: -1;
}

body[data-page='home'] main {
  padding-top: 0;
}

/* ------------------------------------------------------------------ Age gate (portada) */
.age-gate--entry {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  overflow: hidden;
}

html.age-gate-pending .age-gate--entry,
body.age-gate-open .age-gate--entry {
  display: flex;
}

.age-gate--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.age-gate__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.age-gate__photo {
  position: absolute;
  inset: -2%;
  background: #120c08 url('../img/hero-atmosphere.jpg') center / cover no-repeat;
  transform: scale(1.04);
  will-change: transform;
}

.age-gate__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 88% 72% at 50% 38%, rgba(8, 6, 4, 0.28) 0%, rgba(8, 6, 4, 0.68) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.52) 0%, rgba(5, 5, 5, 0.38) 42%, rgba(5, 5, 5, 0.62) 100%),
    linear-gradient(135deg, rgba(138, 106, 60, 0.14) 0%, transparent 52%);
  pointer-events: none;
}

.age-gate__smoke {
  position: absolute;
  inset: -25%;
  pointer-events: none;
  filter: blur(48px);
  mix-blend-mode: screen;
  animation: age-gate-smoke 20s ease-in-out infinite alternate;
}

.age-gate__smoke--one {
  background: radial-gradient(circle at 28% 62%, rgba(244, 239, 226, 0.16) 0%, transparent 58%);
  opacity: 0.42;
}

.age-gate__smoke--two {
  background: radial-gradient(circle at 72% 34%, rgba(198, 162, 90, 0.14) 0%, transparent 54%);
  opacity: 0.36;
  animation-delay: -10s;
}

@keyframes age-gate-smoke {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.3;
  }

  100% {
    transform: translate3d(2.5%, -2.5%, 0) scale(1.06);
    opacity: 0.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .age-gate__smoke {
    animation: none;
  }
}

.age-gate__stage {
  position: relative;
  z-index: 1;
  width: min(100%, 38rem);
  display: grid;
  gap: clamp(0.9rem, 2.5vw, 1.35rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
}

.age-gate__eyebrow {
  margin: 0;
  color: var(--cds-gold-soft);
  font-family: var(--cds-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.age-gate__brand {
  margin: 0;
  font-family: var(--cds-font-brand);
  font-size: clamp(2.35rem, 7.5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--cds-ivory);
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(197, 160, 89, 0.18);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .age-gate__brand {
    background: linear-gradient(180deg, #faf7f0 0%, #e7d3a0 42%, #c5a059 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 28px rgba(197, 160, 89, 0.22));
  }
}

.age-gate__tagline {
  margin: -0.35rem 0 0;
  color: rgba(231, 211, 160, 0.78);
  font-family: var(--cds-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.age-gate__description,
.age-gate__note {
  margin: 0;
  color: rgba(248, 245, 239, 0.72);
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.75;
  max-width: 32rem;
  justify-self: center;
}

.age-gate__actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.age-gate__actions .btn {
  min-width: min(100%, 15rem);
}

.age-gate__exit {
  justify-self: center;
  color: var(--cds-ivory);
  font-family: var(--cds-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.age-gate.is-denied .age-gate__actions {
  display: none;
}

.age-gate.is-denied .age-gate__note {
  color: rgba(248, 245, 239, 0.82);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(18, 18, 18, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.cds-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--cds-ivory);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.cds-brand .site-logo,
.site-header .site-logo {
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
}

.cds-brand__lockup {
  display: inline-grid;
  gap: 0.2rem;
}

.nav__logo-fallback {
  font-family: var(--cds-font-brand);
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cds-ivory);
}

.cds-brand__wordmark {
  font-family: var(--cds-font-body);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.52);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: rgba(248, 245, 239, 0.72);
  font-family: var(--cds-font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cds-gold), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cds-ivory);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-selector__button,
.cart-button {
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cds-ivory);
  font-family: var(--cds-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
}

.lang-selector__button:hover,
.cart-button:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  color: var(--cds-ivory);
}

.lang-selector__dropdown {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 24, 0.96);
  backdrop-filter: blur(18px);
  z-index: 130;
}

/* En móvil el botón queda a la izquierda: abrir el menú hacia dentro del viewport */
@media (max-width: 760px) {
  .site-header__actions .lang-selector__dropdown {
    left: 0;
    right: auto;
  }
}

.lang-selector__option {
  font-family: var(--cds-font-body);
}

.cart-button__count {
  min-width: 1.45rem;
  height: 1.45rem;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: var(--cds-gold-soft);
}

.hero.hero-premium {
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 52rem);
  min-height: min(100dvh, 52rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(5.5rem + clamp(2rem, 5vw, 4rem)) 0 clamp(2rem, 5vw, 4rem);
  background-color: #1a1208;
}

.hero-premium__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1208;
  background-image: url('../images/maestria-hoja.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-premium__atmosphere--welcome {
  background-color: #1c140a;
  background-image: url('../images/hero-nicaragua-galera.png');
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.14) contrast(1.04) brightness(1.08);
}

.hero-premium--welcome .hero-premium__veil {
  /* Gradiente lineal uniforme: no forma mancha; oscurece solo la zona de texto inferior */
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(8, 6, 4, 0.16) 55%,
    rgba(6, 5, 3, 0.38) 68%,
    rgba(5, 4, 3, 0.52) 82%,
    rgba(4, 3, 2, 0.6) 100%
  );
}

/* Sin humo ni manchas en primer plano — solo el paisaje limpio */
.hero-premium__atmosphere--welcome::before,
.hero-premium__atmosphere--welcome::after {
  content: none;
  display: none;
}

.hero-premium--welcome .hero-smoke-canvas {
  display: none !important;
}

.hero-premium--welcome .hero-premium__title {
  font-size: clamp(2.75rem, 8vw, 5.6rem);
}

.hero-premium__title--brand {
  font-family: 'Bodoni Moda', 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.08;
  color: #f3ead5;
  text-shadow:
    0 1px 0 rgba(255, 248, 232, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 3;
}

.hero-smoke-stage {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 48rem);
  margin-inline: auto;
  isolation: isolate;
  overflow: visible;
  padding: clamp(1.25rem, 3vw, 2rem) 0.5rem;
}

/* Ya no usamos el óvalo de hoja: el paisaje full-bleed es el fondo */
.hero-smoke-stage__leaf {
  display: none;
}

.hero-smoke-stage__leaf::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 0%, rgba(8, 6, 4, 0.28) 72%, rgba(8, 6, 4, 0.62) 100%);
  pointer-events: none;
}

.hero-smoke-canvas {
  position: absolute;
  left: 0;
  top: -5.5rem;
  width: 100%;
  height: calc(100% + 5.5rem);
  pointer-events: none;
  z-index: 2;
  opacity: 0.78;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-premium__title--brand {
    background: linear-gradient(
      175deg,
      #fffaf0 0%,
      #f4ead6 24%,
      #e6d3a8 52%,
      #c9a86c 82%,
      #b8924e 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter:
      drop-shadow(0 1px 0 rgba(255, 248, 232, 0.28))
      drop-shadow(0 3px 10px rgba(0, 0, 0, 0.62))
      drop-shadow(0 6px 22px rgba(212, 175, 55, 0.16));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-smoke-canvas {
    display: none;
  }

  .hero-premium__atmosphere--welcome {
    transform: none;
  }
}

.hero-premium--welcome .hero-premium__lead {
  color: #e8d4a8;
  font-family: var(--cds-font-body);
  font-weight: 500;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.hero-premium--welcome .hero-premium__lead::after {
  content: '';
  display: block;
  width: min(4.5rem, 28vw);
  height: 1px;
  margin: 1.15rem auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197, 160, 89, 0.15) 18%,
    rgba(212, 175, 55, 0.55) 50%,
    rgba(197, 160, 89, 0.15) 82%,
    transparent 100%
  );
  opacity: 0.85;
}

#maestria.hero-premium .hero-premium__title {
  font-family: var(--cds-font-display);
}

.hero-premium__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 62% 52% at 50% 46%, rgba(7, 7, 7, 0.18) 0%, rgba(7, 7, 7, 0.52) 72%, rgba(7, 7, 7, 0.68) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.58) 0%, rgba(7, 7, 7, 0.22) 34%, rgba(7, 7, 7, 0.28) 68%, rgba(7, 7, 7, 0.62) 100%),
    linear-gradient(135deg, rgba(138, 106, 60, 0.12) 0%, transparent 48%);
  pointer-events: none;
}

.hero-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(197, 160, 89, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero-premium__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  place-items: center;
}

.hero-premium__content {
  display: grid;
  gap: 1.15rem;
  width: min(100%, 46rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
  justify-items: center;
  text-align: center;
  animation: heroFade 1.35s ease both;
}

.hero-premium--welcome .hero-premium__content {
  animation: heroFade 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: none;
  border-radius: 0;
}

.hero__eyebrow,
.section__eyebrow,
.mastery-card__body span,
.site-footer__eyebrow {
  margin: 0;
  color: var(--cds-gold-soft);
  font-family: var(--cds-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-premium__title {
  margin: 0;
  color: var(--cds-ivory);
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-weight: 500;
  font-size: clamp(2.85rem, 7.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-premium__lead {
  margin: 0;
  color: var(--cds-gold-soft);
  font-family: var(--cds-font-body);
  font-weight: 500;
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-premium__subhead {
  max-width: 36rem;
  margin: 0.35rem 0 0;
  color: rgba(248, 245, 239, 0.78);
  font-family: var(--cds-font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.85;
  text-wrap: balance;
}

.hero-premium--welcome .hero-premium__subhead {
  color: rgba(252, 248, 240, 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-premium__actions {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.hero-premium__actions .btn {
  min-width: 14rem;
  box-shadow: var(--cds-shadow-btn, 0 10px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 247, 230, 0.22));
}

.premium-media-frame,
.mastery-card,
.info-grid article,
.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cds-line);
  border-radius: var(--cds-radius);
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.96), rgba(24, 24, 24, 0.98));
  box-shadow: var(--cds-shadow-soft);
}

.premium-media-frame::before,
.mastery-card::before,
.info-grid article::before,
.product-card::before {
  content: '';
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: calc(var(--cds-radius) - 10px);
  pointer-events: none;
}

.premium-media-frame img,
.story-photo img,
.mastery-card img,
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease, filter 320ms ease;
}

.premium-media-frame:hover img,
.mastery-card:hover img,
.product-card:hover .product-card__image img {
  transform: scale(1.03);
  filter: saturate(1.02);
}

.premium-media-frame figcaption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  z-index: 1;
  margin: 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 245, 239, 0.84);
  font-family: var(--cds-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.premium-media-frame figcaption::before {
  content: '';
  position: absolute;
  inset: -4rem -1.2rem -1rem;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0), rgba(18, 18, 18, 0.92));
  z-index: -1;
}

.premium-section {
  position: relative;
  padding: clamp(4.2rem, 7vw, 6rem) 0;
}

.premium-section::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(92vw, 74rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
}

.section-anchor {
  position: relative;
  top: -7rem;
  display: block;
  height: 0;
  visibility: hidden;
}

.section__header,
.leaf-copy,
.story-copy {
  display: grid;
  gap: 1rem;
}

.section__header--centered {
  max-width: 46rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section__header h2,
.leaf-copy h2,
.story-copy h2 {
  margin: 0;
  color: var(--cds-ivory);
  font-family: var(--cds-font-display);
  font-size: clamp(2.3rem, 4vw, 3.75rem);
  line-height: 1;
}

.section__header p,
.leaf-copy p,
.story-copy p {
  margin: 0;
  color: var(--cds-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.leaf-grid,
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.leaf-copy .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.leaf-media,
.story-photo--primary {
  min-height: 29rem;
}

.story-visual {
  position: relative;
  min-height: 32rem;
}

.story-photo {
  position: absolute;
}

.story-photo--primary {
  inset: 0 4.5rem 4.5rem 0;
}

.story-photo--secondary {
  right: 0;
  bottom: 0;
  width: 48%;
  min-height: 14rem;
}

.mastery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.mastery-card img {
  aspect-ratio: 4 / 3;
}

.mastery-card__body,
.info-grid article {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
}

.mastery-card__body span {
  color: var(--cds-gold-soft);
}

.mastery-card__body h3,
.info-grid article h3 {
  margin: 0;
  color: var(--cds-ivory);
  font-family: var(--cds-font-display);
  font-size: 1.65rem;
  line-height: 1.05;
}

.mastery-card__body p,
.info-grid article p {
  margin: 0;
  color: var(--cds-muted);
  line-height: 1.72;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  grid-auto-rows: 1fr;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 26px;
}

.product-card__image {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.16), transparent 42%),
    linear-gradient(180deg, #272727, #1b1b1b);
}

.product-card__photo {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__image img {
  object-fit: cover;
}

.badge {
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: var(--cds-font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge--standard {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--cds-gold-soft);
}

.badge--rango {
  background: rgba(197, 160, 89, 0.18);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #e1bb78;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
}

.product-card__origin {
  margin: 0;
  color: rgba(248, 245, 239, 0.56);
  font-family: var(--cds-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card__title {
  margin: 0;
  color: var(--cds-ivory);
  font-family: var(--cds-font-display);
  font-size: 1.7rem;
  line-height: 1.02;
}

.product-card__title a {
  color: inherit;
}

.product-card__desc,
.product-card__stock,
.product-card__unit {
  margin: 0;
  color: var(--cds-muted);
}

.product-card__desc {
  min-height: 3.2rem;
  font-size: 0.96rem;
  line-height: 1.6;
}

.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0;
}

.product-card__price {
  color: var(--cds-ivory);
  font-family: var(--cds-font-display);
  font-size: 1.8rem;
}

.product-card__unit {
  font-size: 0.8rem;
}

.product-card__stock {
  font-size: 0.82rem;
}

.product-card__format {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
}

.format-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(248, 245, 239, 0.72);
  font-family: var(--cds-font-body);
  font-size: 0.84rem;
}

.format-option input {
  accent-color: var(--cds-gold-soft);
}

.product-card__actions {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  margin-top: auto;
}

.qty-label {
  display: grid;
  gap: 0.3rem;
  color: rgba(248, 245, 239, 0.56);
  font-family: var(--cds-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qty-input {
  width: 5rem;
  min-height: 3rem;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cds-ivory);
}

.qty-input:focus {
  outline: 2px solid rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.4);
}

.btn {
  min-height: 3rem;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  font-family: var(--cds-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* CTA principal: outline dorado minimalista → relleno suave al hover */
body[data-page='home'] .btn--primary {
  border: 1px solid rgba(197, 160, 89, 0.72);
  background: transparent;
  color: var(--cds-gold-soft);
  box-shadow: none;
  letter-spacing: 0.16em;
  transition:
    background 280ms ease,
    color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 180ms ease;
}

body[data-page='home'] .btn--primary:hover,
body[data-page='home'] .btn--primary:focus-visible {
  border-color: rgba(212, 175, 55, 0.95);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(197, 160, 89, 0.14));
  color: #faf7f0;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12);
}

body[data-page='home'] .btn--primary:active {
  transform: translateY(1px);
  background: rgba(197, 160, 89, 0.2);
}

.btn--primary {
  border-color: rgba(212, 175, 55, 0.38);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(197, 160, 89, 0.1));
  color: var(--cds-ivory);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.btn--primary:hover {
  border-color: rgba(212, 175, 55, 0.58);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.24), rgba(197, 160, 89, 0.14));
  color: #fff;
}

.btn--secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--cds-ivory);
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.btn--lg {
  min-height: 3.2rem;
  padding-inline: 1.45rem;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, #171717, #121212);
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0 2.4rem;
  color: var(--cds-muted);
}

.site-footer__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: grid;
  gap: 0.35rem;
}

.site-footer__title {
  margin: 0;
  color: var(--cds-ivory);
  font-family: var(--cds-font-brand);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__brand > p:last-child {
  margin: 0;
}

.site-footer__contact {
  margin: 0;
  font-family: var(--cds-font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer a {
  color: var(--cds-ivory);
}

.site-footer a:hover {
  color: var(--cds-gold-soft);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-premium__content,
  .hero-premium--welcome .hero-premium__content {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    display: flex;
  }

  .leaf-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero.hero-premium {
    padding-top: calc(6.5rem + clamp(1.5rem, 4vw, 2rem));
  }

  .age-gate__actions {
    flex-direction: column;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-header__actions {
    justify-content: space-between;
  }

  .site-nav {
    gap: 0.8rem 1rem;
  }

  .site-nav a {
    font-size: 0.7rem;
  }

  .hero-premium {
    min-height: min(100svh, 36rem);
  }

  .hero-premium__title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero-premium__content {
    width: min(100%, 38rem);
    gap: 1.25rem;
  }

  .mastery-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .story-photo {
    position: relative;
  }

  .story-photo--primary,
  .story-photo--secondary,
  .leaf-media {
    inset: auto;
    width: 100%;
  }

  .hero-premium__actions .btn {
    width: min(100%, 18rem);
  }

  .product-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qty-input,
  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero.hero-premium {
    padding-top: calc(7.5rem + 1.5rem);
  }

  .age-gate--entry {
    padding: 0.9rem;
  }

  .age-gate__stage {
    gap: 1rem;
    padding: 1.25rem;
  }

  .age-gate__brand {
    letter-spacing: 0.14em;
  }

  .hero-premium__title--brand {
    letter-spacing: 0.05em;
  }

  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .leaf-media,
  .story-photo--primary {
    min-height: 16rem;
  }

  .hero-premium {
    min-height: 28rem;
  }

  .premium-media-frame figcaption {
    left: 0.95rem;
    right: 0.95rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .site-footer__inner {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-premium__content,
  .premium-media-frame img,
  .mastery-card img,
  .product-card__image img,
  .btn {
    animation: none;
    transition: none;
  }
}
