/* YapaTec — estilos del tema (mobile-first). Tokens en tokens.css. */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Variable.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font: var(--fw-regular) var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-indigo); }
h1,h2,h3 { font-family: var(--font-heading); margin: 0; color: var(--c-graphite); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--fw-bold); letter-spacing: -.01em; }
p { margin: 0 0 var(--s-3); }
button, input, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c-surface); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--c-text-muted); }
.caption { font-size: var(--fs-caption); font-weight: var(--fw-medium); }
.center { text-align: center; }
.h2s { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-semibold); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h1p { font-size: 26px; line-height: 1.2; margin-bottom: var(--s-2); }
.icon { flex: none; }
.price { font-family: var(--font-body); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.pending { background: var(--c-mandarin-soft); color: var(--c-mandarin-ink); padding: 8px 12px; border-radius: var(--r-sm); }
.only-lg, .only-lg-inline, .only-lg-block, .only-lg-grid { display: none !important; }
.only-sm-flex { display: inline-flex !important; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-min-h); padding: 0 20px; border-radius: var(--r-md); border: 1px solid transparent; font-weight: var(--fw-bold); font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--primary { background: var(--c-indigo); color: #fff; }
.btn--primary:hover { background: var(--c-indigo-hover); }
.btn--secondary { background: var(--c-surface); color: var(--c-indigo); border-color: var(--c-indigo); }
.btn--secondary:hover { background: var(--c-lilac); }
.btn--ghost { background: transparent; color: var(--c-graphite); border-color: var(--c-border); }
.btn--wa { background: var(--c-whatsapp); color: #fff; --chat-dot: var(--c-whatsapp); }
.btn--wa:hover { background: var(--c-whatsapp-hover); --chat-dot: var(--c-whatsapp-hover); }
.btn--block { width: 100%; }
.btn--compact { min-height: var(--btn-min-h); padding: 0 16px; font-size: 15px; }
.iconbtn { display: inline-grid; place-items: center; min-width: var(--touch-min); min-height: var(--touch-min); border: 0; background: none; border-radius: var(--r-md); color: var(--c-graphite); cursor: pointer; position: relative; text-decoration: none; }
.iconbtn:hover { background: var(--c-lilac); }
.iconbtn--add { border: 1px solid var(--c-indigo); color: var(--c-indigo); background: var(--c-surface); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--c-indigo); font-weight: var(--fw-medium); text-decoration: none; }
.link:hover { text-decoration: underline; }
.link--plain { color: var(--c-graphite); font-size: var(--fs-small); }
.link--danger { color: var(--c-danger); background: none; border: 0; cursor: pointer; padding: 0 4px; min-height: var(--touch-min); font-size: var(--fs-small); }
.label { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: var(--fw-medium); line-height: 1.3; }
.label--mandarin { background: var(--c-mandarin); color: var(--c-graphite); }
.label--soft { background: var(--c-mandarin-soft); color: var(--c-mandarin-ink); font-size: var(--fs-caption); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-sm); font-size: var(--fs-caption); font-weight: var(--fw-medium); }
.chip--leaf { background: var(--c-leaf-soft); color: var(--c-leaf-ink); }
.chip--danger { background: #FBEAE8; color: var(--c-danger); }
.box { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-4); }
.box__title { font-family: var(--font-heading); font-size: 17px; font-weight: var(--fw-semibold); margin-bottom: var(--s-2); }

/* ---------- barra de confianza + header ---------- */
.trust { background: var(--c-graphite); color: #fff; font-size: 13px; }
.trust__in { min-height: var(--top-strip-h); display: flex; align-items: center; justify-content: center; gap: 8px; }
.only-sm { display: inline; }
.hdr { position: sticky; top: 0; z-index: 30; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.hdr__in { height: var(--header-h); display: flex; align-items: center; gap: 4px; }
.hdr__menu { margin-left: -10px; }
.hdr__back { display: none; margin-left: -10px; }
.hdr__logo { display: block; flex: none; margin-right: auto; padding: 4px 0; }
.hdr__logo img { height: 34px; width: auto; }
.hdr__nav, .hdr__wa { display: none !important; }
.hdr__actions { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.bubble { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-indigo); color: #fff; font-size: 11px; font-weight: var(--fw-bold); line-height: 18px; }
.search { display: none; }
.search-open .search { display: flex; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter); background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.search input { flex: 1; height: var(--input-h); border: 1px solid var(--c-border); border-radius: var(--r-md) 0 0 var(--r-md); padding: 0 14px; background: var(--c-surface); min-width: 0; }
.search button { width: 48px; border: 1px solid var(--c-border); border-left: 0; border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-surface); cursor: pointer; display: grid; place-items: center; }
/* Ficha en móvil: flecha atrás + logo centrado + bolsa (mockup 03). */
.single-product .hdr__menu, .single-product .hdr__search { display: none; }
.single-product .hdr__back { display: inline-grid; }
.single-product .hdr__logo { margin: 0 auto; }
.single-product .trust { display: none; }

.drawer { border: 0; padding: var(--s-4); margin: 0; width: min(86vw, 360px); max-width: none; height: 100dvh; max-height: none; background: var(--c-surface); box-shadow: var(--sh-raised); }
.drawer::backdrop, .filters::backdrop { background: rgba(28,31,38,.45); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.drawer__title { font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); margin: var(--s-4) 0 var(--s-1); }
.drawer nav a { display: flex; align-items: center; min-height: var(--touch-min); color: var(--c-graphite); text-decoration: none; font-weight: var(--fw-medium); border-bottom: 1px solid var(--c-border); }
.drawer .btn { margin-top: var(--s-6); }

.main { min-height: 50vh; padding-bottom: var(--s-12); }

/* ---------- inicio ---------- */
.hero { position: relative; overflow: hidden; margin-top: var(--s-4); padding: var(--s-6) var(--s-5) 0; border-radius: var(--r-xl); background: var(--g-hero); display: grid; }
.eyebrow { font-size: var(--fs-caption); font-weight: var(--fw-medium); letter-spacing: .08em; color: var(--c-graphite); margin-bottom: var(--s-3); }
.hero h1 { max-width: 15ch; }
.hero__sub { margin: var(--s-3) 0 var(--s-5); max-width: 36ch; font-size: 15px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); position: relative; z-index: 1; }
.hero__cta .btn--secondary { border-color: transparent; }
.hero__cta .btn { padding: 0 18px; }
.hero__media { position: relative; height: 190px; margin: var(--s-2) 0 0; }
.hero__media img { position: absolute; width: auto; filter: drop-shadow(0 18px 18px rgba(28,31,38,.18)); }
.hero__lap { height: 170px; right: 0; bottom: 10px; }
.hero__mon { display: none; }
.benefits { margin-top: var(--s-6); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
.benefits__list { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: var(--s-3); }
.benefits li { scroll-snap-align: start; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); font-weight: var(--fw-medium); color: var(--c-graphite); line-height: 1.3; }
.sec { margin-top: var(--s-8); }
.sec__head { display: flex; align-items: center; justify-content: space-between; }
.sec .h2s { margin-bottom: var(--s-4); }
.sec__head .h2s { margin-bottom: var(--s-4); }
.cats { display: flex; gap: var(--s-3); overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.cats a { display: grid; justify-items: center; gap: var(--s-2); text-decoration: none; color: var(--c-graphite); font-size: 13px; font-weight: var(--fw-medium); width: 80px; }
.cats__img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-graphite); }
.cats__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.kitcard { position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: var(--s-3); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: var(--s-3); }
.kitcard__media { background: var(--c-bg); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; }
.kitcard__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.kitcard__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); margin: var(--s-2) 0 var(--s-1); }
.kitcard .muted { font-size: 14px; margin-bottom: var(--s-2); }
.kitcard .label { font-size: 12px; }
.kitcard__inc { font-size: 14px; color: var(--c-text-muted); margin-bottom: var(--s-2); list-style: disc; padding-left: 18px; }
.kitcard__price { font-size: var(--fs-price-card); margin-bottom: var(--s-2); }
.kits { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.yapa { margin-top: var(--s-12); display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-6); border-radius: var(--r-xl); background: var(--c-graphite); color: #fff; }
.yapa h2 { color: #fff; font-size: var(--fs-h2); }
.yapa p { margin: var(--s-1) 0 0; }
.yapa__ico { color: var(--c-mandarin); }
.yapa__note { font-size: var(--fs-caption); color: #C9CBD1; }

/* ---------- tarjetas y grilla ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--r-lg); box-shadow: var(--sh-card); border: 1px solid var(--c-border); padding: 12px; }
.card__media { background: var(--c-bg); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; margin-bottom: var(--s-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.card__name { font-family: var(--font-heading); font-size: 16px; line-height: 1.3; font-weight: var(--fw-semibold); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.card__ver { font-size: 13px; color: var(--c-text-muted); margin: 2px 0 var(--s-2); }
.card__price { font-size: var(--fs-price-card); margin: var(--s-2) 0 0; }
.card__iva { font-size: var(--fs-caption); color: var(--c-text-muted); margin: 0 0 var(--s-2); }
.card__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: var(--s-2); position: relative; z-index: 1; }
.card__actions:empty { display: none; }
.grid--home .card__actions { display: none; }
.cmpchk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; min-height: var(--touch-min); cursor: pointer; }
.cmpchk input { width: 18px; height: 18px; accent-color: var(--c-indigo); }
.img-ph { display: block; width: 100%; height: 100%; min-height: 48px; background: var(--c-border); border-radius: var(--r-sm); }

/* ---------- categoría ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--c-text-muted); padding: var(--s-3) 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--c-text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-indigo); }
.cat__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.cat__tools { display: flex; align-items: center; gap: var(--s-3); justify-content: space-between; }
.sort { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); }
.sort select, .field select, .field input, .range input { height: var(--input-h); border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); padding: 0 12px; }
.filters { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: none; max-height: 85dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--c-surface); }
.filters form { padding: var(--s-4); display: grid; gap: var(--s-4); }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.filters legend { font-weight: var(--fw-bold); margin-bottom: var(--s-2); }
.range { display: flex; align-items: center; gap: 8px; }
.range input { width: 100%; }
.opt { display: flex; align-items: center; gap: 10px; min-height: var(--touch-min); cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--c-indigo); }
.filters__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-3); position: sticky; bottom: 0; background: var(--c-surface); padding-top: var(--s-2); }
.empty { text-align: center; padding: var(--s-10) var(--s-4); display: grid; gap: var(--s-4); justify-items: center; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: var(--s-6); }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: var(--r-md); border: 1px solid var(--c-border); background: var(--c-surface); text-decoration: none; }
.nav-links .current { background: var(--c-indigo); color: #fff; border-color: var(--c-indigo); }

/* ---------- ficha ---------- */
.pdp { display: grid; gap: var(--s-4); }
.single-product .main { padding-bottom: 120px; }
.single-product .crumbs { display: none; }
.pdp__left, .pdp__right { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.pdp__right > .label { justify-self: start; margin-top: var(--s-1); }
.pdp--kit { margin-top: var(--s-2); }
.gallery { display: grid; gap: var(--s-3); margin-top: var(--s-3); }
.gallery__frame { position: relative; padding: 0; overflow: hidden; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery__main { padding: 0; overflow: hidden; aspect-ratio: 4/3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.gallery__dots span { width: 8px; height: 8px; border-radius: 50%; background: #C9CBD1; }
.gallery__dots span.on { background: var(--c-graphite); }
.gallery__thumbs { display: none; }
.pdp__title { font-family: var(--font-heading); font-size: 21px; line-height: 1.25; font-weight: var(--fw-semibold); }
.pdp__code { margin: -4px 0 0; font-size: var(--fs-small); }
.pdp__price { display: grid; gap: 2px; }
.price--xl { font-size: var(--fs-price); line-height: 1.1; }
.selector .box__title { margin-bottom: var(--s-3); }
.pills { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-3); }
@media (max-width: 379px) { .pill { white-space: normal !important; } .pills { gap: var(--s-2); } .stickybar .btn { font-size: 15px; padding: 0 10px; } .stickybar .btn--secondary { padding: 0 14px; } .stickybar .icon { width: 22px; height: 22px; } .stickybar { grid-template-columns: minmax(0, 1fr) auto; } .stickybar .btn--wa { white-space: normal; text-align: left; line-height: 1.15; } }
.pill { min-height: var(--btn-min-h); padding: 6px 12px; border-radius: var(--r-md); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text-muted); font-weight: var(--fw-medium); cursor: pointer; font-size: 14px; white-space: nowrap; }
.pill[aria-pressed="true"] { border: 2px solid var(--c-indigo); color: var(--c-indigo); background: var(--c-surface); font-weight: var(--fw-bold); }
.pill[aria-pressed="true"] .pill__price { display: none; }
.pill__price { white-space: nowrap; margin-left: 6px; }
.pill__sep { display: none; }
.warranty { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); }
.warranty__ico { color: var(--c-graphite); }
.warranty .box__title { margin-bottom: 0; }
.warranty .muted { font-size: var(--fs-small); margin: 0 0 var(--s-2); }
.ticks { display: grid; gap: 6px; margin-bottom: var(--s-2); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .ok, .ok { color: var(--c-leaf); }
.ticks .no, .no { color: var(--c-text-muted); }
.ship { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: center; }
.ship .box__title { margin-bottom: 0; }
.ship p { margin: 0; font-size: var(--fs-small); }
.complete__list { display: grid; gap: var(--s-3); }
.mini { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: var(--s-3); }
.mini__img { background: var(--c-bg); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; }
.mini__img img { mix-blend-mode: multiply; width: 100%; height: 100%; object-fit: cover; }
.mini__body { display: grid; }
.mini__name { color: var(--c-graphite); text-decoration: none; font-size: 15px; }
.pdp__cta { display: grid; gap: var(--s-3); }
.versions { margin-top: var(--s-4); }
.tscroll { overflow-x: auto; }
.vtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.vtable th, .vtable td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--c-border); }
.vtable tbody th { text-align: left; font-weight: var(--fw-medium); white-space: nowrap; position: sticky; left: 0; background: var(--c-surface); }
.vtable tbody th .icon { vertical-align: -4px; margin-right: 4px; color: var(--c-text-muted); }
.vtable thead th { font-weight: var(--fw-medium); color: var(--c-text-muted); }
.vtable .is-cur { background: var(--c-lilac); color: var(--c-indigo); }
.vtable thead th.is-cur { color: var(--c-indigo); }
.vtable--cmp thead th { vertical-align: top; min-width: 160px; }
.vtable--cmp thead th img { margin: 0 auto 8px; mix-blend-mode: multiply; }
.vtable--cmp thead th a { display: block; color: var(--c-graphite); font-family: var(--font-heading); font-weight: var(--fw-semibold); text-decoration: none; }
.vtable--cmp thead th span { display: block; }
.vtable--cmp tr.is-diff td { background: var(--c-lilac); }
.info { margin-top: var(--s-4); }
.tabs { display: none; }
.acc { border-bottom: 1px solid var(--c-border); }
.acc__h button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 52px; background: none; border: 0; font-family: var(--font-heading); font-size: 17px; font-weight: var(--fw-semibold); cursor: pointer; color: var(--c-graphite); padding: 0; }
.acc__h button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.panel { display: none; padding-bottom: var(--s-4); }
.panel.is-on { display: block; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: var(--s-2); }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.specs th { color: var(--c-text-muted); font-weight: var(--fw-medium); width: 45%; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--c-surface); box-shadow: var(--sh-sticky); }
.stickybar .btn { min-height: 56px; font-size: 17px; padding: 0 12px; gap: 8px; }
.stickybar .btn--secondary { padding: 0 22px; }
.kititems { display: grid; gap: var(--s-3); margin-bottom: var(--s-3); }
.kititems li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: var(--s-3); }
.kititems__img { width: 56px; height: 56px; background: var(--c-bg); border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; }
.kititems__img img { mix-blend-mode: multiply; }
.kititems a { color: var(--c-graphite); }
.kititems__qty { font-weight: var(--fw-bold); }
.yapa-inline { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; background: var(--c-lilac); padding: 10px 12px; border-radius: var(--r-md); margin: 0; }

