:root {
  --bg: #ecebe7;
  --bg-2: #e4e2dd;
  --ink: #141414;
  --ink-2: #3c3b38;
  --muted: #8d8b85;
  --line: #d6d4ce;
  --card: #f4f3f0;
  --accent: #e5531a;
  --panel-w: 310px;
  --nav-h: 64px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.link-arrow svg, .btn svg, .arrow svg, .close-x svg, .icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow svg { width: 13px; height: 13px; transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 13px; transition: background-color .35s, transform .2s var(--ease-out), opacity .3s; }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }

.close-x { position: absolute; top: calc(var(--nav-h) + 18px); right: 28px; z-index: 20; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); padding: 8px; }
.close-x svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.close-x:hover svg { transform: rotate(90deg); }

.arrow { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-2); transition: transform .3s var(--ease-out); }
.arrow.round { border: 1px solid var(--line); border-radius: 50%; background: var(--card); }
.arrow:hover { transform: scale(1.08); }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px;
  transition: background-color .4s, backdrop-filter .4s, transform .5s var(--ease-out);
}
.nav.is-solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .08em; font-size: 15px; justify-self: start; }
.logo img { display: block; width: 120px; height: auto; }
.nav-links { display: flex; gap: 26px; font-size: 12.5px; }
.nav-links a { color: var(--ink-2); position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--ink); font-weight: 600; }
.nav-util { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav-mini { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-right: 14px; }
.icon-btn { height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; font-size: 12px; color: var(--ink-2); position: relative; }
.icon-btn svg { width: 19px; height: 19px; }
.search-btn { padding: 0 12px; }
.bag-count { position: absolute; top: 3px; right: 1px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 700; display: grid; place-items: center; }
.bag-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.55); background: var(--accent); } 100% { transform: scale(1); } }

