/* Tienda de Revopol (/tienda) · 2026-09-24. Viene de la maqueta Codex/tmp/maqueta-tienda
   Misma estética que la home nueva: blanco, azul #0867ff sobre tinta #0a214f, Inter, marino en paneles.
   Prefijo t- (la cabecera real usa nb-). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/home-assets/conv/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --ink: #0a214f;
  --ink-2: #22386a;
  --muted: #5d6b89;
  --soft: #f4f8ff;
  --soft-2: #eef5ff;
  --line: #dce6f5;
  --line-2: #c8d6ee;
  --blue: #0867ff;
  --blue-2: #0c4ad9;
  --blue-3: #e7f0ff;
  --navy: #071b43;
  --navy-2: #0b2a5e;
  --yellow: #ffca2a;
  --red: #ec1d2f;
  --green: #0d7a55;
  --wa: #1fae5b;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(10, 33, 79, 0.1);
  --shadow-soft: 0 10px 28px rgba(10, 33, 79, 0.07);
  --shadow-blue: 0 10px 24px rgba(8, 103, 255, 0.28);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body.tienda-page {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.t-lock { overflow: hidden; }
.tienda-page img { max-width: 100%; display: block; }
.tienda-page main a, .tienda-page footer a { color: inherit; }
.tienda-page h1, .tienda-page h2, .tienda-page h3, .tienda-page p { margin: 0; }
.tienda-page main ul, .tienda-page main ol { margin: 0; padding: 0; list-style: none; }
:where(.tienda-page) button { font: inherit; color: inherit; cursor: pointer; }
.tienda-page b, .tienda-page strong { font-weight: 750; }
.skip-to-content { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-to-content:focus { left: 12px; }

.ti { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ti-fill { fill: currentColor; stroke: none; }
.t-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.t-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.t-section { padding-block: clamp(64px, 8vw, 104px); }
.t-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.t-kicker-light { color: #8fb6ff; }
.tienda-page h1 { font-weight: 880; letter-spacing: -0.04em; line-height: 1.02; }
.tienda-page h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 860; letter-spacing: -0.032em; line-height: 1.08; }
.tienda-page h2 span, .tienda-page h1 span { color: var(--blue); }
.t-sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 38em; }
.t-section-head { max-width: 760px; margin-bottom: 36px; }
.t-center { margin-inline: auto; text-align: center; }
.t-center .t-sub { margin-inline: auto; }

/* Botones */
.t-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px;
  font-size: 15px; font-weight: 780; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.t-btn:hover { transform: translateY(-1px); }
