/* =============================================================
   GearVolt — hoja de estilos única, organizada por secciones.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #0a0d14;
  --bg-alt: #0e1220;
  --surface: #141a2a;
  --surface-2: #1a2136;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f8;
  --text-dim: #a7b0c4;
  --text-faint: #6b7690;

  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-ink: #0a0d14;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-2-soft: rgba(34, 211, 238, 0.14);

  --good: #34d399;
  --good-soft: rgba(52, 211, 153, 0.12);
  --bad: #fb7185;
  --bad-soft: rgba(251, 113, 133, 0.12);
  --warn: #fbbf24;

  --star: #fbbf24;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.65);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--sans);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1280px;
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background-image:
    radial-gradient(700px 420px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(600px 380px at -10% 10%, rgba(34, 211, 238, 0.10), transparent 60%);
  background-repeat: no-repeat;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.12; letter-spacing: -0.01em; font-weight: 700; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.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-2); color: #05262b;
  z-index: 9999; border-radius: 8px; font-weight: 600; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent-2); border-radius: 2px; }

.text-dim { color: var(--text-dim); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border);
}
.badge-accent { background: var(--accent-soft); color: #cbb8ff; border-color: transparent; }
.badge-good { background: var(--good-soft); color: var(--good); border-color: transparent; }
.badge-warn { background: rgba(251, 191, 36, .12); color: var(--warn); border-color: transparent; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   4. Typografía
   ============================================================= */
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--text-dim); max-width: 62ch; }

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

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  font-family: var(--display); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, a.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(139, 92, 246, 0.65);
}
.btn-primary:hover, a.btn-primary:hover { box-shadow: 0 16px 34px -8px rgba(139, 92, 246, 0.8); }
.btn-buy, a.btn-buy {
  background: linear-gradient(135deg, #ff7a1a, #ff4d4d);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(255, 90, 40, 0.55);
}
.btn-buy:hover, a.btn-buy:hover { box-shadow: 0 16px 34px -8px rgba(255, 90, 40, 0.7); }
.btn-secondary, a.btn-secondary {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong);
}
.btn-secondary:hover, a.btn-secondary:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }
.btn-sm { padding: 9px 16px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- Header / Nav --- */
.site-header {
  position: sticky; top: 0; z-index: 500; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10, 13, 20, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: #0b0e17; } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800;
}
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--text-dim);
  transition: color .2s var(--ease-out), background .2s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--surface-2); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  color: var(--accent-ink); background: var(--accent-2);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle, .nav-search-btn {
  display: flex; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
}
.nav-toggle:hover, .nav-search-btn:hover { border-color: var(--accent-2); color: var(--accent-2); }
.nav-toggle svg, .nav-search-btn svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* --- Buscador global --- */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 600;
  background: rgba(6, 8, 13, 0.72); backdrop-filter: blur(4px);
  padding: 90px 20px 20px;
}
.search-overlay.is-open { display: block; }
.search-panel {
  max-width: 620px; margin-inline: auto; background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-box { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--border); }
.search-box svg { width: 20px; height: 20px; color: var(--text-faint); flex: none; }
.search-box input {
  flex: 1; background: none; border: 0; color: var(--text); font-size: 1.02rem; padding: 10px 0; outline: none;
}
.search-box button { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); }
.search-box button:hover { background: var(--surface); color: var(--text); }
.search-results-list { max-height: 60vh; overflow-y: auto; }
.search-results-list a {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--border);
}
.search-results-list a:hover { background: var(--surface); }
.search-results-list img { width: 44px; height: 44px; object-fit: contain; background: var(--bg-alt); border-radius: 8px; padding: 5px; flex: none; }
.search-results-list .sr-name { font-weight: 700; font-size: 0.92rem; }
.search-results-list .sr-meta { font-size: 0.78rem; color: var(--text-dim); }
.search-empty { padding: 28px 18px; text-align: center; color: var(--text-faint); font-size: 0.9rem; }
.mobile-nav {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 490;
  background: var(--bg-alt); padding: 20px; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 14px 6px; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border); margin-top: 90px; padding-block: 48px 28px; background: var(--bg-alt); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-dim); font-weight: 500; }
.footer-links a:hover { color: var(--accent-2); }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-faint); line-height: 1.7; }
.footer-legal p + p { margin-top: 10px; }

