/* Lo quieres v2 — encabezado fijo con buscador, barra de categorías, tarjetas con foto y carruseles */
:root {
  --bg: #f4f7f6; --surface: #fff; --surface-2: #e9f1ee; --ink: #0f241f; --muted: #557069; --line: #d6e2de;
  --brand: #0f4f42; --brand-2: #14634f; --brand-ink: #fff; --accent: #ff7a1a; --good: #1b7a52; --warn: #b25b00;
  --tienda: #ffb31a; --tienda-ink: #1f1400; --star: #f2a900; --img-bg: #fff;
  --shadow: 0 1px 2px rgba(15,36,31,.06), 0 6px 18px rgba(15,36,31,.07);
  --shadow-2: 0 2px 4px rgba(15,36,31,.08), 0 14px 32px rgba(15,36,31,.12);
  --f-display: "Familjen Grotesk", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px; --head-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1614; --surface: #12201d; --surface-2: #1a2c28; --ink: #e6f0ed; --muted: #9ab2ac; --line: #26392f;
    --brand: #5cc8a8; --brand-2: #79d6ba; --brand-ink: #062019; --accent: #ff944a; --good: #6fd3a5; --warn: #ffb36b;
    --tienda: #ffbe3d; --tienda-ink: #1f1400; --star: #ffc94a; --img-bg: #f4f4f4;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 22px rgba(0,0,0,.25); --shadow-2: 0 2px 6px rgba(0,0,0,.5), 0 16px 34px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.4vw, 46px); }
h2 { font-size: clamp(21px, 2.5vw, 29px); }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); } .small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 80; }
.skip:focus { left: 12px; }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 64ch; }
.kicker, .eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5em; }
.eyebrow { color: var(--muted); letter-spacing: .04em; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; }

/* ---------- Encabezado ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--brand); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-head { background: #0a2a23; } }
.head-row { display: flex; align-items: center; gap: 14px; height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font: 700 22px/1 var(--f-display); white-space: nowrap; }
.logo svg { width: 30px; height: 30px; flex: none; }
.hsearch { position: relative; flex: 1; display: flex; max-width: 640px; margin-left: auto; }
.hsearch input { flex: 1; min-width: 0; height: 42px; border: 0; border-radius: 999px 0 0 999px; padding: 0 16px; font: inherit; font-size: 15.5px; background: #fff; color: #0f241f; }
.hsearch button { height: 42px; border: 0; border-radius: 0 999px 999px 0; padding: 0 16px; background: var(--tienda); color: var(--tienda-ink); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.hsearch button svg { width: 18px; height: 18px; }
.suggest { position: absolute; top: 48px; left: 0; right: 0; list-style: none; margin: 0; padding: 6px; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-2); max-height: 70vh; overflow: auto; z-index: 60; }
.suggest li a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.suggest li a:hover, .suggest li a[aria-selected="true"] { background: var(--surface-2); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--img-bg); border-radius: 8px; flex: none; }
.suggest small { display: block; color: var(--muted); font-size: 12.5px; }
.suggest .s-cat a { font-weight: 600; } .suggest .s-cat svg { width: 22px; height: 22px; color: var(--brand); margin: 0 11px; }
.suggest .s-all a { justify-content: center; color: var(--brand); font-weight: 700; }
.suggest .s-empty { padding: 12px; color: var(--muted); }
.head-fav { position: relative; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; padding: 8px 10px; border-radius: 10px; }
.head-fav:hover { background: rgba(255,255,255,.12); }
.head-fav svg { width: 22px; height: 22px; }
.fav-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--tienda); color: var(--tienda-ink); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.catbar { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink); }
.catbar-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; scroll-snap-type: x proximity; }
.catbar-row::-webkit-scrollbar { display: none; }
.catbar a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600; background: var(--surface-2); scroll-snap-align: start; white-space: nowrap; }
.catbar a svg { width: 19px; height: 19px; color: var(--brand); }
.catbar a:hover { background: var(--line); }
.catbar a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); } .catbar a[aria-current="page"] svg { color: var(--brand-ink); }
.catbar a.hot { background: var(--accent); color: #fff; } .catbar a.hot svg { color: #fff; }
@media (max-width: 720px) {
  .head-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .head-fav { margin-left: auto; }
  .hsearch button span { display: none; }
  html { scroll-padding-top: 170px; }
}

/* ---------- Botones y piezas ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1.5px solid transparent; font: 600 15px/1.2 var(--f-body); text-decoration: none; cursor: pointer; text-align: center; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 16.5px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-tienda { background: var(--tienda); color: var(--tienda-ink); font-weight: 700; }
.btn-tienda:hover { filter: brightness(.96); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 10px; }
.chips li { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.rating { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.rating .stars { color: var(--star); letter-spacing: 1px; font-size: 13px; }
.rating span.n { color: var(--muted); font-weight: 500; }
.price { font: 700 20px/1.1 var(--f-display); margin: 2px 0 10px; }
.price small { display: block; font: 500 12px var(--f-body); color: var(--muted); margin-top: 2px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 14px; }
.crumbs a { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.section { padding: clamp(26px, 4vw, 44px) 0 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.links-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-weight: 600; font-size: 15px; }
.page-top { padding-top: 4px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface-2); font-size: 14px; }
tr.dif { background: color-mix(in srgb, var(--tienda) 14%, transparent); }
.list-good, .list-warn { list-style: none; padding: 0; margin: 0 0 1em; }
.list-good li, .list-warn li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.list-good li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.list-warn li::before { content: "!"; position: absolute; left: 4px; color: var(--warn); font-weight: 800; }
.criteria { padding-left: 1.2em; } .criteria li { margin-bottom: 10px; }
.note { font-size: 13.5px; color: var(--muted); }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card-img { display: block; aspect-ratio: 1 / 1; background: var(--img-bg); padding: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-img .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); background: var(--surface-2); border-radius: 10px; }
.card-img .noimg svg { width: 45%; height: 45%; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.card-title { font: 600 15.5px/1.3 var(--f-body); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .eyebrow { font-size: 11.5px; margin-bottom: 4px; }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr; gap: 6px; position: relative; z-index: 2; }
.card-actions .btn { min-height: 40px; font-size: 14.5px; }
.fav-mini { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 19px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.fav-mini[aria-pressed="true"], .fav[aria-pressed="true"] { color: #e0245e; border-color: #e0245e; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 3; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }

/* Carrusel horizontal */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 232px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 96px; z-index: 5; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); cursor: pointer; font-size: 22px; display: grid; place-items: center; }
.rail-btn.prev { left: -10px; } .rail-btn.next { right: -10px; }
@media (hover: none), (max-width: 720px) { .rail-btn { display: none; } }