.t-btn-lg { height: 56px; padding: 0 24px; font-size: 16px; }
.t-btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.t-btn-block { width: 100%; }
.t-btn-primary { background: var(--blue); color: #fff !important; box-shadow: var(--shadow-blue); }
.t-btn-primary:hover { background: var(--blue-2); }
.t-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.t-btn-ghost:hover { border-color: var(--ink-2); }
.t-btn-yellow { background: var(--yellow); color: var(--navy) !important; box-shadow: 0 10px 24px rgba(255, 202, 42, 0.25); }
.t-btn-yellow:hover { background: #ffd54f; }
.t-btn-link { height: auto; padding: 8px 0; background: none; border: 0; color: var(--blue); font-weight: 750; }
.t-btn-link:hover { text-decoration: underline; transform: none; }
.t-btn-wa { margin-top: 22px; background: var(--wa); color: #fff !important; }
.t-btn-add { height: 40px; padding: 0 14px; background: var(--ink); color: #fff; font-size: 14px; }
.t-btn-add:hover { background: var(--blue); }
.t-icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.t-icon-btn:hover { border-color: var(--ink-2); }
.tienda-page :focus-visible { outline: 3px solid rgba(8, 103, 255, 0.45); outline-offset: 2px; }

.t-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.t-badge-yellow { background: var(--yellow); color: var(--navy); }

/* ═══════════ HERO ═══════════ */
.t-hero {
  position: relative;
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 480px at 88% 10%, rgba(8, 103, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #fff 100%);
  overflow: hidden;
}
.t-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10, 33, 79, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 33, 79, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.t-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.t-hero h1 { font-size: clamp(36px, 4.3vw, 58px); }
.t-hero-lead { margin-top: 20px; max-width: 34em; font-size: 19px; color: var(--ink-2); }
.t-hero-lead b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(255, 202, 42, 0.55) 62%); }
.t-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.t-elite-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 14px;
  border-radius: 99px; background: var(--navy); color: #fff !important; font-size: 14px; text-decoration: none;
}
.t-elite-chip .ti:first-child { color: var(--yellow); }
.t-elite-chip b { color: var(--yellow); }
.t-elite-chip:hover { background: var(--navy-2); }
.t-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px !important; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.t-hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.t-hero-trust .ti { color: var(--green); }

.t-hero-visual { position: relative; height: 520px; }
.t-fan { position: absolute; inset: 0 4% 0 14%; }
.t-fan-page {
  position: absolute; top: 24px; left: 50%; width: 250px; height: auto;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 24px 60px rgba(10, 33, 79, 0.18);
  transform-origin: 50% 100%;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.t-fan-page.p1 { transform: translateX(-50%) rotate(0deg); }
.t-fan-page.p2 { transform: translateX(-50%) rotate(0deg); }
.t-fan-page.p3 { transform: translateX(-50%) rotate(0deg); }
.t-hero-visual.is-in .p1 { transform: translateX(-100%) rotate(-10deg) translateY(28px); }
.t-hero-visual.is-in .p2 { transform: translateX(0%) rotate(9deg) translateY(28px); }
.t-hero-visual.is-in .p3 { transform: translateX(-50%) rotate(-1deg); }
.t-hero-book { position: absolute; left: -2%; bottom: -6px; width: 300px; height: auto !important; filter: drop-shadow(0 22px 30px rgba(10, 33, 79, 0.28)); }
/* Anotaciones al margen, sin tarjeta: texto y una línea de guía hasta la lámina. */
.t-note { position: absolute; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.t-note b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
.t-note-page { top: -4px; right: calc(45% + 140px); width: 172px; text-align: right; }
.t-note-page::after {
  content: ""; position: absolute; top: 9px; left: calc(100% + 10px); width: 34px; height: 38px;
  border-top: 1px solid var(--ink); border-right: 1px solid var(--ink);
}
.t-note-page::before {
  content: ""; position: absolute; top: 44px; left: calc(100% + 40px); width: 8px; height: 8px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(8, 103, 255, 0.18);
}
.t-note-sample { right: 0; bottom: 6px; width: 250px; }
.t-note-sample a { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--blue) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.t-note-sample a:hover { color: var(--blue-2) !important; text-decoration-thickness: 2px; }
.t-note-sample a .ti { transition: transform 0.2s; }
.t-note-sample a:hover .ti { transform: translateX(3px); }

/* ═══════════ PESO EN EL EXAMEN ═══════════ */
.t-weight { background: #fff; }
.t-weight-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.t-weight-total { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.t-weight-total strong { font-size: 52px; font-weight: 880; letter-spacing: -0.04em; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.t-weight-total span { font-size: 16px; color: var(--ink-2); max-width: 20em; }

.t-chart { position: relative; margin: 0; padding: 26px 26px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.t-chart figcaption { margin-bottom: 18px; }
.t-chart figcaption b { display: block; font-size: 17px; }
.t-chart figcaption span { font-size: 13.5px; color: var(--muted); }
.t-chart-rows { display: grid; gap: 4px; }
.t-bar-row {
  display: grid; grid-template-columns: 150px 1fr 56px; align-items: center; gap: 12px;
  width: 100%; padding: 10px 6px; border: 0; border-radius: 8px; background: none; text-align: left;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.t-bar-row:hover, .t-bar-row:focus-visible { background: var(--soft); }
.t-bar-row.is-dim { opacity: 0.45; }
.t-bar-label b { display: block; font-size: 15px; line-height: 1.2; }
.t-bar-label small { font-size: 12.5px; color: var(--muted); }
.t-bar-track {
  position: relative; height: 22px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #e8eef8 calc(25% - 1px) 25%);
}
.t-bar {
  position: absolute; left: 0; top: 4px; height: 14px; width: 0;
  border-radius: 0 4px 4px 0; background: var(--blue);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.t-chart.is-in .t-bar { width: var(--w); }
.t-bar-row:nth-child(2) .t-bar { transition-delay: 0.08s; }
.t-bar-row:nth-child(3) .t-bar { transition-delay: 0.16s; }
.t-bar-row:nth-child(4) .t-bar { transition-delay: 0.24s; }
.t-bar-row:nth-child(5) .t-bar { transition-delay: 0.32s; }
.t-bar-dot {
  position: absolute; top: 50%; left: var(--x); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px #fff;
  opacity: 0; transition: opacity 0.4s ease 0.9s;
}
.t-chart.is-in .t-bar-dot { opacity: 0.8; }
.t-bar-val { font-size: 20px; font-weight: 850; text-align: right; font-variant-numeric: tabular-nums; }
.t-chart-axis { position: relative; height: 20px; margin: 4px calc(56px + 18px) 0 calc(150px + 18px); font-size: 12px; color: var(--muted); }
.t-chart-axis span { position: absolute; transform: translateX(-50%); }
.t-chart-axis span:nth-child(1) { left: 0; }
.t-chart-axis span:nth-child(2) { left: 25%; }
.t-chart-axis span:nth-child(3) { left: 50%; }
.t-chart-axis span:nth-child(4) { left: 75%; }
.t-chart-axis span:nth-child(5) { left: 100%; }
.t-chart-table { margin-top: 14px; font-size: 14px; }
.t-chart-table summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.t-chart-table table { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.t-chart-table th, .t-chart-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.t-chart-table th:first-child { text-align: left; font-weight: 650; }
.t-chart-table thead th { font-size: 12px; color: var(--muted); font-weight: 700; }
.t-chart-table .is-total th, .t-chart-table .is-total td { border-bottom: 0; font-weight: 800; }
.t-chart-tip {
  position: absolute; z-index: 5; display: grid; gap: 4px; width: max-content; max-width: 300px;
  padding: 12px 14px; border-radius: 10px; background: var(--navy); color: #dbe6ff; font-size: 13px;
  box-shadow: var(--shadow); pointer-events: auto;
}
.t-chart-tip b { color: #fff; }
.t-chart-tip a { margin-top: 4px; color: var(--yellow); font-weight: 750; text-decoration: none; }
.t-chart-tip a:hover { text-decoration: underline; }
.t-legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); vertical-align: middle; }

/* ═══════════ CATÁLOGO ═══════════ */
.t-catalog { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.t-catalog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.t-price-mode { display: inline-flex; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.t-price-mode button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 750; color: var(--muted); }
.t-price-mode button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.t-price-mode button[data-price-mode="elite"] .ti { color: #c99700; }
.t-price-mode button[data-price-mode="elite"][aria-pressed="true"] { background: var(--navy); }
.t-price-mode button[data-price-mode="elite"][aria-pressed="true"] .ti { color: var(--yellow); }
.t-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.t-filters button { height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.t-filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

.t-pack {
  position: relative; display: grid; grid-template-columns: 1.15fr 1.2fr 0.8fr; gap: 32px; align-items: center;
  margin-bottom: 24px; padding: 28px 32px; border-radius: 16px; background: #fff;
  border: 2px solid var(--blue); box-shadow: 0 20px 50px rgba(8, 103, 255, 0.14);
}
.t-pack-art { position: relative; height: 230px; }
.t-pack-art img { position: absolute; bottom: 0; width: 58%; filter: drop-shadow(0 12px 18px rgba(10, 33, 79, 0.2)); transition: transform 0.4s ease; }
.t-pack-art .c1 { left: 0; transform: rotate(-10deg); }
.t-pack-art .c2 { left: 10%; transform: rotate(-5deg); }
.t-pack-art .c3 { left: 20%; }
.t-pack-art .c4 { left: 30%; transform: rotate(5deg); }
.t-pack-art .c5 { left: 42%; transform: rotate(9deg); }
.t-pack:hover .c1 { transform: rotate(-14deg) translateX(-10px); }
.t-pack:hover .c5 { transform: rotate(13deg) translateX(10px); }
.t-pack-copy h3 { margin-top: 12px; font-size: 26px; font-weight: 850; letter-spacing: -0.025em; line-height: 1.15; }
.t-pack-copy > p { margin-top: 10px; color: var(--muted); }
.t-pack-points { display: grid; gap: 8px; margin-top: 16px !important; font-size: 15px; }
.t-pack-points li { display: flex; align-items: center; gap: 9px; }
.t-pack-points .ti { color: var(--blue); }
.t-pack-buy { display: grid; gap: 8px; }
.t-price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.t-price-block .t-now { font-size: 44px; font-weight: 880; letter-spacing: -0.04em; line-height: 1; }
.t-price-block.is-elite .t-now { color: var(--navy); background: linear-gradient(transparent 60%, rgba(255, 202, 42, 0.6) 60%); }
.t-was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.t-save { flex-basis: 100%; font-size: 14px; font-weight: 800; color: var(--green); }
.t-elite-line { font-size: 14px; color: var(--muted); }
.t-elite-line b { color: var(--ink); }

.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.t-card {
  display: flex; flex-direction: column; padding: 14px 14px 16px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.t-card.is-flash { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 103, 255, 0.18), var(--shadow); }
.t-card-art { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--soft-2) 75%); overflow: hidden; }
.t-card-art img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.35s ease; }
.t-card:hover .t-card-art img { transform: scale(1.04); }
.t-card-peek {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 11px; border-radius: 99px; background: rgba(7, 27, 67, 0.88); color: #fff; font-size: 12.5px; font-weight: 750;
  opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.t-card:hover .t-card-peek, .t-card-art:focus-visible .t-card-peek { opacity: 1; transform: none; }
.t-card-weight { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 14px !important; padding: 4px 10px; border-radius: 99px; background: var(--blue-3); color: var(--blue-2); font-size: 12.5px; font-weight: 650; }
.t-card-weight b { font-weight: 850; }
.t-card-weight.is-muted { background: var(--soft); color: var(--muted); }
.t-card h3 { margin-top: 10px; font-size: 17px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.t-card-hook { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.t-card-kind { margin-top: 10px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.t-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.t-price-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.t-price-inline .t-now { font-size: 24px; font-weight: 880; letter-spacing: -0.03em; line-height: 1; }
.t-price-inline .t-now.is-elite { color: var(--navy); background: linear-gradient(transparent 58%, rgba(255, 202, 42, 0.6) 58%); }
.t-price-inline .t-was { font-size: 14px; }
.t-elite-mini { flex-basis: 100%; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.t-elite-tag { display: inline-flex; align-items: center; gap: 4px; flex-basis: 100%; font-size: 12px; font-weight: 800; color: #9a7400; }
.t-grid-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* ═══════════ POR DENTRO ═══════════ */
.t-inside { background: #fff; }
.t-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.t-tabs button { height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-size: 14.5px; font-weight: 750; color: var(--ink-2); }
.t-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.t-inside-pages { display: grid; grid-template-columns: repeat(3, 1fr) 0.9fr; gap: 18px; align-items: start; }
.t-inside-page {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.t-inside-page:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow); }
.t-inside-page img { width: 100%; height: auto; }
.t-inside-page span {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 11px; border-radius: 99px; background: rgba(7, 27, 67, 0.88); color: #fff; font-size: 12.5px; font-weight: 750;
}
.t-inside-buy { position: sticky; top: 120px; display: grid; gap: 10px; padding: 22px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.t-inside-buy .t-kicker { margin-bottom: 0; }
.t-inside-buy h3 { font-size: 20px; font-weight: 850; letter-spacing: -0.02em; line-height: 1.2; }
.t-inside-buy > p:not(.t-kicker) { font-size: 14.5px; color: var(--muted); }
.t-inside-buy > p b { color: var(--ink); }

/* ═══════════ BOE vs REVOPOL ═══════════ */
.t-compare { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.t-compare-in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.t-compare-table { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; }
.t-ct-row { display: grid; grid-template-columns: 1.15fr 0.9fr 1.2fr; align-items: center; border-bottom: 1px solid var(--line); }
.t-ct-row:last-child { border-bottom: 0; }
.t-ct-row > span { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 12px 18px; font-size: 15px; }
.t-ct-row > span:first-child { font-weight: 700; }
.t-ct-row > span:nth-child(2) { color: var(--muted); }
.t-ct-row .is-us { background: var(--blue-3); font-weight: 700; color: var(--ink); }
.t-ct-head > span { min-height: 48px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.t-ct-head .is-us { background: var(--blue); color: #fff; }
.t-ct-row .yes { color: var(--green); }
.t-ct-row .no { color: #b3c0d6; }

/* ═══════════ ELITE ═══════════ */
.t-elite {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(700px 400px at 12% 0%, rgba(8, 103, 255, 0.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a2457 100%);
}
.t-elite::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 202, 42, 0.07); }
.t-elite-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; }
.t-elite h2 span { color: var(--yellow); }
.t-elite .t-sub { color: #b9c8e8; }
.t-elite-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 26px !important; font-size: 15.5px; }
.t-elite-list li { display: flex; align-items: center; gap: 9px; }
.t-elite-list .ti { color: var(--yellow); }
.t-elite-list li:last-child { font-weight: 800; color: var(--yellow); }
.t-calc { padding: 26px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3); }
.t-calc-title { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.t-calc-items { display: grid; gap: 8px; margin-top: 14px; }
.t-calc-item { display: grid; grid-template-columns: 20px 48px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; font-size: 14.5px; }
.t-calc-item:has(input:checked) { border-color: var(--blue); background: var(--blue-3); }
.t-calc-item input { width: 18px; height: 18px; accent-color: var(--blue); }
.t-calc-item img { width: 48px; height: 36px; object-fit: contain; }
.t-calc-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.t-calc-sum > div { padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.t-calc-sum span { display: block; font-size: 13px; color: var(--muted); }
.t-calc-sum b { font-size: 26px; font-weight: 880; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.t-calc-sum > div:first-child b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.t-calc-sum .is-elite { background: var(--navy); color: #fff; }
.t-calc-sum .is-elite span { color: #b9c8e8; }
.t-calc-sum .is-elite b { color: var(--yellow); }
.t-calc-save { margin: 12px 0 16px; font-size: 14.5px; color: var(--ink-2); }
.t-calc-save b { color: var(--green); }
.t-calc-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ═══════════ MUESTRA GRATIS ═══════════ */
.t-lead { background: #fff; }
.t-lead-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding: 44px; border-radius: 20px; background: linear-gradient(135deg, var(--soft-2) 0%, #fff 70%); border: 1px solid var(--line); }
.t-lead-art { position: relative; height: 340px; }
.t-lead-art img { position: absolute; top: 0; width: 58%; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.t-lead-art .l1 { left: 4%; transform: rotate(-7deg); }
.t-lead-art .l2 { left: 36%; top: 20px; transform: rotate(6deg); }
.t-lead-stamp {
  position: absolute; left: 30%; bottom: 0; display: grid; place-items: center; width: 96px; height: 96px;
  border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 20px; font-weight: 900; letter-spacing: -0.02em;
  transform: rotate(-12deg); box-shadow: 0 12px 30px rgba(255, 202, 42, 0.45);
}
.t-lead-form { margin-top: 24px; max-width: 520px; }
.t-lead-row { display: flex; gap: 10px; }
.t-lead-form .t-btn[disabled] { opacity: 0.7; cursor: progress; }
.t-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.t-lead-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.t-lead-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.t-lead-error { margin-top: 8px !important; font-size: 14px; font-weight: 650; color: var(--red); }
.t-lead-field { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); }
.t-lead-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 103, 255, 0.15); }
.t-lead-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
.t-lead-form.is-error .t-lead-field { border-color: var(--red); }
.t-lead-form .t-btn { height: 52px; }
.t-lead-legal { margin-top: 10px; font-size: 13px; color: var(--muted); }
.t-lead-legal a { text-decoration: underline; text-underline-offset: 2px; }
.t-lead-ok { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: #e6f6ee; border: 1px solid #b8e3cc; }
.t-lead-ok > .ti { width: 26px; height: 26px; color: var(--green); }
.t-lead-ok b { display: block; }
.t-lead-ok span { font-size: 14.5px; color: var(--ink-2); }
.t-lead-ok a { color: var(--blue); font-weight: 750; }

/* ═══════════ QUIÉN ═══════════ */
.t-author { padding-top: 0; }
.t-author-in { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; max-width: 980px; }
.t-author-photo { width: 220px; height: 220px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--blue-3), var(--shadow); object-fit: cover; }
.t-author-copy > p:not(.t-kicker) { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 40em; }

/* ═══════════ FAQ ═══════════ */
.t-faq { background: var(--soft); }
.t-faq-in { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: start; }
.t-faq-list { display: grid; gap: 10px; }
.t-faq-list details { border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.t-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 750; list-style: none; }
.t-faq-list summary::-webkit-details-marker { display: none; }
.t-faq-list summary .ti { transition: transform 0.2s ease; color: var(--muted); }
.t-faq-list details[open] summary .ti { transform: rotate(180deg); }
.t-faq-list details p { padding: 0 20px 18px; color: var(--ink-2); }

/* ═══════════ PIE ═══════════ */
.t-footer { padding: 48px 0 24px; background: #050f29; color: #9fb0d0; font-size: 14px; }
.t-footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.t-footer-in > div:first-child p { margin-top: 14px; }
.t-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.t-footer a { color: #cfdaf0; text-decoration: none; }
.t-footer a:hover { color: #fff; }
.t-footer-contact { display: grid; gap: 8px; align-content: start; }
.t-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.t-brand { display: inline-flex; flex-direction: column; color: #fff !important; font-size: 14.5px; line-height: 1; }
.t-brand-word { display: inline-flex; align-items: flex-start; }
.t-brand-word > span { font-size: 2em; font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; }
.t-brand sup { position: relative; top: -0.3em; margin-left: 0.12em; font-size: 0.62em; font-weight: 800; }
.t-brand-stripe { display: block; height: 0.2em; margin-top: 0.28em; background: linear-gradient(90deg, var(--red) 0 33.333%, var(--yellow) 33.333% 66.667%, var(--red) 66.667%); }
.t-brand-desc { margin-top: 0.38em; font-size: 0.55em; font-weight: 750; }

/* ═══════════ BARRA FIJA (móvil) ═══════════ */
.t-sticky { display: none; }

/* ═══════════ CARRITO ═══════════ */
.t-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(5, 15, 41, 0.45); backdrop-filter: blur(2px); }
.t-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; display: flex; flex-direction: column;
  width: min(430px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(5, 15, 41, 0.25);
  transform: translateX(104%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.t-drawer:not(.is-open) { box-shadow: none; visibility: hidden; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.35s; }
.t-drawer.is-open { transform: none; }
.t-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.t-drawer-head span { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--blue); }
.t-drawer-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.t-drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: grid; gap: 12px; align-content: start; }
.t-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.t-line img { width: 64px; height: 48px; object-fit: contain; }
.t-line-copy b { display: block; font-size: 14.5px; line-height: 1.25; }
.t-line-copy span { font-size: 12.5px; color: var(--muted); }
.t-line-side { display: grid; justify-items: end; gap: 6px; }
.t-line-side .t-icon-btn { width: 30px; height: 30px; color: var(--muted); }
.t-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.t-qty button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line-2); background: #fff; }
.t-qty span { min-width: 14px; text-align: center; font-weight: 750; font-size: 14px; }
.t-bump { display: flex; gap: 12px; padding: 14px; border-radius: 12px; border: 2px dashed #f0c23a; background: #fff9e6; cursor: pointer; }
.t-bump input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.t-bump > .ti { width: 24px; height: 24px; color: #b58500; }
.t-bump b { display: block; font-size: 14.5px; line-height: 1.3; }
.t-bump span { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-2); }
.t-bump .t-btn { margin-top: 10px; }
.t-bump.is-pack { cursor: default; }
.t-drawer-foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.t-sum { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.t-sum span { display: inline-flex; align-items: center; gap: 6px; }
.t-sum.is-elite { color: #8a6800; font-weight: 750; }
.t-sum.is-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink); }
.t-sum.is-total b { font-size: 24px; font-weight: 880; letter-spacing: -0.03em; }
.t-elite-nudge { display: flex; align-items: center; gap: 10px; margin: 4px 0; padding: 11px 14px; border-radius: 10px; background: var(--navy); color: #dbe6ff !important; font-size: 14px; text-decoration: none; }
.t-elite-nudge .ti:first-child { color: var(--yellow); }
.t-elite-nudge b { color: var(--yellow); }
.t-elite-nudge span { flex: 1; }
.t-pay-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.t-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 10px; text-align: center; }
.t-empty > .ti { width: 40px; height: 40px; color: var(--line-2); }
.t-empty p { font-size: 14.5px; color: var(--muted); max-width: 26em; margin-bottom: 8px; }
.nb-cart.t-pop { animation: t-pop 0.45s ease; }
@keyframes t-pop { 40% { transform: scale(1.22); } }

/* ═══════════ VISOR ═══════════ */

/* ═══════════ AVISO Y PANEL ═══════════ */
.t-toast { position: fixed; left: 50%; bottom: 28px; z-index: 99; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 650; box-shadow: var(--shadow); transform: translate(-50%, 12px); opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; }
.t-toast.is-on { transform: translate(-50%, 0); opacity: 1; }


/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .t-pack { grid-template-columns: 1fr 1fr; }
  .t-pack-buy { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
  .t-pack-buy .t-btn-link { grid-column: 3; }
  .t-inside-pages { grid-template-columns: repeat(3, 1fr); }
  .t-inside-buy { grid-column: 1 / -1; position: static; grid-template-columns: 1fr auto auto; align-items: center; }
  .t-inside-buy .t-kicker, .t-inside-buy h3 { grid-column: 1; }
}
@media (max-width: 980px) {
  .t-hero-in, .t-weight-in, .t-compare-in, .t-elite-in, .t-lead-in, .t-faq-in { grid-template-columns: 1fr; }
  .t-hero-visual { height: 460px; max-width: 560px; width: 100%; margin-inline: auto; }
  .t-fan-page { width: 240px; }
  .t-hero-book { width: 260px; }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .t-lead-art { height: 300px; max-width: 420px; }
}
@media (max-width: 720px) {
  .t-shell { width: calc(100% - 32px); }
  .t-hero { padding: 28px 0 40px; }
  .t-hero-lead { font-size: 17px; }
  .t-hero-cta .t-btn { width: 100%; }
  .t-elite-chip { font-size: 13px; }
  .t-hero-visual { height: 360px; }
  .t-fan { inset: 0; }
  .t-fan-page { width: 180px; }
  .t-hero-visual.is-in .p1 { transform: translateX(-98%) rotate(-10deg) translateY(20px); }
  .t-hero-visual.is-in .p2 { transform: translateX(-2%) rotate(9deg) translateY(20px); }
  .t-hero-book { width: 190px; left: -4%; }
  .t-note-page { display: none; }
  .t-hero-visual { margin-bottom: 62px; }
  .t-note-sample { left: 0; right: 0; top: calc(100% + 14px); bottom: auto; width: auto; text-align: center; }
  .t-weight-total strong { font-size: 42px; }
  .t-chart { padding: 18px 12px 14px; }
  .t-bar-row { grid-template-columns: 96px 1fr 38px; gap: 8px; padding: 9px 4px; }
  .t-bar-label b { font-size: 13.5px; }
  .t-bar-val { font-size: 17px; }
  .t-chart-axis { margin: 4px calc(38px + 12px) 0 calc(96px + 12px); }
  .t-chart-table { overflow-x: auto; }
  .t-pack { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .t-pack-art { height: 170px; max-width: 360px; }
  .t-pack-copy h3 { font-size: 22px; }
  .t-pack-buy { grid-template-columns: 1fr; }
  .t-pack-buy .t-btn-link { grid-column: auto; }
  .t-price-mode { width: 100%; }
  .t-price-mode button { flex: 1; justify-content: center; }
  .t-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .t-filters button { flex: none; }
  .t-grid { grid-template-columns: 1fr; gap: 12px; }
  .t-card { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; padding: 12px; }
  .t-card-art { grid-row: 1 / span 5; aspect-ratio: 1; align-self: start; }
  .t-card-peek { display: none; }
  .t-card-weight { margin-top: 0 !important; }
  .t-card h3 { margin-top: 6px; font-size: 16px; }
  .t-card-hook { font-size: 13.5px; }
  .t-card-kind { margin-top: 6px; }
  .t-card-foot { grid-column: 1 / -1; padding-top: 12px; }
  .t-inside-pages { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 10px; }
  .t-inside-page { scroll-snap-align: center; }
  .t-inside-buy { grid-column: auto; grid-template-columns: 1fr; min-width: 72vw; scroll-snap-align: center; }
  .t-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .t-tabs button { flex: none; }
  .t-ct-row { grid-template-columns: 1fr 0.8fr 1.1fr; }
  .t-ct-row > span { min-height: 48px; padding: 10px 10px; font-size: 13.5px; }
  .t-ct-head > span { font-size: 11px; }
  .t-elite-list { grid-template-columns: 1fr; }
  .t-calc { padding: 18px; }
  .t-calc-item { grid-template-columns: 20px 40px 1fr auto; gap: 10px; font-size: 13.5px; }
  .t-lead-in { padding: 24px 18px; gap: 18px; }
  .t-lead-art { height: 290px; }
  .t-lead-stamp { width: 76px; height: 76px; font-size: 16px; }
  .t-lead-row { flex-direction: column; }
  .t-lead-row .t-lead-field { flex: 0 0 auto; }
  .t-author-in { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
  .t-author-photo { width: 150px; height: 150px; }
  .t-footer-in { grid-template-columns: 1fr; }
  .t-sticky {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(10, 33, 79, 0.2); backdrop-filter: blur(10px);
    transform: translateY(140%); transition: transform 0.3s ease;
  }
  .t-sticky.is-on { transform: none; }
  .t-sticky-copy b { display: block; font-size: 15px; }
  .t-sticky-copy span { font-size: 14px; font-weight: 800; color: var(--blue); }
  .t-sticky-copy s { color: var(--muted); font-weight: 600; margin-right: 4px; }
  .t-sticky .t-btn { height: 44px; }
  body.tienda-page { padding-bottom: 76px; }
  .t-toast { top: 16px; bottom: auto; max-width: calc(100% - 32px); transform: translate(-50%, -12px); }
  .t-card { grid-template-columns: 104px 1fr; }
  .t-card-art { aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  .t-fan-page, .t-bar, .t-drawer { transition: none; }
}

/* ═══════════ PRODUCCIÓN ═══════════ */
.t-card h3 a { color: inherit; text-decoration: none; }
.t-card h3 a:hover { color: var(--blue); }
.t-lead-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.t-lead-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.t-lead-error { margin-top: 10px; font-size: 14px; font-weight: 650; color: var(--red); }
.t-lead-legal a { color: var(--blue); }
.t-lead-form button[disabled] { opacity: 0.7; cursor: progress; }
.t-line > span:first-child { width: 64px; height: 48px; border-radius: 8px; background: var(--soft); }

/* ═══════════ FICHA DE PRODUCTO (/producto/:slug) ═══════════ */
.f-hero { padding: 28px 0 64px; background: radial-gradient(900px 480px at 88% 0%, rgba(8, 103, 255, 0.08), transparent 60%), linear-gradient(180deg, #f7faff 0%, #fff 100%); }
.f-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13.5px; color: var(--muted); }
.f-crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 650; }
.f-crumbs a:hover { color: var(--blue); }
.f-hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.f-gallery { position: sticky; top: 110px; display: grid; gap: 12px; }
.f-main { position: relative; display: block; width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--soft-2) 78%); cursor: zoom-in; }
.f-main img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.f-main:not([data-open-preview]) { cursor: default; }
.f-peek { opacity: 1; transform: none; }
.f-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.f-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; aspect-ratio: 3 / 4; transition: border-color 0.15s ease, transform 0.15s ease; }
.f-thumbs button:hover { border-color: var(--blue); transform: translateY(-2px); }
.f-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f-buy h1 { font-size: clamp(30px, 3.4vw, 44px); }
.f-hook { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.f-weight { display: flex; align-items: center; gap: 22px; margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.f-weight-num strong { display: block; font-size: 40px; font-weight: 880; letter-spacing: -0.04em; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.f-weight-num span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); max-width: 12em; }
.f-weight-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; margin-left: auto; }
.f-wbar { position: relative; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; width: 30px; height: 100%; font-variant-numeric: tabular-nums; }
.f-wbar i { align-self: end; width: 14px; height: var(--h); min-height: 3px; border-radius: 4px 4px 0 0; background: var(--blue); }
.f-wbar b { font-size: 12.5px; line-height: 1.3; }
.f-wbar small { font-size: 10.5px; color: var(--muted); }
.f-price { margin-top: 24px; }
.f-price .t-now { font-size: 42px; }
.f-price .t-was { font-size: 18px; }
.f-was { display: block; margin-top: 6px; font-size: 14px; font-weight: 750; color: var(--green); }
.f-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.f-cta .t-btn { flex: 1 1 200px; }
.f-upsell { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 12px; border: 2px dashed #f0c23a; background: #fff9e6; }
.f-upsell img { width: 96px; flex: none; }
.f-upsell b { display: block; font-size: 15px; line-height: 1.3; }
.f-upsell span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }
.f-upsell a { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 750; color: var(--blue) !important; }
.f-section { padding-block: clamp(48px, 6vw, 80px); }
.f-inside { background: #fff; }
.f-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f-desc { background: var(--soft); }
.f-desc-in { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: start; }
.f-desc-text { display: grid; gap: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 44em; }
.f-related { background: #fff; }
.f-back { margin-top: 22px; text-align: center; }
.f-back a { color: var(--blue) !important; font-weight: 750; }
.ficha-page .t-faq { background: #fff; }
@media (max-width: 980px) {
  .f-hero-in, .f-desc-in { grid-template-columns: 1fr; gap: 28px; }
  .f-gallery { position: static; max-width: 560px; }
}
@media (max-width: 720px) {
  .f-hero { padding: 18px 0 40px; }
  .f-main { padding: 10px; }
  .f-weight { flex-wrap: wrap; }
  .f-weight-bars { margin-left: 0; }
  .f-pages { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 10px; }
  .f-pages .t-inside-page { scroll-snap-align: center; }
  .f-upsell img { width: 72px; }
}

/* ───────── Visor de producto (ProductViewer.astro) · 2026-09-25, de la maqueta Codex/tmp/maqueta-producto.
   Prefijo pv-. Sustituye al visor .t-viewer. */
.pv-layer {
  --yellow-2: #fff4cc; --green-2: #e3f5ed; --red-pv: #d61f30; --red-2: #fdebed;
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(5, 15, 41, 0.66);
  backdrop-filter: blur(3px);
  animation: pv-fade 0.2s ease-out;
}
@keyframes pv-fade { from { opacity: 0; } }
@keyframes pv-rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } }

.pv-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  width: min(1200px, 100%);
  height: min(800px, 100%);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  animation: pv-rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pv-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff;
}
.pv-close:hover { border-color: var(--line-2); background: var(--soft); }
.pv-close .ti { width: 20px; height: 20px; }

/* ───────── Escenario (láminas) */
.pv-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0; min-height: 0;
  overflow: hidden;
  background: #eef2f8;
  border-right: 1px solid var(--line);
}
.pv-stage-head {
  min-width: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 12px 22px;
}
.pv-page-info { display: grid; gap: 2px; min-width: 0; }
.pv-count { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pv-page-info strong { font-size: 16px; font-weight: 750; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-fell {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--yellow-2);
  color: #6b4d00;
  font-size: 12.5px; font-weight: 650;
  white-space: nowrap;
}
.pv-fell::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0a800; }
.pv-zoom-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 13px;
  border: 1px solid var(--line-2); border-radius: 9px;
  background: #fff;
  font-size: 13.5px; font-weight: 650;
  white-space: nowrap;
}
.pv-fell[hidden] + .pv-zoom-btn { margin-left: auto; }
.pv-zoom-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-3); color: var(--blue-2); }

.pv-stage-main { display: grid; grid-template-columns: 84px minmax(0, 1fr); min-height: 0; }
.pv-thumbs { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 12px 20px; overflow-y: auto; }
.pv-thumbs button {
  position: relative; flex: 0 0 auto;
  padding: 0; border: 2px solid transparent; border-radius: 7px;
  background: #fff; overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 33, 79, 0.1);
  opacity: 0.72;
  transition: opacity 0.15s, border-color 0.15s;
}
.pv-thumbs button:hover { opacity: 1; }
.pv-thumbs button.is-on { border-color: var(--blue); opacity: 1; }
.pv-thumbs img { display: block; width: 100%; height: auto; }
.pv-thumbs button b {
  position: absolute; left: 4px; bottom: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 5px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.pv-thumbs-sep { margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.pv-thumbs button.is-photo img { aspect-ratio: 1024 / 1300; object-fit: cover; }
.pv-thumbs button i {
  position: absolute; right: 4px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #e0a800; box-shadow: 0 0 0 2px #fff;
}

.pv-canvas { position: relative; min-height: 0; }
.pv-sheet {
  position: absolute; inset: 6px 76px 18px 60px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}
.pv-sheet img {
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  min-width: 0; min-height: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(10, 33, 79, 0.16), 0 0 0 1px rgba(10, 33, 79, 0.06);
  cursor: zoom-in;
  transition: transform 0.25s ease, opacity 0.18s ease;
  user-select: none;
  touch-action: pan-y;
}
.pv-sheet.is-zoomed img { transform: scale(2.1); cursor: zoom-out; box-shadow: none; transition: transform 0.25s ease; touch-action: none; }
.pv-sheet.is-swap img { opacity: 0; }
.pv-nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-soft);
}
.pv-nav:hover { border-color: var(--line-2); }
.pv-nav.prev { left: 8px; }
.pv-nav.next { right: 20px; }
.pv-dots { display: none; }

.pv-laws { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 20px 16px 22px; border-top: 1px solid var(--line); background: #f7f9fc; }
.pv-laws > span { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pv-laws-row { min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.pv-laws-row::-webkit-scrollbar { display: none; }
.pv-laws-row button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.pv-laws-row button small { color: var(--muted); font-weight: 600; font-size: 12px; }
.pv-laws-row button:hover { border-color: var(--line-2); }
.pv-laws-row button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.pv-laws-row button[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.7); }

/* ───────── Lateral */
.pv-side { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.pv-side-body { overflow-y: auto; padding: 22px 26px 18px; scrollbar-width: thin; }
.pv-layer .pv-kicker { margin: 4px 0 8px; font-size: 13px; font-weight: 650; color: var(--blue); }
.pv-kicker span { color: var(--muted); font-weight: 600; }
.pv-side h2 { margin: 0 48px 6px 0; font-size: 26px; line-height: 1.15; font-weight: 850; letter-spacing: -0.025em; }
.pv-layer .pv-hook { margin: 0 0 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.pv-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -6px 0 18px; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); font-weight: 550; }
.pv-specs li { display: inline-flex; align-items: center; gap: 5px; }
.pv-specs li + li::before { content: ""; width: 4px; height: 4px; margin-right: 10px; border-radius: 50%; background: var(--line-2); }
.pv-specs b { color: var(--ink); font-weight: 800; }
.pv-specs button { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.pv-weight {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px 20px;
  padding: 16px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pv-weight-num strong { display: block; font-size: 44px; line-height: 0.95; font-weight: 850; letter-spacing: -0.035em; }
.pv-weight-num span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--muted); font-weight: 550; }
.pv-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; height: 84px; }
.pv-bar { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; height: 100%; }
.pv-bar i { align-self: end; width: 100%; max-width: 34px; border-radius: 5px 5px 2px 2px; background: var(--blue); transform-origin: bottom; animation: pv-grow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.pv-bar:last-child i { background: var(--ink); }
.pv-bar b { margin-top: 4px; font-size: 13px; font-weight: 750; }
.pv-bar span { font-size: 11px; color: var(--muted); font-weight: 600; }
@keyframes pv-grow { from { transform: scaleY(0); } }
.pv-layer .pv-weight-foot { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.pv-weight-foot b { color: var(--ink); }

/* Pregunta del tribunal */
.pv-quiz { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.pv-quiz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pv-quiz-head b { font-size: 14px; font-weight: 750; }
.pv-quiz-head span { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.pv-layer .pv-quiz-q { margin: 0 0 12px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.pv-opts { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pv-opts button {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; align-items: start; gap: 10px;
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; text-align: left;
  font-size: 14px; line-height: 1.4;
  transition: border-color 0.15s, background 0.15s;
}
.pv-opts button:hover:not(:disabled) { border-color: var(--blue); background: var(--soft); }
.pv-opts button b {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--soft-2); color: var(--ink);
  font-size: 13px; font-weight: 750;
}
.pv-opts button .ti { margin-top: 4px; opacity: 0; }
.pv-opts button:disabled { cursor: default; }
.pv-opts button.is-right { border-color: var(--green); background: var(--green-2); }
.pv-opts button.is-right b { background: var(--green); color: #fff; }
.pv-opts button.is-right .ti { opacity: 1; color: var(--green); }
.pv-opts button.is-wrong { border-color: var(--red-pv); background: var(--red-2); }
.pv-opts button.is-wrong b { background: var(--red-pv); color: #fff; }
.pv-opts button.is-wrong .ti { opacity: 1; color: var(--red-pv); }
.pv-opts button.is-dim { opacity: 0.55; }
.pv-layer .pv-why { display: flex; gap: 9px; margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); animation: pv-fade 0.25s; }
.pv-why strong { color: var(--ink); }
.pv-why .ti { margin-top: 2px; color: var(--blue); }
.pv-quiz-link { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Formatos */
.pv-formats { margin: 0; padding: 18px 0 4px; border: 0; }
.pv-formats legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 750; }
.pv-formats > div { display: grid; gap: 8px; }
.pv-fmt {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pv-fmt:hover { border-color: var(--line-2); }
.pv-fmt input { position: absolute; opacity: 0; pointer-events: none; }
.pv-fmt:has(input:checked) { border-color: var(--blue); background: #f6f9ff; box-shadow: 0 0 0 3px rgba(8, 103, 255, 0.1); }
.pv-fmt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.pv-fmt > img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: var(--soft); }
.pv-fmt-txt { display: grid; gap: 2px; min-width: 0; }
.pv-fmt-txt b { font-size: 14.5px; font-weight: 700; }
.pv-fmt-txt small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pv-fmt-price { display: grid; justify-items: end; gap: 1px; font-size: 16px; font-weight: 800; white-space: nowrap; }
.pv-fmt-price s { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pv-fmt-price em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--green); }
.pv-fmt-stack { grid-column: 2 / -1; display: grid; gap: 5px; margin-top: 2px; }
.pv-stack { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--soft-2); gap: 2px; }
.pv-stack i { display: block; height: 100%; background: #b8cdf5; }
.pv-stack i.is-me { background: var(--blue); }
.pv-fmt-stack small { font-size: 12px; color: var(--muted); }
.pv-fmt-stack small b { color: var(--ink); }

/* Compra */
.pv-buy { padding: 14px 26px 18px; border-top: 1px solid var(--line); background: #fff; }
.pv-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.pv-price s { font-size: 16px; font-weight: 600; color: var(--muted); }
.pv-price strong { font-size: 32px; line-height: 1; font-weight: 850; letter-spacing: -0.03em; }
.pv-price small { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pv-layer .pv-elite-line { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.pv-elite-line .ti { color: #c28a00; }
.pv-elite-line a { color: var(--blue); font-weight: 650; }
.pv-elite-line.is-used .ti { color: var(--muted); }
.pv-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 54px;
  border: 0; border-radius: 12px;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 750;
  box-shadow: var(--shadow-blue);
  transition: background 0.15s, transform 0.1s;
}
.pv-cta:hover { background: var(--blue-2); }
.pv-cta:active { transform: translateY(1px); }
.pv-cta .ti { width: 20px; height: 20px; }
.pv-cta.is-done { background: var(--green); box-shadow: 0 10px 24px rgba(13, 122, 85, 0.25); }
.pv-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.pv-buy-row a { color: var(--ink); font-weight: 650; text-underline-offset: 3px; }
.pv-buy-row span { display: inline-flex; align-items: center; gap: 6px; }
.pv-buy-row .ti { color: var(--green); }


/* ───────── Tamaños intermedios */
@media (max-width: 1100px) {
  .pv-dialog { grid-template-columns: minmax(0, 1fr) 380px; }
  .pv-side-body { padding-inline: 22px; }
  .pv-buy { padding-inline: 22px; }
  .pv-fell { display: none; }
  .pv-fell + .pv-zoom-btn { margin-left: auto; }
}

/* ───────── Móvil: hoja a pantalla completa, compra fija abajo */
@media (max-width: 760px) {
  .pv-layer { padding: 0; align-items: end; }
  .pv-dialog {
    display: block;
    width: 100%; height: calc(100% - 10px);
    border-radius: 18px 18px 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .pv-close { position: sticky; top: 10px; float: right; margin: 10px 10px -50px 0; width: 38px; height: 38px; box-shadow: var(--shadow-soft); }
  .pv-stage { display: block; border-right: 0; border-bottom: 1px solid var(--line); }
  .pv-stage-head { padding: 14px 60px 8px 16px; }
  .pv-fell, .pv-zoom-btn { display: none; }
  .pv-stage-main { display: block; }
  .pv-thumbs { display: none; }
  .pv-canvas { aspect-ratio: 1024 / 1300; }
  .pv-sheet { inset: 4px 14px 30px; }
  .pv-sheet img { touch-action: pan-y; }
  .pv-nav { width: 36px; height: 36px; margin-top: -30px; }
  .pv-nav.prev { left: 6px; }
  .pv-nav.next { right: 6px; }
  .pv-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
  .pv-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b7c3d9; transition: width 0.2s; }
  .pv-dots i.is-on { width: 20px; border-radius: 4px; background: var(--ink); }
  .pv-dots i.is-fell:not(.is-on) { background: #e0a800; }
  .pv-laws { padding: 10px 0 12px 16px; gap: 10px; }
  .pv-laws > span { display: none; }
  .pv-laws-row { padding-right: 16px; }
  .pv-side { display: block; }
  .pv-side-body { overflow: visible; padding: 18px 16px 8px; }
  .pv-side h2 { margin-right: 0; font-size: 23px; }
  .pv-layer .pv-hook { font-size: 14.5px; }
  .pv-weight-num strong { font-size: 38px; }
  .pv-bars { height: 72px; gap: 6px; }
  .pv-buy {
    position: sticky; bottom: 0; z-index: 4;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 14px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 24px rgba(10, 33, 79, 0.08);
  }
  .pv-price { grid-column: 1; grid-row: 1; margin: 0; flex-direction: column; align-items: flex-start; gap: 0; }
  .pv-price strong { font-size: 26px; }
  .pv-price s { font-size: 13px; }
  .pv-price small { font-size: 12px; }
  .pv-cta { grid-column: 2; grid-row: 1; height: 50px; font-size: 16px; }
  .pv-layer .pv-elite-line { grid-column: 1 / -1; grid-row: 2; margin: 6px 0 0; font-size: 12.5px; }
  .pv-buy-row { display: none; }
}