/* --- Card genérica --- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

/* --- Product card --- */
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  height: 100%;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card .pc-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt);
}
.product-card .pc-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s var(--ease-out); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-brand { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-2); }
.pc-name { font-family: var(--display); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.pc-name a::after { content: ""; position: absolute; inset: 0; }
.pc-rating { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--text-dim); }
.stars { color: var(--star); letter-spacing: 1px; font-size: 0.9rem; }
.pc-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.price-now { font-family: var(--display); font-size: 1.35rem; font-weight: 800; }
.price-before { font-size: 0.85rem; color: var(--text-faint); text-decoration: line-through; }
.pc-foot { display: flex; gap: 8px; padding: 0 18px 18px; position: relative; z-index: 1; }
.pc-foot .btn { flex: 1; }

/* --- Chips de categoría / filtros --- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  transition: all .2s var(--ease-out);
}
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--accent-soft); color: #cdbaff; border-color: transparent; }

/* --- Rating stars helper (generado por JS) --- */
.star-icon { width: 1em; height: 1em; display: inline-block; }

/* --- Ficha: layout --- */
.ficha-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
@media (min-width: 960px) { .ficha-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.ficha-galeria { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--nav-h) + 20px); }
.ficha-img-main {
  width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px;
}
.ficha-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.ficha-thumbs button {
  flex: none; width: 68px; height: 68px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--border); background: var(--surface); padding: 6px;
}
.ficha-thumbs button.is-active { border-color: var(--accent-2); }
.ficha-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.ficha-head { display: flex; flex-direction: column; gap: 14px; }
.ficha-marca { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 0.8rem; color: var(--accent-2); }
.ficha-nombre { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ficha-rating { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-dim); flex-wrap: wrap; }
.ficha-precio { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.ficha-precio .precio-actual { font-family: var(--display); font-size: 2.1rem; font-weight: 800; }
.ficha-precio .precio-antes { font-size: 1.05rem; color: var(--text-faint); text-decoration: line-through; }
.precio-nota { width: 100%; font-size: 0.82rem; color: var(--text-faint); }
.pending-note {
  font-size: 0.82rem; color: var(--warn); background: rgba(251,191,36,.1);
  border: 1px solid rgba(251,191,36,.25); padding: 8px 12px; border-radius: var(--radius-sm);
}
.ficha-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ficha-meta-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.ficha-meta-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.84rem; }
.ficha-meta-list b { display: block; font-family: var(--display); font-size: 0.95rem; }

.ficha-section { margin-top: 56px; }
.ficha-section h2 { margin-bottom: 18px; }
.ficha-radar-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 720px) { .ficha-radar-wrap { grid-template-columns: minmax(280px, 380px) 1fr; } }
.radar-chip-list { display: flex; flex-direction: column; gap: 10px; }
.radar-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.radar-chip b { font-family: var(--display); color: var(--accent-2); }

/* --- Spec table --- */
.spec-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: var(--surface); }
.spec-table tr:nth-child(even) { background: var(--bg-alt); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; font-size: 0.92rem; }
.spec-table th { width: 42%; font-weight: 600; color: var(--text-dim); }

/* --- Editorial / pros-contras --- */
.editorial-cuerpo { color: var(--text-dim); display: flex; flex-direction: column; gap: 14px; }
.editorial-cuerpo p { max-width: 74ch; }
.pros-contras { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 26px; }
@media (min-width: 720px) { .pros-contras { grid-template-columns: 1fr 1fr; } }
.pc-block { border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--border); }
.pc-block.pros { background: var(--good-soft); }
.pc-block.contras { background: var(--bad-soft); }
.pc-block h3 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pc-block h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-block ul { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.pc-block li { display: flex; gap: 8px; align-items: flex-start; }
.pc-block li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: 2px; }
.pros li svg { color: var(--good); }
.contras li svg { color: var(--bad); }
.ideal-para {
  margin-top: 22px; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-soft);
  border: 1px solid transparent; font-size: 0.95rem;
}
.ideal-para strong { color: #cdbaff; }

/* --- Reseñas --- */
.resena-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.resena-item:last-child { border-bottom: 0; }
.resena-head { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 6px; }

/* --- Aviso afiliados --- */
.aviso-afiliados {
  font-size: 0.82rem; color: var(--text-faint); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 40px;
}

/* --- Similares --- */
.similares-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 18px; }