/* ---------- Inicio ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(255,179,26,.28), transparent 60%), linear-gradient(160deg, var(--brand) 0%, #0b3c32 100%); color: #fff; padding: clamp(28px, 5vw, 56px) 0 clamp(30px, 5vw, 52px); }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .kicker { color: var(--tienda); }
.hero-search { display: flex; max-width: 640px; margin: 18px 0 12px; position: relative; }
.hero-search input { flex: 1; min-width: 0; height: 54px; border: 0; border-radius: 999px 0 0 999px; padding: 0 22px; font: inherit; font-size: 17px; color: #0f241f; }
.hero-search button { height: 54px; border: 0; border-radius: 0 999px 999px 0; padding: 0 22px; background: var(--tienda); color: var(--tienda-ink); font-weight: 800; font-size: 16px; cursor: pointer; }
.hero-search .suggest { top: 60px; }
.pop-searches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.pop-searches a { color: #fff; background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.pop-searches a:hover { background: rgba(255,255,255,.24); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.hero-stats b { font: 700 22px var(--f-display); color: #fff; margin-right: 4px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.cat-tile:hover { transform: translateY(-2px); border-color: var(--brand); }
.cat-tile .ci { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); color: var(--brand); display: grid; place-items: center; }
.cat-tile .ci svg { width: 30px; height: 30px; }
.cat-tile strong { font: 700 16.5px/1.2 var(--f-display); }
.cat-tile span.n { font-size: 13px; color: var(--muted); }
.season { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.season-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r); text-decoration: none; color: #fff; box-shadow: var(--shadow); min-height: 150px; }
.season-card strong { font: 700 24px/1.1 var(--f-display); }
.season-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.season-bf { background: linear-gradient(135deg, #ff7a1a, #e2470f); }
.season-rg { background: linear-gradient(135deg, #7a1f12, #b2322a); }
.season-vs { background: linear-gradient(135deg, #0f4f42, #1d7a63); }
.countdown { font-weight: 700; } .countdown-mini { font-size: 14px; margin-top: auto; }
.vs-index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.vs-index a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.vs-index a:hover { border-color: var(--brand); }
.vs-index em { color: var(--accent); font-style: normal; font-weight: 800; padding: 0 2px; }
.vs-thumbs { display: flex; flex: none; }
.vs-thumbs img { width: 40px; height: 40px; object-fit: contain; background: var(--img-bg); border-radius: 8px; border: 1px solid var(--line); }
.vs-thumbs img + img { margin-left: -10px; }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.guide-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.guide-list a svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.trust div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.trust strong { display: block; font-family: var(--f-display); font-size: 17px; margin-bottom: 4px; }

/* ---------- Categoría ---------- */
.cat-head { display: flex; gap: 16px; align-items: center; }
.cat-head .ci { width: 64px; height: 64px; border-radius: 16px; background: var(--surface-2); color: var(--brand); display: grid; place-items: center; flex: none; }
.cat-head .ci svg { width: 40px; height: 40px; }
.toolbar { position: sticky; top: calc(var(--head-h) + 52px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); padding: 10px 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
@media (max-width: 720px) { .toolbar { position: static; } }
.filter-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.filter-chips button { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 6px 13px; border-radius: 999px; font: 600 14px var(--f-body); cursor: pointer; white-space: nowrap; }
.filter-chips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sort select { font: inherit; padding: 7px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.sub-sec[hidden] { display: none; }

/* ---------- Ficha ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(18px, 4vw, 44px); align-items: start; padding-bottom: 8px; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }
.product-media { background: var(--img-bg); border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: clamp(14px, 3vw, 30px); position: sticky; top: 140px; }
@media (max-width: 820px) { .product-media { position: static; max-height: 420px; } }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(25px, 3.4vw, 38px); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.product-actions .btn-tienda { flex: 1 1 260px; }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 6px 0 12px; }
.price-box .price { font-size: 30px; margin: 0; }
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding-top: 22px; }
@media (max-width: 820px) { .product-detail { grid-template-columns: 1fr; } }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 560px) { .pc { grid-template-columns: 1fr; } }
.fav { gap: 6px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0; }
.share-label { font-size: 14px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.share-btn { font: 600 13.5px var(--f-body); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; }
.share-wa { background: #25d366; color: #062b14; border-color: #25d366; }
.mobile-buy { display: none; }
@media (max-width: 820px) {
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 10px; align-items: center; padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .mobile-buy .btn { flex: 1; min-height: 48px; }
  .mobile-buy .mb-price { font: 700 18px var(--f-display); white-space: nowrap; }
  body.has-mobile-buy { padding-bottom: 80px; }
}

/* ---------- Artículos, comparativas, comparador ---------- */
.article { max-width: 860px; }
.article h2 { margin-top: 1.4em; }
.vs-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 14px 0 18px; }
.vs-hero a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.vs-hero img { width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: contain; background: var(--img-bg); border-radius: 10px; }
.vs-hero .vsb { font: 800 28px var(--f-display); color: var(--accent); }
.vs-difs { list-style: none; padding: 0; display: grid; gap: 8px; }
.vs-difs li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.vs-par { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; font-size: 15px; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.cmp-bar select { font: inherit; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); max-width: 100%; }
.cmp-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cmp-list label { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 14px; cursor: pointer; }
.cmp-list img { width: 32px; height: 32px; object-fit: contain; background: var(--img-bg); border-radius: 999px; }
.cmp-table th img { width: 90px; height: 90px; object-fit: contain; background: var(--img-bg); border-radius: 10px; display: block; margin-bottom: 6px; }
.cmp-empty { color: var(--muted); padding: 18px; background: var(--surface); border-radius: 12px; border: 1px dashed var(--line); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }
.toc ul { columns: 2 220px; padding-left: 1.1em; }

/* ---------- Pie ---------- */
.site-foot { margin-top: 56px; background: #0b2a23; color: #cfe2dc; padding: 38px 0 28px; font-size: 14.5px; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-title { font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; margin-bottom: 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; } .site-foot li { margin-bottom: 6px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 24px; padding-top: 16px; font-size: 13px; color: #a9c4bc; }
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 44; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--brand); color: var(--brand-ink); font-size: 22px; box-shadow: var(--shadow-2); cursor: pointer; }
body.has-mobile-buy .to-top { bottom: 92px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #0f241f; color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 90; font-size: 14.5px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Ajustes para celular */
@media (max-width: 720px) {
  .filter-chips { flex-basis: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-img { padding: 8px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 14px; }
  .card .chips li:nth-child(n+3) { display: none; }
  .card .rating { font-size: 12.5px; flex-wrap: wrap; }
  .card .rating .stars { display: none; }
  .card-actions .btn { min-height: 38px; font-size: 13px; padding: 0 8px; }
  .price { font-size: 18px; }
  .fav-mini { width: 34px; height: 34px; top: 6px; right: 6px; font-size: 17px; }
  .cat-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-head .ci { width: 52px; height: 52px; }
  .rail-track { grid-auto-columns: minmax(165px, 46%); }
}
