/* =========================================================================
   KronoPlay · hoja de estilos principal
   Charte « retail gaming » : fondos blancos, cabecera anthracite, acento rojo.
   ========================================================================= */
:root {
  /* Superficies */
  --white: #ffffff;
  --surface: #f4f5f7;
  --surface-2: #f8f9fa;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  /* Texto */
  --ink: #111318;          /* títulos y texto principal */
  --text: #1f2329;
  --muted: #4b5563;        /* descripciones */
  --subtle: #6b7280;       /* metadatos */
  /* Oscuro (cabecera / pie) */
  --dark: #0b1220;
  --dark-2: #111a2e;
  --dark-line: #1f2a44;
  --on-dark: #e5e7eb;
  --on-dark-muted: #9ca3af;
  /* Acento rojo */
  --red: #dc2626;
  --red-strong: #e11d2e;
  --red-hover: #b91c1c;
  --red-soft: #fef2f2;
  --red-line: #fecaca;
  /* Reaseguro (solo envío gratis / disponibilidad) */
  --green: #15803d;
  --green-soft: #f0fdf4;
  --green-line: #bbf7d0;
  /* Otros estados */
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --amber-line: #fde68a;
  --wa: #25d366;
  --wa-hover: #1da851;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .05);
  --navy: #1e3a8a;
  --gold: #f59e0b;
  --font-display: "Segoe UI Variable Display", "SF Pro Display", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-lg: 0 20px 44px -14px rgba(15, 23, 42, .28);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-hover); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: .2em 0 .6em; font-weight: 800; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-strong); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.icon { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; }

/* ---------- Banda superior dinámica (oscura) ---------- */
.topbar { background: var(--dark); color: var(--white); font-size: .86rem; font-weight: 600; border-bottom: 1px solid var(--dark-line); }
.topbar .icon { color: var(--red); }
.topbar__inner { position: relative; height: 36px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.topbar__msg { position: absolute; left: 0; right: 0; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(100%); transition: opacity .45s ease, transform .45s ease; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__msg.is-active { opacity: 1; transform: translateY(0); }
.topbar__msg.is-leaving { opacity: 0; transform: translateY(-100%); }

/* ---------- Cabecera: franja oscura + navegación blanca ---------- */
.site-header { background: var(--dark); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(17, 19, 24, .08); }
.header__row { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo-svg { height: 40px; width: auto; }
.search { flex: 1; display: flex; max-width: 580px; margin-left: auto; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--white); }
.search:focus-within { border-color: var(--red); }
.search input { flex: 1; border: 0; padding: 10px 16px; min-width: 0; outline: none; color: var(--ink); background: transparent; }
.search button { border: 0; background: var(--red); color: var(--white); padding: 0 18px; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--red-hover); }
.search--inline { margin: 18px auto; border-color: var(--line-strong); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__wa { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--dark-line); }
.header__wa .icon { color: var(--wa); }
.header__wa:hover { color: var(--white); background: var(--dark-2); }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); color: var(--white); border: 1px solid var(--dark-line); }
.cart-link:hover { color: var(--white); background: var(--dark-2); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--red); color: var(--white); font-size: .75rem; font-weight: 800; display: grid; place-items: center; padding: 0 6px; border: 2px solid var(--dark); }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 6px; cursor: pointer; }
.mainnav { background: var(--white); border-bottom: 1px solid var(--line); }
.mainnav__inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav__inner::-webkit-scrollbar { display: none; }
.mainnav a { color: var(--ink); text-decoration: none; padding: 13px 14px 11px; font-size: .93rem; font-weight: 700; white-space: nowrap; border-bottom: 3px solid transparent; display: inline-flex; gap: 6px; align-items: center; }
.mainnav a:hover { color: var(--red-strong); }
.mainnav a.is-active { color: var(--red-strong); border-bottom-color: var(--red-strong); }
.mainnav__hot { color: var(--red-strong) !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 11px 18px;
  font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; line-height: 1.2; background: var(--surface); color: var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); color: var(--white); }
