/* R4 — CINEMATIC COMMERCE. Capa sobre shared/proto.css + base-r2.css + base-r3.css (copias intactas de R2 y R3).
   Mismo lenguaje de movimiento: 160 / 280 / 480 / 800 ms, --e-out para lo que entra, --e-emph para lo que se desplaza,
   --e-reveal para máscaras. */

/* páginas sin hero (ficha, pago): cabecera sólida desde el principio */
html[data-r4][data-solid][data-dir] body:not(.scrolled) .head { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); color: #0A0C1A; --ink: #0A0C1A; --muted: #5A5D6C; --accent-text: var(--am-blue); }
html[data-r4][data-solid][data-dir] body:not(.scrolled) .head .logo-dark { display: block; }
html[data-r4][data-solid][data-dir] body:not(.scrolled) .head .logo-light { display: none; }

/* =====================================================================
   HERO MULTIMARCA: campañas en capas, barrido inclinado, texto estable
   ===================================================================== */
[data-slider] .hero__media { overflow: hidden; }
.hs { position: absolute; inset: 0; background: #05061A; }
.hs > video, .hs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs[data-kind="frame"] .hs__bg { filter: blur(44px) brightness(.5) saturate(1.1); transform: scale(1.2); }
.hs[data-kind="photo"] { background: radial-gradient(80% 90% at 74% 42%, #11166A, #05061A 72%); }
.hs__frame { position: absolute; top: calc(50% + 8px); right: calc(var(--pad) + min(280px, 22vw) + 4vw); translate: 0 -50%; height: min(68%, 620px); aspect-ratio: var(--fr, 9 / 16); overflow: hidden; border-radius: var(--radius); background: #0b0c1a; box-shadow: 0 34px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.hs[data-kind="photo"] .hs__frame { aspect-ratio: 4 / 5; height: min(58%, 520px); background: #fff; }
.hs[data-kind="cover"] .pseq img { object-position: 50% 16%; }
.hs[data-kind="cover"]::after { content: ""; position: absolute; inset: 0; background: rgba(5, 6, 26, .36); }
.hs__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs.is-in { animation: hs-in var(--t-cine) var(--e-reveal) both; }
.hs.is-in > video, .hs.is-in .hs__frame { animation: hs-settle var(--t-cine) var(--e-out) both; }
@keyframes hs-in { from { clip-path: polygon(0 0, 0 0, -24% 100%, -24% 100%); } to { clip-path: polygon(0 0, 124% 0, 100% 100%, -24% 100%); } }
@keyframes hs-settle { from { scale: 1.07; } }
.hs.is-fade { animation: hs-fade var(--t-base) var(--e-standard) both; }
@keyframes hs-fade { from { opacity: 0; } }
[data-slider] .hero__brand { gap: 12px 18px; flex-wrap: wrap; min-height: 44px; transition: opacity var(--t-fast) var(--e-standard), transform var(--t-fast) var(--e-out); }
[data-slider] .hero__brand.is-swap { opacity: 0; transform: translateY(6px); }
[data-slider] .hero__brand .mq__logo { height: var(--h, 17px); background: currentColor; }
[data-slider] .hero__brand b { font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 125%; font-size: 1.05rem; text-transform: uppercase; color: #fff; }
[data-slider] .hero__brand .cta-link { color: #fff; }
[data-slider] .hero__index a { position: relative; opacity: .62; transition: opacity var(--t-base) var(--e-out), padding-left var(--t-base) var(--e-out), color var(--t-fast); }
[data-slider] .hero__index a[aria-current="true"] { opacity: 1; padding-left: 10px; }
[data-slider] .hero__index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #8A90FF; transform: scaleX(0); transform-origin: left; }
[data-slider] .hero__index a[aria-current="true"]::after { transform: scaleX(var(--p, 0)); }
.hero__index .hero__pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; color: #fff; justify-self: start; }
.hero__index .hero__pause svg { width: 14px; height: 14px; }
.hs-seg { display: none; flex: 1; gap: 6px; min-width: 0; }
.hs-seg button { position: relative; flex: 1; height: 44px; }
.hs-seg button::before, .hs-seg button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .3); }
.hs-seg button::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.hs-seg button.is-done::after { transform: none; }
.hs-seg button[aria-current="true"]::after { transform: scaleX(var(--p, 0)); }

/* secuencia de fotos reales con fundido lento (campañas sin vídeo propio) */
.pseq { position: absolute; inset: 0; overflow: hidden; }
.pseq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--t-cine) var(--e-standard); }
.pseq img.is-on { opacity: 1; }

/* =====================================================================
   CINTAS CRUZADAS: marcas (azul de marca) y forma de compra (tinta), en sentidos opuestos
   ===================================================================== */
[data-r4] .rib { position: relative; height: clamp(300px, 34vw, 500px); padding: 0; overflow: hidden; }
.rib__a, .rib__b { position: absolute; left: -8vw; right: -8vw; overflow: hidden; white-space: nowrap; }
.rib__a { top: 50%; translate: 0 -78%; rotate: -4deg; z-index: 2; padding-block: clamp(16px, 2.2vw, 32px); background: linear-gradient(180deg, #1B21D7, #0C11AD); color: #fff; box-shadow: 0 22px 60px rgba(7, 11, 160, .32); --mqk: 1.9; }
.rib__b { top: 50%; translate: 0 78%; rotate: 3.4deg; padding-block: clamp(12px, 1.6vw, 22px); background: #0A0C1A; color: #F3F4FA; }
.rib__t { display: flex; align-items: center; width: max-content; will-change: transform; }
.rib__t > * { flex: none; margin-right: clamp(40px, 5.4vw, 96px); }
.rib .mq__item { opacity: 1; min-height: 64px; color: #fff; transition: opacity var(--t-base) var(--e-out), transform var(--t-base) var(--e-out); }
.rib .mq__logo { max-width: none; }
.rib .mq__txt { font-style: italic; font-stretch: 125%; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.rib__p { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 125%; font-size: clamp(1.15rem, 2.1vw, 1.9rem); letter-spacing: -.01em; text-transform: uppercase; }
.rib__p svg { width: clamp(22px, 2.2vw, 32px); height: clamp(22px, 2.2vw, 32px); color: #8A90FF; }
@media (hover: hover) and (pointer: fine) { .rib__a:hover .mq__item { opacity: .45; } .rib__a .mq__item:hover { opacity: 1; transform: scale(1.06); } }
@media (max-width: 899px) { [data-r4] .rib { height: 300px; } .rib__a { rotate: -6deg; --mqk: 1.35; } .rib__b { rotate: 5deg; translate: 0 96%; } }
@media (prefers-reduced-motion: reduce) { .rib__a, .rib__b { rotate: 0deg; } }

/* cuadrículas sin tarjeta huérfana */
@media (min-width: 900px) {
  [data-r4] .grid[data-cols] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
  [data-r4] .grid.is-rail { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  [data-r4] .grid.is-rail::-webkit-scrollbar { display: none; }
  [data-r4] .grid.is-rail > .card { flex: 0 0 calc((100% - 2 * clamp(10px, 1.4vw, 20px)) / 3); scroll-snap-align: start; }
}
[data-r4] .card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =====================================================================
   BOLSA
   ===================================================================== */
[data-r4] .drawer { grid-template-rows: auto auto minmax(0, 1fr) auto; }
[data-r4] .drawer__head { grid-row: 1; } .ship { grid-row: 2; } [data-r4] .drawer__body { grid-row: 3; } [data-r4] .drawer__foot { grid-row: 4; }
.ship { display: grid; gap: 8px; padding: 12px 24px 14px; border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.ship[hidden] { display: none; }
.ship i { display: block; height: 3px; overflow: hidden; background: var(--line); border-radius: 2px; }
.ship b { display: block; height: 100%; background: var(--am-blue); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform var(--t-slow) var(--e-emph); }
.bi { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img t p" "img q rm"; gap: 6px 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); animation: fade-up var(--t-base) var(--e-out) backwards; }
.bi__img { grid-area: img; }
.bi__img img { display: block; width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.bi__t { grid-area: t; display: grid; gap: 2px; }
.bi__t a { font-weight: 650; color: inherit; }
.bi__b { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bi__o { font-size: .875rem; color: var(--muted); }
.bi__p { grid-area: p; font-weight: 650; }
.bi__q { grid-area: q; display: inline-flex; align-items: center; width: max-content; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); }
.bi__q button { width: 44px; height: 44px; font-size: 1.125rem; border-radius: 50%; transition: background-color var(--t-fast), transform var(--t-fast) var(--e-out); }
.bi__q button:active { transform: scale(.9); }
.bi__q button[disabled] { opacity: .3; }
.bi__q span { min-width: 22px; text-align: center; font-weight: 650; }
.bi__rm { grid-area: rm; align-self: center; min-height: 44px; font-size: .8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.drawer__empty { display: grid; gap: 4px; justify-items: start; }
.drawer__empty p { margin: 0; } .drawer__empty b { color: var(--ink); font-size: 1.125rem; }
.drawer__foot .cta--cap { width: 100%; --c-flood: #0A0C1A; --c-orb: #fff; --c-ink-h: #fff; --c-orb-h: #fff; }
.drawer__foot .cta--cap[hidden] { display: none; }
.drawer__foot .cta-link { justify-self: center; }
@media (hover: hover) and (pointer: fine) { .bi__q button:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); } .bi__rm:hover, .bi__t a:hover { color: var(--am-blue); } }

/* =====================================================================
   FICHA DE PRODUCTO
   ===================================================================== */
.pd__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding-block: 10px 6px; font-size: .8125rem; color: var(--muted); }
.pd__crumb a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; transition: color var(--t-fast); }
.pd__crumb a svg { width: 16px; height: 16px; }
.pd__crumb span[aria-current] { color: var(--ink); }
.pd__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; padding-bottom: clamp(48px, 7vw, 104px); }
.pd__gal { position: sticky; top: calc(var(--head-h) + 16px); display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.pd__thumbs { display: grid; gap: 8px; }
.pd__thumbs button { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); opacity: .5; transition: opacity var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-out); }
.pd__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--ink); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__stage { position: relative; overflow: hidden; border-radius: var(--radius); background: #e9e9e6; }   /* R4.2: sin cortina de 800 ms: la foto aparece al instante */
@keyframes pd-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.pd__track { display: flex; aspect-ratio: 3 / 4; max-height: calc(100svh - var(--head-h) - 44px); width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -3px; }
.pd__track::-webkit-scrollbar { display: none; }
.pd__track figure { flex: 0 0 100%; margin: 0; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.pd__track img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform var(--t-slow) var(--e-out); }
.pd__track figure.is-zoom { cursor: zoom-out; }
.pd__track figure.is-zoom img { transform: scale(2.1); }
.pd__count { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .88); color: #0A0C1A; font-size: .75rem; font-weight: 700; }
.pd__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #0A0C1A; transition: transform var(--t-fast) var(--e-out); }
.pd__zoom:active { transform: scale(.94); } .pd__zoom svg { width: 18px; height: 18px; }
.pd__buy { display: grid; gap: 14px; align-content: start; }
.pd__buy > * { animation: fade-up var(--t-slow) var(--e-out) backwards; }
.pd__buy > :nth-child(2) { animation-delay: 50ms; } .pd__buy > :nth-child(3) { animation-delay: 100ms; } .pd__buy > :nth-child(n+4) { animation-delay: 150ms; }
.pd__brand { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; margin-bottom: -10px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color var(--t-fast); }
.pd__buy h1 { margin: 0; font-family: var(--f-display); font-style: normal; font-weight: 700; font-stretch: 112%; font-size: clamp(1.6rem, 2.7vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; text-transform: none; text-wrap: balance; }
.pd__price { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 1.375rem; font-weight: 650; }
.pd__price small { font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.pd__stock { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9375rem; font-weight: 600; }
.pd__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1B8A4B; }
.pd__stock.is-last::before { background: #C77700; } .pd__stock.is-out::before { background: #8C8C8C; }
.pd__lab { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd__lab a { display: inline-flex; align-items: center; min-height: 44px; letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pd__lab b { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: .9375rem; font-weight: 650; }
.sz { display: flex; flex-wrap: wrap; gap: 8px; }
.sz button { position: relative; isolation: isolate; min-width: 58px; height: 52px; padding: 0 14px; overflow: hidden; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; transition: color var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-out), transform var(--t-fast) var(--e-out); }
.sz button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(102%); transition: transform var(--t-base) var(--e-emph); }
.sz button:active { transform: scale(.96); }
.sz button[aria-pressed="true"] { color: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.sz button[aria-pressed="true"]::before { transform: none; }
.sz button[disabled] { color: color-mix(in srgb, var(--muted) 62%, transparent); cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .6px), var(--line) 50%, transparent calc(50% + .6px)); }
.sz.is-need { animation: sz-need var(--t-slow) var(--e-out); }
.sz.is-need button:not([disabled]) { box-shadow: inset 0 0 0 1.5px var(--am-blue); }
@keyframes sz-need { 25% { transform: translateX(-6px); } 60% { transform: translateX(4px); } }
.pd__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; margin-top: 6px; }
.pd__qty { display: inline-flex; align-items: center; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.pd__qty button { width: 44px; height: 52px; font-size: 1.125rem; } .pd__qty button[disabled] { opacity: .3; }
.pd__qty span { min-width: 26px; text-align: center; font-weight: 650; }
.pd__add { width: 100%; }
.pd__add[disabled] { background: color-mix(in srgb, var(--ink) 16%, transparent); color: var(--muted); cursor: not-allowed; }
.pd__fav { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--t-fast) var(--e-out), color var(--t-base); }
.pd__fav:active { transform: scale(.92); }
.pd__fav svg { width: 22px; height: 22px; fill: none; transition: fill var(--t-base) var(--e-out); }
.pd__fav[aria-pressed="true"] { color: var(--am-blue); } .pd__fav[aria-pressed="true"] svg { fill: currentColor; animation: fav-pop var(--t-slow) var(--e-out); }
@keyframes fav-pop { 40% { scale: 1.22; } }
.pd__hint { margin: 0; min-height: 1.4em; font-size: .875rem; font-weight: 600; color: #B3261E; }
.pd__hint.is-ok { color: #156A3B; }
.pd__perks { display: grid; gap: 10px; margin: 2px 0 0; padding: 16px 0; list-style: none; border-block: 1px solid var(--line); font-size: .9375rem; }
.pd__perks li { display: flex; align-items: center; gap: 12px; } .pd__perks svg { flex: none; width: 20px; height: 20px; color: var(--am-blue); } .pd__perks b { font-weight: 650; }
.pd__acc details { border-bottom: 1px solid var(--line); }
.pd__acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; list-style: none; font-weight: 650; cursor: pointer; }
.pd__acc summary::-webkit-details-marker { display: none; }
.pd__acc summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; transition: transform var(--t-base) var(--e-out); }
.pd__acc details[open] summary::after { transform: rotate(45deg); }
.pd__acc details > div { display: grid; gap: 8px; padding-bottom: 18px; color: var(--muted); font-size: .9375rem; }
.pd__acc details > div p { margin: 0; } .pd__acc a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.tagp { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--pill); background: #FFF1CC; color: #6B4A00; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }
.pd__src { margin: 0; font-size: .75rem; color: var(--muted); }
.pd__bar { display: none; }
@media (hover: hover) and (pointer: fine) { .pd__brand:hover, .pd__crumb a:hover { color: var(--am-blue); } .sz button:not([disabled]):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .pd__qty button:not([disabled]):hover { background: color-mix(in srgb, var(--ink) 8%, transparent); } }
/* ampliación a pantalla completa */
.lbx { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #05061A; color: #fff; }
.lbx[open] { animation: hs-fade var(--t-base) var(--e-standard); }
.lbx__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lbx__track::-webkit-scrollbar { display: none; }
.lbx__track figure { flex: 0 0 100%; display: grid; place-items: center; margin: 0; overflow: auto; scroll-snap-align: center; }
.lbx__track img { max-width: 100%; max-height: 100dvh; object-fit: contain; }
.lbx__x { position: fixed; right: 12px; top: 12px; z-index: 2; color: #fff; background: rgba(255, 255, 255, .14); border-radius: 50%; }

/* =====================================================================
   BÚSQUEDA
   ===================================================================== */
.srch { width: min(880px, 100vw); max-width: none; max-height: min(86dvh, 840px); margin: 0 auto auto; padding: 0; border: 0; overflow: hidden; background: #fff; color: #0A0C1A; --ink: #0A0C1A; --muted: #5A5D6C; --line: #DAD9D3; border-radius: 0 0 6px 6px; box-shadow: 0 30px 80px rgba(5, 6, 26, .35); }
.srch[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: srch-in var(--t-base) var(--e-out); }
@keyframes srch-in { from { opacity: 0; transform: translateY(-14px); } }
.srch::backdrop { background: rgba(5, 6, 26, .52); backdrop-filter: blur(3px); }
.srch__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 20px; border-bottom: 1px solid var(--line); }
.srch__bar > svg { width: 22px; height: 22px; color: var(--muted); }
.srch__bar input { min-width: 0; min-height: 52px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 1.125rem; outline: none; }
.srch__bar input::-webkit-search-cancel-button { display: none; }
.srch__bar input::placeholder { color: var(--muted); opacity: 1; }
.srch__bar:focus-within { box-shadow: inset 0 -2px 0 var(--am-blue); }
.srch__out { display: grid; gap: 22px; align-content: start; padding: 18px 20px 26px; overflow-y: auto; overscroll-behavior: contain; }
.srch h3 { margin: 0 0 8px; font-family: var(--f-body); font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sb { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; background: #05061A; color: #fff; border-radius: var(--radius); }
.sb + .sb { margin-top: 6px; }
.sb img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); }
.sb b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 125%; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; }
.sb small { color: #A4A8C4; font-size: .875rem; }
.sb .cta-circle { width: 44px; height: 44px; }
.sc { display: flex; flex-wrap: wrap; gap: 6px; }
.sc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; font-weight: 600; transition: box-shadow var(--t-fast), background-color var(--t-fast); }
.sp { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 76px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sp img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sp span { display: block; } .sp__b { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sp__n { font-weight: 650; } .sp__s { font-size: .8125rem; color: var(--muted); } .sp__p { font-weight: 650; }
.srch__none { margin: 0; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .sc a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .sp:hover .sp__n { color: var(--am-blue); } }

/* =====================================================================
   PAGO DE PRUEBA
   ===================================================================== */
.ck__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 88px); align-items: start; padding-block: 12px clamp(56px, 8vw, 112px); }
.ck h1 { margin: 6px 0 12px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.ck__warn { margin: 0 0 24px; padding: 12px 16px; background: #FFF1CC; color: #4A3300; border-radius: var(--radius); font-size: .9375rem; }
.ck__form { display: grid; gap: 22px; }
.ck fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.ck legend { padding: 0; margin-bottom: 4px; font-weight: 700; font-size: 1.125rem; }
.ck__pick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow var(--t-base) var(--e-out); }
.ck__pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--am-blue); }
.ck__pick input { width: 20px; height: 20px; margin: 2px 0 0; }
.ck__pick b { display: block; font-weight: 650; } .ck__pick small { color: var(--muted); font-size: .875rem; }
.ck__note { margin: 0; color: var(--muted); font-size: .875rem; }
.ck__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ck__grid label { display: grid; gap: 6px; font-size: .8125rem; font-weight: 650; }
.ck__grid input { min-height: 48px; padding: 0 12px; border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: #0A0C1A; font: inherit; font-weight: 400; }
.ck__grid input:focus-visible { outline: 2px solid var(--am-blue); outline-offset: 1px; }
.ck__go { width: 100%; }
.ck__done, .ck__empty { display: grid; gap: 14px; justify-items: start; padding-block: 12px; }
.ck__done[hidden], .ck__empty[hidden], .ck__form[hidden] { display: none; }
.ck__done h2 { margin: 0; } .ck__done p, .ck__empty p { margin: 0; }
.ck__sum { position: sticky; top: calc(var(--head-h) + 20px); padding: clamp(16px, 2vw, 28px); background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.ck__sum h2 { margin: 0 0 6px; font-size: 1.25rem; }
.ck__sum .bi { animation: none; grid-template-areas: "img t p"; }
.ck__tot { display: grid; gap: 8px; margin: 16px 0 0; }
.ck__tot div { display: flex; justify-content: space-between; gap: 16px; } .ck__tot dt { color: var(--muted); } .ck__tot dd { margin: 0; font-weight: 650; }
.ck__total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.125rem; } .ck__total dt { color: var(--ink); font-weight: 700; }
.ck .ft__pay { margin-top: 4px; }

/* pie: volver al inicio y encuadre de la firma */
.ft__top { margin-left: auto; width: 44px; height: 44px; }
.ft__top .cta__a { transform: rotate(-90deg); }
.ft__legal { align-items: center; }
[data-r4] .sig { margin-bottom: -.5vw; padding-top: clamp(20px, 3vw, 44px); }

/* =====================================================================
   MÓVIL
   ===================================================================== */
@media (max-width: 899px) {
  [data-slider] .hero__meta > span { display: none; }
  .hs-seg { display: flex; }
  [data-slider] .hero__meta { gap: 14px; padding-block: 4px; }
  .pd__in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pd__gal { position: static; grid-template-columns: minmax(0, 1fr); margin-inline: calc(var(--pad) * -1); }
  .pd__thumbs { display: none; }
  .pd__stage { border-radius: 0; }
  .pd__track { max-height: 72svh; }
  .pd__track figure { cursor: default; }
  .pd { padding-bottom: 84px; }
  .pd__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform var(--t-base) var(--e-emph); }
  .pd__bar.is-on { transform: none; }
  .pd__bar b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 650; } .pd__bar span { font-size: .875rem; color: var(--muted); }
  .pd__bar .btn { min-height: 48px; padding-inline: 22px; }
  [data-nav="bar"] .pd__bar { bottom: calc(60px + env(safe-area-inset-bottom)); }
  [data-page="product"] .demo3 { bottom: 86px; } [data-page="product"][data-nav="bar"] .demo3 { bottom: 150px; }
  html[data-r4][data-page="product"] .snack { bottom: calc(100px + env(safe-area-inset-bottom)); }
  html[data-r4][data-page="product"][data-nav="bar"] .snack { bottom: calc(164px + env(safe-area-inset-bottom)); }
  .srch { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .ck__in { grid-template-columns: minmax(0, 1fr); } .ck__sum { position: static; order: -1; } .ck__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hs.is-in, .hs.is-in > video, .hs.is-in .hs__frame, .pd__stage, .pd__buy > *, .bi, .sz.is-need, .srch[open], .lbx[open] { animation: none !important; }
  .pseq img, .pd__track img, .sz button::before, .ship b { transition-duration: 1ms; }
}