/* ---------------- LOOKS ---------------- */
.looks { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.looks-head { position: absolute; top: calc(var(--nav-h) + 30px); left: 40px; z-index: 6; pointer-events: none; }
.looks-intro h1 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.025em; }
.looks-intro p { margin-top: 8px; font-size: 12px; color: var(--muted); max-width: 300px; }
.looks-intro, .looks-meta { transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.looks-meta { position: absolute; top: 0; left: 0; opacity: 0; transform: translateY(10px); white-space: nowrap; }
.looks-meta h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.looks.is-detail .looks-intro { opacity: 0; transform: translateY(-10px); }
.looks.is-detail .looks-meta { opacity: 1; transform: none; }

.looks-stage { position: absolute; left: 10px; right: calc(var(--panel-w) + 10px); top: calc(var(--nav-h) + 92px); bottom: 74px; display: flex; align-items: flex-end; justify-content: space-between; }
.look-fig { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: none; will-change: transform, opacity, filter; transform-origin: 50% 100%; }
.look-fig .fig-svg { height: 74%; width: auto; max-width: 118%; object-fit: contain; object-position: 50% 100%; overflow: visible; transition: transform .6s var(--ease-out); scale: var(--s, 1); transform-origin: 50% 100%; translate: 0 var(--dy, 0); }
.look-fig.is-dim { opacity: .45; }
.look-fig { transition: opacity .45s var(--ease-out); }
.looks-stage:hover .look-fig:not(:hover) { opacity: .55; }
.looks.is-detail .looks-stage:hover .look-fig:not(:hover) { opacity: 1; }
.look-fig:hover .fig-svg { transform: translateY(-6px); }
.looks.is-detail .look-fig { cursor: default; }
.looks.is-detail .look-fig:hover .fig-svg { transform: none; }

.cursor-ver { position: fixed; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(236, 235, 231, .55); border: 1px solid rgba(20, 20, 20, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; pointer-events: none; z-index: 40; transform: scale(0); transition: transform .35s var(--ease-out); }
.cursor-ver.is-on { transform: scale(1); }

.looks-close { opacity: 0; pointer-events: none; transition: opacity .4s; right: calc(var(--panel-w) + 16px); }
.looks.is-detail .looks-close { opacity: 1; pointer-events: auto; }

.look-panel { position: absolute; top: var(--nav-h); right: 0; bottom: 0; width: var(--panel-w); border-left: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, #fff); display: flex; flex-direction: column; z-index: 8; }
.lp-head { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 22px 16px; font-size: 12.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.lp-count { font-size: 10px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.lp-list { flex: 1; overflow: auto; }
.lp-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); transition: opacity .45s var(--ease-out), filter .45s; }
.look-panel:not(.is-live) .lp-item { opacity: .35; filter: grayscale(.6); }
.lp-thumb { width: 72px; height: 76px; display: grid; place-items: center; }
.lp-thumb :is(svg, img) { width: 100%; height: 100%; }
.lp-thumb img { object-fit: contain; }
.lp-item .eyebrow { display: block; font-size: 9px; }
.lp-item b { display: block; font-size: 12.5px; font-weight: 600; margin: 2px 0; line-height: 1.25; }
.lp-plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: background .3s, color .3s, transform .3s var(--ease-out); }
.lp-plus:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.lp-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.lp-total { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; gap: 10px; }
.lp-label { display: block; font-size: 11.5px; font-weight: 600; }
.lp-sub { display: block; font-size: 10.5px; color: var(--muted); }
.lp-prices { text-align: right; }
.lp-prices s { display: block; font-size: 10.5px; color: var(--muted); }
.lp-prices strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.look-panel:not(.is-live) #lpAdd { opacity: .3; pointer-events: none; }

.looks-scrub { position: absolute; left: 26px; right: calc(var(--panel-w) + 26px); bottom: 18px; display: flex; align-items: center; gap: 14px; z-index: 6; }
.scrub-ticks { flex: 1; display: flex; gap: 6px; align-items: flex-end; max-width: 520px; }
.tick { flex: 1; text-align: left; padding-top: 12px; position: relative; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; transition: flex-grow .6s var(--ease-out), color .3s; white-space: nowrap; overflow: hidden; }
.tick::before { content: ''; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; }
.tick::after { content: ''; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.tick.is-on { flex-grow: 3.2; color: var(--ink); }
.tick.is-on::after { transform: scaleX(1); }
.tick .tn { display: none; margin-left: 6px; }
.tick.is-on .tn { display: inline; }

/* ---------------- PERCHERO ---------------- */
.rack { position: relative; height: 100svh; min-height: 660px; overflow: hidden; border-top: 1px solid var(--line); }
.rack-tabs { position: absolute; top: calc(var(--nav-h) + 54px); left: 0; right: 0; display: flex; justify-content: center; gap: 22px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rack-tabs .is-on { color: var(--ink); font-weight: 600; }
.rack-scroller { position: absolute; left: 0; right: 0; top: 30%; height: 50%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.rack-scroller::-webkit-scrollbar { display: none; }
.rack-inner { position: relative; height: 100%; min-width: 100%; }
.rail { position: absolute; left: 0; right: 0; top: 18px; height: 3px; background: linear-gradient(#c9c7c1, #a9a7a1); border-radius: 3px; box-shadow: 0 1px 0 #fff8; }
.gar { position: absolute; top: 4px; left: 0; width: var(--gw, 150px); height: calc(var(--gw, 150px) * 1.3636); perspective: 900px; cursor: pointer; transform-origin: 50% 2%; will-change: transform; }
.gar-inner { width: 100%; height: 100%; transform: rotateY(var(--ry, 68deg)); transition: transform .75s var(--ease-out), filter .6s; transform-style: preserve-3d; transform-origin: 50% 50%; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .12)); }
.gar-inner :is(svg, img) { width: 100%; height: 100%; overflow: visible; }
.gar-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 60%); mix-blend-mode: multiply; opacity: var(--sh, .9); transition: opacity .6s; pointer-events: none; -webkit-mask: var(--mask); mask: var(--mask); }
.gar.is-front { z-index: 5; }
.gar.is-front .gar-inner { --ry: 0deg; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .16)); }
.tag { position: absolute; top: 15%; left: 50%; transform: translateX(-10%) rotate(4deg); background: #fff; color: var(--ink); font-size: 8.5px; font-weight: 700; padding: 2px 4px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); white-space: nowrap; transition: opacity .3s; font-variant-numeric: tabular-nums; }
.gar.is-front .tag { opacity: 0; }
.rack-hover { position: absolute; left: 40px; bottom: 88px; display: grid; gap: 2px; }
.rack-hover strong { font-size: 13px; font-weight: 600; }
.rack-hover span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rack-hover > * { transition: opacity .3s, transform .4s var(--ease-out); }
.rack-hover.swap > * { opacity: 0; transform: translateY(6px); }
.rack-copy { position: absolute; right: 40px; bottom: 82px; text-align: right; display: grid; justify-items: end; gap: 12px; }
.rack-copy p { font-size: 13px; font-weight: 600; line-height: 1.35; }
.rack-hint { position: absolute; left: 40px; bottom: 34px; font-size: 11px; color: var(--muted); }

.rack-detail { position: absolute; inset: 0; z-index: 30; background: var(--bg); display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: calc(var(--nav-h) + 20px) 6vw 40px; opacity: 0; visibility: hidden; }
.rack-detail.is-open { visibility: visible; }
.rd-figure { position: relative; height: 100%; display: grid; place-items: center; }
.rd-line { position: absolute; top: 0; left: 50%; width: 1.5px; height: 24%; background: #8f8d88; transform-origin: top; }
.rd-flip { position: relative; width: min(30vw, 400px); aspect-ratio: 220 / 300; transform-style: preserve-3d; transition: transform .9s var(--ease-out); margin-top: 6%; }
.rd-flip.is-back { transform: rotateY(180deg); }
.rd-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .14)); }
.rd-face :is(svg, img) { width: 100%; height: 100%; }
.rd-back { transform: rotateY(180deg); }
.rd-info { max-width: 290px; display: grid; gap: 10px; }
.rd-info h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.seg { display: flex; gap: 18px; margin: 8px 0 6px; font-size: 12px; }
.seg button { color: var(--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.seg button.is-on { color: var(--ink); border-color: var(--ink); }
.sizes-round { display: flex; gap: 8px; margin-bottom: 10px; }
.sizes-round button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-size: 11.5px; background: var(--card); transition: background .25s, color .25s, transform .25s var(--ease-out); }
.sizes-round button:hover { transform: translateY(-2px); }
.sizes-round button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rd-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; font-size: 12px; }