.btn--ghost { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost-light:hover { border-color: var(--red); color: var(--red-strong); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { color: var(--white); background: var(--wa-hover); }
.btn--link { background: none; color: var(--muted); text-decoration: underline; padding-inline: 6px; }
.btn--link:hover { color: var(--ink); }
.btn--sm { padding: 8px 12px; font-size: .88rem; }
.btn--lg { padding: 14px 24px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Alertas / chips / badges ---------- */
.flashes { padding-top: 16px; }
.alert { border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 12px; border: 1px solid; border-left-width: 4px; font-size: .95rem; color: var(--ink); background: var(--white); }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert--success { background: var(--green-soft); border-color: var(--green-line); border-left-color: var(--green); }
.alert--error { background: var(--red-soft); border-color: var(--red-line); border-left-color: var(--red-strong); }
.alert--warning { background: var(--amber-soft); border-color: var(--amber-line); border-left-color: var(--amber); }
.alert--info { background: var(--surface-2); border-color: var(--line); border-left-color: var(--ink); }
.badge { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: 4px 8px; border-radius: 4px; color: var(--white); text-transform: uppercase; line-height: 1; }
.badge--new { background: var(--ink); }
.badge--sale { background: var(--red-strong); }
.badge--low { background: var(--amber); }
.badge--out { background: var(--subtle); }
.badge--ok { background: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chip--removable { background: var(--surface); border-color: var(--line); color: var(--ink); }
.chip--removable .icon { color: var(--red-strong); }
.chip--removable:hover { border-color: var(--red); color: var(--ink); }

/* ---------- Hero (claro) ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); color: var(--ink); padding: 52px 0 60px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 46%; background: var(--dark); transform: skewX(-12deg); transform-origin: top; z-index: 0; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 14px 0 16px; }
.grad { color: var(--red-strong); }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: var(--red-strong); padding: 6px 12px; border-radius: 4px; }
.hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero__pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--ink); font-size: .92rem; font-weight: 700; }
.hero__pills li { display: inline-flex; gap: 6px; align-items: center; }
.hero__pills .icon { color: var(--red-strong); }
.hero__pills li:first-child .icon { color: var(--green); }
.hero__visual { position: relative; min-height: 320px; display: grid; place-items: center; }
.hero__ring { width: min(300px, 80%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: 0 0 0 10px rgba(225, 29, 46, .12); animation: float 6s ease-in-out infinite; }
.hero__logo { width: 82%; height: auto; }
.hero__card { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .9rem; border: 1px solid var(--line); }
.hero__card div { display: flex; flex-direction: column; line-height: 1.25; }
.hero__card span { color: var(--muted); font-size: .85rem; }
.hero__card .icon { color: var(--green); }
.hero__card--a { top: 8%; left: 0; }
.hero__card--b { bottom: 6%; right: 0; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Secciones ---------- */
.section { padding-top: 40px; padding-bottom: 8px; }
.section--alt { background: var(--surface); padding: 40px 0; margin-top: 32px; border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section__title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; text-transform: none; }
.section__title::before { content: ""; width: 5px; height: 1.1em; background: var(--red-strong); border-radius: 2px; }
.section__head .section__title { margin: 0; }
.link-more { font-weight: 700; text-decoration: none; color: var(--red-strong); }
.link-more:hover { text-decoration: underline; }
.promo-strip { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--red-strong); color: var(--white); }
.promo-strip span { color: rgba(255, 255, 255, .9); font-size: .92rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cat-tile { position: relative; overflow: hidden; padding: 18px 16px; min-height: 110px; border-radius: var(--radius); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: var(--white); border: 1px solid var(--line); border-bottom: 3px solid var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.cat-tile:hover { color: var(--ink); border-bottom-color: var(--red-strong); box-shadow: var(--shadow-lg); }
.cat-tile strong { font-size: 1.05rem; }
.cat-tile span { font-size: .8rem; color: var(--subtle); }

/* ---------- Grid de producto (2 columnas en móvil) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--white); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card__img--placeholder img, .product__image--placeholder img { padding: 0; object-fit: cover; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 20px); }
.card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.card__title { font-size: .98rem; margin: 0; line-height: 1.3; font-weight: 700; }
.card__title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--red-strong); }
.card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; }
.card__price strong { font-size: 1.3rem; color: var(--ink); font-weight: 800; }
.card__price del { color: var(--subtle); font-size: .88rem; }
.card__stock { font-size: .8rem; font-weight: 700; }
.card__ship { font-size: .78rem; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.card form { margin-top: 6px; }
.stock--ok { color: var(--green); }
.stock--low { color: var(--amber); }
.stock--out { color: var(--subtle); }

/* ---------- Cómo comprar / reseñas / CTA ---------- */
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how__steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how__steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 800; margin-bottom: 10px; }
.how__steps strong { display: block; color: var(--ink); }
.how__steps p { margin: 6px 0 0; color: var(--muted); font-size: .93rem; }
.stars { color: #f59e0b; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--line-strong); }
.reviews__summary { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); }
.reviews__summary strong { color: var(--ink); }
.reviews__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.review__head { display: flex; justify-content: space-between; gap: 8px; }
.review__date { color: var(--subtle); font-size: .82rem; }
.review__title { font-size: 1rem; margin: 10px 0 4px; }
.review p { margin: 8px 0; color: var(--text); }
.review__author { font-size: .85rem; color: var(--muted); font-weight: 600; }
.review-form { margin-top: 20px; }
.review-form summary { list-style: none; display: inline-flex; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form form { margin-top: 16px; background: var(--white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.empty-state { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 24px; margin: 24px 0; }
.empty-state .icon { color: var(--subtle); margin: 0 auto 8px; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin: 8px 0; }
.empty-state p { color: var(--muted); max-width: 560px; margin: 8px auto 16px; }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.empty-state--soft { background: var(--surface-2); border-style: dashed; padding: 32px 20px; margin: 0; }
.wa-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--dark); color: var(--white); margin-bottom: 40px; }
.wa-cta h2 { color: var(--white); margin: 0 0 6px; }
.wa-cta p { margin: 0; color: var(--on-dark-muted); }

/* ---------- Reassurance + footer ---------- */
.reassurance { background: var(--surface); border-top: 1px solid var(--line); margin-top: 48px; }
.reassurance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 26px; }
.reassurance__grid div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.reassurance__grid .icon { grid-row: span 2; color: var(--ink); }
.reassurance__grid div:first-child .icon { color: var(--green); }
.reassurance__grid strong { color: var(--ink); }
.reassurance__grid span { color: var(--muted); font-size: .88rem; }
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: .92rem; border-top: 3px solid var(--red-strong); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 28px; padding-block: 40px 24px; }
.footer__brand p { margin: 14px 0; }
.logo-svg--footer { height: 38px; }
.footer__title { color: var(--white); font-size: .95rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__legal { font-style: normal; line-height: 1.7; }
.footer__legal strong { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--dark-line); padding-block: 18px; font-size: .8rem; color: var(--on-dark-muted); }
.footer__bottom p { margin: 4px 0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(17, 19, 24, .25); z-index: 60; transition: transform .15s ease; }
.wa-float:hover { color: var(--white); transform: scale(1.07); }

/* ---------- Cookies / toast ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: var(--white); color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; z-index: 80; display: flex; gap: 16px; align-items: center; font-size: .9rem; }
.cookie-banner strong { color: var(--ink); }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.toast { position: fixed; left: 50%; top: 20px; transform: translateX(-50%); background: var(--dark); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 90; font-weight: 600; max-width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; border-left: 4px solid var(--green); }
.toast a { color: var(--white); white-space: nowrap; text-decoration: underline; }
.toast--error { border-left-color: var(--red); }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field small { font-weight: 400; color: var(--subtle); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 13px; background: var(--white); color: var(--ink); font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 19, 24, .1); }
.field input[readonly] { background: var(--surface); color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--red-strong); }
.field__error { color: var(--red-strong); font-size: .82rem; font-weight: 600; }
.field--checks { border: 0; padding: 0; margin: 0; }
.field--checks legend { font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 8px 0; cursor: pointer; color: var(--text); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red-strong); flex-shrink: 0; }

/* ---------- Catálogo ---------- */
.breadcrumbs { font-size: .85rem; color: var(--subtle); padding-top: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-strong); }
.breadcrumbs span { margin: 0 4px; opacity: .6; }
.catalog__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.catalog__count { color: var(--muted); margin: 0; }
.catalog__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 140px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters__form { display: grid; gap: 14px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head h2 { font-size: 1.05rem; margin: 0; display: flex; gap: 6px; align-items: center; }
.filters__reset { font-size: .85rem; font-weight: 700; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; padding: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.active-filters__label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line-strong); text-decoration: none; font-weight: 700; color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }
.pagination a.is-active { background: var(--red-strong); color: var(--white); border-color: var(--red-strong); }
.js .js-hide-if-js { display: none; }

/* ---------- Ficha de producto ---------- */
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-top: 16px; }
.product__image { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; overflow: hidden; }
.product__image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product__credit { font-size: .75rem; color: var(--subtle); margin: 8px 0 0; word-break: break-word; }
.product__brand { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; text-decoration: none; color: var(--subtle); }
.product__brand:hover { color: var(--red-strong); }
.product__info h1 { margin: 6px 0 4px; }
.product__sku { color: var(--subtle); font-size: .85rem; margin: 0 0 12px; }
.product__sku a { text-decoration: none; }
.product__lead { font-size: 1.05rem; color: var(--muted); }
.product__price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 16px 0 8px; }
.product__price strong { font-size: 2.2rem; color: var(--ink); letter-spacing: -.02em; font-weight: 800; }
.product__price del { color: var(--subtle); font-size: 1.1rem; }
.product__price small { flex-basis: 100%; color: var(--subtle); }
.product__save { color: var(--red-strong); font-weight: 700; font-size: .92rem; }
.stock { font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 6px 0 16px; }
.stock__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.buy__btn { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.qty button { border: 0; background: var(--surface); width: 42px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--line); }
.qty input { width: 54px; border: 0; text-align: center; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 42px; padding: 6px 0; }
/* Envío gratis 2-3 días: verde de reaseguro, texto oscuro */
.delivery-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--green-soft); border: 1px solid var(--green-line); border-left: 4px solid var(--green); margin: 12px 0; }
.delivery-box .icon { color: var(--green); margin-top: 2px; }
.delivery-box div { display: flex; flex-direction: column; gap: 2px; }
.delivery-box strong { color: var(--ink); }
.delivery-box span, .delivery-box small { color: var(--muted); font-size: .88rem; }
.delivery-box--sm { padding: 10px 12px; }
.promo-note { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; font-size: .92rem; }
.promo-note .icon { color: var(--red-strong); }
.assurance { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.assurance li { display: flex; gap: 10px; align-items: center; font-size: .93rem; color: var(--text); }
.assurance .icon { color: var(--ink); }
.product__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { margin-top: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.panel--wide { grid-column: 1 / -1; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checklist .icon { color: var(--red-strong); margin-top: 2px; }
.checklist--compat .icon { color: var(--ink); }
.prose p { margin: 0 0 12px; color: var(--text); }

/* ---------- Carrito / checkout ---------- */
.cart__layout, .checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cart__items { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 18px; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { width: 88px; height: 88px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-line__img.card__img--placeholder img { padding: 0; object-fit: cover; }
.cart-line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-line__name:hover { color: var(--red-strong); }
.cart-line__unit { color: var(--subtle); font-size: .85rem; }
.cart-line__total { font-size: 1.05rem; white-space: nowrap; color: var(--ink); }
.cart-line__remove { background: none; border: 0; color: var(--subtle); cursor: pointer; padding: 6px; border-radius: var(--radius-sm); }
.cart-line__remove:hover { color: var(--red-strong); background: var(--red-soft); }
.cart__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; padding: 16px 0 10px; }
.summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.summary--sticky { position: sticky; top: 140px; }
.summary h2 { margin-top: 0; font-size: 1.2rem; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.summary h2 small { font-size: .78rem; color: var(--subtle); font-weight: 700; }
.summary__lines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; font-size: .9rem; max-height: 260px; overflow: auto; }
.summary__lines li { display: flex; justify-content: space-between; gap: 10px; color: var(--text); }
.summary__rows { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; padding-left: 12px; text-align: right; font-weight: 700; white-space: nowrap; color: var(--ink); }
.summary__rows .is-discount { color: var(--red-strong); }
.summary__rows .is-free, .is-free { color: var(--green); font-weight: 800; }
.summary__total { font-size: 1.25rem; color: var(--ink) !important; font-weight: 800; padding-top: 10px; border-top: 2px solid var(--ink); }
.summary__tax { color: var(--subtle); font-size: .82rem; margin: 0 0 10px; }
.summary__pay { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.promo-progress { background: var(--red-soft); border: 1px solid var(--red-line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; color: var(--ink); }
.promo-progress .icon { color: var(--red-strong); }
.promo-progress p { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.promo-progress__bar { height: 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--red-line); overflow: hidden; }
.promo-progress__bar span { display: block; height: 100%; background: var(--red-strong); border-radius: 999px; transition: width .4s ease; }
.promo-progress.is-done { background: var(--green-soft); border-color: var(--green-line); }
.promo-progress.is-done .icon { color: var(--green); }
.promo-progress.is-done .promo-progress__bar { border-color: var(--green-line); }
.promo-progress.is-done .promo-progress__bar span { background: var(--green); }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: .85rem; font-weight: 700; color: var(--subtle); counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 6px; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: .78rem; }
.steps .is-done::before { content: "✓"; background: var(--ink); color: var(--white); }
.steps .is-current { color: var(--ink); }
.steps .is-current::before { background: var(--red-strong); color: var(--white); }
.steps a { color: inherit; }
.checkout__main { display: grid; gap: 18px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .85rem; }
/* Simulador de entrega */
.simulator__zone { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: .9rem; margin-bottom: 14px; border: 1px solid var(--line); }
.simulator__zone .icon { color: var(--subtle); }
.simulator__zone.is-ok { background: var(--green-soft); border-color: var(--green-line); }
.simulator__zone.is-ok .icon { color: var(--green); }
.simulator__zone.is-ko { background: var(--red-soft); border-color: var(--red-line); }
.simulator__zone.is-ko .icon { color: var(--red-strong); }
.dispatch-options { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dispatch-options legend { font-weight: 700; margin-bottom: 8px; font-size: .9rem; color: var(--ink); }
.dispatch { cursor: pointer; }
.dispatch input { position: absolute; opacity: 0; }
.dispatch__box { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); transition: border-color .15s, box-shadow .15s; height: 100%; }
.dispatch__box strong { font-size: .92rem; color: var(--ink); }
.dispatch__box small { color: var(--subtle); font-size: .78rem; }
.dispatch:hover .dispatch__box { border-color: var(--ink); }
.dispatch input:checked + .dispatch__box { border-color: var(--red-strong); box-shadow: inset 0 0 0 1px var(--red-strong); background: var(--red-soft); }
.dispatch input:focus-visible + .dispatch__box { outline: 3px solid var(--red-strong); outline-offset: 2px; }
.simulator__result { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--green-soft); border: 1px solid var(--green-line); border-left: 4px solid var(--green); color: var(--ink); }
.simulator__result .icon { color: var(--green); }
.simulator__result div { display: flex; flex-direction: column; }
.simulator__result span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green); font-weight: 800; }
.simulator__result strong { font-size: 1.15rem; color: var(--ink); }
.simulator__result small { color: var(--muted); }
.simulator__result.flash { animation: pulse .5s ease; }
@keyframes pulse { 50% { transform: scale(1.012); } }
.pay-method { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--surface-2); margin-bottom: 12px; }
.pay-method input { accent-color: var(--red-strong); }
.pay-method span { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--ink); }
.pay-method small { color: var(--subtle); }
.bank { display: grid; gap: 0; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.bank > div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); align-items: center; background: var(--white); }
.bank > div:nth-child(even) { background: var(--surface-2); }
.bank > div:last-child { border-bottom: 0; }
.bank dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.bank dd { margin: 0; word-break: break-word; color: var(--ink); }
.bank code { background: var(--surface); padding: 3px 8px; border-radius: 4px; font-weight: 700; color: var(--ink); border: 1px solid var(--line); }
.copy-btn { margin-left: 8px; border: 1px solid var(--line-strong); background: var(--white); border-radius: 4px; font-size: .75rem; padding: 3px 8px; cursor: pointer; font-weight: 700; color: var(--ink); }
.copy-btn:hover { border-color: var(--red-strong); color: var(--red-strong); }
.upload { position: relative; }
.upload__label { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; color: var(--ink); }
.upload__label .icon { color: var(--ink); }
.upload__label span { color: var(--subtle); font-size: .86rem; }
.upload:hover .upload__label, .upload.is-drag .upload__label { border-color: var(--ink); background: var(--white); }
.upload.has-file .upload__label { border-color: var(--green); border-style: solid; background: var(--green-soft); }
.upload.has-file .upload__label .icon { color: var(--green); }
.upload__name { color: var(--green) !important; font-weight: 700; }
.upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload--error .upload__label { border-color: var(--red-strong); background: var(--red-soft); }
.upload--error .upload__name { color: var(--red-strong) !important; }

