/* DESVELO — tienda */
:root {
  --muro: #E3E4E0;
  --muro-2: #ECEDE9;
  --papel: #F7F7F4;
  --tinta: #16181D;
  --grafito: #575A62;
  --linea: #C6C8C2;
  --sodio: #F26A1B;
  --sodio-osc: #B9500F;
  --madrugada: #1E2638;
  --madrugada-2: #2A3550;
  --ok: #2F7A4F;
  --font: 'Archivo', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gw: clamp(220px, min(23vw, calc((100svh - 330px) / 1.5)), 380px);   /* ancho de prenda de frente */
  --ease: cubic-bezier(.2, .75, .2, 1);
  --top-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--muro); color: var(--tinta); font: 400 16px/1.5 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sodio); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--grafito); }
.small { font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cabecera ---------- */
.top { position: sticky; top: 0; z-index: 40; height: var(--top-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px; background: color-mix(in srgb, var(--muro) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cats { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.cats a { text-decoration: none; color: var(--grafito); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.cats a:hover { color: var(--tinta); }
.cats a[aria-current="page"] { color: var(--tinta); border-color: var(--tinta); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.logo span { font-weight: 850; font-stretch: 125%; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.mark { width: 30px; height: auto; fill: currentColor; stroke: currentColor; }
.mark .rays line { stroke-width: 16; }
.util { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.util-link { text-decoration: none; color: var(--grafito); }
.util-link:hover { color: var(--tinta); }
.cart-btn { background: var(--tinta); color: var(--papel); border: 0; border-radius: 999px; padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.cart-count { background: var(--sodio); color: #fff; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; padding: 0 6px; transition: transform .3s var(--ease); }
.cart-count.bump { transform: scale(1.35); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span:not(.sr) { display: block; height: 2px; background: var(--tinta); border-radius: 2px; }

/* ---------- escenario del parchero ---------- */
.stage { position: relative; min-height: calc(100svh - var(--top-h)); display: grid; grid-template-rows: auto 1fr auto auto auto; grid-template-columns: minmax(0, 1fr); overflow: hidden; overflow: clip; max-width: 100vw; }
.stage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 12px 28px 0; }
.stage-title { margin: 0; font-weight: 880; font-stretch: 125%; font-size: clamp(34px, min(5.4vw, 9svh), 84px); line-height: .86; letter-spacing: -0.035em; text-transform: uppercase; }
.stage-title small { display: block; font-family: var(--serif); font-style: italic; text-transform: none; font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: clamp(17px, min(1.7vw, 3.3svh), 24px); margin-top: 8px; color: var(--grafito); }
.stage-hint { max-width: 300px; font-size: 13.5px; color: var(--grafito); text-align: right; margin: 0 0 6px; }
.rack-wrap { position: relative; display: flex; flex-direction: column; justify-content: center; padding-top: 2px; }
/* visor del parchero: el caño queda fijo y las prendas se corren por debajo */
.rack-scroll { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rack-scroll:has(.rack.touch) { cursor: grab; }
.rack-scroll.is-dragging { cursor: grabbing; }
.rack { --hook: calc(var(--gw) * .14); position: relative; margin: 0 auto; width: max-content; min-width: 100%; padding: calc(var(--gw) * .1) 8vw 0; display: flex; justify-content: center; }
.rack.carousel { margin: 0; min-width: 0; padding: calc(var(--gw) * .1) 0 0; justify-content: flex-start; z-index: 3; }
.rail { position: absolute; left: 6vw; right: 6vw; top: calc(var(--gw) * .03 - 5px); height: 11px; border-radius: 6px; z-index: 2;
  background: linear-gradient(180deg, #fbfcfa 0%, #d4d7d8 28%, #8f9498 58%, #c9cccd 82%, #8b8f93 100%);
  box-shadow: 0 7px 12px -4px rgba(22, 24, 29, .25); }
.rail::before, .rail::after { content: ''; position: absolute; top: -6px; width: 16px; height: 23px; border-radius: 4px; background: linear-gradient(90deg, #8d9195, #eef0ee 45%, #9da1a5); box-shadow: 0 4px 8px rgba(0,0,0,.18); }
.rail::before { left: -8px; } .rail::after { right: -8px; }

/* prenda: --t va de 0 (de costado) a 1 (de frente); --off la corre para hacerle lugar a la de frente */
.g { --side: calc(var(--gw) * .33); --depth: calc(var(--gw) * .0384); position: relative; flex: 0 0 auto; width: var(--side); height: calc(var(--gw) * 1.38); background: none; border: 0; padding: 0; z-index: 3; -webkit-tap-highlight-color: transparent; outline: none; cursor: inherit; }
.g .card { display: block; position: absolute; left: 50%; top: 0; width: var(--gw); margin-left: calc(var(--gw) / -2); transform-origin: 50% 0; transform-style: preserve-3d;
  transform: translateX(var(--off, 0px)) perspective(1500px) rotateY(calc((var(--peek, 0deg) - 74deg) * (1 - var(--t, 0)))); }
.rack:not(.is-moving) .g .card { transition: transform .35s var(--ease); }
.g .swing { display: block; transform-origin: 50% calc(var(--gw) * -.07); transform-style: preserve-3d; }
.g .hook { position: absolute; left: 50%; top: calc(var(--hook) * -1 + var(--gw) * .05); width: calc(var(--hook) * .7); margin-left: calc(var(--hook) * -.35); height: var(--hook); z-index: 0; overflow: visible; transform: translateZ(calc(var(--depth) * -.5)); }
.g .ph { display: block; position: relative; z-index: 1; width: 100%; aspect-ratio: 2 / 3; transform-style: preserve-3d; }
/* capas de espesor: mismo grosor de la percha al ruedo */
.g .lay { position: absolute; inset: 0; transform: translateZ(calc(var(--k) * var(--depth) * -1)); }
.g .lay img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; filter: brightness(calc(.7 - var(--k) * .13)) saturate(.92); }
/* las capas de atrás sólo necesitan la mitad cercana (la otra queda tapada por el frente): menos memoria de GPU */
.g .lay:not(.face) { left: 55%; right: 0; overflow: hidden; opacity: calc((1 - var(--t, 0)) * 4); }
.g .lay:not(.face) img { position: absolute; top: 0; height: 100%; width: calc(100% / .45); left: calc(-55% / .45); max-width: none; }
.g .lay.face { transform: none; }
.g .lay.face img { filter: drop-shadow(0 18px 14px rgba(22, 24, 29, .17)); }   /* fijo: no se recalcula en cada cuadro */
/* sombra de costado: la misma silueta en negro, con opacidad (barata de animar) */
.g .lay.shade { left: 0; right: 0; overflow: visible; transform: translateZ(.4px); opacity: calc((1 - var(--t, 0)) * .13); pointer-events: none; }
.g .lay.shade img { position: static; width: 100%; left: auto; filter: brightness(0); }
.g .lay.deep img { filter: brightness(.56) saturate(.9) drop-shadow(0 22px 16px rgba(22, 24, 29, .22)); }
@media (hover: hover) { .rack.touch:not(.is-moving) .g:not(.is-center):hover { --peek: 18deg; } }

/* compu: la prenda bajo el mouse se da vuelta entera y queda de frente (siempre hay una) */
.rack.carousel.hover { margin: 0 auto; min-width: 100%; padding: calc(var(--gw) * .1) 8vw 0; justify-content: center; transition: transform .55s var(--ease); }
.rack.hover .g .card { transform: translateX(var(--off, 0px)) perspective(1500px) rotateY(-74deg); transition: transform .6s var(--ease); will-change: transform; }
.rack.hover .g.is-front { z-index: 6; }
.rack.hover .g.is-front .card { transform: translateX(0px) perspective(1500px) rotateY(0deg); }
.rack.hover .g .lay:not(.face) { opacity: 1; transition: opacity .3s .18s; }
.rack.hover .g .lay.shade { opacity: .13; }
.rack.hover .g.is-front .lay:not(.face) { opacity: 0; transition: opacity .2s; }
.rack.hover .g .soldout { opacity: 0; transition: opacity .3s; } .rack.hover .g.is-front .soldout { opacity: 1; }
.rack.touch { will-change: transform; }
.g:focus-visible .lay.face { outline: 2px solid var(--sodio); outline-offset: 6px; border-radius: 8px; }
@keyframes swing { 0% { transform: rotate(0); } 18% { transform: rotate(2.4deg); } 42% { transform: rotate(-1.6deg); } 66% { transform: rotate(.7deg); } 100% { transform: rotate(0); } }
.g .soldout { position: absolute; left: 50%; top: 36%; transform: translateX(-50%) rotate(-6deg); background: var(--tinta); color: var(--papel); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 3px; z-index: 5; opacity: var(--t, 0); white-space: nowrap; pointer-events: none; }

/* entrada/salida al cambiar de parchero */
.rack.is-leaving .g { transition: transform .38s ease-in, opacity .3s; transform: translateX(-60px); opacity: 0; }
.rack.is-entering .g { animation: enter .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes enter { from { transform: translateX(90px); opacity: 0; } to { transform: none; opacity: 1; } }

.caption { min-height: 46px; text-align: center; padding: 0 20px; font-size: 14px; color: var(--grafito); display: flex; align-items: center; justify-content: center; gap: 14px; }
.caption .nav-btn { display: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--tinta); background: none; color: var(--tinta); place-items: center; padding: 0; cursor: pointer; transition: background .2s, color .2s, opacity .2s; flex: 0 0 auto; }
.caption .nav-btn svg { width: 18px; height: 18px; }
.caption .nav-btn:hover:not(:disabled) { background: var(--tinta); color: var(--papel); }
.caption .nav-btn:disabled { opacity: .25; cursor: default; }
.caption.has-nav .nav-btn { display: grid; }
.caption.has-nav .cap-text { min-width: min(360px, 60vw); }
.caption b { color: var(--tinta); font-weight: 650; }
.caption .open-btn { display: none; white-space: nowrap; flex: 0 0 auto; }
.caption .cap-text { min-width: 0; }
.cats a.menu-panel { display: none; }

/* estante de accesorios */
.shelfwall { position: relative; width: min(980px, 92vw); margin: 0 auto; height: calc(var(--gw) * 1.42); }
.pegs { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-around; padding: 0 6%; }
.peg-item { position: relative; width: calc(var(--gw) * .82); background: none; border: 0; padding: 0; transition: transform .5s var(--ease); }
.peg-item::before { content: ''; position: absolute; left: 50%; top: -2px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d7b48c, #9b6f45 70%, #7a5534); box-shadow: 0 3px 6px rgba(0,0,0,.25); z-index: 2; }
.peg-item img { position: relative; width: 100%; filter: drop-shadow(0 18px 14px rgba(22,24,29,.22)); transform-origin: 50% 0; }
.peg-item:hover img, .peg-item:focus-visible img { animation: swing 1.6s var(--ease) both; }
.shelf { position: absolute; left: 4%; right: 4%; bottom: 8%; height: 18px; border-radius: 3px; background: linear-gradient(180deg, #c49a6c, #a5774a 60%, #8a6038); box-shadow: 0 16px 22px -10px rgba(22,24,29,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.shelf-items { position: absolute; left: 6%; right: 6%; bottom: calc(8% + 18px); display: flex; justify-content: space-around; align-items: flex-end; }
.shelf-item { width: calc(var(--gw) * .8); background: none; border: 0; padding: 0; transition: transform .45s var(--ease); }
.shelf-item img { width: 100%; filter: drop-shadow(0 10px 8px rgba(22,24,29,.22)); margin-bottom: -6%; }
.shelf-item:hover, .shelf-item:focus-visible { transform: translateY(-14px) rotate(-2deg); }

/* selector de parcheros */
.picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 20px 16px; }
.picker a { text-decoration: none; border: 1.5px solid var(--tinta); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; transition: background .2s, color .2s; }
.picker a span { font-weight: 450; color: var(--grafito); font-size: 12.5px; }
.picker a:hover { background: var(--papel); }
.picker a[aria-current="page"] { background: var(--tinta); color: var(--papel); }
.picker a[aria-current="page"] span { color: #b9bcc3; }

/* cinta */
.ticker { background: var(--sodio); color: #1a0d04; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(0,0,0,.08); }
.ticker-in { display: inline-flex; align-items: center; gap: 22px; padding: 9px 0; animation: tick 38s linear infinite; font-weight: 800; font-stretch: 112%; font-size: 13.5px; letter-spacing: .01em; }
.ticker-in svg { width: 20px; fill: currentColor; stroke: currentColor; flex: 0 0 auto; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- secciones de la home ---------- */
.band { padding: clamp(64px, 9vw, 130px) 28px; }
.band-in { max-width: 1180px; margin: 0 auto; }
.manifest { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.manifest h2 { margin: 0; font-weight: 860; font-stretch: 125%; font-size: clamp(36px, 5vw, 72px); line-height: .9; letter-spacing: -0.035em; }
.manifest h2 em { display: block; font-family: var(--serif); font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em; font-size: .62em; color: var(--grafito); margin-top: 16px; }
.manifest p { max-width: 58ch; font-size: 17px; margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 96px); border-top: 1.5px solid var(--tinta); }
.facts div { padding: 22px 26px 0 0; }
.facts div + div { padding-left: 26px; border-left: 1px solid var(--linea); }
.facts b { display: block; font-weight: 800; font-stretch: 112%; font-size: 19px; margin-bottom: 6px; }
.facts p { margin: 0; color: var(--grafito); font-size: 15px; max-width: 34ch; }
.dark { background: var(--madrugada); color: #E9EBEF; }
.dark .muted { color: #A8AFBF; }
.service { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service h3 { margin: 0 0 6px; font-weight: 750; font-stretch: 110%; font-size: 18px; }
.service p { margin: 0; color: #A8AFBF; font-size: 15px; max-width: 34ch; }
.service svg { width: 30px; height: 30px; stroke: var(--sodio); fill: none; stroke-width: 1.7; margin-bottom: 14px; }

/* ---------- vista de prenda ---------- */
body.pv-open { overflow: hidden; }
body.pv-open .stage .rack-wrap, body.pv-open .stage .picker, body.pv-open .stage .stage-head, body.pv-open .stage .caption, body.pv-open .stage .ticker { filter: blur(9px); opacity: .4; transition: filter .4s, opacity .4s; }
.pv { position: fixed; inset: var(--top-h) 0 0 0; z-index: 46; outline: none; overflow-y: auto; overscroll-behavior: contain; background: color-mix(in srgb, var(--muro) 55%, transparent); animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; } }
.pv-in { min-height: 100%; display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; }
.pv-close { position: absolute; top: 14px; right: 24px; background: none; border: 0; font-size: 13px; font-weight: 650; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; padding: 8px; z-index: 3; }
.pv-close::after { content: '×'; font-size: 22px; line-height: 0; font-weight: 400; }
.pv-nav { justify-self: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--tinta); background: var(--papel); display: grid; place-items: center; transition: background .2s, color .2s; }
.pv-nav:hover { background: var(--tinta); color: var(--papel); }
.pv-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.pv-main { display: grid; grid-template-columns: auto minmax(300px, 430px); justify-content: center; align-items: center; gap: clamp(30px, 5vw, 80px); padding: 40px 0 30px; }
.pv-figure { position: relative; display: flex; align-items: flex-start; gap: 18px; }
.pv-hang { position: relative; width: min(calc((100svh - 150px) / 1.5 * 1.1), 460px, 40vw); }
.pv-hang .hook { position: absolute; left: 50%; width: 40px; margin-left: -20px; top: -44px; height: 60px; z-index: 0; }
.pv-hang.no-hook .hook { display: none; }
.flip { position: relative; aspect-ratio: 2 / 3; perspective: 1800px; z-index: 1; }
.pv-hang.square .flip { aspect-ratio: 1 / 1; }
.flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip.is-back .flip-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.face img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 28px 22px rgba(22,24,29,.22)); transition: opacity .35s; }
.face.back { transform: rotateY(180deg); }
.face.detail { border-radius: 14px; background: var(--papel); box-shadow: 0 24px 40px -18px rgba(22,24,29,.35); }
.face.detail img { filter: none; position: absolute; max-width: none; width: calc(var(--z) * 100%); height: calc(var(--z) * 100%); left: calc(50% - var(--ox) * var(--z)); top: calc(50% - var(--oy) * var(--z)); }
.face.detail .detail-note { position: absolute; left: 12px; bottom: 12px; font-size: 12px; background: var(--papel); padding: 4px 8px; border-radius: 4px; color: var(--grafito); }
.tags { display: flex; gap: 10px; padding-top: 6px; }
.tag { position: relative; width: 44px; height: 112px; background: none; border: 0; padding: 0; transform-origin: 50% 0; transition: transform .4s var(--ease); }
.tag::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 36px; background: #7c7f86; }
.tag span { position: absolute; left: 0; right: 0; top: 34px; height: 76px; border-radius: 3px 3px 6px 6px; background: var(--c); box-shadow: 0 6px 10px -4px rgba(22,24,29,.35), inset 0 0 0 1px rgba(0,0,0,.06); display: flex; align-items: center; justify-content: center; }
.tag span::before { content: ''; position: absolute; top: 7px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--muro); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.tag em { font-style: normal; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink, #fff); margin-top: 10px; white-space: nowrap; }
.tag:hover { transform: rotate(-4deg); }
.tag[aria-pressed="true"] { transform: translateY(10px); }
.tag[aria-pressed="true"] span { outline: 2px solid var(--tinta); outline-offset: 3px; }
.pv-info { width: 100%; text-align: left; }
.pv-cat { font-size: 13px; color: var(--grafito); margin: 0 0 8px; }
.pv-name { margin: 0; font-weight: 870; font-stretch: 122%; font-size: clamp(24px, 2.7vw, 38px); letter-spacing: -0.025em; line-height: 1; text-transform: uppercase; }
.seg { display: inline-flex; margin: 14px 0 0; border: 1.5px solid var(--tinta); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 650; }
.seg button[aria-pressed="true"] { background: var(--tinta); color: var(--papel); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; margin-top: 22px; }
.buy .sizes { width: 100%; order: -1; }
.buy .add { flex: 1; min-width: 200px; }
.price { font-weight: 800; font-stretch: 110%; font-size: 22px; }
.price small { display: block; font-weight: 450; font-stretch: 100%; font-size: 12.5px; color: var(--grafito); }
.sizes { display: flex; gap: 6px; }
.sizes button { min-width: 42px; height: 40px; border: 1.5px solid var(--linea); background: var(--papel); border-radius: 8px; font-weight: 650; font-size: 13.5px; padding: 0 8px; }
.sizes button:hover:not(:disabled) { border-color: var(--tinta); }
.sizes button[aria-pressed="true"] { border-color: var(--tinta); background: var(--tinta); color: var(--papel); }
.sizes button:disabled { color: #a3a6ab; text-decoration: line-through; background: transparent; cursor: not-allowed; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--sodio); color: #170a02; font-weight: 750; font-size: 15px; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: #ff7a2b; }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--tinta); color: var(--papel); }
.btn.dark:hover { background: #2a2d35; }
.btn.ghost { background: transparent; border: 1.5px solid var(--tinta); color: var(--tinta); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.stock-hint { min-height: 22px; font-size: 13px; color: var(--sodio-osc); margin-top: 10px; font-weight: 600; }
.pv-more { margin: 18px 0 0; border-top: 1px solid var(--linea); }
.pv-more details { border-bottom: 1px solid var(--linea); }
.pv-more summary { list-style: none; padding: 12px 2px; font-weight: 650; font-size: 14px; display: flex; justify-content: space-between; cursor: pointer; }
.pv-more summary::-webkit-details-marker { display: none; }
.pv-more summary::after { content: '+'; font-weight: 400; font-size: 18px; line-height: 1; }
.pv-more details[open] summary::after { content: '−'; }
.pv-more p { margin: 0 2px 14px; font-size: 14px; color: var(--grafito); }
.pv-desc { font-size: 15px; color: var(--grafito); margin: 14px 0 0; max-width: 52ch; }

/* ---------- carrito ---------- */
.scrim { position: fixed; inset: 0; background: rgba(16, 18, 24, .38); z-index: 50; animation: fade .3s both; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--papel); z-index: 51; display: flex; flex-direction: column; animation: slidein .45s var(--ease) both; box-shadow: -20px 0 40px rgba(0,0,0,.12); }
@keyframes slidein { from { transform: translateX(100%); } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--linea); }
.cart-head h2, .modal-head h2 { margin: 0; font-weight: 820; font-stretch: 118%; font-size: 20px; letter-spacing: -0.02em; }
.x { background: none; border: 0; font-size: 13px; font-weight: 650; padding: 6px; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--grafito); }
.cart-empty .btn { margin-top: 18px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); align-items: start; }
.line-img { width: 76px; aspect-ratio: 2/3; background: var(--muro); border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.line-img img { width: 112%; max-width: none; margin-top: 8%; }
.line-img.square img { width: 92%; margin: 0; }
.line h3 { margin: 0; font-size: 14.5px; font-weight: 700; }
.line .meta { font-size: 13px; color: var(--grafito); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: 999px; margin-top: 10px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.line-price { font-weight: 700; font-size: 14.5px; text-align: right; }
.line-rm { display: block; margin-top: 8px; background: none; border: 0; padding: 0; font-size: 12px; color: var(--grafito); text-decoration: underline; }
.cart-foot { padding: 18px 24px 24px; border-top: 1px solid var(--linea); }
.ship-bar { font-size: 13px; color: var(--grafito); margin-bottom: 14px; }
.ship-bar .bar { height: 5px; background: var(--muro); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: var(--sodio); border-radius: 3px; transition: width .5s var(--ease); }
.totals { display: flex; justify-content: space-between; font-weight: 750; font-size: 17px; margin-bottom: 14px; }
.cart-foot .btn { width: 100%; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(16,18,24,.42); padding: 20px; animation: fade .25s both; }
.modal[hidden], .pv[hidden], .cart[hidden], .scrim[hidden] { display: none; }
.modal-box { background: var(--papel); border-radius: 16px; padding: 26px; width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.size-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--linea); }
.size-table th { font-weight: 650; color: var(--grafito); font-size: 12.5px; }

/* ---------- checkout y páginas ---------- */
.page { padding: 34px 28px 90px; }
.page-in { max-width: 1120px; margin: 0 auto; }
.page h1 { margin: 0 0 6px; font-weight: 880; font-stretch: 125%; font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -0.035em; line-height: .92; text-transform: uppercase; }
.lead { font-size: 17px; color: var(--grafito); max-width: 60ch; margin: 10px 0 0; }
.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; margin-top: 30px; align-items: start; }
.panel { background: var(--papel); border-radius: 18px; padding: 26px; }
.panel h2 { margin: 0 0 16px; font-weight: 780; font-stretch: 112%; font-size: 19px; }
.panel + .panel { margin-top: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 44px; border: 1.5px solid var(--linea); border-radius: 10px; background: #fff; padding: 0 12px; font-size: 15px; transition: border-color .2s; }
.field textarea { height: 76px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--tinta); outline: none; }
.field .err { color: #B3261E; font-size: 12.5px; margin-top: 4px; min-height: 0; }
.field.bad input { border-color: #B3261E; }
.choice { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--linea); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .2s; }
.choice + .choice { margin-top: 10px; }
.choice input { accent-color: var(--tinta); width: 18px; height: 18px; }
.choice .grow { flex: 1; }
.choice b { display: block; font-size: 14.5px; }
.choice small { color: var(--grafito); font-size: 13px; }
.choice:has(input:checked) { border-color: var(--tinta); }
.summary .line { grid-template-columns: 60px 1fr auto; }
.summary .line-img { width: 60px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 6px 0; }
.sum-row.total { font-weight: 800; font-size: 19px; border-top: 1.5px solid var(--tinta); margin-top: 8px; padding-top: 14px; }
.sum-row .green { color: var(--ok); }
.mp-mock { text-align: center; padding: 10px 0; }
.mp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #009EE3; font-size: 18px; }
.mp-logo i { width: 34px; height: 34px; border-radius: 50%; background: #009EE3; display: inline-block; position: relative; }
.mp-logo i::after { content: ''; position: absolute; inset: 9px 7px; border: 3px solid #fff; border-radius: 50% 50% 40% 40%; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #d5dbe3; border-top-color: #009EE3; margin: 20px auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.thanks { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 26px; align-items: start; }
.thanks .panel + .panel { margin-top: 0; }
.order-num { font-weight: 860; font-stretch: 125%; font-size: 26px; }
.demo-note { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--madrugada); color: #E9EBEF; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-note p { margin: 0; max-width: 46ch; font-size: 14.5px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 34px; }
.story p { font-size: 17px; max-width: 60ch; margin: 0 0 16px; }
.story figure { margin: 0; background: var(--papel); border-radius: 18px; padding: 30px; display: grid; place-items: center; }
.story figure { align-self: start; padding-bottom: 0; overflow: hidden; }
.story figure img { width: 70%; margin-bottom: -20%; }
.help h2 { font-weight: 780; font-stretch: 112%; font-size: 21px; margin: 34px 0 8px; }
.help p { max-width: 64ch; }

/* ---------- pie ---------- */
.foot { background: var(--madrugada); color: #DCE0E8; padding: 70px 28px 28px; border-top: 1px solid #333E57; }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2.4fr; gap: 50px; }
.foot-brand .mark { width: 64px; color: var(--sodio); }
.foot-claim { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 18px 0 0; color: #F2F3F6; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 28px; }
.foot h2 { font-size: 13px; font-weight: 650; color: #8E96A8; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .linkish { color: inherit; text-decoration: none; font-size: 14.5px; }
.news label span { display: block; font-size: 13px; font-weight: 650; color: #8E96A8; margin-bottom: 12px; }
.news-row { display: flex; background: var(--madrugada-2); border-radius: 999px; padding: 4px; }
.news-row input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 14px; color: #fff; }
.news-row input::placeholder { color: #8E96A8; }
.news-row input:focus { outline: none; }
.news-row button { background: var(--sodio); border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 13.5px; color: #170a02; }
.news-msg { font-size: 13px; color: #A8AFBF; min-height: 20px; margin: 8px 0 0; }
.foot-bottom { max-width: 1180px; margin: 54px auto 0; padding-top: 22px; border-top: 1px solid #333E57; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8E96A8; }
.ideo-credit { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.ideo-credit img { width: 136px; height: auto; }

/* ---------- avisos ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--tinta); color: var(--papel); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); z-index: 80; display: flex; gap: 12px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: var(--sodio); border: 0; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 12.5px; color: #170a02; }
.demo-pill { position: fixed; left: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 10px; background: var(--papel); color: var(--grafito); text-decoration: none; font-size: 12px; padding: 6px 6px 6px 14px; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(22,24,29,.35); border: 1px solid var(--linea); }
.demo-pill b { background: var(--madrugada); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 650; }
.demo-pill:hover b { background: var(--tinta); }
body.on-stage .demo-pill { bottom: 56px; }   /* arriba del cartel naranja */

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cats { gap: 14px; font-size: 13px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .news { grid-column: 1 / -1; max-width: 460px; }
}
@media (max-width: 860px) {
  :root { --top-h: 58px; --gw: 50vw; }
  .top { padding: 0 12px; grid-template-columns: auto 1fr auto; }
  .menu-btn { display: flex; }
  .logo { justify-self: center; }
  .logo span { font-size: 19px; }
  .cats { position: fixed; top: var(--top-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--muro); padding: 8px 20px 20px; transform: translateY(-120%); transition: transform .4s var(--ease); z-index: -1; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); font-size: 17px; }
  .cats.open { transform: none; }
  .cats a { padding: 12px 0; border-bottom: 1px solid var(--linea); }
  .util-link { display: none; }
  .cart-btn { padding: 6px 6px 6px 12px; }
  .stage-head { flex-direction: column; align-items: flex-start; padding: 14px 18px 0; gap: 8px; }
  .stage-hint { text-align: left; }
  .rack-scroll { --gw: min(58vw, 330px, calc((100svh - 300px) / 1.42)); }
  .g { height: calc(var(--gw) * 1.32); }
  .stage-head { padding: 8px 18px 0; gap: 4px; }
  .stage-title small { font-size: 15px; margin-top: 5px; }
  .stage-hint { font-size: 12.5px; margin: 2px 0 0; }
  .rack-wrap { padding-top: 0; }
  .caption { min-height: 0; padding: 2px 16px 0; font-size: 13px; gap: 10px; }
  .caption .open-btn { height: 32px; padding: 0 12px; font-size: 12.5px; }
  .caption.has-nav .nav-btn { display: none; }
  .caption.has-nav .cap-text { min-width: 0; }
  .rail { left: 4vw; right: 4vw; }
  .g { --side: calc(var(--gw) * .34); }
  .caption .open-btn { display: inline-flex; height: 36px; padding: 0 14px; font-size: 13px; }
  .manifest, .story, .thanks, .checkout { grid-template-columns: 1fr; }
  .facts, .service { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--linea); margin-top: 18px; }
  .pv-in { grid-template-columns: 1fr; }
  .pv-nav { position: absolute; top: calc(18px + min(66vw, 46vh) * .55); z-index: 4; width: 40px; height: 40px; background: color-mix(in srgb, var(--papel) 85%, transparent); }
  .pv-nav.prev { left: 10px; } .pv-nav.next { right: 10px; }
  .pv-hang .flip { margin-bottom: -26%; }
  body.pv-open .demo-pill { display: none; }
  .picker { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding: 6px 18px 10px; gap: 8px; }
  .picker a { padding: 7px 14px; font-size: 13px; }
  .picker::-webkit-scrollbar { display: none; }
  .picker a { flex: 0 0 auto; }
  .pv-main { grid-template-columns: 1fr; justify-items: center; padding: 64px 18px 60px; gap: 18px; }
  .pv-info { max-width: 520px; }
  .pv-figure { flex-direction: column; align-items: center; }
  .pv-hang { width: min(66vw, 46vh); }
  .tags { order: 2; padding-top: 0; }
  .tag { height: 86px; } .tag span { top: 22px; height: 62px; } .tag::before { height: 24px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .demo-pill { left: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); transition: opacity .3s, transform .3s; }
  body.on-stage .demo-pill { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .cats a.menu-panel { display: block; margin-top: 10px; border-bottom: 0; font-weight: 650; color: var(--sodio); }
  .demo-pill { font-size: 0; padding: 4px; gap: 0; } .demo-pill b { font-size: 12px; }
  .shelfwall { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-in { animation: none; }
}