/* ---------- cotización ---------- */
.page { padding-top: var(--s-2); }
.page--narrow { max-width: 880px; }
.lead { font-size: 17px; color: var(--c-text-muted); }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--s-4) 0 var(--s-5); counter-reset: s; }
.stepper li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--c-text-muted); line-height: 1.25; padding: 0 4px; }
.stepper li span { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--c-lilac); color: var(--c-graphite); font-weight: var(--fw-bold); }
.stepper li + li::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 2px; background: var(--c-border); }
.stepper .is-on { color: var(--c-indigo); font-weight: var(--fw-bold); }
.stepper .is-on span { background: var(--c-indigo); color: #fff; }
.quote-layout { display: grid; gap: var(--s-4); }
.quote .h2s { margin-bottom: var(--s-3); }
.qitems { display: grid; }
.qitem { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-border); align-items: start; }
.qitem img { border-radius: var(--r-sm); background: var(--c-bg); mix-blend-mode: multiply; }
.qitem__body { display: grid; gap: 2px; min-width: 0; }
.qitem__name { font-weight: var(--fw-bold); color: var(--c-graphite); text-decoration: none; }
.qitem__body .muted { font-size: 14px; }
.qitem__sub { white-space: nowrap; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty .iconbtn { border: 1px solid var(--c-border); font-size: 20px; min-width: 44px; }
.qty output { min-width: 28px; text-align: center; font-weight: var(--fw-bold); }
.qrow { display: flex; align-items: center; gap: 10px; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-border); }
.qrow > span { flex: 1; font-weight: var(--fw-medium); }
.qrow--ship .icon { color: var(--c-indigo); }
.qrow--total { border-bottom: 0; padding-bottom: 4px; }
.qrow--total span, .qrow--total strong { font-size: 20px; font-family: var(--font-heading); font-weight: var(--fw-bold); }
.qrow--total strong { font-family: var(--font-body); }
.qform { display: grid; gap: 6px; margin-top: var(--s-4); }
.qform label { font-weight: var(--fw-medium); font-size: 15px; margin-top: var(--s-2); }
.field { position: relative; }
.field .icon { position: absolute; left: 12px; top: 14px; color: var(--c-text-muted); pointer-events: none; }
.field select, .field input { width: 100%; padding-left: 42px; }
.qform .btn--wa { margin-top: var(--s-4); }
.steps-v { display: grid; gap: var(--s-4); margin: var(--s-3) 0 var(--s-4); counter-reset: st; }
.steps-v li { display: grid; grid-template-columns: 28px 28px 1fr; gap: var(--s-3); align-items: center; counter-increment: st; }
.steps-v li::before { content: counter(st); grid-column: 1; grid-row: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--c-indigo); color: #fff; display: grid; place-items: center; font-weight: var(--fw-bold); font-size: 14px; }
.steps-v .icon { color: var(--c-graphite); }
.paysafe { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); padding: var(--s-4); border: 1px solid var(--c-mandarin); background: #FFF7F2; border-radius: var(--r-md); color: var(--c-graphite); font-size: 15px; margin-top: var(--s-4); }
.paysafe .icon { color: var(--c-mandarin-ink); }
.paysafe p { margin: 0; }
.soon { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; font-size: 14px; margin: var(--s-3) 0 0; text-align: center; }
.steps { display: grid; gap: var(--s-5); margin: var(--s-6) 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); }
.steps__n { width: 40px; height: 40px; border-radius: 50%; background: var(--c-indigo); color: #fff; display: grid; place-items: center; font-weight: var(--fw-bold); font-family: var(--font-heading); font-size: 18px; }
.steps h2 { margin: 6px 0 4px; }
.bank { display: grid; gap: 0; margin: var(--s-3) 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.bank div { display: grid; grid-template-columns: 110px 1fr; padding: 10px 14px; border-bottom: 1px solid var(--c-border); }
.bank div:last-child { border-bottom: 0; }
.bank dt { color: var(--c-text-muted); }
.bank dd { margin: 0; font-weight: var(--fw-medium); }
.page .box { margin-top: var(--s-4); }
.page .box .h3 { margin-bottom: var(--s-3); }
.cols2 { display: grid; gap: var(--s-4); }
.cols2 .box { margin-top: var(--s-4); }
.prose { max-width: 70ch; }

/* ---------- footer y flotantes ---------- */
.ftr { background: var(--c-graphite); color: #C9CBD1; padding: var(--s-10) 0 var(--s-6); font-size: var(--fs-small); }
.ftr__grid { display: grid; gap: var(--s-6); }
.ftr__brand img { margin-bottom: var(--s-3); }
.ftr__safe { display: flex; gap: 8px; align-items: flex-start; color: #fff; }
.ftr h2 { color: #fff; font-size: 15px; font-weight: var(--fw-semibold); margin: 0 0 var(--s-2); }
.ftr h2:not(:first-child) { margin-top: var(--s-5); }
.ftr ul { display: grid; gap: 2px; }
.ftr a { color: #C9CBD1; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__contact li { min-height: 28px; }
.ftr__base { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid #343843; }
.ftr__grid .ftr__col:nth-child(2), .ftr__grid .ftr__col:nth-child(3) { display: inline-block; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 35; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c-whatsapp); color: #fff; box-shadow: var(--sh-raised); --chat-dot: var(--c-whatsapp); }
.fab:hover { background: var(--c-whatsapp-hover); }
.has-cmpbar .fab { bottom: 88px; }
.demo-ribbon { position: fixed; left: 12px; bottom: 12px; z-index: 34; margin: 0; padding: 4px 10px; border-radius: var(--r-pill); background: var(--c-mandarin-soft); color: var(--c-mandarin-ink); font-size: 11px; font-weight: var(--fw-bold); box-shadow: var(--sh-card); pointer-events: none; }
.single-product .demo-ribbon { bottom: 92px; }
.has-cmpbar .demo-ribbon { bottom: 88px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px); z-index: 60; display: flex; gap: var(--s-4); align-items: center; padding: 12px 16px; border-radius: var(--r-md); background: var(--c-graphite); color: #fff; box-shadow: var(--sh-raised); opacity: 0; transition: opacity .2s, transform .2s; width: max-content; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #CFC9F7; font-weight: var(--fw-bold); white-space: nowrap; }
.cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--c-surface); box-shadow: var(--sh-sticky); }
.cmpbar__in { display: flex; align-items: center; gap: var(--s-3); padding-top: 10px; padding-bottom: 10px; }
.cmpbar__in span { flex: 1; font-size: 13px; color: var(--c-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- sm ≥480 ---------- */
@media (min-width: 480px) {
	.hero__media { height: 220px; }
	.hero__lap { height: 200px; }
	.benefits__list { grid-auto-columns: 48%; }
}

/* ---------- md ≥768 ---------- */
@media (min-width: 768px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.benefits { overflow: visible; margin: var(--s-4) 0 0; padding: 0; }
	.benefits__list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
	.hero { grid-template-columns: 1.1fr 1fr; padding: var(--s-10) var(--s-10); }
	.hero__media { height: auto; margin: 0; }
	.hero__lap { height: auto; width: 100%; right: 0; bottom: 18%; }
	.kits { grid-template-columns: repeat(2, 1fr); }
	.cols2 { grid-template-columns: 1fr 1fr; }
	.ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
	.cat__head { grid-template-columns: 1fr auto; align-items: end; }
	.stepper li { font-size: 15px; }
}

/* ---------- lg ≥1024 (layout de escritorio) ---------- */
@media (min-width: 1024px) {
	.only-sm, .only-sm-flex { display: none !important; }
	.only-lg { display: inline !important; }
	.only-lg-inline { display: inline !important; }
	.only-lg-block { display: block !important; }
	.only-lg-grid { display: grid !important; }
	.btn--compact { min-height: var(--btn-min-h-compact); }
	.h1p { font-size: 36px; }
	.hdr__in { gap: 14px; }
	.hdr__menu, .hdr__search, .single-product .hdr__back { display: none !important; }
	.hdr__logo, .single-product .hdr__logo { margin: 0; }
	.hdr__logo img { height: 34px; }
	.single-product .trust { display: block; }
	.hdr__nav { display: block !important; margin-left: auto; }
	.hdr__nav ul { display: flex; gap: 2px; }
	.hdr__nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 6px; border-radius: var(--r-sm); color: var(--c-graphite); text-decoration: none; font-size: 15px; white-space: nowrap; font-weight: var(--fw-medium); }
	.hdr__nav a:hover, .hdr__nav a[aria-current] { background: var(--c-lilac); color: var(--c-indigo); }
	.search, .search-open .search { display: flex; position: static; padding: 0; border: 0; flex: 1 1 200px; max-width: 260px; min-width: 170px; }
	.hdr__nav { flex: none; }
	.search input { height: 40px; }
	.search button { width: 44px; }
	.hdr__wa { display: inline-flex !important; }
	.hdr__actions { gap: var(--s-2); }
	.hero { min-height: 420px; padding: var(--s-12) 0 var(--s-12) var(--s-16); align-items: center; }
	.eyebrow { color: var(--c-indigo); font-weight: var(--fw-bold); }
	.hero__sub { font-size: 17px; }
	.hero__media { align-self: stretch; }
	.hero__mon { display: block; width: auto; height: 86%; right: 4%; top: 7%; }
	.hero__lap { width: auto; height: 62%; right: 34%; bottom: 6%; }
	.benefits { margin-top: var(--s-6); }
	.benefits li { padding: var(--s-5) var(--s-6); font-size: 17px; }
	.sec { margin-top: var(--s-12); }
	.cats { overflow: visible; justify-content: space-between; margin: 0; padding: 0; }
	.cats a { width: 140px; font-size: 15px; }
	.cats__img { width: 120px; height: 120px; }
	.kitcard { grid-template-columns: 260px 1fr; gap: var(--s-8); padding: var(--s-4); }
	.kits .kitcard { grid-template-columns: 220px 1fr; gap: var(--s-5); }
	.kitcard__title { font-size: 28px; }
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.card { padding: 16px; }
	.card--row { display: grid; grid-template-columns: 44% 1fr; gap: var(--s-3); align-items: center; }
	.card--row .card__name { font-size: 16px; }
	.card--row .card__price { font-size: 18px; white-space: nowrap; }
	.card--row .chip { white-space: nowrap; }
	.card--row .card__media { margin: 0; }
	.card--row .card__price { margin-top: var(--s-4); }
	.card__name { font-size: var(--fs-h3); }
	.cat__layout { display: grid; grid-template-columns: 250px 1fr; gap: var(--s-8); align-items: start; }
	.cat__layout .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); margin: 0; max-height: none; border-radius: var(--r-lg); border: 1px solid var(--c-border); z-index: 1; }
	.filters__actions { position: static; grid-template-columns: 1fr 1fr; }
	.filters__actions .btn { padding: 0 8px; font-size: 15px; }

	.single-product .main { padding-bottom: var(--s-12); }
	.single-product .crumbs { display: block; }
	.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
	.gallery { margin-top: 0; }
	.gallery__track { overflow: hidden; }
	.gallery__frame { border-radius: var(--r-lg); }
	.gallery__dots { display: none; }
	.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
	.thumb { padding: 4px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); cursor: pointer; aspect-ratio: 4/3; overflow: hidden; }
	.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
	.thumb.is-on { border: 2px solid var(--c-indigo); }
	.pdp__title { font-size: 28px; }
	.pdp__price { display: flex; align-items: baseline; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-border); }
	.selector { border: 0; padding: 0; background: none; }
	.selector .box__title { font-family: var(--font-body); font-size: 16px; font-weight: var(--fw-medium); margin-bottom: var(--s-2); }
	.pill { min-height: 44px; font-size: 15px; }
	.pill__sep { display: inline; margin-left: .3em; }
	.pill__price { margin-left: 0; }
	.pills { grid-template-columns: 1fr 1fr; }
	.pdp__cta .btn { min-height: 48px; }
	.warranty { grid-template-columns: 1fr; }
	.warranty__ico { display: none; }
	.stickybar, .fab { display: none; }
	.single-product .demo-ribbon { bottom: 12px; }
	.info { margin-top: var(--s-10); }
	.tabs { display: flex; gap: var(--s-2); border-bottom: 1px solid var(--c-border); }
	.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font-weight: var(--fw-bold); color: var(--c-text-muted); cursor: pointer; min-height: 48px; }
	.tabs button[aria-selected="true"] { color: var(--c-indigo); border-bottom-color: var(--c-indigo); }
	.acc { border: 0; }
	.acc__h { display: none; }
	.panel { padding: var(--s-5) 0; max-width: 760px; }
	.quote-layout { grid-template-columns: 1.15fr 1fr; align-items: start; }
	.page--narrow { max-width: 1100px; }
	.page--narrow > .h1p, .page--narrow > .lead, .page--narrow > .steps, .page--narrow > .box, .page--narrow > .cols2, .page--narrow > .paysafe { max-width: 820px; }
	.toast { bottom: 32px; }
	.yapa { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); padding: var(--s-8) var(--s-10); margin-top: var(--s-20); }
}

/* ---------- xl ≥1280 ---------- */
@media (min-width: 1024px) and (max-width: 1199px) {
	.hdr__nav a { padding: 0 6px; font-size: 14px; }
	.search, .search-open .search { flex-basis: 150px; }
	.hdr__nav a .icon { display: none; }
	.hdr__wa span { display: none; }
	.hdr__wa { padding: 0 12px !important; }
}