/* ---------- Pedido / tablas ---------- */
.order__hero { display: flex; gap: 18px; align-items: flex-start; margin: 22px 0; padding: 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--green); }
.order__check { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--white); }
.order__hero h1 { margin: 0 0 8px; }
.order__num { font-family: ui-monospace, Consolas, monospace; background: var(--surface); padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line); }
.order__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.order__grid .panel h2 .icon { color: var(--ink); }
.order__delivery { font-size: 1.1rem; color: var(--ink); }
.order__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber-line); }
.status--pago_confirmado, .status--enviado { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.status--entregado { background: var(--green-soft); color: var(--green); border-color: var(--green-line); }
.status--cancelado { background: var(--surface); color: var(--subtle); border-color: var(--line); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--text); }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--subtle); background: var(--surface-2); }
.table .num { text-align: right; white-space: nowrap; }
.table tfoot td { border-bottom: 0; padding: 6px 8px; }
.table .is-discount td { color: var(--red-strong); }
.table__total td { font-size: 1.15rem; font-weight: 800; color: var(--ink); border-top: 2px solid var(--ink) !important; padding-top: 10px !important; }

/* ---------- Páginas legales y contacto ---------- */
.legal__content { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); max-width: 900px; margin: 12px 0 0; color: var(--text); }
.legal__content h2 { font-size: 1.2rem; margin-top: 1.8em; }
.legal__updated { color: var(--subtle); font-size: .85rem; margin-top: -10px; }
.company-data { display: grid; grid-template-columns: 220px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.company-data dt, .company-data dd { margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.company-data dt { background: var(--surface-2); font-weight: 700; font-size: .9rem; color: var(--ink); }
.company-data dd { color: var(--text); }
.company-data dt:nth-last-of-type(1), .company-data dd:last-of-type { border-bottom: 0; }
.info-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 10px 0 20px; }
.info-cards div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.info-cards .icon { color: var(--ink); }
.info-cards div:first-child .icon { color: var(--green); }
.info-cards strong { color: var(--ink); }
.info-cards span { color: var(--muted); font-size: .85rem; }
.form-model { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .95rem; }
.holidays { margin: 12px 0; }
.holidays summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.contact__side { display: grid; gap: 18px; }
.contact__list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.contact__list li { display: flex; gap: 10px; align-items: center; }
.contact__list .icon { color: var(--ink); }
.cart h1, .checkout h1, .contact h1 { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero::after { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .catalog__layout, .cart__layout, .checkout__layout, .contact__grid, .product__grid { grid-template-columns: 1fr; }
  .filters, .summary--sticky { position: static; }
  .product__details, .order__grid { grid-template-columns: 1fr; }
  .reassurance__grid, .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dispatch-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header__row { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .logo-svg { height: 34px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header__actions { margin-left: auto; }
  .header__wa span { display: none; }
  .mainnav { display: none; }
  .mainnav.is-open { display: block; }
  .mainnav.is-open .mainnav__inner { flex-direction: column; padding-block: 6px; }
  .mainnav.is-open a { border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .mainnav.is-open a.is-active { border-left-color: var(--red-strong); }
  /* Grid de productos: exactamente 2 columnas en móvil */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px; gap: 4px; }
  .card__title { font-size: .88rem; }
  .card__price strong { font-size: 1.08rem; }
  .card__ship { display: none; }
  .card__media img { padding: 8px; }
  .badge { font-size: .62rem; padding: 3px 6px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { min-height: 90px; padding: 14px; }
  .reviews__list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info remove" "img qty total"; gap: 8px 12px; }
  .cart-line__img { grid-area: img; width: 72px; height: 72px; }
  .cart-line__info { grid-area: info; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .cart-line__total { grid-area: total; justify-self: end; }
  .cart-line__remove { grid-area: remove; justify-self: end; }
  .footer__grid { grid-template-columns: 1fr; }
  .company-data { grid-template-columns: 1fr; }
  .company-data dt { border-bottom: 0; padding-bottom: 2px; }
  .bank > div { grid-template-columns: 1fr; gap: 2px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
  .order__hero { flex-direction: column; }
  .wa-float { width: 52px; height: 52px; right: 12px; bottom: 12px; }
  .topbar__msg { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   v2 · Bandas informativas, hero multimedia, galería, transportistas
   ========================================================================= */

/* ---------- Dos bandas informativas desplazables (pausa al pasar el ratón / con el botón) ---------- */
.tickers { position: relative; }
.ticker { overflow: hidden; white-space: nowrap; font-size: .84rem; font-weight: 600; }
.ticker--dark { background: var(--dark); color: var(--white); border-bottom: 1px solid var(--dark-line); }
.ticker--dark .icon { color: var(--red); }
.ticker--dark li:first-child .icon { color: #4ade80; }
.ticker--light { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; font-size: .8rem; }
.ticker--light .icon { color: var(--red-strong); }
.ticker__track { display: flex; width: max-content; animation: kp-ticker 55s linear infinite; }
.ticker--light .ticker__track { animation-duration: 70s; animation-direction: reverse; }
.ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 28px; position: relative; }
.ticker__list li::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .35; transform: translateY(-50%); }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .tickers.is-paused .ticker__track { animation-play-state: paused; }
@keyframes kp-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tickers__toggle { position: absolute; right: 8px; top: 5px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--dark-line); background: var(--dark-2); color: var(--white); font-size: .62rem; cursor: pointer; line-height: 1; }
.tickers__toggle:hover { background: var(--red-strong); border-color: var(--red-strong); }

/* ---------- Hero con fondo multimedia ---------- */
.hero--media { background: var(--dark); color: var(--white); border-bottom: 0; padding: 64px 0 72px; min-height: 460px; display: flex; align-items: center; }
.hero--media::after { display: none; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slides, .hero__slide, .hero__video, .hero__veil { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease-out; filter: saturate(1.05); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; overflow: hidden; opacity: .55; }
.hero__strip-track { display: flex; gap: 10px; width: max-content; animation: kp-ticker 60s linear infinite; }
.hero__strip img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; }
.hero__veil { background: linear-gradient(90deg, rgba(17, 19, 24, .93) 0%, rgba(17, 19, 24, .74) 48%, rgba(17, 19, 24, .28) 100%), linear-gradient(0deg, rgba(17, 19, 24, .85) 0%, rgba(17, 19, 24, 0) 45%); }
.hero--media .hero__grid { width: 100%; }
.hero--media h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero--media .grad { color: #ff4d5a; }
.hero--media .hero__lead { color: #e5e7eb; }
.hero--media .hero__lead strong { color: var(--white); }
.hero--media .hero__pills { color: var(--white); }
.hero--media .hero__pills .icon { color: #ff4d5a; }
.hero--media .hero__pills li:first-child .icon { color: #4ade80; }
.hero--media .btn--ghost-light { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.hero--media .btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.hero--media .hero__visual { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 16px; min-height: 0; }
.hero--media .hero__card { position: static; animation: float 6s ease-in-out infinite; }
.hero--media .hero__card--b { animation-delay: 1.5s; margin-right: 32px; }
.hero__card small { color: var(--green); font-weight: 700; font-size: .78rem; }

/* ---------- Ficha de producto: galería ---------- */
.product__image img[data-gallery-main] { transition: opacity .2s ease; }
.product__image img.is-switching { opacity: .35; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.gallery__nav:hover { background: var(--ink); color: var(--white); }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery__counter { position: absolute; right: 12px; bottom: 12px; background: var(--dark); color: var(--white); font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: 0 0 76px; height: 76px; padding: 4px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb:hover { border-color: var(--ink); }
.gallery__thumb.is-active { border-color: var(--red-strong); }
.product__credit a { color: var(--muted); }

/* ---------- Ficha de producto: secciones ---------- */
.product__tabs { position: sticky; top: 118px; z-index: 5; display: flex; gap: 4px; overflow-x: auto; margin-top: 36px; background: var(--white); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.product__tabs::-webkit-scrollbar { display: none; }
.product__tabs a { padding: 12px 14px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; border-bottom: 3px solid transparent; }
.product__tabs a:hover { color: var(--red-strong); border-bottom-color: var(--red-strong); }
.product__details { margin-top: 18px; }
.product__details .panel { scroll-margin-top: 180px; }
.prose__lead { font-size: 1.08rem; font-weight: 600; color: var(--ink) !important; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.specs td { color: var(--ink); }
.checklist--box .icon { color: var(--ink); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .icon { color: var(--ink); margin-top: 2px; }
.info-list li:nth-child(2) .icon { color: var(--green); }
.info-list div { display: flex; flex-direction: column; gap: 2px; }
.info-list strong { color: var(--ink); }
.info-list span { color: var(--muted); font-size: .9rem; }

/* ---------- Checkout: transportistas ---------- */
.carrier-options { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.carrier-options legend { font-weight: 700; margin-bottom: 8px; font-size: .9rem; color: var(--ink); }
.carrier { cursor: pointer; }
.carrier input { position: absolute; opacity: 0; }
.carrier__box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); height: 100%; transition: border-color .15s, box-shadow .15s; }
.carrier:hover .carrier__box { border-color: var(--ink); }
.carrier input:checked + .carrier__box { border-color: var(--red-strong); box-shadow: inset 0 0 0 1px var(--red-strong); background: var(--red-soft); }
.carrier input:focus-visible + .carrier__box { outline: 3px solid var(--red-strong); outline-offset: 2px; }
.carrier__badge { flex: 0 0 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--ink); color: var(--white); }
.carrier__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.carrier__text strong { color: var(--ink); font-size: 1rem; }
.carrier__text small { color: var(--subtle); font-size: .78rem; line-height: 1.35; }
.carrier__price { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; color: var(--green); white-space: nowrap; }
.carrier__price small { font-weight: 600; color: var(--subtle); font-size: .72rem; }
.sim-carrier strong { color: var(--ink); }

/* ---------- Estados de carga (catálogo / carrito dinámicos) ---------- */
.catalog__results, [data-cart-root] { transition: opacity .15s ease; }
.catalog__results.is-loading, [data-cart-root].is-updating { opacity: .45; pointer-events: none; }

@media (max-width: 900px) {
  .hero--media { min-height: 0; padding: 44px 0 56px; }
  .hero--media .hero__visual { display: none; }
  .hero__strip { display: none; }
  .hero__veil { background: rgba(17, 19, 24, .78); }
  .product__tabs { top: 0; position: static; }
}
@media (max-width: 720px) {
  .carrier-options { grid-template-columns: 1fr; }
  .ticker__list li { padding: 7px 18px; }
  .tickers__toggle { top: 4px; right: 4px; width: 24px; height: 24px; }
  .gallery__thumb { flex-basis: 62px; height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .hero__strip-track { animation: none !important; }
  .ticker { white-space: normal; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .ticker__list { flex-wrap: wrap; }
  .hero__slide { transition: none; }
}

/* =========================================================================
   v3 · Pulido visual: tipografía, relieve, hero «pro», escaparate, agotado
   ========================================================================= */
body { line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .card__price strong, .product__price strong, .summary__total { font-family: var(--font-display); }
h1 { letter-spacing: -.035em; line-height: 1.06; }
h2 { letter-spacing: -.025em; }
.section__title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section__title::before { width: 6px; height: 1.05em; background: linear-gradient(180deg, var(--red-strong), var(--gold)); border-radius: 3px; }
.link-more { font-size: .92rem; letter-spacing: .01em; }

/* Cabecera: navy profundo + filo de acento */
.site-header { background: linear-gradient(180deg, #0b1220 0%, #0e1628 100%); }
.site-header::after { content: ""; display: block; height: 2px; background: linear-gradient(90deg, var(--red-strong) 0%, var(--gold) 50%, var(--red-strong) 100%); opacity: .9; }
.mainnav a { font-weight: 650; letter-spacing: .005em; }
.search { border-radius: 10px; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.cart-link { border-radius: 10px; }

/* Botones: rojo vivo con relieve, usado con mesura */
.btn { border-radius: 10px; letter-spacing: .01em; }
.btn--primary { background: linear-gradient(180deg, #ef2b3b 0%, var(--red) 100%); box-shadow: 0 8px 18px -8px rgba(220, 38, 38, .65), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--primary:hover { background: linear-gradient(180deg, var(--red) 0%, var(--red-hover) 100%); }
.btn--ghost { box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }

/* Badges y detalles de acento */
.badge { border-radius: 5px; letter-spacing: .05em; }
.badge--new { background: var(--navy); }
.badge--low { background: var(--gold); color: #3b2300; }
.eyebrow { background: rgba(220, 38, 38, .14); color: #fecaca; border: 1px solid rgba(248, 113, 113, .35); border-radius: 999px; letter-spacing: .14em; }
.stars { color: var(--gold); }

/* Tarjetas: bordes finos, sombras suaves, ligera elevación */
.card { border-radius: 14px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card__media { background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%); }
.card__title { letter-spacing: -.01em; }
.card__price strong { font-weight: 800; letter-spacing: -.02em; }
.cat-tile { border-radius: 14px; box-shadow: var(--shadow); border-bottom-width: 1px; border-color: var(--line); background: linear-gradient(180deg, #fff 0%, #fafbfc 100%); }
.cat-tile::after { content: "→"; position: absolute; right: 14px; top: 14px; color: var(--red-strong); font-weight: 800; opacity: 0; transform: translateX(-4px); transition: all .2s ease; }
.cat-tile:hover { border-bottom-color: var(--line); border-color: #fecaca; }
.cat-tile:hover::after { opacity: 1; transform: none; }
.panel, .summary, .review, .how__steps li, .legal__content { border-radius: 14px; box-shadow: var(--shadow); }

/* ---------- Hero «pro»: degradado controlado + escaparate de producto ---------- */
.hero--pro { background: #0b1220; padding: 72px 0 84px; min-height: 520px; }
.hero--pro .hero__glow { position: absolute; inset: 0;
  background:
    radial-gradient(620px 380px at 78% 30%, rgba(220, 38, 38, .30), transparent 65%),
    radial-gradient(700px 460px at 8% 110%, rgba(30, 58, 138, .55), transparent 60%),
    radial-gradient(420px 260px at 98% 100%, rgba(245, 158, 11, .14), transparent 70%),
    linear-gradient(135deg, #0b1220 0%, #111a2e 55%, #0b1220 100%); }
.hero--pro .hero__glow::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.hero--pro .hero__veil { background: none; }
.hero--pro h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero--pro .grad { background: linear-gradient(90deg, #ff4d5a 0%, #fb7185 45%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero--pro .hero__lead { color: #cbd5e1; font-size: 1.1rem; }
.hero--pro .hero__visual { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.showcase { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef1f6 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
.showcase__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px 28px 64px; opacity: 0; transform: scale(.97); transition: opacity .9s ease, transform 1.2s ease; text-decoration: none; }
.showcase__item.is-active { opacity: 1; transform: none; z-index: 1; }
.showcase__item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(15, 23, 42, .22)); }
.showcase__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.showcase__caption strong { color: var(--ink); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase__caption em { font-style: normal; font-weight: 800; color: var(--red-strong); white-space: nowrap; font-family: var(--font-display); }
.hero__cards { display: flex; gap: 12px; justify-content: center; margin-top: -22px; position: relative; z-index: 2; flex-wrap: wrap; }
.hero--pro .hero__card { position: static; animation: none; margin: 0; padding: 10px 14px; border-radius: 12px; font-size: .85rem; }
.hero--pro .hero__card--b { margin: 0; }

/* ---------- Agotado ---------- */
.soldout { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); margin-bottom: 16px; }
.soldout strong { color: var(--ink); font-size: 1.02rem; }
.soldout span:not(.badge) { color: var(--muted); font-size: .92rem; }
.soldout .badge { align-self: flex-start; }
.soldout .btn[disabled] { margin-top: 6px; background: #e5e7eb; color: #6b7280; box-shadow: none; }
.card:has(.badge--out) .card__media img { filter: grayscale(.35); opacity: .85; }

@media (max-width: 900px) {
  .hero--pro { min-height: 0; padding: 48px 0 56px; }
  .hero--pro .hero__visual { display: none; }
}

/* =========================================================================
   v4 · Confianza en la transferencia, seguimiento, compatibilidad, alertas
   ========================================================================= */
/* Recuadro de confianza (checkout / confirmación) */
.trust-box { margin: 4px 0 18px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border: 1px solid var(--line); border-left: 4px solid var(--navy); box-shadow: var(--shadow); }
.trust-box h3 { margin: 0 0 10px; font-size: 1.05rem; display: flex; gap: 8px; align-items: center; }
.trust-box h3 .icon { color: var(--navy); }
.trust-box__steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; color: var(--text); }
.trust-box__steps code { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-weight: 700; }
.trust-box__warn { margin: 14px 0 8px; padding: 10px 12px; border-radius: 10px; background: var(--amber-soft); border: 1px solid var(--amber-line); font-size: .88rem; display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
.trust-box__warn .icon { color: var(--amber); margin-top: 2px; }
.trust-box__links { margin: 0; font-size: .85rem; color: var(--muted); }

/* Navegación: acceso a «Mi pedido» */
.mainnav__track .icon { color: var(--navy); }

/* Filtro «Compatible con» */
.platform-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { cursor: pointer; }
.pchip input { position: absolute; opacity: 0; }
.pchip span { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .82rem; font-weight: 600; color: var(--ink); transition: all .15s; }
.pchip:hover span { border-color: var(--ink); }
.pchip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pchip input:focus-visible + span { outline: 3px solid var(--red-strong); outline-offset: 2px; }

/* Chips de compatibilidad en la ficha */
.compat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.compat-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; text-decoration: none; color: var(--white); background: var(--ink); }
.compat-chip:hover { color: var(--white); opacity: .88; }
.compat-chip--ps5, .compat-chip--ps4 { background: #1d4ed8; }
.compat-chip--nintendo { background: #dc2626; }
.compat-chip--xbox { background: #15803d; }
.compat-chip--pc { background: #334155; }
.compat-chip--retro { background: #7c3aed; }
.specs__sub { font-size: 1rem; margin: 18px 0 10px; }

/* Aviso de stock en productos agotados */
.stock-alert { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: grid; gap: 8px; }
.stock-alert .field span { display: flex; align-items: center; gap: 6px; }
.stock-alert .check { font-size: .82rem; margin: 0; }

/* Mi pedido */
.track__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.track__how { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; }
.track__result { max-width: 920px; }
.track__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.track__head h2 { margin: 2px 0; font-family: ui-monospace, Consolas, monospace; letter-spacing: 0; }
.timeline { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: t; }
.timeline__step { position: relative; display: flex; flex-direction: column; gap: 2px; padding-top: 40px; color: var(--subtle); }
.timeline__step::before { content: ""; position: absolute; top: 15px; left: 32px; right: -8px; height: 3px; background: var(--line); }
.timeline__step:last-child::before { display: none; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-weight: 800; font-size: .85rem; z-index: 1; }
.timeline__step strong { color: inherit; font-size: .92rem; }
.timeline__step small { font-size: .78rem; }
.timeline__step.is-done { color: var(--ink); }
.timeline__step.is-done::before, .timeline__step.is-done .timeline__dot { background: var(--green); color: var(--white); }
.timeline__step.is-current { color: var(--ink); }
.timeline__step.is-current .timeline__dot { background: var(--red-strong); color: var(--white); box-shadow: 0 0 0 5px rgba(225, 29, 46, .15); }
.track__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.track__info h3 { font-size: 1rem; display: flex; gap: 6px; align-items: center; margin: 0 0 8px; }
.track__items { margin: 0 0 12px; padding-left: 18px; }

/* Garantía: pasos */
.howto { padding-left: 22px; display: grid; gap: 10px; }

@media (max-width: 720px) {
  .track__grid, .track__info { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .timeline__step:nth-child(2)::before { display: none; }
}

/* =========================================================================
   v5 · Smartphone: navegación compacta, sin desbordes ni bloques que tapen
   ========================================================================= */
html, body { overflow-x: clip; }
img, video, svg { max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filters__toggle { display: none; }

@media (max-width: 720px) {
  :root { scroll-padding-top: 12px; }
  body { font-size: 15px; }
  .container { padding-inline: 12px; }
  h1 { font-size: clamp(1.35rem, 6vw, 1.7rem); line-height: 1.2; }
  .section { padding-block: 22px; }
  .section__title { font-size: 1.2rem; }
  .section__head { gap: 6px; margin-bottom: 12px; }

  /* Cabecera compacta, no fija: no tapa el contenido al desplazarse */
  .site-header { position: static; }
  .header__row { padding-block: 8px; gap: 8px; }
  .logo-svg { height: 30px; }
  .nav-toggle, .cart-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .search input { height: 40px; font-size: 16px; } /* 16px evita el zoom automático de iOS */
  .search button { width: 46px; height: 40px; padding: 0; flex: 0 0 46px; }
  .search button svg { width: 20px; height: 20px; flex: none; }
  .mainnav.is-open a { padding: 12px 14px; min-height: 44px; }

  /* Bandas informativas: solo una, más fina */
  .ticker--light { display: none; }
  .ticker__list li { padding: 5px 14px; font-size: .76rem; }

  /* Portada */
  .hero--pro, .hero--media { padding: 26px 0 30px; }
  .hero__lead { font-size: .95rem; margin-bottom: 14px; }
  .hero__cta { gap: 8px; }
  .hero__cta .btn { flex: 1 1 140px; justify-content: center; }
  .hero__pills { gap: 6px 12px; font-size: .8rem; }
  .cat-tile { min-height: 72px; padding: 12px; }
  .cat-tile span { font-size: .75rem; }
  .wa-cta { padding: 18px; gap: 12px; }
  .wa-cta .btn { width: 100%; justify-content: center; }

  /* Tarjetas de producto: 2 columnas compactas y legibles */
  .product-grid { gap: 8px; }
  .card { border-radius: 12px; }
  .card__title { font-size: .84rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card__body .btn { min-height: 40px; font-size: .82rem; padding-inline: 8px; width: 100%; justify-content: center; }
  .card__badges { gap: 4px; }

  /* Catálogo: filtros plegados tras un botón */
  .filters { padding: 0; border: 0; background: none; }
  .filters__toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); font-weight: 700; color: var(--ink); font-size: .95rem; }
  .filters__n { background: var(--red-strong); color: var(--white); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
  .js .filters:not(.is-open) .filters__form { display: none; }
  .filters.is-open .filters__form { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
  .catalog__head { margin-bottom: 10px; }

  /* Ficha de producto */
  .product__grid { gap: 16px; }
  .product__info h1 { font-size: 1.3rem; }
  .buy .btn, .product__info .btn--primary, .soldout .btn { width: 100%; min-height: 48px; justify-content: center; }
  .specs table, .specs dl { font-size: .88rem; }
  .compat-chips { margin-bottom: 8px; }

  /* Botones e inputs cómodos para el pulgar */
  .btn { min-height: 44px; }
  input, select, textarea { font-size: 16px; }
  .field input, .field select, .field textarea { min-height: 44px; }
  .qty button { min-width: 40px; min-height: 40px; }

  /* Carrito / checkout */
  .summary { padding: 16px; }
  .summary .btn { width: 100%; justify-content: center; }
  .checkout__layout { gap: 16px; }
  .trust-box { padding: 14px; }
  .dispatch-options { gap: 6px; }

  /* Bloques fijos discretos: nunca tapan el botón de compra */
  .wa-float { width: 46px; height: 46px; right: 10px; bottom: 76px; }
  body:has(.buy) .wa-float, body:has(.cart__layout) .wa-float, body:has(.checkout__layout) .wa-float, body:has(.cookie-banner:not([hidden])) .wa-float { display: none; }
  .cookie-banner { left: 0; right: 0; bottom: 0; border-radius: 14px 14px 0 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); gap: 10px; font-size: .82rem; max-height: 45vh; overflow-y: auto; }
  .cookie-banner__actions { display: flex; gap: 8px; }
  .toast { top: auto; bottom: 14px; }

  /* Pie compacto */
  .site-footer { font-size: .88rem; }
  .footer__grid { gap: 18px; }
}
@media (max-width: 380px) {
  .card__title { font-size: .8rem; }
  .card__price strong { font-size: 1rem; }
  .hero h1 { font-size: 1.3rem; }
}
