:root {
  --ink: #090B0D;          /* negro de MI LEGADO ECOM */
  --brand: #9BFB02;        /* verde del logo */
  --text: #16181C;
  --muted: #6B7079;
  --soft: #F6F6F4;
  --line: #E6E6E3;
  --line-strong: #CFCFCB;
  --bg: #FFFFFF;
  --ok: #1F7A4D;
  --err: #B42318;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }

.topbar { border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 560px; margin: 0 auto; padding: 18px 20px; display: flex;
  align-items: center; justify-content: space-between; }
.brand { font-weight: 800; letter-spacing: .14em; font-size: 13px; color: var(--ink);
  text-transform: uppercase; text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }
.secure { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

.wrap { max-width: 560px; margin: 0 auto; padding: 40px 20px 40px; }
.center { text-align: center; padding-top: 88px; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 11px;
  font-weight: 600; margin: 0 0 10px; }
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink); }
.desc { color: var(--muted); margin: 0; }
.small { font-size: 14px; margin-top: 8px; }
.closer { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; padding: 5px 12px;
  background: var(--soft); border-radius: 999px; font-size: 13px; color: var(--text); }
.head { margin-bottom: 28px; }

.summary { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.summary-label { color: var(--muted); font-size: 14px; }
.summary-price { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

.section-title { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.options { display: grid; gap: 10px; }
.opt { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px;
  align-items: center; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.opt:hover { border-color: var(--line-strong); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; }
.opt input:checked ~ .radio { border-color: var(--ink); }
.opt input:checked ~ .radio { background: var(--ink); }
.opt input:checked ~ .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.opt input:focus-visible ~ .radio { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt-title { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.opt-sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.opt-price { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 15px; text-align: right; }
.opt-price small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

.cta { width: 100%; margin-top: 22px; padding: 17px 20px; border: 0; border-radius: 12px;
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: opacity .15s, transform .15s; }
.cta:hover:not([disabled]) { transform: translateY(-1px); }
.cta[disabled] { opacity: .6; cursor: wait; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.trust div { text-align: center; font-size: 12px; color: var(--muted); padding: 10px 4px;
  background: var(--soft); border-radius: 10px; }
.trust strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 1px; }

.methods { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }

.notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--soft);
  color: var(--text); font-size: 14px; }
.notice.error { background: #FEF3F2; color: var(--err); }

.foot { border-top: 1px solid var(--line); margin-top: 8px; }
.foot p { max-width: 560px; margin: 0 auto; padding: 18px 20px; font-size: 12px; color: var(--muted);
  text-align: center; }

.check { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: var(--brand);
  color: var(--ink); box-shadow: 0 0 0 3px var(--ink); display: grid; place-items: center; }

@media (max-width: 420px) {
  h1 { font-size: 26px; }
  .opt { grid-template-columns: 20px 1fr; }
  .opt-price { grid-column: 2; text-align: left; }
  .opt-price small { display: inline; margin-left: 4px; }
}

/* Pago embebido de Stripe */
.pay-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.back { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.back:hover { color: var(--ink); }
.stripe-box { border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; min-height: 420px; background: var(--bg); }
