@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/Archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/Archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 850; font-style: normal; font-display: swap; src: url("../assets/fonts/Archivo-850.woff2") format("woff2"); }

:root {
  --bg: #F2F4F7;
  --card: #fff;
  --ink: #172D42;
  --ink-2: #44586B;
  --line: #DDE2E8;
  --line-2: #EBEEF2;
  --orange: #E95D2A;
  --btn: #C84A17;
  --btn-h: #A93C10;
  --yellow: #FFD23F;
  --ok: #17794A;
  --bad: #B3261E;
  --warn: #8A5A00;
  --r: 4px;
  --shadow: 0 1px 2px rgba(23, 45, 66, .10), 0 4px 14px rgba(23, 45, 66, .06);
  --shadow-h: 0 2px 4px rgba(23, 45, 66, .10), 0 14px 30px rgba(23, 45, 66, .16);
  --gut: clamp(12px, 2.4vw, 28px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 15px/1.45 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 8px; }
h1, h2, h3 { font-weight: 850; letter-spacing: -.01em; line-height: 1.1; }

/* ---------- Barra de promos ---------- */
.utilbar { background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.utilbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.util-promos { display: flex; gap: 22px; flex-wrap: wrap; }
.util-promos li { display: inline-flex; gap: 7px; align-items: center; }
.util-promos li::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 1px; transform: rotate(45deg); }
.util-links { display: flex; gap: 18px; }
.util-links a { text-decoration: none; opacity: .88; }
.util-links a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.top-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(14px, 2.6vw, 36px); align-items: center; padding-block: 14px; }
.logo img { width: clamp(168px, 17vw, 238px); height: auto; }
.search { display: flex; max-width: 760px; width: 100%; justify-self: center; height: 46px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; }
.search select { flex: none; width: 196px; border: 0; border-right: 1.5px solid var(--line); border-radius: 0; background: var(--bg); padding: 0 10px; font-weight: 700; font-size: 14px; height: auto; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; background: transparent; }
.search input::placeholder { color: #5C6E7F; }
.search input:focus, .search select:focus { outline: none; background: #FFF4EE; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(233, 93, 42, .4); }
.search button { flex: none; width: 54px; border: 0; background: var(--btn); display: grid; place-items: center; }
.search button:hover { background: var(--btn-h); }
.search svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; text-align: left; }
.cart-btn:hover { background: var(--bg); }
.cart-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cart-txt { display: grid; line-height: 1.1; }
.cart-txt small { font-size: 11.5px; color: var(--ink-2); font-weight: 700; }
.cart-txt b { font-weight: 850; font-size: 15px; }
.cart-count { position: absolute; top: -9px; left: 28px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--btn); color: #fff; font-weight: 850; font-size: 12px; display: grid; place-items: center; border: 2px solid #fff; }

/* ---------- Navegación de categorías ---------- */
.catnav { position: relative; z-index: 35; background: var(--btn); color: #fff; }
.catnav-row { display: flex; align-items: stretch; gap: 4px; min-height: 46px; }
.mega-btn { display: inline-flex; align-items: center; gap: 10px; border: 0; background: #8F3410; color: #fff; font-weight: 850; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-left: calc(var(--gut) * -1); padding: 0 18px 0 var(--gut); flex: none; }
.mega-btn:hover, .mega-btn[aria-expanded="true"] { background: #7A2B0B; }
.mega-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.catnav-links { display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; }
.catnav-links::-webkit-scrollbar { display: none; }
.catnav-links a { display: inline-flex; align-items: center; padding: 0 12px; font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; }
.catnav-links a:hover { background: rgba(255, 255, 255, .16); }
.catnav-links a.hot { background: var(--yellow); color: var(--ink); font-weight: 850; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.catnav-links a.hot:hover { background: #FFC200; }
.catnav :focus-visible { outline-color: #fff; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-bottom: 3px solid var(--btn); box-shadow: 0 18px 30px rgba(23, 45, 66, .22); }
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 28px; padding-block: 22px 26px; }
.mega-col { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 10px; border-radius: var(--r); }
.mega-col:hover { background: var(--bg); }
.mega-col .mini { grid-row: 1 / 3; width: 54px; height: 40px; }
.mega-col > a { font-weight: 850; text-decoration: none; font-size: 15px; }
.mega-col > a:hover { text-decoration: underline; color: var(--btn); }
.mega-sub { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13.5px; }
.mega-sub a { color: var(--ink-2); text-decoration: none; }
.mega-sub a:hover { color: var(--btn); text-decoration: underline; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r); border: 2px solid var(--btn); background: var(--btn); color: #fff; font-weight: 850; letter-spacing: .01em; text-decoration: none; }
.btn:hover { background: var(--btn-h); border-color: var(--btn-h); }
.btn.navy { background: var(--ink); border-color: var(--ink); }
.btn.navy:hover { background: #0F1F2E; border-color: #0F1F2E; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--bg); }
.btn.block { width: 100%; }
.btn.big { min-height: 52px; font-size: 17px; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 4px 0; color: var(--btn); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.x-btn { width: 38px; height: 38px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1; }
.x-btn:hover { border-color: var(--ink); }

/* ---------- Banners ---------- */
.banners { padding: 18px 0 0; }
.banners-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 14px; }
.hero-slider { position: relative; border-radius: var(--r); overflow: hidden; min-height: 404px; background: var(--ink); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 10px; padding: 30px clamp(24px, 4vw, 56px) 76px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .35s; }
.slide.on { opacity: 1; visibility: visible; }
.slide.c-orange { background: var(--orange); color: var(--ink); }
.slide.c-navy { background: var(--ink); color: #fff; }
.slide.c-paper { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.slide .kicker { font-weight: 850; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.slide.c-navy .kicker { color: var(--orange); }
.slide.c-paper .kicker { color: var(--btn); }
.slide h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1; margin: 10px 0 12px; letter-spacing: -.02em; text-wrap: balance; }
.slide .sub { font-weight: 700; font-size: 19px; margin-bottom: 20px; max-width: 40ch; }
.slide .btn { background: var(--ink); border-color: var(--ink); }
.slide .btn:hover { background: #0F1F2E; }
.slide.c-navy .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.slide.c-navy .btn:hover { background: #FFC200; border-color: #FFC200; }
.slide.c-paper .btn { background: var(--btn); border-color: var(--btn); }
.slide-art { position: relative; justify-self: center; width: min(100%, 340px); }
.slide-art svg.mt { position: absolute; inset: auto -20% -22% -20%; width: 140%; opacity: .16; fill: currentColor; }
.slide-art .art-main { position: relative; width: 100%; height: auto; }
.slide.c-navy .a-line { stroke: #fff; }
.slide.c-navy .a-paper { fill: var(--ink); }
.slide.c-orange .a-or { fill: var(--ink); }
.slide.c-orange .a-paper { fill: #fff; }
.sticker { position: absolute; right: -6px; top: -26px; z-index: 2; width: 112px; height: 112px; display: grid; place-items: center; text-align: center; background: var(--yellow); color: var(--ink); font-weight: 850; line-height: 1; clip-path: polygon(50% 0, 61% 12%, 75% 6%, 79% 21%, 94% 25%, 89% 40%, 100% 50%, 89% 60%, 94% 75%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 21% 79%, 6% 75%, 11% 60%, 0 50%, 11% 40%, 6% 25%, 21% 21%, 25% 6%, 39% 12%); transform: rotate(8deg); }
.sticker b { display: block; font-size: 30px; }
.sticker span { display: block; font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; padding: 0 16px; }
.slider-ctrl { position: absolute; left: clamp(24px, 4vw, 56px); bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.slider-ctrl button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 18px; line-height: 1; display: grid; place-items: center; padding: 0; }
.slider-ctrl button:hover { background: #fff; }
.dots { display: flex; gap: 7px; padding: 0 6px; }
.slider-ctrl .dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255, 255, 255, .6); }
.slider-ctrl .dots button[aria-current="true"] { background: var(--ink); }
.side-banners { display: grid; gap: 14px; grid-template-rows: 1fr 1fr; }
.side { position: relative; overflow: hidden; padding: 22px 24px; border-radius: var(--r); text-decoration: none; min-height: 179px; display: flex; flex-direction: column; justify-content: center; }
.side.s1 { background: #fff; border: 1px solid var(--line); }
.side.s2 { background: var(--yellow); }
.side small { font-weight: 850; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; color: var(--btn); }
.side.s2 small { color: var(--ink); }
.side b { display: block; font-size: 26px; line-height: 1.05; font-weight: 850; margin: 6px 0; max-width: 11ch; letter-spacing: -.02em; }
.side span.go { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.side .side-art { position: absolute; right: 8px; bottom: 6px; width: 130px; }
.side:hover { outline: 2px solid var(--ink); }

/* ---------- Beneficios ---------- */
.perks { padding: 14px 0 0; }
.perks ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.perks li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-left: 1px solid var(--line-2); }
.perks li:first-child { border-left: 0; }
.perks svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--btn); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perks b { display: block; font-weight: 850; font-size: 14.5px; line-height: 1.2; }
.perks span { font-size: 13px; color: var(--ink-2); line-height: 1.25; display: block; }

/* ---------- Secciones ---------- */
.finder, .deals, .tiles-sec, .store, .builder { padding: 30px 0 0; }
.builder { padding-bottom: 44px; }
.sec-head { margin-bottom: 14px; display: grid; gap: 4px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sec-head h2 { font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: .005em; display: flex; align-items: center; gap: 10px; }
.sec-head h2 .bar { width: 6px; height: 1.05em; background: var(--orange); border-radius: 2px; flex: none; }
.sec-head p { color: var(--ink-2); max-width: 78ch; }
.row-ctrl { display: flex; gap: 6px; }

/* Comprá por uso */
.pref-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-row .chip { padding: 9px 16px; }
.pref-row .chip b { font-size: 15px; }
.finder-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2vw, 22px); }
.finder-controls { display: grid; gap: 22px; align-content: start; }
.intent { border: 0; padding: 0; margin: 0; min-width: 0; }
.intent legend, .budget label span { font-weight: 850; font-size: 14.5px; padding: 0; margin-bottom: 10px; }
.intent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { text-align: left; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 1px; }
.chip b { font-weight: 850; font-size: 16.5px; }
.chip small { font-size: 13px; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.budget label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.budget label span { margin-bottom: 10px; }
.budget output { font-weight: 850; font-size: 26px; letter-spacing: -.02em; }
.budget-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; --pct: 40%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) var(--pct), #D5DBE3 var(--pct)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: #D5DBE3; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--ink); }

.ficha { border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--bg); min-width: 0; overflow: hidden; }
.ficha-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: var(--ink); color: #fff; }
.ficha-head .eyebrow { display: block; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: #FFB596; }
.ficha-total { font-weight: 850; font-size: 30px; letter-spacing: -.02em; line-height: 1.05; }
.ficha-left { font-size: 13px; text-align: right; opacity: .9; }
.ficha-why { padding: 10px 16px 2px; font-size: 13.5px; color: var(--ink-2); }
.parts { padding: 0 16px; }
.parts li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.parts li:last-child { border-bottom: 0; }
.mini { width: 54px; height: 40px; background: #fff; border: 1px solid var(--line-2); border-radius: 4px; padding: 2px; }
.parts .role { display: block; font-size: 11.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.parts .nm { display: block; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.parts .pr { font-weight: 850; white-space: nowrap; }
.fitbar { height: 5px; border-radius: 3px; background: var(--line); margin-top: 5px; overflow: hidden; }
.fitbar i { display: block; height: 100%; background: var(--orange); }
.fit { font-size: 12px; color: var(--ink-2); margin-top: 2px; display: block; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.badge.ok { background: #DFF1E7; color: var(--ok); }
.ficha-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1.5px solid var(--ink); background: #fff; }
.ficha-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Ofertas y tarjetas */
.deals-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; scrollbar-width: thin; }
.deals-row .card { scroll-snap-align: start; }
@media (min-width: 1100px) { .deals-row { grid-auto-columns: calc((100% - 48px) / 5); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(23, 45, 66, .12); }
.card-art { display: block; width: 100%; padding: 34px 14px 0; border: 0; background: #fff; }
.card-art svg { width: 100%; height: 118px; }
.tags { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; gap: 5px; }
.tag { font-weight: 850; font-size: 12px; padding: 3px 7px; border-radius: 3px; letter-spacing: .01em; }
.tag.off { background: var(--btn); color: #fff; }
.tag.low { background: var(--yellow); color: var(--ink); }
.tag.out { background: var(--ink-2); color: #fff; }
.card-cmp { position: absolute; top: 6px; right: 8px; z-index: 1; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; background: rgba(255, 255, 255, .92); padding: 2px 4px; border-radius: 4px; }
.card-cmp input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.card-body { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; border-top: 1px solid var(--line-2); }
.card .brand { font-size: 11.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--btn); }
.card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: 0; line-height: 1.25; min-height: 2.5em; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card h3 button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.bul { font-size: 13px; color: var(--ink-2); display: grid; gap: 1px; }
.bul li { display: flex; gap: 6px; }
.bul li::before { content: ""; width: 5px; height: 5px; margin-top: 7px; background: var(--orange); flex: none; }
.bul b { color: var(--ink); font-weight: 700; }
.pricebox { margin-top: auto; padding-top: 4px; }
.pricebox .was { display: block; font-size: 13px; color: var(--ink-2); text-decoration: line-through; line-height: 1.1; }
.pricebox .now { font-weight: 850; font-size: 25px; letter-spacing: -.02em; line-height: 1.1; }
.pricebox .cuotas { font-size: 12.5px; color: var(--ok); font-weight: 700; margin-top: 2px; }
.avail { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.avail.ok { color: var(--ok); } .avail.low { color: var(--warn); } .avail.out { color: var(--bad); }
.avail small { font-weight: 500; color: var(--ink-2); }

/* Categorías */
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; justify-items: center; gap: 4px; padding: 14px 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-align: center; text-decoration: none; }
.tile:hover { border-color: var(--btn); box-shadow: 0 0 0 1px var(--btn); }
.tile svg { width: 100%; max-width: 104px; height: 70px; }
.tile b { font-weight: 850; font-size: 14px; line-height: 1.15; }
.tile small { color: var(--ink-2); font-size: 12px; }

/* Tienda */
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs b { color: var(--ink); font-weight: 700; }
.cat-tabs { display: flex; gap: 0; overflow-x: auto; margin-bottom: 14px; border-bottom: 2px solid var(--ink); scrollbar-width: thin; }
.cat-tab { flex: none; padding: 10px 16px; border: 0; border-radius: 6px 6px 0 0; background: transparent; font-weight: 700; white-space: nowrap; }
.cat-tab small { font-size: 12px; color: var(--ink-2); font-weight: 700; margin-left: 4px; }
.cat-tab:hover { background: #E6EAF0; }
.cat-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.cat-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.store-grid { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 18px; align-items: start; }
.filters { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.filters summary { display: none; list-style: none; padding: 12px 14px; font-weight: 850; cursor: pointer; }
.filters summary::-webkit-details-marker { display: none; }
.filters-body { padding: 4px 14px 14px; display: grid; gap: 2px; }
.f-block { padding: 10px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 7px; }
.f-title, .facet legend { font-weight: 850; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; padding: 0; }
.f-hint { font-size: 12.5px; color: var(--ink-2); }
.facet { border: 0; margin: 0; padding: 10px 0; min-width: 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 1px; }
.facet legend { margin-bottom: 5px; }
.facet.more label:nth-of-type(n+7) { display: none; }
.facet button.link { justify-self: start; font-size: 13px; }
.check { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 3px 0; line-height: 1.25; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); flex: none; margin: 0; }
.check em { font-style: normal; margin-left: auto; color: var(--ink-2); font-size: 12.5px; padding-left: 8px; }
.check.zero { opacity: .45; }
select, .price-row input { height: 40px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; padding: 0 10px; width: 100%; }
select:hover, .price-row input:hover { border-color: var(--ink-2); }
.price-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.price-row input::placeholder { color: #5C6E7F; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.results-bar #count { font-weight: 700; }
.results-tools { display: flex; align-items: center; gap: 14px; }
.sort { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.sort select { width: auto; min-width: 170px; height: 36px; }
.view { display: flex; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.view button { width: 38px; height: 34px; border: 0; background: #fff; display: grid; place-items: center; }
.view button + button { border-left: 1.5px solid var(--line); }
.view svg { width: 17px; height: 17px; fill: var(--ink-2); }
.view button[aria-pressed="true"] { background: var(--ink); }
.view button[aria-pressed="true"] svg { fill: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chips:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; border: 0; }
.fchip i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-size: 13px; line-height: 1; }
.fchip:hover i { background: var(--orange); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 12px; }
.grid.list { grid-template-columns: 1fr; gap: 10px; }
.empty { grid-column: 1 / -1; padding: 44px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); background: #fff; }
.empty b { display: block; font-size: 18px; font-weight: 850; margin-bottom: 6px; }
.more-wrap { display: grid; justify-items: center; gap: 6px; margin-top: 18px; color: var(--ink-2); font-size: 13.5px; }
.more-wrap:empty { display: none; }

/* Fila de lista */
.rowcard { display: grid; grid-template-columns: 170px minmax(0, 1fr) 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.rowcard:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(23, 45, 66, .12); }
.rowcard .card-art { padding: 16px 12px; align-self: center; }
.rowcard .card-art svg { height: 100px; }
.rowcard .mid { padding: 14px 6px 14px 4px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.rowcard .mid h3 { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.rowcard .mid h3 button { all: unset; cursor: pointer; }
.rowcard .mid h3 button:hover { text-decoration: underline; }
.rowcard .mid h3 button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.rowcard .sku { font-size: 12.5px; color: var(--ink-2); }
.rowcard .brand { font-size: 11.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--btn); }
.rowcard .specs2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; font-size: 13px; margin-top: 4px; }
.rowcard .specs2 div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--line); padding: 2px 0; }
.rowcard .specs2 span { color: var(--ink-2); }
.rowcard .specs2 b { font-weight: 700; text-align: right; }
.rowcard .buy { padding: 14px 16px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.rowcard .card-cmp { position: static; background: none; padding: 0; justify-self: start; }

/* Comparador */
.cmp-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 45; width: min(780px, calc(100vw - 20px)); background: var(--ink); color: #fff; border-radius: var(--r); padding: 10px 12px 10px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; box-shadow: 0 12px 30px rgba(23, 45, 66, .4); }
.cmp-bar[hidden] { display: none; }
.cmp-names { display: flex; gap: 6px; flex: 1; min-width: 0; flex-wrap: wrap; }
.cmp-names span { background: rgba(255, 255, 255, .14); border-radius: 4px; padding: 3px 9px; font-size: 13px; font-weight: 700; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-bar .btn.ghost-w { background: transparent; border-color: rgba(255, 255, 255, .5); }
.toast { position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 70; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--r); font-weight: 700; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s; border-left: 5px solid var(--orange); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Diálogos ---------- */
dialog { border: 0; border-radius: 10px; padding: 0; background: var(--bg); color: var(--ink); width: min(760px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
dialog.wide { width: min(1080px, calc(100vw - 20px)); }
dialog::backdrop { background: rgba(23, 45, 66, .6); }
.dlg-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--ink); color: #fff; }
.dlg-head h2 { font-size: clamp(18px, 2vw, 22px); font-weight: 850; }
.dlg-head .x-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.dlg-head .x-btn:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.dlg-body { padding: 18px; }
.drawer { margin: 0 0 0 auto; inset: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 100vw); border-radius: 0; flex-direction: column; }
.drawer[open] { display: flex; }
.drawer > div { display: flex; flex-direction: column; min-height: 100%; }
.drawer .dlg-body { flex: 1; background: #fff; }

/* Ficha de producto */
.pdp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.2fr); gap: 20px; align-items: start; }
.pdp-art { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.pdp-art svg { width: 100%; height: auto; }
.pdp-info .brand { font-weight: 850; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; color: var(--btn); }
.pdp-info .sku { font-size: 13px; color: var(--ink-2); margin: 2px 0 12px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.spec-table tr:nth-child(even) { background: #F7F9FB; }
.spec-table th { font-weight: 500; color: var(--ink-2); width: 46%; }
.spec-table td { font-weight: 700; }
.buybox { position: sticky; top: 64px; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.buybox .pricebox .now { font-size: 32px; }
.buybox .pricebox .cuotas { font-size: 14px; }
.ship-opt { display: grid; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 10px; font-size: 13.5px; }
.ship-opt div { display: flex; gap: 8px; align-items: flex-start; }
.ship-opt svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.ship-opt b { display: block; line-height: 1.2; }
.ship-opt span { color: var(--ink-2); }
.note { font-size: 13.5px; padding: 9px 12px; border-radius: var(--r); display: block; margin-top: 10px; }
.note.ok { background: #DFF1E7; color: var(--ok); }
.note.bad { background: #FBE3E0; color: var(--bad); }
.related { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.related h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.rel-group { margin-bottom: 14px; }
.rel-group h4 { margin: 0 0 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 700; }
.rel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.rel { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; }
.rel .nm { font-weight: 700; font-size: 13.5px; line-height: 1.2; display: block; }
.rel .pr { font-weight: 850; font-size: 14px; display: block; }

.cmp-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.cmp-table th, .cmp-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.cmp-table thead th { background: #fff; position: sticky; top: 0; }
.cmp-table tbody th { color: var(--ink-2); font-weight: 500; width: 180px; }
.cmp-table td { font-weight: 700; }
.cmp-table td.best { background: #FFF0E6; box-shadow: inset 3px 0 0 var(--orange); }
.cmp-table .mini-art { width: 110px; height: 74px; margin-bottom: 6px; border: 1px solid var(--line-2); border-radius: 4px; padding: 4px; }
.cmp-table .cn { display: block; font-weight: 700; line-height: 1.25; }
.cmp-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }

.pick-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px; }
.pick-list li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.pick-list li:last-child { border-bottom: 0; }
.pick-list li.no { opacity: .62; }
.pick-list .mini { width: 60px; height: 44px; }
.pick-list .nm { font-weight: 700; display: block; line-height: 1.25; }
.pick-list .sp { font-size: 13px; color: var(--ink-2); display: block; }
.pick-list .why-no { font-size: 13px; color: var(--bad); font-weight: 700; display: block; margin-top: 2px; }
.pick-list .right { text-align: right; display: grid; gap: 6px; justify-items: end; }

/* Carrito */
.cart-line { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.cart-line .nm { font-weight: 700; line-height: 1.25; display: block; }
.cart-line .sku { font-size: 12px; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); margin-top: 6px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 17px; }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.ship-pick { display: grid; gap: 8px; margin: 16px 0 4px; border: 0; padding: 0; min-width: 0; }
.ship-pick legend { font-weight: 850; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; padding: 0; margin-bottom: 6px; }
.ship-pick label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px 12px; cursor: pointer; }
.ship-pick label:has(input:checked) { border-color: var(--ink); background: #FFF4EE; }
.ship-pick input { accent-color: var(--ink); width: 17px; height: 17px; margin: 0; }
.ship-pick small { display: block; color: var(--ink-2); font-weight: 500; }
.ship-pick b { font-weight: 700; }
.cart-foot { position: sticky; bottom: 0; background: var(--bg); border-top: 2px solid var(--ink); padding: 14px 18px; display: grid; gap: 6px; }
.sum-line { display: flex; justify-content: space-between; font-size: 14px; }
.sum-line.tot { font-size: 15px; font-weight: 700; align-items: baseline; margin-top: 4px; }
.sum-line.tot b { font-size: 26px; font-weight: 850; letter-spacing: -.02em; }
.cart-cuotas { color: var(--ok); font-weight: 700; font-size: 13px; text-align: right; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; padding: 4px 0; line-height: 1.35; }
.checks .ic { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 850; color: #fff; margin-top: 1px; }
.checks .ok .ic { background: var(--ok); }
.checks .bad .ic { background: var(--bad); }
.checks .warn .ic { background: var(--warn); }
.checks .bad { color: var(--bad); font-weight: 700; }

/* ---------- Armador ---------- */
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.ptable-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th { text-align: left; background: var(--ink); color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 14px; font-weight: 850; }
.ptable th.r, .ptable td.r { text-align: right; }
.ptable td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.ptable tr.bad td { background: #FDF0EE; }
.ptable .role { font-weight: 850; font-size: 14px; white-space: nowrap; }
.ptable .sel { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.ptable .sel .mini { width: 64px; height: 46px; }
.ptable .nm { font-weight: 700; display: block; line-height: 1.25; }
.ptable .sp { font-size: 12.5px; color: var(--ink-2); display: block; }
.ptable .empty-sel { color: var(--ink-2); }
.ptable .pr { font-weight: 850; white-space: nowrap; }
.ptable .acts { display: flex; gap: 6px; justify-content: flex-end; }
.ptable tfoot td { background: var(--bg); font-weight: 850; font-size: 17px; border-bottom: 0; }
.summary { position: sticky; top: 76px; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; display: grid; }
.sum-head { background: var(--ink); color: #fff; padding: 12px 16px; }
.sum-head .eyebrow { font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: #FFB596; display: block; }
.sum-total { font-weight: 850; font-size: 32px; letter-spacing: -.02em; line-height: 1.05; }
.sum-body { padding: 14px 16px; display: grid; gap: 14px; }
.power { display: grid; gap: 5px; }
.power-bar { height: 9px; border-radius: 5px; background: var(--line); overflow: hidden; }
.power-bar i { display: block; height: 100%; background: var(--ink); }
.power-bar i.over { background: var(--bad); }
.power small { color: var(--ink-2); font-size: 13px; }
.sum-actions { display: grid; gap: 8px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .86); }
.foot-top { padding: 34px 0 28px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot img { width: 230px; height: auto; }
.foot-note { margin-top: 10px; font-size: 14px; }
.foot h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.foot li { padding: 3px 0; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-bot { border-top: 1px solid rgba(255, 255, 255, .16); padding: 14px 0; font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* ---------- Ilustraciones ---------- */
svg .a-line { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
svg .a-paper { fill: #fff; }
svg .a-or { fill: var(--orange); }
svg .a-ink { fill: var(--ink); stroke: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buybox { position: static; grid-column: 1 / -1; }
  .build-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .banners-grid { grid-template-columns: 1fr; }
  .side-banners { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .side { min-height: 150px; }
  .perks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:nth-child(3) { border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .finder-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .util-links { display: none; }
  .rowcard { grid-template-columns: 130px minmax(0, 1fr); }
  .rowcard .buy { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-2); flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; }
}
@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .filters summary { display: flex; justify-content: space-between; }
  .filters[open] summary { border-bottom: 1px solid var(--line); }
  .top-row { grid-template-columns: 1fr auto; row-gap: 10px; padding-block: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .search select { width: 120px; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-slider { min-height: 420px; }
  .slide { grid-template-columns: 1fr; padding: 28px 22px 64px; align-content: start; gap: 0; }
  .slide-art { width: 150px; position: absolute; right: 14px; bottom: 58px; }
  .slide .sub { max-width: 24ch; font-size: 17px; }
  .sticker { width: 88px; height: 88px; top: -44px; right: 4px; }
  .sticker b { font-size: 24px; }
  .sticker span { font-size: 10px; padding: 0 12px; }
  .cart-txt small { display: none; }
}
@media (max-width: 720px) {
  .utilbar-row { min-height: 32px; }
  .util-promos { flex-wrap: nowrap; overflow-x: auto; gap: 18px; white-space: nowrap; scrollbar-width: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-banners { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card-art svg { height: 88px; }
  .card h3 { font-size: 14px; }
  .pricebox .now { font-size: 20px; }
  .card-body { padding: 8px 10px 12px; }
  .card .brand { font-size: 10.5px; }
  .bul { font-size: 12px; }
  .bul li:nth-child(n+3) { display: none; }
  .perks ul { grid-template-columns: 1fr; }
  .perks li { border-left: 0; border-top: 1px solid var(--line-2); }
  .perks li:first-child { border-top: 0; }
  .results-tools { width: 100%; justify-content: space-between; }
  .sort span { display: none; }
  .rowcard { grid-template-columns: 96px minmax(0, 1fr); }
  .rowcard .specs2 { grid-template-columns: 1fr; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td, .ptable tfoot { display: block; }
  .ptable tr { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
  .ptable td { border: 0; padding: 3px 0; }
  .ptable td.r { text-align: left; }
  .ptable .acts { justify-content: flex-start; margin-top: 6px; }
  .ptable tfoot tr { background: var(--bg); }
}
@media (max-width: 420px) {
  .chip { padding: 10px; }
  .chip b { font-size: 15px; }
  .search select { display: none; }
  .parts li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .mini { width: 44px; height: 34px; }
  .pick-list li { grid-template-columns: 48px minmax(0, 1fr); }
  .pick-list .right { grid-column: 1 / -1; justify-items: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ===================== Refinamiento: menos bordes, más superficie ===================== */
body { background: var(--bg); }
.card, .rowcard, .tile, .perks ul, .finder-grid, .results-bar, .filters, .side.s1, .ptable-wrap, .pick-list, .cmp-wrap, .pdp-art, .rel, .slide.c-paper { border: 0; box-shadow: var(--shadow); }
.ficha, .summary, .buybox { border: 0; box-shadow: var(--shadow-h); }
.card:hover, .rowcard:hover { border: 0; box-shadow: var(--shadow-h); }
.tile:hover { border: 0; box-shadow: var(--shadow-h); }
.card-body { border-top: 0; }
.spec-table { border: 0; box-shadow: var(--shadow); }
.btn { border-radius: 3px; }
.search { border-radius: 3px; }
dialog { border-radius: 6px; }
.mini { border: 0; background: #F4F6F9; }
.ptable tr.bad td { background: #FFF1EF; }
/* Encabezados de sección: línea completa con tramo naranja */
.sec-head h2 { display: block; position: relative; padding-bottom: 9px; border-bottom: 3px solid #D5DBE3; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 88px; height: 3px; background: var(--orange); }
.sec-head h2 .bar { display: none; }
.sec-head.row h2 { flex: 1; }
.sec-head.row { align-items: flex-end; }
.sec-head p { margin-top: 8px; }
.tiles-sec { background: #fff; margin-top: 34px; padding: 26px 0 32px; }
.tiles-sec .tile { box-shadow: none; background: var(--bg); }
.tiles-sec .tile:hover { background: #fff; box-shadow: var(--shadow-h); }

/* ===================== Animaciones ===================== */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes float { from { transform: translateY(-5px); } to { transform: translateY(7px); } }
@keyframes sticker-in { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.15) rotate(14deg); } 100% { transform: scale(1) rotate(8deg); } }
@keyframes prog { from { width: 0; } to { width: 100%; } }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes drawer-in { from { opacity: 0; transform: translateX(44px); } to { opacity: 1; transform: none; } }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sp-wipe { from { clip-path: inset(0 100% 0 0); transform: translateX(-10px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes sp-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sp-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splash-hide { to { opacity: 0; visibility: hidden; } }
@keyframes flash-ok { 0% { box-shadow: 0 0 0 0 rgba(23, 121, 74, .55); } 100% { box-shadow: 0 0 0 12px rgba(23, 121, 74, 0); } }

/* Pantalla de carga */
.splash { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; transition: transform .75s cubic-bezier(.77, 0, .18, 1); animation: splash-hide .3s ease 5s forwards; }
.splash.done { transform: translateY(-100%); }
.splash-in { display: grid; justify-items: center; gap: 28px; width: min(460px, 80vw); }
.splash-mark { width: 132px; height: auto; overflow: visible; }
.splash-mark .base { fill: rgba(255, 255, 255, .13); }
.splash-mark .fill { fill: var(--orange); animation: sp-rise 1s cubic-bezier(.5, 0, .2, 1) .15s both; }
.splash-logo { width: 100%; height: auto; animation: sp-wipe 1s cubic-bezier(.6, 0, .2, 1) .2s both; }
.splash-bar { width: 100%; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.splash-bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; animation: sp-bar 1.25s cubic-bezier(.4, 0, .2, 1) both; }

/* Esqueletos de carga */
.sk { background: linear-gradient(90deg, #E7EBF0 25%, #F4F6F9 40%, #E7EBF0 60%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: 3px; display: block; }
.sk-card { pointer-events: none; }
.sk-art { height: 124px; margin: 34px 14px 0; }
.sk-line { height: 12px; margin: 2px 0; }
.sk-line.big { height: 24px; margin-top: 8px; }
.w40 { width: 40%; } .w50 { width: 50%; } .w70 { width: 70%; } .w90 { width: 90%; }
.sk-btn { height: 34px; margin-top: 6px; }
.sk-ficha { height: 420px; border-radius: 0; }

/* Banners */
.slide.on .slide-text > * { animation: rise .65s cubic-bezier(.2, .7, .2, 1) both; }
.slide.on .slide-text > :nth-child(1) { animation-delay: .05s; }
.slide.on .slide-text > :nth-child(2) { animation-delay: .13s; }
.slide.on .slide-text > :nth-child(3) { animation-delay: .21s; }
.slide.on .slide-text > :nth-child(4) { animation-delay: .29s; }
.slide.on .art-main { animation: rise .75s cubic-bezier(.2, .7, .2, 1) .12s both, float 4.6s ease-in-out .9s infinite alternate; }
.slide.on .sticker { animation: sticker-in .75s cubic-bezier(.3, 1.4, .5, 1) .4s both; }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(23, 45, 66, .22); z-index: 4; }
.slide-progress i { display: block; height: 100%; width: 0; background: var(--yellow); }
.side { transition: transform .2s, box-shadow .2s; }
.side:hover { outline: 0; transform: translateY(-3px); box-shadow: var(--shadow-h); }
.side .side-art { transition: transform .3s; }
.side:hover .side-art { transform: translateY(-4px) rotate(-3deg); }

/* Superficies y microinteracciones */
.card, .rowcard { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); }
.deals-row { padding: 8px 6px 16px; margin: -8px -6px 0; }
.btn { transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn.added, .btn.added:hover { background: var(--ok); border-color: var(--ok); animation: flash-ok .7s ease-out; }
.chip, .cat-tab, .fchip, .check { transition: background .15s, border-color .15s, color .15s; }
.tile svg { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.tile:hover svg { transform: translateY(-4px) scale(1.07); }
.top { transition: box-shadow .25s; }
.top.scrolled { box-shadow: 0 6px 18px rgba(23, 45, 66, .14); }
.cart-btn.bump { animation: bump .45s ease; }
.cart-count.pop { animation: pop .45s ease; }
.fly { position: fixed; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(233, 93, 42, .28); z-index: 200; pointer-events: none; }
.fitbar i, .power-bar i { transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.mega:not([hidden]) { animation: mega-in .2s ease-out; }
dialog[open] { animation: dlg-in .26s cubic-bezier(.2, .7, .2, 1); }
dialog[open]::backdrop { animation: fade .26s ease-out; }
.drawer[open] { animation: drawer-in .3s cubic-bezier(.2, .7, .2, 1); }
.toast { transition: opacity .25s, transform .25s cubic-bezier(.2, .9, .3, 1.3); }

/* Entrada de tarjetas al cambiar filtros o categoría */
#results.animate .card, #results.animate .rowcard { animation: card-in .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 32ms); }
#results.animate .card:hover { animation-delay: 0s; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .65s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide-progress { display: none; }
  .splash { animation: none; }
}
