/* Techsupport — tienda (propuesta v2). Se carga después de app.css y solo en páginas de tienda.
   Misma paleta, tipografía y radios del sitio; cambia la estructura. */
.store { --st-wrap: 1200px; --st-tint: #f3f6fa; --st-ribbon: 40px; --wa: #0b7a3e; }
.st-wrap { max-width: var(--st-wrap); margin: 0 auto; padding: 0 16px; width: 100%; }
@media (min-width: 768px) { .st-wrap { padding: 0 32px; } }

/* ---------- Botones propios ---------- */
.st-btn-light { background: #fff; color: var(--ink); }
.st-btn-light:hover { background: var(--brand-50); color: var(--brand-600); }
.st-btn-ink { background: var(--ink); color: #fff; }
.st-btn-ink:hover { background: var(--ink-2); }
.st-btn-ink:disabled { background: #8a94a3; cursor: not-allowed; }
.st-pill { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: #7cc4ef; color: var(--ink); font-size: .84rem; font-weight: 800; line-height: 1.4; }

/* ---------- Cinta de avisos ---------- */
.st-ribbon { position: relative; height: var(--st-ribbon); background: var(--ink); color: #fff; overflow: hidden; display: flex; align-items: center; }
.st-ribbon__track { display: flex; width: max-content; animation: st-ribbon 46s linear infinite; }
.st-ribbon__list { display: flex; list-style: none; margin: 0; padding: 0; flex: none; min-width: 100vw; justify-content: space-around; }
.st-ribbon__list li { display: inline-flex; align-items: center; gap: 8px; padding: 0 32px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.st-ribbon__list .ico { color: #7cc4ef; }
.st-ribbon:hover .st-ribbon__track, .st-ribbon.is-paused .st-ribbon__track { animation-play-state: paused; }
.st-ribbon__pause { position: absolute; right: 0; top: 0; width: 48px; height: 100%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: -14px 0 14px var(--ink); }
.st-ribbon__pause span, .st-hero__ctl span { display: grid; }
.st-ribbon :focus-visible { outline-color: #7cc4ef; outline-offset: -4px; }
@keyframes st-ribbon { to { transform: translateX(-50%); } }

/* ---------- Barra de la tienda (dentro del contenido) ---------- */
.st-top { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.st-bar { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 76px; }
.st-bar .st-search { flex: 1; max-width: 680px; }
.st-bar__cats { display: none; align-items: center; gap: 8px; height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .94rem; cursor: pointer; }
.st-bar__cats:hover { border-color: var(--ink); }
.st-search { position: relative; }
.store .st-search input[type="search"] { width: 100%; height: 50px; padding: 0 60px 0 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--st-tint); color: var(--ink); font-size: .98rem; appearance: none; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.st-search input::placeholder { color: #566171; opacity: 1; }
.st-search input::-webkit-search-cancel-button { display: none; }
.store .st-search input[type="search"]:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 106, 163, .18); }
.st-search__go { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease; }
.st-search__go:hover { background: var(--brand-600); }
.st-suggest { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; max-height: min(70vh, 520px); overflow-y: auto; }
.is-live .st-suggest { display: none; }
.st-suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 6px 10px; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.35; }
.st-suggest a:hover, .st-suggest a[aria-selected="true"] { background: var(--brand-50); text-decoration: none; }
.st-suggest__img { width: 48px; height: 48px; border-radius: 8px; background: var(--st-tint); display: grid; place-items: center; overflow: hidden; }
.st-suggest__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.st-suggest b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-suggest .st-suggest__all { display: block; text-align: center; color: var(--brand-600); padding: 12px; }
.st-suggest .st-suggest__col { grid-template-columns: 1fr auto; color: var(--brand-600); min-height: 44px; }
.st-suggest p { margin: 0; padding: 16px; color: var(--muted); text-align: center; }

/* ---------- Categorías ---------- */
.st-cats { border-top: 1px solid var(--line); }
.st-cats__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0 auto; white-space: nowrap; }
.st-cats__list > li { flex: none; }
.st-cats a, .st-cats button { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 12px; border: 0; background: none; color: var(--text); font-size: .94rem; font-weight: 600; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; transition: color .15s ease, box-shadow .15s ease; }
.st-cats__list > li:first-child a { margin-left: -12px; }
.st-cats a:hover, .st-cats button:hover { color: var(--brand-600); text-decoration: none; box-shadow: inset 0 -2px 0 var(--line-2); }
.st-cats a[aria-current="page"] { color: var(--brand-600); box-shadow: inset 0 -2px 0 var(--brand); }
.st-cats__more { position: relative; }
.st-cats__more ul { position: absolute; right: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.st-cats__more ul a { display: flex; border-radius: 10px; min-height: 44px; margin: 0; box-shadow: none; }
.st-cats__more ul a:hover { background: var(--brand-50); box-shadow: none; }

/* ---------- Menú de cada línea ---------- */
.st-cats { position: relative; }
.st-mega { position: absolute; z-index: 30; left: max(16px, calc((100% - var(--st-wrap)) / 2 + 32px)); right: max(16px, calc((100% - var(--st-wrap)) / 2 + 32px)); top: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 24px; padding: 22px 24px 24px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 170px); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .14s ease .08s, visibility 0s linear .22s; white-space: normal; }
.st-mega--one ul { columns: 3 200px; column-gap: 24px; }
.st-mega--one ul li { break-inside: avoid; }
.st-dep:hover > .st-mega, .st-dep:focus-within > .st-mega { visibility: visible; opacity: 1; transition-delay: .12s, .12s; }
.st-dep.is-shut > .st-mega { visibility: hidden !important; opacity: 0 !important; }
.st-cats .st-mega a { display: flex; justify-content: space-between; gap: 12px; min-height: 36px; padding: 4px 10px; margin: 0; border-radius: 8px; font-size: .91rem; font-weight: 500; line-height: 1.35; box-shadow: none; }
.st-cats .st-mega a:hover { background: var(--brand-50); box-shadow: none; }
.st-cats .st-mega .st-mega__head { font-weight: 800; color: var(--ink); font-size: .96rem; }
.st-mega ul { list-style: none; margin: 0; padding: 0; }
.st-mega a span, .st-acc a span { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.st-cats__more .st-mega { display: none; }

/* ---------- Paneles laterales ---------- */
.st-drawer { border: 0; padding: 0; margin: 0; height: 100dvh; max-height: none; width: min(92vw, 420px); max-width: none; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.st-drawer[open] { display: flex; flex-direction: column; animation: st-in .28s cubic-bezier(.16, 1, .3, 1); }
.st-drawer--right { margin-left: auto; --from: 24px; }
.st-drawer--left { --from: -24px; }
@keyframes st-in { from { transform: translateX(var(--from)); opacity: .4; } }
.st-drawer::backdrop { background: rgba(15, 23, 41, .55); }
.st-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 14px 22px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; }
.st-menu { overflow-y: auto; padding: 10px 12px 24px; }
.st-menu ul { list-style: none; margin: 0; padding: 0; }
.st-menu a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.st-menu a:hover { background: var(--st-tint); text-decoration: none; }
.st-menu a > span { margin-left: auto; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.st-acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.st-acc summary::-webkit-details-marker { display: none; }
.st-acc summary:hover { background: var(--st-tint); }
.st-acc[open] summary .ico { transform: rotate(180deg); }
.st-menu .st-acc ul { padding: 0 0 10px 12px; }
.st-menu .st-acc a { min-height: 44px; font-weight: 500; font-size: .95rem; }
.st-menu .st-acc .st-acc__cat { font-weight: 800; margin-top: 6px; }
.st-menu .st-acc .st-acc__all { color: var(--brand-600); font-weight: 700; }
.st-cart { list-style: none; margin: 0; padding: 0 22px; overflow-y: auto; flex: 1; }
.st-cart:empty { display: none; }
.st-cart li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.st-cart__img { width: 84px; height: 84px; border-radius: 10px; background: var(--st-tint); display: grid; place-items: center; overflow: hidden; }
.st-cart__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.st-cart a { display: block; color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.35; overflow-wrap: anywhere; }
.st-cart b { display: block; margin: 4px 0 8px; color: var(--ink); font-variant-numeric: tabular-nums; }
.st-cart__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-cart__rm { border: 0; background: none; min-height: 44px; padding: 0 6px; color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.st-cart__rm:hover { color: var(--danger); }
.st-cart__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; color: var(--muted); }
.st-cart__empty p { margin: 0 0 6px; }
.st-cart__foot { padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--st-tint); }
.st-cart__foot dl { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; color: var(--ink); font-weight: 700; }
.st-cart__foot dt small { color: var(--muted); font-weight: 500; }
.st-cart__foot dd { margin: 0; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-qty { display: inline-grid; grid-template-columns: 48px 1fr 48px; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; overflow: hidden; min-width: 144px; }
.st-qty button { height: 48px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; }
.st-qty button:hover:not(:disabled) { background: var(--st-tint); }
.st-qty button:disabled { color: #a5afbc; cursor: not-allowed; }
.st-qty button:focus-visible { outline-offset: -3px; }
.store .st-qty input[type="number"] { width: 100%; height: 48px; border: 0; background: none; text-align: center; font-weight: 700; color: var(--ink); padding: 0; box-shadow: none; appearance: textfield; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.st-qty input::-webkit-inner-spin-button, .st-qty input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.st-qty--sm { grid-template-columns: 44px 34px 44px; min-width: 0; }
.st-qty--sm button { height: 44px; }
.st-qty output { text-align: center; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Carrusel ---------- */
.st-hero { position: relative; height: clamp(440px, 39vw, 580px); background: var(--ink); overflow: hidden; isolation: isolate; }
.st-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.st-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.st-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 41, .5), rgba(15, 23, 41, .66) 55%, rgba(15, 23, 41, .82)); }
.st-slide--vivid::after { background: radial-gradient(ellipse 46% 62% at 50% 46%, rgba(10, 16, 32, .74), rgba(10, 16, 32, .5) 55%, rgba(10, 16, 32, .08)), linear-gradient(180deg, transparent 60%, rgba(10, 16, 32, .6)); }
.st-slide__copy { position: absolute; z-index: 1; inset: 0 0 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; color: #fff; }
.st-slide__copy h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.9rem); max-width: 18ch; margin: 0 0 14px; letter-spacing: -.03em; }
.st-slide__copy > p:not(.st-pill) { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); margin: 0 0 22px; color: rgba(255, 255, 255, .94); }
.st-slide :focus-visible { outline-color: #fff; }
/* Controles sin barra: íconos blancos con sombra sobre la foto */
.st-hero__ctl { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; }
.st-hero__ctl button { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 10px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); transition: background-color .15s ease; }
.st-hero__ctl button:hover { background: rgba(255, 255, 255, .16); }
.st-hero__ctl :focus-visible { outline-color: #fff; outline-offset: -2px; }
.st-hero__ctl .st-hero__dots { display: flex; }
.st-hero__dots button { width: 28px; }
.st-hero__dots i { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .25s ease, background-color .25s ease; }
.st-hero__dots [aria-current] i { width: 22px; background: #fff; }
/* Lámina con el producto a la derecha y el texto a la izquierda */
.st-slide--left::after { background: linear-gradient(90deg, rgba(8, 4, 6, .72), rgba(8, 4, 6, .45) 36%, rgba(8, 4, 6, 0) 52%), linear-gradient(180deg, transparent 66%, rgba(8, 4, 6, .6)); }
.st-slide--left .st-slide__copy { align-items: flex-start; text-align: left; max-width: var(--st-wrap); margin: 0 auto; padding: 0 32px; }
.st-slide--left .st-slide__copy > *, .st-slide--left .st-slide__copy > p:not(.st-pill) { max-width: min(38%, 440px); }
.st-slide__logo { position: static; width: auto; height: 34px; margin-bottom: 18px; }

/* ---------- Secciones y filas ---------- */
.st-sec { padding: clamp(40px, 4.4vw, 64px) 0 0; }
.st-sec--last { padding-bottom: clamp(48px, 5vw, 72px); }
.st-sec__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.st-sec__head h2 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.st-sec__rule { flex: 1; height: 1px; background: var(--line-2); min-width: 16px; }
.st-sec__head > a { font-weight: 700; font-size: .95rem; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.st-rail { position: relative; }
.st-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 25%; border: 1px solid var(--line); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 14px; }
.st-rail__track--3 { grid-auto-columns: 33.3334%; }
.st-rail__track::-webkit-scrollbar, .st-tiles::-webkit-scrollbar { display: none; }
.st-rail__track > .st-card { scroll-snap-align: start; border: 0; border-right: 1px solid var(--line); border-radius: 0; }
.st-rail__track > .st-card:last-child { border-right: 0; }
.st-rail__track:focus-visible, .st-tiles:focus-visible { outline-offset: 2px; }
.st-rail__btn { position: absolute; z-index: 2; top: 32%; width: 46px; height: 46px; margin-top: -23px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s ease, color .15s ease; }
.st-rail__btn:hover { border-color: var(--brand); color: var(--brand); }
.st-rail--tiles .st-rail__btn { top: 52%; }
.st-rail__btn--prev { left: -16px; } .st-rail__btn--next { right: -16px; }

/* ---------- Tarjeta ---------- */
.st-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; min-width: 0; position: relative; overflow: visible; box-shadow: none; transition: border-color .18s ease; }
.st-card.product:hover { box-shadow: none; border-color: var(--line-2); }
.st-rail__track > .st-card:hover { border-color: var(--line); }
.st-card__media { position: relative; aspect-ratio: 1; border-radius: 10px; background: var(--st-tint); overflow: hidden; }
.st-card__media > a { position: absolute; inset: 0; display: grid; place-items: center; }
.st-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.st-card:hover .st-card__media img { transform: scale(1.045); }
.st-card__ph { color: #93a2b3; }
.st-tag { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.5; max-width: calc(100% - 20px); }
.st-tag--order { background: #fdf1df; color: var(--warn); }
.st-tag--low { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.st-card__add { position: absolute; right: 10px; bottom: 10px; height: 44px; min-width: 44px; padding: 0 13px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .15s ease; }
.st-card__add span { max-width: 0; overflow: hidden; white-space: nowrap; margin-left: -8px; opacity: 0; transition: max-width .25s ease, opacity .2s ease, margin .25s ease; }
.st-card__add:hover { background: var(--brand-600); }
.st-card__add:disabled { background: #7c8898; cursor: not-allowed; }
.st-card__add.is-added { background: var(--ok); }
@media (hover: hover) { .st-card:hover .st-card__add span, .st-card__add:focus-visible span, .st-card__add.is-added span { max-width: 90px; opacity: 1; margin-left: 0; } }
.st-card .st-card__brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card__body { padding: 14px 2px 4px; display: flex; flex-direction: column; flex: 1; }
.st-card__brand { margin: 0 0 4px; color: var(--muted); font-size: .82rem; font-weight: 600; line-height: 1.35; }
.st-card__name { font-size: .96rem; font-weight: 600; line-height: 1.38; letter-spacing: 0; margin: 0 0 10px; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-height: calc(1.38em * 2); }
.st-card__name a { color: var(--ink); }
.st-card__name a:hover { color: var(--brand-600); }
.st-card__price { margin: auto 0 0; color: var(--ink); font-size: 1.14rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-card__price small { color: var(--muted); font-size: .76rem; font-weight: 600; }

/* ---------- Bloque dividido ---------- */
.st-split { display: grid; grid-template-columns: minmax(0, .69fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.st-split__list { min-width: 0; }
.st-split__photo { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 320px; background: var(--ink); }
.st-split__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.st-split__photo:hover img { transform: scale(1.03); }
.st-split__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 41, .1) 30%, rgba(15, 23, 41, .88)); }
.st-split__photo:hover { text-decoration: none; }
.st-split__copy { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; color: #fff; display: grid; justify-items: start; gap: 6px; }
.st-split__copy strong { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.st-split__copy .btn { margin-top: 12px; }

/* ---------- Categorías con imagen ---------- */
.st-band { margin-top: clamp(48px, 5vw, 72px); padding: clamp(44px, 5vw, 68px) 0; background: var(--st-tint); }
.st-band__title { font-size: clamp(1.6rem, 2.9vw, 2.4rem); margin-bottom: 26px; }
.st-band__title span { color: var(--brand); }
.st-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.st-tiles > li { scroll-snap-align: start; }
.st-tile { display: flex; flex-direction: column; height: 100%; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .18s ease; }
.st-tile:hover { border-color: var(--brand); text-decoration: none; }
.st-tile__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 4px 12px; }
.st-tile__top strong { font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.st-tile__go { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; transition: background-color .15s ease; }
.st-tile:hover .st-tile__go { background: var(--ink); }
.st-tile__img { position: relative; aspect-ratio: 1 / 1.12; border-radius: 10px; overflow: hidden; background: var(--st-tint); display: grid; place-items: center; color: #93a2b3; }
.st-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
.st-tile__img.is-photo img { object-fit: cover; padding: 0; mix-blend-mode: normal; }

.st-tile__img.is-icon { background: linear-gradient(150deg, var(--ink), #0a3553 65%, var(--brand)); color: #7cc4ef; }
.st-tile__sub { padding: 12px 4px 2px; color: var(--muted); font-size: .88rem; line-height: 1.4; min-height: 3.2em; }

/* ---------- Beneficios ---------- */
.st-benefits { border-bottom: 1px solid var(--line); }
.st-benefits ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-benefits li { display: flex; gap: 14px; padding: 34px 24px; border-left: 1px solid var(--line); }
.st-benefits li:first-child { border-left: 0; padding-left: 0; }
.st-benefits li:last-child { padding-right: 0; }
.st-benefits .ico { color: var(--brand); margin-top: 2px; }
.st-benefits h3 { font-size: 1rem; margin: 0 0 4px; }
.st-benefits p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }

/* ---------- Recomendado ---------- */
.st-rec { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; border-radius: 14px; overflow: hidden; background: linear-gradient(115deg, var(--ink) 0%, #0a3553 62%, var(--brand) 130%); color: #fff; }
.st-rec__copy { padding: clamp(28px, 4vw, 56px); align-self: center; }
.st-rec__copy h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 8px; overflow-wrap: anywhere; }
.st-rec__copy p { color: rgba(255, 255, 255, .88); margin: 0 0 10px; }
.st-rec__copy .st-pill { color: var(--ink); margin-bottom: 14px; }
.st-rec__price { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-rec__price small { font-size: .85rem; font-weight: 600; }
.st-rec__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.st-rec :focus-visible { outline-color: #fff; }
.st-rec__img { margin: 24px 24px 24px 0; border-radius: 10px; background: #fff; display: grid; place-items: center; position: relative; min-height: 260px; }
.st-rec__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 28px; }

/* ---------- Colección ---------- */
.st-cover { position: relative; min-height: clamp(150px, 20vw, 280px); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.st-cover--plain { background: linear-gradient(115deg, var(--ink) 0%, #0a3553 70%, var(--brand) 140%); min-height: 150px; }
.st-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.st-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 41, .84), rgba(15, 23, 41, .35)); }
.st-cover--plain::after { display: none; }
.st-cover .st-wrap { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 28px; }
.st-cover h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); overflow-wrap: anywhere; }
.st-cover__up { display: flex; gap: 8px; margin-bottom: 6px; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.st-cover__up a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); min-height: 28px; }
.st-cover :focus-visible { outline-color: #fff; }
.st-strip { border-bottom: 1px solid var(--line); background: var(--st-tint); }
.st-strip ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.st-strip a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 600; white-space: nowrap; transition: border-color .15s ease; }
.st-strip a:hover { border-color: var(--brand); text-decoration: none; }
.st-strip a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-strip span { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.st-strip [aria-current="page"] span { color: #cbd5e1; }
.st-soon { display: grid; justify-items: center; text-align: center; padding-top: 72px; padding-bottom: 96px; }
.st-soon > .ico { color: var(--brand); margin-bottom: 18px; }
.st-soon h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.st-soon p { max-width: 52ch; }
.st-soon__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.st-soon .st-wa { min-height: 48px; }
.st-filters { background: var(--ink); color: #fff; }
.st-filters__in { display: flex; align-items: center; gap: 6px; min-height: 60px; flex-wrap: wrap; }
.st-dd { position: relative; }
.st-dd summary, .st-filters__clear { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: #fff; font-weight: 700; font-size: .94rem; cursor: pointer; }
.st-dd summary::-webkit-details-marker { display: none; }
.st-dd summary:hover, .st-dd[open] summary { background: rgba(255, 255, 255, .12); }
.st-dd[open] summary .ico { transform: rotate(180deg); }
.st-dd.has-value summary { color: #7cc4ef; }
.st-filters :focus-visible { outline-color: #7cc4ef; outline-offset: 1px; }
.st-filters__clear { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.st-dd__panel { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 270px; max-height: 60vh; overflow-y: auto; padding: 10px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.st-dd__panel .toggle { padding: 0 8px; cursor: pointer; }
.st-dd__panel :focus-visible { outline-color: var(--brand); }
.st-dd__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; min-width: 320px; }
.st-dd__price label { font-size: .88rem; font-weight: 600; min-width: 0; }
.store .st-dd__price input { width: 100%; min-height: 46px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.st-opt { width: 100%; display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 600; cursor: pointer; }
.st-opt span { color: var(--muted); font-variant-numeric: tabular-nums; }
.st-opt:hover { background: var(--st-tint); }
.st-opt[aria-pressed="true"] { background: var(--brand-50); color: var(--brand-600); }
.st-filters__count { margin-left: auto; font-size: .92rem; font-variant-numeric: tabular-nums; padding: 0 8px; }
.st-filters__sort { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .94rem; }
.store .st-filters__sort select { width: auto; min-height: 44px; padding: 0 34px 0 12px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 10px; background-color: transparent; color: #fff; font-weight: 600; }
.st-filters__sort option { color: var(--ink); background: #fff; }
.st-catalog > .st-wrap { padding-top: 28px; padding-bottom: 72px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.st-grid .is-hidden { display: none; }

/* ---------- Ficha ---------- */
.st-crumbs { padding-top: 18px; }
.st-crumbs .crumbs { margin-bottom: 14px; }
.st-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); grid-template-areas: 'media buy' 'text buy'; grid-template-rows: auto 1fr; gap: 0 48px; align-items: start; }
.st-pdp__media { grid-area: media; }
.st-pdp__buy { grid-area: buy; position: sticky; top: 148px; }
.st-pdp__text { grid-area: text; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); min-width: 0; }
.st-pdp__zoom { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 1.1; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: zoom-in; overflow: hidden; }
.st-pdp__zoom img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.st-pdp__ph { cursor: default; display: grid; place-items: center; color: #93a2b3; background: var(--st-tint); }
.st-pdp__buy h1 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 4px 0 12px; overflow-wrap: anywhere; text-wrap: pretty; }
.st-pdp__price { margin: 0; color: var(--ink); font-size: 1.85rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.st-pdp__price small { font-size: .88rem; font-weight: 600; color: var(--muted); }
.st-pdp__stock { display: flex; align-items: center; gap: 8px; margin: 8px 0 18px; font-weight: 600; font-size: .95rem; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.st-dot.is-order { background: var(--warn); } .st-dot.is-out { background: #8a94a3; }
.st-pdp__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.st-pdp__add { min-height: 50px; min-width: 0; padding-inline: .8em; }
.st-pdp__add.is-added { background: var(--ok); }
.st-box { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.st-box h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.st-box h2 .ico { color: var(--brand); }
.st-box > p:last-child { margin: 0; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.st-chips span { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--st-tint); color: var(--ink); font-size: .88rem; font-weight: 600; }
.st-ship { margin: 0 0 12px; }
.st-ship > div { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-ship > div:first-child { padding-top: 0; }
.st-ship dt { color: var(--ink); font-weight: 700; font-size: .94rem; line-height: 1.4; }
.st-ship dt small { display: block; color: var(--muted); font-weight: 500; font-size: .84rem; }
.st-ship dd { margin: 0; color: var(--ink); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-wa { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 8px 22px; border-radius: 10px; background: var(--wa); color: #fff; line-height: 1.3; transition: background-color .15s ease; }
.st-wa:hover { background: #09632f; text-decoration: none; }
.st-wa span { display: grid; } .st-wa small { font-size: .82rem; }
.st-wa--block { display: flex; margin-top: 16px; }
.st-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 0; }
.st-facts > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.st-facts .ico { color: var(--brand); margin-top: 2px; }
.st-facts dt { color: var(--muted); font-size: .82rem; font-weight: 600; }
.st-facts dd { margin: 0; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.4; overflow-wrap: anywhere; }
.st-pdp__text h2 { font-size: 1.35rem; margin: 0 0 14px; }
.st-pdp__text * + h2 { margin-top: 32px; }
.st-pdp__text p { max-width: 70ch; }
.st-specs { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: .95rem; }
.st-specs th, .st-specs td { text-align: left; padding: 12px 16px; vertical-align: top; overflow-wrap: anywhere; }
.st-specs th { width: 38%; color: var(--ink); font-weight: 700; }
.st-specs tr:nth-child(odd) { background: var(--st-tint); }
.st-specs tr > :first-child { border-radius: 8px 0 0 8px; } .st-specs tr > :last-child { border-radius: 0 8px 8px 0; }
.store .st-pdp + .st-sec { padding-bottom: clamp(48px, 5vw, 72px); }

/* ---------- Tableta y celular ---------- */
@media (max-width: 1180px) { .st-rail__track { grid-auto-columns: 33.3334%; } .st-rail__track--3 { grid-auto-columns: 50%; } .st-tiles { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 1400px) { .st-rail__btn--prev { left: 8px; } .st-rail__btn--next { right: 8px; } }
@media (max-width: 980px) {
  .st-benefits ul { grid-template-columns: 1fr 1fr; padding-top: 12px; padding-bottom: 12px; }
  .st-benefits li, .st-benefits li:first-child, .st-benefits li:last-child { border: 0; padding: 16px 12px 16px 0; }
  .st-split { grid-template-columns: 1fr; }
  .st-pdp__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'media' 'buy' 'text'; grid-template-rows: none; gap: 24px; }
  .st-pdp__buy { position: static; }
  .st-pdp__text { margin-top: 8px; }
  .st-pdp__zoom { aspect-ratio: 1.3; }
}
@media (max-width: 900px) {
  /* Foto arriba y texto abajo: el texto nunca cae sobre las pantallas */
  .st-slide--left { background: #1a0403; }
  .st-slide--left > img { height: 52%; object-position: 72% 52% !important; }
  .st-slide--left::after { background: linear-gradient(180deg, transparent 30%, #1a0403 51%); }
  .st-slide--left .st-slide__copy { align-items: center; text-align: center; justify-content: flex-end; padding: 0 20px 6px; }
  .st-slide--left .st-slide__copy > *, .st-slide--left .st-slide__copy > p:not(.st-pill) { max-width: 100%; }
  .st-slide--left .st-slide__copy h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 6px; }
  .st-slide--left .st-slide__copy > p:not(.st-pill) { margin-bottom: 12px; line-height: 1.5; }
  .st-slide__logo { height: 22px; margin-bottom: 8px; }
}
@media (max-width: 820px) {
  .st-cats { display: none; }
  .st-bar__cats { display: inline-flex; flex: none; }
  .st-bar { min-height: 70px; gap: 8px; }
}
@media (max-width: 620px) {
  .st-hero { height: 480px; }
  .st-slide--vivid::after { background: linear-gradient(180deg, rgba(10, 16, 32, .3), rgba(10, 16, 32, .68) 35%, rgba(10, 16, 32, .68) 70%, rgba(10, 16, 32, .45)); }
  .st-rail__track, .st-rail__track--3 { grid-auto-columns: 54%; margin-right: -16px; border-right: 0; border-radius: 14px 0 0 14px; }
  .st-tiles { grid-auto-columns: 68%; gap: 14px; margin-right: -16px; padding-right: 16px; }
  .st-rail__btn { display: none; }
  .st-bar__cats { width: 50px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .st-search__go { right: 3px; }
  .st-strip ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .st-sec__head { gap: 12px; margin-bottom: 14px; }
  .st-card { padding: 10px; }
  .st-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .st-card.product { flex-direction: column; }
  .st-card__price small { display: block; line-height: 1.3; }
  .st-benefits ul { grid-template-columns: 1fr; }
  .st-rec { grid-template-columns: 1fr; }
  .st-rec__img { margin: 0 16px 16px; min-height: 240px; }
  .st-filters__in { padding-top: 6px; padding-bottom: 8px; gap: 0 2px; }
  .st-dd { position: static; } .st-filters { position: relative; }
  .st-dd__panel { left: 16px; right: 16px; min-width: 0; top: auto; margin-top: 6px; }
  .st-filters__count { margin-left: 0; order: 8; flex: 1 1 90px; padding: 0 7px; } .st-filters__clear { order: 10; padding: 0 7px; }
  .st-filters__sort { order: 9; } .st-filters__sort span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .st-dd summary { padding: 0 7px; font-size: .86rem; gap: 3px; } .store .st-filters__sort select { max-width: 190px; font-size: .92rem; }
  .st-qty { grid-template-columns: 44px 36px 44px; min-width: 0; } .st-pdp__row { gap: 8px; }
  .st-pdp__zoom { max-height: 320px; width: 100%; }
  .st-specs th, .st-specs td { padding: 10px 12px; }
}
@media (max-width: 360px) { .st-pdp__add .ico { display: none; } }
@media (hover: none) { .st-card:hover .st-card__media img { transform: none; } }
@media (prefers-reduced-motion: reduce) { .st-ribbon__track { transform: none; } .st-ribbon__pause { display: none; } }