/* --- Hero --- */
.hero { padding-block: 56px 40px; position: relative; }
.hero-grid { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { margin-top: 14px; }
.hero-stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--display); font-size: 1.7rem; }
.hero-stat span { font-size: 0.82rem; color: var(--text-dim); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  padding: 28px; overflow: hidden;
}
.hero-visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-visual-grid img { border-radius: var(--radius-sm); background: var(--bg); padding: 10px; aspect-ratio: 1/1; object-fit: contain; }

/* --- Sección genérica --- */
.section { padding-block: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.grid-products { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.category-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.category-tile {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden;
}
.category-tile:hover { border-color: var(--accent-2); }
.category-tile .cat-icon { width: 40px; height: 40px; color: var(--accent-2); }
.category-tile a::after { content: ""; position: absolute; inset: 0; }
.category-tile span { font-size: 0.84rem; color: var(--text-dim); }

/* --- Breadcrumbs --- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.84rem; color: var(--text-faint); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--accent-2); }

/* --- Comparador --- */
.comparador-picker { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.comparador-search { position: relative; flex: 1; min-width: 240px; }
.comparador-search input {
  width: 100%; padding: 13px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font-size: 0.95rem;
}
.comparador-search input:focus { border-color: var(--accent-2); }
.comparador-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; z-index: 40;
  max-height: 320px; overflow-y: auto; box-shadow: var(--shadow-lg); display: none;
}
.comparador-results.is-open { display: block; }
.comparador-results button {
  width: 100%; display: flex; gap: 12px; align-items: center; padding: 10px 14px; text-align: left;
}
.comparador-results button:hover { background: var(--surface); }
.comparador-results img { width: 38px; height: 38px; object-fit: contain; background: var(--bg-alt); border-radius: 6px; padding: 4px; }

.selected-slots { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.slot-wrap { position: relative; padding: 6px 10px 0 0; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 128px; }
.slot .thumb { width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.slot .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.slot .slot-name { font-size: 0.78rem; text-align: center; color: var(--text-dim); }
.remove-badge {
  position: absolute; top: -6px; right: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bad); color: #fff; font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.slot-empty {
  width: 96px; height: 96px; border-radius: var(--radius-sm); border: 1.5px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 1.6rem;
}

.compare-empty { padding: 60px 20px; text-align: center; color: var(--text-dim); }

.compare-table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.9rem; text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--surface-2); position: sticky; top: 0; }
.compare-table tr:nth-child(even) td { background: var(--surface); }
.compare-table .row-label { color: var(--text-dim); font-weight: 600; white-space: nowrap; }
.compare-table td.best { color: var(--good); font-weight: 700; }
.compare-table .col-head { min-width: 180px; }
.compare-table .col-head img { width: 64px; height: 64px; object-fit: contain; background: var(--bg-alt); border-radius: 8px; padding: 6px; margin-bottom: 8px; }
.compare-radar-wrap { margin-top: 40px; }
.compare-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; justify-content: center; }
.legend-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.legend-dot i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* --- Guías / artículos --- */
.article { max-width: 76ch; margin-inline: auto; }
.article h2 { margin-top: 44px; margin-bottom: 14px; }
.article p { color: var(--text-dim); margin-bottom: 16px; }
.article ul, .article ol { margin: 16px 0 16px 20px; list-style: disc; color: var(--text-dim); }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article .pick-card {
  display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); margin: 22px 0;
}
.article .pick-card img { width: 84px; height: 84px; object-fit: contain; background: var(--bg-alt); border-radius: 10px; padding: 8px; flex: none; }
.article .pick-card .pick-body { flex: 1; }
.article .pick-card h4 { font-family: var(--display); margin-bottom: 6px; }

/* --- Página legal --- */
.legal-page .article h2:first-of-type { margin-top: 0; }

/* --- Ofertas --- */
.discount-badge { background: var(--bad); color: #fff; }

/* --- Tabla comparativa mini en home --- */
.trust-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 24px; }
.trust-item { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.trust-item svg { width: 28px; height: 28px; color: var(--accent-2); margin-bottom: 10px; }

/* =============================================================
   6. Responsive extra (breakpoints ya integrados arriba)
   ============================================================= */
@media (min-width: 540px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   7. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .product-card:hover .pc-media img { transform: none; }
}