/* ---------------- ÓRBITA ---------------- */
.orbit { position: relative; height: 100svh; min-height: 700px; overflow: hidden; border-top: 1px solid var(--line); }
.orbit-name { position: absolute; top: calc(var(--nav-h) + 34px); left: 40px; z-index: 10; max-width: 46vw; }
.orbit-name h2 { font-size: clamp(34px, 4.6vw, 72px); font-weight: 700; line-height: .92; letter-spacing: -.035em; text-transform: uppercase; margin: 8px 0 12px; max-width: 8ch; }
.orbit-name .line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; }
.orbit-name .line > span { display: inline-block; }
.orbit-name .link-arrow { margin-top: 12px; }
.orbit-stage { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.orbit-stage.is-drag { cursor: grabbing; }
.oshoe { position: absolute; left: 0; top: 0; width: 250px; margin: -80px 0 0 -125px; will-change: transform, opacity, filter; }
.oshoe .bob { animation: bob 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.oshoe :is(svg, img) { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .18)); transition: transform .5s var(--ease-out); }
.oshoe:hover :is(svg, img) { transform: scale(1.06) rotate(-3deg); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.orbit-sizes { position: absolute; right: 40px; bottom: 120px; display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; z-index: 10; }
.orbit-sizes button, .sizes-grid button { height: 34px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; background: color-mix(in srgb, var(--card) 60%, transparent); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out); font-variant-numeric: tabular-nums; }
.orbit-sizes button:hover, .sizes-grid button:hover { border-color: var(--ink); }
.orbit-sizes button.is-on, .sizes-grid button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dial-wrap { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; z-index: 10; }
.dial { position: relative; width: min(300px, 70vw); height: 18px; border-radius: 99px; background: linear-gradient(#f7f6f3, #cfcdc7); box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, .12), inset 0 -2px 3px rgba(0, 0, 0, .1); overflow: hidden; cursor: ew-resize; touch-action: none; }
.dial-ridges { position: absolute; inset: 3px -40px; background: repeating-linear-gradient(90deg, #9b9993 0 1px, transparent 1px 5px); opacity: .55; -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.dial-mark { position: absolute; top: -2px; left: 50%; width: 2px; height: 22px; background: var(--ink); }
.dial-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.orbit-word { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(42%); text-align: center; font-weight: 800; font-size: clamp(70px, 12vw, 200px); letter-spacing: -.05em; line-height: .8; color: var(--ink); pointer-events: none; white-space: nowrap; z-index: 1; }
.orbit-word span { display: inline-block; }

.shoe-detail { position: absolute; inset: 0; z-index: 30; background: var(--bg); visibility: hidden; opacity: 0; }
.shoe-detail.is-open { visibility: visible; }
.sd-stage { position: absolute; left: 6%; width: 52%; top: 18%; bottom: 24%; display: grid; place-items: center; }
.sd-shoe { position: absolute; width: min(40vw, 560px); }
.sd-shoe .bob { animation: bob 5s ease-in-out infinite; }
.sd-shoe :is(svg, img) { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 34px 22px rgba(0, 0, 0, .2)); }
.sd-info { position: absolute; left: 62%; right: 6%; top: 50%; transform: translateY(-50%); max-width: 330px; display: grid; gap: 10px; }
.sd-info h3 { font-size: clamp(30px, 3vw, 46px); font-weight: 700; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.sd-size-head { display: flex; justify-content: space-between; margin-top: 10px; }
.sizes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.sizes-grid button { height: 38px; }
.sd-add { position: relative; overflow: hidden; }
.sd-add::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-io); }
.sd-add span { position: relative; }
.sd-add.is-added::before { transform: scaleX(1); }
.sd-info .link-arrow { justify-self: start; margin-top: 6px; }
.sd-thumbs { position: absolute; left: 8%; bottom: 8%; display: flex; gap: 8px; }
.sd-thumbs button { width: 58px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); padding: 4px; transition: border-color .3s, transform .3s var(--ease-out); }
.sd-thumbs button:hover { transform: translateY(-2px); }
.sd-thumbs button.is-on { border-color: var(--ink); }
.sd-thumbs :is(svg, img) { width: 100%; height: 100%; }
.sd-pager { position: absolute; left: 50%; bottom: 8%; display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------------- FOOTER ---------------- */
.foot { padding: 64px 40px 40px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--ink-2); font-size: 12.5px; }
.foot-brand { display: inline-block; justify-self: start; }
.foot-brand img { display: block; width: 180px; height: auto; }
.foot-brand span { font-weight: 400; font-size: 14px; margin-left: 8px; letter-spacing: 0; color: var(--muted); }
.foot-small { color: var(--muted); font-size: 11px; }

/* ---------------- BOLSA ---------------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 20, 20, .18); opacity: 0; pointer-events: none; transition: opacity .45s; z-index: 60; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(390px, 100vw); background: #f6f5f2; z-index: 70; transform: translateX(102%); transition: transform .6s var(--ease-out); display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0, 0, 0, .08); }
.cart.is-open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 18px; font-weight: 700; }
.cart-head h3 span { font-size: 11px; color: var(--muted); font-weight: 500; vertical-align: super; }
.cart-head .close-x { position: static; }
.cart-list { flex: 1; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item .ci-thumb { width: 64px; height: 64px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; padding: 6px; }
.cart-item .ci-thumb :is(svg, img) { width: 100%; height: 100%; }
.cart-item b { font-size: 12.5px; font-weight: 600; display: block; }
.cart-item small { color: var(--muted); font-size: 11px; display: block; }
.ci-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; }
.ci-qty button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); line-height: 1; }
.ci-del { font-size: 11px; color: var(--muted); text-decoration: underline; margin-left: 6px; }
.ci-price { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cart-empty { padding: 40px 22px; color: var(--ink-2); font-size: 14px; display: none; }
.cart-empty span { color: var(--muted); font-size: 12px; }
.cart.is-empty .cart-empty { display: block; }
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.cart-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.cart-total { font-size: 14px; color: var(--ink); }
.cart-note { font-size: 10.5px; color: var(--muted); margin-bottom: 6px; }
.fly { position: fixed; z-index: 90; pointer-events: none; width: 80px; }
.fly :is(svg, img) { width: 100%; height: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; font-size: 12px; padding: 10px 16px; border-radius: 99px; opacity: 0; transition: opacity .35s, transform .45s var(--ease-out); z-index: 95; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1080px) {
  .nav-mini { display: none; }
  .nav-links { gap: 18px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 56px; --panel-w: 0px; }
  .nav { grid-template-columns: auto 1fr auto; padding: 0 14px; }
  .nav-links { justify-self: center; gap: 14px; font-size: 12px; }
  .nav-links a:nth-child(1), .nav-links a:nth-child(5) { display: none; }
  .search-btn span { display: none; }
  .search-btn { padding: 0; }

  .looks-head { left: 18px; top: calc(var(--nav-h) + 18px); }
  .looks-stage { left: 0; right: 0; top: calc(var(--nav-h) + 96px); bottom: 70px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; justify-content: flex-start; padding: 0 10vw; }
  .looks-stage::-webkit-scrollbar { display: none; }
  .look-fig { flex: 0 0 40vw; scroll-snap-align: center; cursor: pointer; }
  .looks-stage:hover .look-fig:not(:hover) { opacity: 1; }
  .look-fig:hover .fig-svg { transform: none; }
  .cursor-ver { display: none; }
  .looks.is-detail .looks-stage { overflow: hidden; bottom: 46%; scroll-snap-type: none; }
  .look-panel { top: auto; left: 0; right: 0; width: auto; height: 46%; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; transform: translateY(102%); transition: transform .7s var(--ease-out); box-shadow: 0 -20px 40px rgba(0, 0, 0, .06); }
  .looks.is-detail .look-panel { transform: none; }
  .lp-head { padding: 16px 18px 10px; }
  .lp-item { grid-template-columns: 52px 1fr auto; padding: 8px 18px; gap: 10px; }
  .lp-thumb { width: 52px; height: 52px; }
  .lp-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
  .lp-total { margin-bottom: 10px; }
  .looks-close { right: 10px; top: calc(var(--nav-h) + 12px); }
  .looks-scrub { left: 12px; right: 12px; bottom: 14px; }
  .looks.is-detail .looks-scrub { opacity: 0; pointer-events: none; }

  .rack-tabs { top: calc(var(--nav-h) + 30px); font-size: 9.5px; gap: 14px; }
  .rack-scroller { top: 19%; height: 52%; }
  .rack-hover { left: 18px; bottom: 140px; }
  .rack-copy { left: 18px; right: 18px; bottom: 64px; text-align: left; justify-items: start; }
  .rack-copy p { font-size: 12.5px; }
  .rack-hint { left: 18px; bottom: 24px; }
  .rack-hint span:first-child { display: none; }
  .rack-detail { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: calc(var(--nav-h) + 10px) 22px 24px; align-items: start; }
  .rd-flip { width: min(62vw, 300px); margin-top: 12%; }
  .rd-info { max-width: none; gap: 8px; }
  .close-x { right: 12px; top: calc(var(--nav-h) + 8px); }

  .orbit-name { left: 18px; top: calc(var(--nav-h) + 22px); max-width: 80vw; }
  .orbit-name h2 { font-size: 40px; }
  .oshoe { width: 160px; margin: -50px 0 0 -80px; }
  .orbit-sizes { display: none; }
  .dial-wrap { bottom: 84px; }
  .orbit-word { font-size: 23vw; }
  .sd-stage { left: 0; width: 100%; top: 14%; bottom: auto; height: 34%; }
  .sd-shoe { width: 78vw; }
  .sd-info { left: 22px; right: 22px; top: auto; bottom: 118px; transform: none; max-width: none; gap: 6px; }
  .sd-info h3 { font-size: 30px; }
  .sizes-grid button { height: 34px; }
  .sd-info .link-arrow { display: none; }
  .sd-thumbs { left: 22px; bottom: 26px; gap: 6px; }
  .sd-thumbs button { width: 42px; height: 34px; padding: 3px; }
  .sd-pager { left: auto; right: 22px; bottom: 26px; gap: 8px; }
  .sd-pager span { display: none; }
  .foot { padding: 48px 22px 36px; }
}
@media (max-width: 380px) {
  .nav-links { gap: 10px; font-size: 11.5px; }
  .sd-thumbs button:nth-child(n+6) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- FOTOS ---------- */
img.fig-svg, img.gar-svg, img.shoe-svg { display: block; user-select: none; -webkit-user-drag: none; }
.look-fig img.fig-svg { filter: drop-shadow(0 18px 14px rgba(0,0,0,.10)); }
.gar-inner img { object-fit: contain; object-position: 50% 0; }
.rd-face img { object-fit: contain; }
.rd-back { overflow: hidden; border-radius: 18px; background: var(--card); filter: none; box-shadow: 0 30px 60px rgba(0,0,0,.12); }
.rd-back img.is-zoom { transform: scale(2); transform-origin: 50% 32%; }
.lp-thumb img, .ci-thumb img, .sd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.oshoe img, .sd-shoe img { width: 100%; height: auto; }
/* tenis: caja fija para fotos de proporciones distintas */
.oshoe .bob { height: 160px; display: grid; place-items: center; }
.oshoe img.shoe-svg { width: 100%; height: 100%; object-fit: contain; }
.sd-shoe img.shoe-svg { width: 100%; height: min(46vh, 420px); object-fit: contain; }
.lp-thumb img.shoe-svg, .sd-thumbs img.shoe-svg, .ci-thumb img.shoe-svg { height: 100%; }
@media (max-width: 860px) {
  .oshoe .bob { height: 100px; }
  .sd-shoe img.shoe-svg { height: 30vh; }
}
/* correcciones: miniaturas contenidas y botón Eliminar */
.lp-thumb, .cart-item .ci-thumb { overflow: hidden; border-radius: 10px; background: #f6f5f2; padding: 6px; display: grid; place-items: center; }
.lp-thumb { width: 72px; height: 80px; }
.lp-thumb img, .cart-item .ci-thumb img, .lp-thumb img.shoe-svg, .cart-item .ci-thumb img.shoe-svg { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ci-qty .ci-del { width: auto; height: auto; border: 0; border-radius: 0; padding: 0; margin-left: 8px; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ci-qty .ci-del:hover { color: var(--ink); }
@media (max-width: 860px) { .lp-thumb { width: 52px; height: 56px; padding: 4px; } }

/* ---------- DETALLE DE PRODUCTO (desde el look o la bolsa) ---------- */
.pd { position: fixed; inset: 0; z-index: 66; background: var(--bg); display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: calc(var(--nav-h) + 10px) 6vw 40px; visibility: hidden; opacity: 0; overscroll-behavior: contain; }
.pd.is-open { visibility: visible; }
.pd .close-x { top: 22px; }
.pd .rd-figure { height: 100%; }
.pd.is-shoe .rd-line { display: none; }
.pd.is-shoe .pd-flip { width: min(42vw, 560px); aspect-ratio: 4 / 3; margin-top: 0; }
.pd .sizes-round { flex-wrap: wrap; }
.lp-item { cursor: pointer; transition: background-color .3s, opacity .45s var(--ease-out), filter .45s; }
.lp-item:hover { background: color-mix(in srgb, var(--card) 70%, transparent); }
.lp-item:hover b { text-decoration: underline; text-underline-offset: 3px; }
.cart-item .ci-thumb, .cart-item b { cursor: pointer; }
@media (max-width: 860px) {
  .pd { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 56px 22px calc(24px + env(safe-area-inset-bottom)); align-items: start; overflow-y: auto; }
  .pd .close-x { top: 10px; right: 10px; }
  .pd .rd-figure { min-height: 44vh; }
  .pd .pd-flip { width: min(58vw, 280px); margin-top: 10%; }
  .pd.is-shoe .pd-flip { width: 82vw; }
  .pd .rd-info { max-width: none; gap: 8px; }
}

/* WhatsApp checkout */
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #188a4a; }
.btn-wa svg { width: 18px; height: 18px; stroke: none; }
.cart.is-empty .btn-wa { opacity: .35; pointer-events: none; }
@media (max-width: 860px) { .logo img { width: 96px; } }
@media (max-width: 860px) {
  .logo img { width: 84px; }
  .nav { gap: 12px; }
  .nav-util .icon-btn[aria-label="Cuenta"] { display: none; }
}
@media (max-width: 360px) { .nav-links a:nth-child(4) { display: none; } }
/* EN ÓRBITA completo (antes quedaba cortado contra el borde de la sección) */
.orbit { --ow: clamp(64px, 10vw, 170px); }
.orbit-word { transform: none; bottom: 30px; font-size: var(--ow); line-height: .82; }
.dial-wrap { bottom: calc(var(--ow) * .82 + 54px); }
.orbit-sizes { bottom: calc(var(--ow) * .82 + 66px); }
@media (max-width: 860px) {
  .orbit { --ow: 17vw; }
  .orbit-word { bottom: 24px; }
  .dial-wrap { bottom: calc(var(--ow) * .82 + 44px); }
}
.dial-wrap, .orbit-sizes, .orbit-name { z-index: 150; }
/* sin barra horizontal en la lista del look */
.lp-list { overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.lp-item { min-width: 0; }
.lp-item > div:nth-child(2) { min-width: 0; }
