/* =============================================================
   ILoveSetup — styles.css
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía
   5. Componentes · 6. Secciones · 7. Comparador · 8. Efectos
   9. Responsive · 10. Movimiento reducido
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #07080d;
  --bg-2: #0b0d14;
  --surface: #10131c;
  --surface-2: #161a26;
  --surface-3: #1d2231;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eaeef6;
  --muted: #9aa2b5;
  --dim: #6a7187;
  --accent: #2ee6ff;
  --accent-2: #7b5cff;
  --accent-ink: #021217;
  --hot: #ff3d8b;
  --ok: #45f0a0;
  --warn: #ffc13d;
  --glow: 0 0 0 1px rgba(46, 230, 255, 0.35), 0 8px 40px -8px rgba(46, 230, 255, 0.35);
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink); z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.js-only { display: none !important; }
.js .js-only { display: revert !important; }
.js .btn.js-only { display: inline-flex !important; }
.js .compare-tray.js-only[hidden], .js .js-only[hidden] { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .8rem; color: var(--dim); margin-top: .9rem; line-height: 1.5; }
.fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.kicker .ic { width: 1.05em; height: 1.05em; }
.grad { background: linear-gradient(92deg, var(--accent) 0%, #8fa7ff 55%, var(--hot) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { color: #c9cfdc; max-width: 72ch; }
.prose p + p, .prose p + h2, .prose ul + h2, .prose p + ul, .prose h2 + p, .prose h2 + ul { margin-top: 1rem; }
.prose h2 { font-size: 1.35rem; color: var(--text); margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .5rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose em { color: var(--text); }

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- barra de aviso de afiliados --- */
.disclosure-bar { background: linear-gradient(90deg, rgba(46,230,255,.08), rgba(123,92,255,.08)); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.disclosure-bar .wrap { display: flex; gap: .5rem; align-items: flex-start; padding-block: .45rem; }
.disclosure-bar .ic { margin-top: .15rem; color: var(--accent); }
.disclosure-bar a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* --- cabecera --- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 13, 0.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; }
.logo-mark { color: var(--accent); filter: drop-shadow(0 0 8px rgba(46,230,255,.5)); }
.logo-mark svg { width: 28px; height: 28px; }
.logo-txt b { color: var(--accent); font-weight: 700; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.js .nav-toggle.js-only { display: inline-flex !important; }
.nav-toggle .ic { width: 22px; height: 22px; }
.site-nav { display: flex; gap: .25rem; align-items: center; overflow-x: auto; width: 100%; padding-bottom: .6rem; font-size: .92rem; }
.js .site-nav { display: none; flex-direction: column; align-items: stretch; overflow: visible; padding: .5rem 0 1rem; }
.js .site-nav.is-open { display: flex; }
.site-nav > a, .nav-drop > summary { padding: .55rem .8rem; border-radius: 9px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; display: flex; align-items: center; gap: .35rem; }
.site-nav > a:hover, .nav-drop > summary:hover, .site-nav > a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; cursor: pointer; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary .ic { width: .95em; height: .95em; transition: transform .25s var(--ease-out); }
.nav-drop[open] > summary .ic { transform: rotate(180deg); }
.nav-drop-panel { display: grid; padding: .35rem; margin: .25rem 0 .25rem .8rem; border-left: 1px solid var(--line-2); }
.nav-drop-panel a { padding: .5rem .8rem; border-radius: 8px; color: var(--muted); }
.nav-drop-panel a:hover, .nav-drop-panel a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.site-nav a.nav-cta, .site-nav a.nav-cta:hover { /* gotcha E.2: re-afirmar colores del botón dentro de la nav */
  color: var(--accent-ink); background: var(--accent); font-weight: 700; justify-content: center; margin-top: .25rem;
  box-shadow: 0 0 24px -6px rgba(46,230,255,.8);
}
.site-nav a.nav-cta[aria-current="page"] { background: #fff; }
.nav-cta .ic { width: 1.1em; height: 1.1em; }
.nav-count { min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 99px; background: var(--accent-ink); color: var(--accent); font-family: var(--mono); font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; }

/* --- botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.1rem; border-radius: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1.1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-out), background .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-sm { min-height: 38px; padding: .5rem .8rem; font-size: .85rem; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: .85rem 1.4rem; font-size: 1rem; border-radius: 12px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(46,230,255,0); }
.btn-primary:hover { box-shadow: var(--glow); transform: translateY(-1px); }
.btn-buy { background: linear-gradient(180deg, #ffcc4d, #ffa51f); color: #1a1000; font-weight: 700; }
.btn-buy:hover { box-shadow: 0 0 0 1px rgba(255,193,61,.5), 0 10px 32px -10px rgba(255,170,30,.7); transform: translateY(-1px); }
.btn-ghost { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(46,230,255,.5); color: #fff; }
.btn-outline, .btn-buy.btn-outline { background: transparent; border-color: rgba(255,193,61,.6); color: var(--warn); }
.btn-outline:hover, .btn-buy.btn-outline:hover { background: rgba(255,193,61,.1); }
.reviews-score .stars-txt { display: none; }
.btn-icon { padding-inline: .7rem; }
.btn-icon span { display: none; }
.btn-compare.is-on { background: rgba(46,230,255,.12); border-color: rgba(46,230,255,.6); color: var(--accent); }
.btn-compare.is-on .ic { transform: rotate(45deg); }
.btn-compare .ic { transition: transform .25s var(--ease-out); }
.link-more { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-weight: 600; font-size: .92rem; }
.link-more .ic { transition: transform .2s var(--ease-out); }
.link-more:hover .ic { transform: translateX(3px); }

/* --- estrellas --- */
.stars { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.stars-track { position: relative; display: inline-flex; color: #3a4052; }
.stars-track .ic, .stars-fill .ic { width: 15px; height: 15px; }
.stars-fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; overflow: hidden; color: var(--warn); }
.stars-txt b { color: var(--text); }

/* --- nota del editor --- */
.nota { --c: var(--accent); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 .4rem; border-radius: 12px; border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--c); font-family: var(--mono); flex: none; }
.nota b { font-size: 1.05rem; line-height: 1; }
.nota[data-tier="s"] { --c: var(--accent); box-shadow: 0 0 20px -6px var(--accent); }
.nota[data-tier="a"] { --c: #8fa7ff; }
.nota[data-tier="b"] { --c: var(--ok); }
.nota[data-tier="c"] { --c: var(--warn); }
.nota-big { width: 108px; height: 108px; border-radius: 22px; gap: .3rem; }
.nota-big b { font-size: 2.3rem; }
.nota-big small { font-family: var(--sans); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; line-height: 1.2; }

/* --- precio --- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; }
.price-now { font-family: var(--mono); font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.price-compact .price-now { font-size: 1.2rem; }
.price-old { color: var(--dim); font-family: var(--mono); font-size: .9rem; }
.badge-off { display: inline-flex; align-items: center; padding: .15rem .45rem; border-radius: 6px; background: var(--hot); color: #fff; font-family: var(--mono); font-size: .75rem; font-weight: 700; }
.price-note { flex-basis: 100%; font-size: .75rem; color: var(--dim); }

/* --- chips de specs --- */
.chips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.chips li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .5rem; align-items: center; padding: .45rem .6rem; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); }
.chips .ic { grid-row: span 2; color: var(--accent); width: 18px; height: 18px; }
.chips span { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); line-height: 1.2; }
.chips b { font-family: var(--mono); font-size: .86rem; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- premio --- */
.award { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; padding: .25rem .6rem .25rem .45rem; border-radius: 99px; background: rgba(255,193,61,.1); border: 1px solid rgba(255,193,61,.35); color: var(--warn); font-size: .74rem; font-weight: 600; line-height: 1.3; }
.award .ic { width: 1em; height: 1em; }
.brand { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* --- tarjeta de producto --- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease-out), box-shadow .35s;
}
.card:hover { border-color: rgba(46,230,255,.4); transform: translateY(-3px); box-shadow: 0 18px 50px -20px rgba(46,230,255,.35); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 11; background: #fff; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.badge-float { position: absolute; top: .7rem; left: .7rem; font-size: .8rem; padding: .25rem .55rem; }
.card-body { display: flex; flex-direction: column; gap: .75rem; padding: 1rem; flex: 1; }
.card-head { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.card-title { font-size: 1.15rem; margin-top: .15rem; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .75rem; border-top: 1px dashed var(--line-2); }
.card-actions { display: flex; gap: .45rem; flex-wrap: wrap; position: relative; z-index: 2; }

/* --- migas --- */
.crumbs { padding-block: 1rem .25rem; font-size: .8rem; color: var(--dim); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-2); }
.crumbs a:hover { color: var(--text); }

/* --- tablas --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.spec-table th, .spec-table td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-table th[scope="row"] { color: var(--muted); font-weight: 500; width: 44%; }
.spec-table td { font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-group th { background: var(--surface-2); font-family: var(--mono); font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; padding-block: .55rem !important; }
.na { color: var(--dim); font-weight: 400; }

/* --- barras --- */
.bar { position: relative; display: block; height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 12px rgba(46,230,255,.45); transform-origin: left; }
.score-bars, .histo { list-style: none; padding: 0; display: grid; gap: .65rem; }
.score-bars li, .histo li { display: grid; grid-template-columns: 7.5rem 1fr 2.5rem; align-items: center; gap: .75rem; font-size: .88rem; }
.score-bars b, .histo b { font-family: var(--mono); text-align: right; }
.histo li { grid-template-columns: 2.6rem 1fr 2.6rem; font-size: .8rem; color: var(--muted); }
.histo li span:first-child { display: inline-flex; align-items: center; gap: .2rem; }
.histo .ic { width: 12px; height: 12px; color: var(--warn); }
.histo .bar i { background: linear-gradient(90deg, #ff9f1c, var(--warn)); box-shadow: none; }

/* --- radar --- */
.radar { width: 100%; height: auto; overflow: visible; }
.rd-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.rd-ring-out { stroke: rgba(46,230,255,.35); fill: rgba(46,230,255,.02); }
.rd-axis { stroke: var(--line); stroke-width: 1; }
.rd-label { fill: var(--muted); font-family: var(--sans); font-size: 12.5px; font-weight: 600; }
.rd-area { fill: var(--c); fill-opacity: .16; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 55%, transparent)); }
.rd-dot { fill: var(--bg); stroke: var(--c); stroke-width: 2; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend span::before { content: ""; width: 14px; height: 4px; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px var(--c); }

/* --- galería --- */
.gallery { display: grid; gap: .7rem; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); touch-action: pan-y; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; background: rgba(7,8,13,.75); color: #fff; align-items: center; justify-content: center; border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.js .gal-nav.js-only { display: inline-flex !important; }
.gal-nav .ic { width: 20px; height: 20px; }
.gal-prev { left: .6rem; } .gal-next { right: .6rem; }
.gal-nav:hover { background: var(--accent); color: var(--accent-ink); }
.gal-count { position: absolute; bottom: .6rem; right: .6rem; padding: .2rem .5rem; border-radius: 6px; background: rgba(7,8,13,.75); color: #fff; font-family: var(--mono); font-size: .72rem; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: 2px; }
.gal-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid transparent; opacity: .65; transition: opacity .2s, border-color .2s; }
.gal-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gal-thumb:hover { opacity: 1; }
.gal-thumb.is-active { border-color: var(--accent); opacity: 1; }

/* --- pros / contras --- */
.pros-cons { display: grid; gap: 1rem; }
.pc-col { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.pc-col h3 .ic, .pc-col li .ic { width: 1.15em; height: 1.15em; }
.pc-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.pc-col li { display: flex; gap: .6rem; align-items: flex-start; color: #cdd3df; }
.pc-col li .ic { margin-top: .2rem; }
.pc-pros { border-top: 3px solid var(--ok); } .pc-pros .ic { color: var(--ok); }
.pc-cons { border-top: 3px solid var(--hot); } .pc-cons .ic { color: var(--hot); }

/* --- FAQ --- */
.faq { display: grid; gap: .6rem; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s var(--ease-out); color: var(--accent); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 1.2rem 1.1rem; color: #c9cfdc; }

.link-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.link-list a { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .9rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-size: .9rem; transition: border-color .2s, color .2s; }
.link-list a:hover { border-color: var(--accent); color: var(--accent); }
.link-list .ic { width: 1em; height: 1em; }
.empty-msg { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); margin-top: 1rem; }

/* --- bandeja del comparador --- */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(12, 14, 22, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(46,230,255,.35); box-shadow: 0 -20px 50px -20px rgba(0,0,0,.8); animation: trayIn .4s var(--ease-out); }
.js .compare-tray.js-only:not([hidden]) { display: block !important; }
@keyframes trayIn { from { transform: translateY(100%); } }
.tray-inner { display: flex; align-items: center; gap: .75rem; padding-block: .7rem; }
.tray-slots { display: flex; gap: .6rem; flex: 1; min-width: 0; padding: 8px 8px 0 0; }
.tray-slot { position: relative; flex: none; }
.tray-thumb { display: block; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.tray-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.tray-remove { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--hot); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.tray-empty-slot { width: 48px; height: 48px; border-radius: 10px; border: 1.5px dashed var(--line-2); }
.tray-actions { display: flex; gap: .5rem; flex: none; }
body.has-tray { padding-bottom: 80px; }

/* =============================================================
   6. Secciones
   ============================================================= */
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-tight { padding-block: 1.25rem 2rem; }
.sec-head { margin-bottom: 1.5rem; display: grid; gap: .5rem; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.sec-head.row > div { display: grid; gap: .5rem; }
.page-head { padding-block: 1.5rem 1.75rem; display: grid; gap: .8rem; }
.page-head > p { color: var(--muted); max-width: 70ch; font-size: 1.05rem; }
.h-small { font-size: 1.1rem; margin-bottom: .8rem; }
.band { background: radial-gradient(1200px 400px at 80% 0%, rgba(123,92,255,.12), transparent 60%), radial-gradient(900px 400px at 0% 100%, rgba(46,230,255,.08), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); }

/* --- hero --- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 5rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; background: radial-gradient(600px 380px at 78% 30%, rgba(46,230,255,.22), transparent 65%), radial-gradient(520px 360px at 15% 10%, rgba(123,92,255,.2), transparent 60%), radial-gradient(400px 260px at 90% 90%, rgba(255,61,139,.14), transparent 60%); }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { display: grid; gap: 1.2rem; }
.hero-lead { color: #c3c9d6; font-size: clamp(1rem, .95rem + .35vw, 1.18rem); max-width: 58ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: .5rem; }
.hero-stats li { display: grid; }
.hero-stats b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--text); }
.hero-stats span { font-size: .8rem; color: var(--muted); }
.hero-card { position: relative; display: grid; gap: 1rem; padding: 1.25rem; border-radius: 22px; background: linear-gradient(160deg, rgba(22,26,38,.9), rgba(11,13,20,.9)); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(46,230,255,.35); transition: transform .5s var(--ease-out), box-shadow .5s; }
.hero-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 40px 90px -30px rgba(46,230,255,.5); }
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 14px; padding: 6%; }
.hud { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent); filter: drop-shadow(0 0 6px var(--accent)); pointer-events: none; }
.hud-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 22px; }
.hud-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: 22px; }
.hud-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: 22px; }
.hud-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 22px; }
.hero-card-tag { position: absolute; top: 1.9rem; left: 1.9rem; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 99px; background: var(--accent-ink); color: var(--accent); border: 1px solid rgba(46,230,255,.5); font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-card-tag .ic { width: 1em; height: 1em; }
.hero-card-info { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hero-card-info strong { font-family: var(--display); font-size: 1.4rem; }
.hero-readout { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.hero-readout li { display: grid; padding: .5rem; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.hero-readout span { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.hero-readout b { font-family: var(--mono); font-size: .9rem; color: var(--accent); white-space: nowrap; }

/* --- comparador (teaser) --- */
.vs-teaser { display: grid; gap: 2rem; align-items: center; }
.vs-copy { display: grid; gap: 1rem; justify-items: start; }
.vs-copy p { color: #c3c9d6; max-width: 56ch; }
.presets { list-style: none; padding: 0; display: grid; gap: .5rem; width: 100%; }
.presets a { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .7rem .9rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; transition: border-color .2s; }
.presets a:hover { border-color: var(--accent); }
.presets em { font-style: normal; font-family: var(--mono); font-size: .7rem; color: var(--hot); padding: .05rem .35rem; border: 1px solid rgba(255,61,139,.4); border-radius: 5px; }
.vs-visual { display: grid; gap: .5rem; padding: 1rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); max-width: 520px; width: 100%; justify-self: center; }

/* --- ranking --- */
.rank-bars { list-style: none; padding: 0; display: grid; gap: .35rem; }
.rank-bars a { display: grid; grid-template-columns: 2rem minmax(0, 10rem) 1fr 2.6rem; align-items: center; gap: .75rem; padding: .55rem .75rem; border-radius: 10px; transition: background .2s; }
.rank-bars a:hover { background: var(--surface); }
.rk-pos { font-family: var(--mono); color: var(--dim); font-size: .85rem; }
.rk-name { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-bars b { font-family: var(--mono); text-align: right; color: var(--accent); }
.rank-bars li:first-child .rk-pos { color: var(--warn); }

/* --- categorías y guías --- */
.cat-grid, .guide-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cat-card { position: relative; display: grid; gap: .5rem; padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .35s var(--ease-out); }
.cat-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(46,230,255,.18), transparent 70%); }
.cat-card:hover { border-color: rgba(46,230,255,.5); transform: translateY(-3px); }
.cat-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(46,230,255,.1); color: var(--accent); border: 1px solid rgba(46,230,255,.3); }
.cat-ico .ic { width: 22px; height: 22px; }
.cat-card p { color: var(--muted); font-size: .88rem; }
.cat-thumbs { display: flex; margin-top: .4rem; }
.cat-thumbs img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; border: 2px solid var(--surface); }
.cat-thumbs img + img { margin-left: -10px; }
.guide-card { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease-out); }
.guide-card:hover { border-color: rgba(46,230,255,.5); transform: translateY(-3px); }
.guide-card img { width: 88px; height: 88px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; }
.guide-card h3 { font-size: 1.05rem; margin-block: .25rem; }
.guide-card p { font-size: .82rem; color: var(--muted); }

/* --- confianza --- */
.trust { display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 22px; background: linear-gradient(135deg, rgba(46,230,255,.06), rgba(123,92,255,.06)), var(--surface); border: 1px solid var(--line-2); }
.trust > div { display: grid; gap: 1rem; justify-items: start; }
.trust p { color: #c3c9d6; }
.trust-list { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.trust-list li { display: grid; gap: .2rem; padding: .9rem 1rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.trust-list b { font-family: var(--display); color: var(--accent); }
.trust-list span { font-size: .85rem; color: var(--muted); }

/* --- ficha --- */
.ficha-top { display: grid; gap: 1.75rem; padding-block: 1rem 2rem; }
.ficha-info { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.ficha-title { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.ficha-fullname { color: var(--dim); font-size: .88rem; line-height: 1.45; }
.ficha-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ficha-rating .src { font-size: .78rem; color: var(--dim); }
.ficha-lead { color: #c9cfdc; font-size: 1.02rem; }
.buy-box { display: grid; gap: 1rem; padding: 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.buy-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.buy-actions .btn { flex: 1 1 180px; }
.ficha-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgba(7,8,13,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.ficha-tabs .wrap { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.ficha-tabs .wrap::-webkit-scrollbar { display: none; }
.ficha-tabs a { flex: none; padding: .8rem .8rem; font-size: .85rem; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.ficha-tabs a:hover, .ficha-tabs a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.score-panel { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1rem, 3vw, 2rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.score-radar { max-width: 460px; width: 100%; justify-self: center; }
.score-side { display: grid; gap: 1.2rem; }
.prose-wrap .prose { font-size: 1.04rem; }
.ideal { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: linear-gradient(90deg, rgba(46,230,255,.1), rgba(46,230,255,.02)); border: 1px solid rgba(46,230,255,.3); border-left: 4px solid var(--accent); max-width: 72ch; }
.ideal-label { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.ideal p { font-weight: 500; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.reviews { display: grid; gap: 1.5rem; padding: clamp(1rem, 3vw, 2rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.reviews-score { display: grid; gap: .6rem; align-content: start; }
.big-rating { font-family: var(--display); font-size: 3.6rem; line-height: 1; }
.reviews-summary { display: grid; gap: .9rem; justify-items: start; align-content: start; }
.reviews-summary p { color: #c9cfdc; }

/* --- filtros del catálogo --- */
.filters { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; padding: 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: .75rem; }
.js .filters.js-only { display: grid !important; }
.filters label { display: grid; gap: .3rem; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.filters label > span { display: flex; justify-content: space-between; }
.filters output { font-family: var(--mono); color: var(--accent); text-transform: none; }
.filters select, .f-search input { width: 100%; min-height: 42px; padding: .5rem .7rem; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); text-transform: none; letter-spacing: 0; font-size: .92rem; }
.filters input[type="range"] { accent-color: var(--accent); width: 100%; min-height: 32px; }
.f-search { grid-column: 1 / -1; position: relative; display: flex !important; align-items: center; }
.f-search .ic { position: absolute; left: .8rem; color: var(--dim); pointer-events: none; }
.f-search input { padding-left: 2.4rem; }
.result-count { font-size: .85rem; color: var(--muted); margin: .25rem 0 1rem; }

/* --- guías --- */
.guide-head .byline { font-size: .85rem; color: var(--dim); }
.quick-table th, .quick-table td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .88rem; white-space: nowrap; }
.quick-table thead th { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); background: var(--surface-2); }
.quick-table tbody tr:hover { background: var(--surface-2); }
.qt-pos { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.qt-model { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.qt-model img { width: 40px; height: 40px; border-radius: 8px; background: #fff; object-fit: contain; padding: 2px; }
.qt-model:hover span { color: var(--accent); }
.picks { display: grid; gap: 1.25rem; padding-block: 1rem; }
.pick { display: grid; gap: 1.25rem; padding: clamp(1rem, 3vw, 1.75rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.pick-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-radius: 14px; overflow: hidden; }
.pick-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pick-num { position: absolute; top: .6rem; left: .6rem; font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1; padding: .35rem .6rem; border-radius: 10px; background: var(--accent-ink); color: var(--accent); }
.pick-body { display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.pick-body > p { color: #c9cfdc; }
.pick-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mini-pc { display: grid; gap: .5rem; }
.mini-pc ul { list-style: none; padding: 0; display: grid; gap: .3rem; font-size: .88rem; color: #c9cfdc; }
.mini-pc li { display: flex; gap: .45rem; align-items: flex-start; }
.mini-pc .ic { margin-top: .2rem; width: 1.05em; height: 1.05em; }
.mini-pros .ic { color: var(--ok); } .mini-cons .ic { color: var(--hot); }
.pick-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line-2); }
.tips { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tip { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.tip-num { font-family: var(--mono); color: var(--accent); font-size: .8rem; font-weight: 700; }
.tip p { color: #c3c9d6; font-size: .92rem; }

/* --- ofertas --- */
.deal-hero { display: grid; gap: 1.5rem; padding: clamp(1rem, 3vw, 2rem); border-radius: 22px; margin-bottom: 1.25rem; background: radial-gradient(600px 300px at 90% 0%, rgba(255,61,139,.14), transparent 60%), var(--surface); border: 1px solid rgba(255,61,139,.35); }
.deal-media { display: block; aspect-ratio: 4 / 3; background: #fff; border-radius: 14px; overflow: hidden; }
.deal-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.deal-body { display: grid; gap: 1rem; align-content: center; justify-items: start; }
.deal-body .kicker { color: var(--hot); }
.deal-body p { color: #c9cfdc; }

/* --- legales / 404 --- */
.legal { max-width: 860px; }
.nf { padding-block: 5rem; justify-items: center; }
.nf-code { font-family: var(--display); font-size: clamp(5rem, 20vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); filter: drop-shadow(0 0 20px rgba(46,230,255,.4)); }
.nf p:last-child { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }

/* --- pie --- */
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 2.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer-grid h2 { font-size: .75rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: .75rem; }
.footer-grid > div { display: grid; gap: .45rem; align-content: start; }
.footer-grid a:not(.logo) { color: var(--muted); font-size: .9rem; }
.footer-grid a:not(.logo):hover { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 36ch; }
.footer-legal { margin-top: 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .78rem; color: var(--dim); }
.footer-legal strong { color: var(--muted); }

/* =============================================================
   7. Comparador
   ============================================================= */
.js .cmp-app.js-only { display: grid !important; }
.cmp-app { gap: 1.5rem; }
.cmp-picker { display: grid; gap: .9rem; padding: 1rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.cmp-picker-head { display: grid; gap: .6rem; }
.cmp-status { font-size: .85rem; color: var(--muted); }
.cmp-status b { color: var(--accent); font-family: var(--mono); }
.cmp-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .5rem; }
.cmp-opt { position: relative; display: flex; align-items: center; gap: .65rem; padding: .5rem .7rem .5rem .5rem; border-radius: 12px; background: var(--bg-2); border: 1.5px solid var(--line); text-align: left; transition: border-color .2s, background .2s, opacity .2s; }
.cmp-opt:hover { border-color: var(--line-2); }
.cmp-opt img { width: 44px; height: 44px; border-radius: 9px; background: #fff; object-fit: contain; padding: 2px; flex: none; }
.cmp-opt span { display: grid; min-width: 0; }
.cmp-opt b { font-size: .86rem; line-height: 1.25; }
.cmp-opt small { font-size: .74rem; color: var(--dim); font-family: var(--mono); }
.cmp-check { margin-left: auto; width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: transparent; transition: all .2s; }
.cmp-check .ic { width: 14px; height: 14px; }
.cmp-opt[aria-pressed="true"] { border-color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 9%, var(--bg-2)); }
.cmp-opt[aria-pressed="true"] .cmp-check { background: var(--c, var(--accent)); border-color: var(--c, var(--accent)); color: var(--accent-ink); }
.cmp-opt:disabled { opacity: .4; cursor: not-allowed; }
.cmp-presets { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .82rem; }
.cmp-presets span { color: var(--dim); margin-right: .2rem; }
.cmp-presets a { padding: .35rem .7rem; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.cmp-presets a:hover { border-color: var(--accent); color: var(--accent); }
.cmp-empty { display: grid; justify-items: center; gap: .6rem; padding: 3rem 1rem; border: 1.5px dashed var(--line-2); border-radius: 20px; color: var(--muted); text-align: center; }
.cmp-empty .ic { width: 36px; height: 36px; color: var(--accent); }
.cmp-result { display: grid; gap: 1.25rem; min-width: 0; }
.cmp-block { padding: clamp(1rem, 3vw, 1.5rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.cmp-block > h2 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.cmp-block > h2 .ic { color: var(--accent); }
.cmp-heads { display: grid; gap: .75rem; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.cmp-headcard { position: relative; display: grid; gap: .5rem; align-content: start; padding: .8rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--c); }
.cmp-headcard .cmp-img { display: block; aspect-ratio: 1; background: #fff; border-radius: 10px; overflow: hidden; }
.cmp-headcard .cmp-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.cmp-headcard h3 { font-size: .98rem; }
.cmp-headcard h3 a:hover { color: var(--c); }
.cmp-headcard .price-now { font-size: 1.1rem; }
.cmp-headcard .btn { width: 100%; }
.cmp-x { position: absolute; top: .45rem; right: .45rem; width: 28px; height: 28px; border-radius: 50%; background: rgba(7,8,13,.8); color: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); z-index: 1; }
.cmp-x .ic { width: 14px; height: 14px; }
.cmp-x:hover { background: var(--hot); }
.cmp-winner { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700; color: var(--warn); text-transform: uppercase; letter-spacing: .06em; }
.cmp-winner .ic { width: 1em; height: 1em; }
.cmp-charts { display: grid; gap: 1.5rem; align-items: center; }
.cmp-radar { max-width: 520px; width: 100%; justify-self: center; }
.cmp-bars { display: grid; gap: 1.1rem; }
.cmp-metric h3 { font-size: .8rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; display: flex; justify-content: space-between; gap: .5rem; }
.cmp-metric h3 small { text-transform: none; letter-spacing: 0; color: var(--dim); font-family: var(--sans); font-size: .72rem; }
.cmp-metric ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.cmp-metric li { display: grid; grid-template-columns: minmax(0, 8.5rem) 1fr 4.6rem; gap: .6rem; align-items: center; font-size: .82rem; }
.cmp-metric li > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.cmp-metric .bar { height: 10px; }
.cmp-metric .bar i { background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.cmp-metric b { font-family: var(--mono); text-align: right; font-size: .8rem; }
.cmp-metric li.is-best b { color: var(--warn); }
.cmp-table th, .cmp-table td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .88rem; vertical-align: top; }
.cmp-table thead th { position: sticky; top: 0; background: var(--surface-2); font-size: .82rem; border-bottom: 2px solid var(--c, var(--line)); }
.cmp-table tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; background: var(--surface); position: sticky; left: 0; z-index: 1; }
.cmp-table td { min-width: 150px; }
.cmp-table td.is-best { color: var(--warn); font-weight: 700; background: rgba(255,193,61,.06); }
.cmp-table td.is-best::after { content: " ★"; font-size: .75em; }
.cmp-table .cmp-group th { background: var(--bg-2); font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.cmp-verdict { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.cmp-verdict li { list-style: none; padding: .8rem 1rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--c); display: grid; gap: .2rem; }
.cmp-verdict span { font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.cmp-verdict b { font-size: .95rem; }
.cmp-verdict small { color: var(--muted); font-size: .8rem; }
.cmp-verdict { padding: 0; }
.cmp-pc { display: grid; gap: .75rem; grid-template-columns: repeat(var(--n), minmax(220px, 1fr)); overflow-x: auto; }
.cmp-pc > div { padding: 1rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--c); display: grid; gap: .6rem; align-content: start; }
.cmp-pc h3 { font-size: .95rem; }
.cmp-pc ul { list-style: none; padding: 0; display: grid; gap: .35rem; font-size: .85rem; color: #c9cfdc; }
.cmp-pc li { display: flex; gap: .4rem; }
.cmp-pc .ic { width: 1em; height: 1em; margin-top: .25rem; }
.cmp-pc .ok .ic { color: var(--ok); } .cmp-pc .ko .ic { color: var(--hot); }
.cmp-pc .ideal-mini { font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: .6rem; }
.all-table th, .all-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .84rem; white-space: nowrap; }
.all-table thead th { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); background: var(--surface-2); }
.all-table tbody th { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.all-table tbody th a:hover { color: var(--accent); }
.all-table tbody tr:hover td, .all-table tbody tr:hover th { background: var(--surface-2); }

/* =============================================================
   8. Efectos
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bar i { transform: scaleX(0); transition: transform 1s var(--ease-out) .15s; }
.js .is-in .bar i, .js .bars-in .bar i { transform: scaleX(1); }
.js .rd-series { opacity: 0; transform: scale(.6); transform-origin: 210px 194px; transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.js .is-in .rd-series, .js .bars-in .rd-series { opacity: 1; transform: none; }
.hero-card img { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@view-transition { navigation: auto; }

/* =============================================================
   9. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-icon span { display: inline; }
  .gal-thumb { width: 76px; height: 76px; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .mini-pc { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: minmax(240px, 320px) 1fr; }
  .pick { grid-template-columns: minmax(240px, 38%) 1fr; }
  .deal-hero { grid-template-columns: 1fr 1.2fr; }
  .cmp-picker-head { grid-template-columns: minmax(0, 420px) 1fr; align-items: center; }
  .cmp-status { text-align: right; }
}
@media (min-width: 960px) {
  .js .nav-toggle.js-only { display: none !important; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav { display: flex; flex-direction: row; align-items: center; width: auto; margin-left: auto; padding: 0; overflow: visible; }
  .site-nav a.nav-cta { margin: 0 0 0 .5rem; }
  .nav-drop-panel { position: absolute; top: calc(100% + .5rem); left: 0; min-width: 250px; margin: 0; padding: .45rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); }
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .vs-teaser { grid-template-columns: 1fr 1fr; }
  .ficha-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .ficha-top .gallery { position: sticky; top: calc(var(--header-h) + 16px); }
  .score-panel { grid-template-columns: 1.1fr 1fr; }
  .trust { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .filters { grid-template-columns: 1.4fr repeat(5, 1fr); align-items: end; }
  .f-search { grid-column: auto; }
  .cmp-charts { grid-template-columns: 1fr 1fr; }
  .rank-bars a { grid-template-columns: 2.4rem 17rem 1fr 3rem; }
}
@media (min-width: 1280px) {
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
}
@media (max-width: 539px) {
  .cmp-heads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-readout { grid-template-columns: repeat(2, 1fr); }
  .rank-bars a { grid-template-columns: 1.6rem minmax(0, 7.5rem) 1fr 2.3rem; gap: .5rem; }
  .score-bars li { grid-template-columns: 6.3rem 1fr 2.2rem; }
  .cmp-metric li { grid-template-columns: minmax(0, 6rem) 1fr 4rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-actions .btn-buy { flex: 1; }
}

/* =============================================================
   10. Movimiento reducido (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-card img { animation: none; }
  @view-transition { navigation: none; }
}
