/* =========================================================
   NUVORELIX V10.68 · CÓMO FUNCIONA — CONTRASTE + LAYOUT
   Cargado al final para ganar a reglas universales !important.
   ========================================================= */

body.nx-how-page .nxhow-hero{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;
}
body.nx-how-page .nxhow-hero-copy,
body.nx-how-page .nxhow-hero-panel{
  min-width:0!important;
}
body.nx-how-page .nxhow-hero-copy{
  overflow:hidden;
}
body.nx-how-page .nxhow-hero h1{
  max-width:100%!important;
  overflow-wrap:normal;
}
body.nx-how-page .nxhow-hero-panel{
  overflow:hidden;
}
body.nx-how-page .nxhow-hero-panel li{
  grid-template-columns:58px minmax(0,1fr)!important;
}
body.nx-how-page .nxhow-hero-panel li span{
  min-width:0!important;
  color:#f7f1e2!important;
  overflow-wrap:break-word;
  word-break:normal;
}
body.nx-how-page .nxhow-panel-top,
body.nx-how-page .nxhow-panel-top span{
  color:#9f9274!important;
}
body.nx-how-page .nxhow-panel-top b,
body.nx-how-page .nxhow-hero-panel li b{
  color:#d5ae43!important;
}

/* La tarjeta clara debe seguir siendo clara incluso en modo oscuro. */
html[data-theme] body.nx-how-page .nxhow-choice-card.light{
  background:#fffdfa!important;
  color:#17140f!important;
  border-color:rgba(42,33,20,.13)!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.light h3,
html[data-theme] body.nx-how-page .nxhow-choice-card.light strong,
html[data-theme] body.nx-how-page .nxhow-choice-card.light > a{
  color:#17140f!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.light p,
html[data-theme] body.nx-how-page .nxhow-choice-card.light ul,
html[data-theme] body.nx-how-page .nxhow-choice-card.light li{
  color:#756e61!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.light > span,
html[data-theme] body.nx-how-page .nxhow-choice-card.light li::before{
  color:#c69c2b!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.light > a{
  border-top-color:rgba(30,20,10,.10)!important;
}

/* Panel personalizado: contraste fijo, independiente del tema global. */
html[data-theme] body.nx-how-page .nxhow-choice-card.dark{
  background:linear-gradient(145deg,#17130d,#0e0c08)!important;
  color:#f6f0df!important;
  border-color:rgba(213,174,67,.24)!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.dark h3,
html[data-theme] body.nx-how-page .nxhow-choice-card.dark strong,
html[data-theme] body.nx-how-page .nxhow-choice-card.dark > a{
  color:#f6f0df!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.dark p,
html[data-theme] body.nx-how-page .nxhow-choice-card.dark ul,
html[data-theme] body.nx-how-page .nxhow-choice-card.dark li{
  color:#d2c9b6!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.dark > span,
html[data-theme] body.nx-how-page .nxhow-choice-card.dark li::before{
  color:#e0b541!important;
}
html[data-theme] body.nx-how-page .nxhow-choice-card.dark > a{
  border-top-color:rgba(213,174,67,.18)!important;
}

/* Después del pago: texto siempre legible sobre fondo negro. */
html[data-theme] body.nx-how-page .nxhow-after{
  background:linear-gradient(145deg,#0d0b08,#12100b)!important;
  color:#f5efdf!important;
}
html[data-theme] body.nx-how-page .nxhow-after h2,
html[data-theme] body.nx-how-page .nxhow-after h3,
html[data-theme] body.nx-how-page .nxhow-after strong{
  color:#f5efdf!important;
}
html[data-theme] body.nx-how-page .nxhow-after .nxhow-kicker,
html[data-theme] body.nx-how-page .nxhow-after-grid span{
  color:#e0b541!important;
}
html[data-theme] body.nx-how-page .nxhow-after > div:first-child > p,
html[data-theme] body.nx-how-page .nxhow-after-grid p{
  color:#bdb4a2!important;
}
html[data-theme] body.nx-how-page .nxhow-after-grid{
  border-color:rgba(213,174,67,.18)!important;
}
html[data-theme] body.nx-how-page .nxhow-after-grid article{
  border-color:rgba(213,174,67,.14)!important;
}

/* CTA dorado siempre conserva tinta oscura, también en dark mode. */
html[data-theme] body.nx-how-page .nxhow-final,
html[data-theme] body.nx-how-page .nxhow-final h2,
html[data-theme] body.nx-how-page .nxhow-final > span{
  color:#171207!important;
}
html[data-theme] body.nx-how-page .nxhow-final .nxhow-btn.primary{
  color:#fff!important;
}
html[data-theme] body.nx-how-page .nxhow-final .nxhow-btn.secondary{
  color:#171207!important;
  background:#fffdfa!important;
}

/* Responsive: el panel del hero deja de comprimirse y pasa debajo. */
@media(max-width:1120px){
  body.nx-how-page .nxhow-hero{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.nx-how-page .nxhow-hero-panel{
    min-height:auto!important;
  }
  body.nx-how-page .nxhow-hero-panel ol{
    grid-template-columns:1fr 1fr;
    gap:0 22px;
    padding-top:24px!important;
  }
  body.nx-how-page .nxhow-hero-panel li:nth-child(2){border-top:1px solid rgba(213,174,67,.14)}
}
@media(max-width:700px){
  body.nx-how-page .nxhow-hero-panel ol{grid-template-columns:1fr}
  body.nx-how-page .nxhow-hero-panel li:nth-child(2){border-top:0}
  body.nx-how-page .nxhow-hero-panel li span{font-size:1.18rem!important}
  body.nx-how-page .nxhow-choice-card h3{font-size:clamp(1.75rem,9vw,2.6rem)!important}
  body.nx-how-page .nxhow-after h2{font-size:clamp(2.2rem,11vw,3.4rem)!important}
}
