:root{color-scheme:light;--header:112px;--footer:108px}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:#fff;color:#101010;font-family:Arial,Helvetica,sans-serif}
body{overflow:hidden;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit}
button:focus-visible,.stage:focus-visible{outline:1px solid #111;outline-offset:-4px}
button{touch-action:manipulation}
#experience{height:100svh;height:100dvh;isolation:isolate}
.masthead{position:absolute;inset:0 0 auto;z-index:20;height:var(--header);display:grid;place-items:center;background:#fff;padding-top:env(safe-area-inset-top)}
.masthead h1{font-size:32px;letter-spacing:-2.3px;line-height:.74;margin:0;font-weight:900;text-align:center;user-select:none}
.masthead h1 span{font-size:26px;letter-spacing:-1.9px}
.stage{position:absolute;inset:var(--header) 0 var(--footer);overflow:hidden;outline:none;touch-action:none;cursor:grab;user-select:none;scrollbar-width:thin;scrollbar-color:#dedede transparent;overscroll-behavior:contain}
.stage.dragging{cursor:grabbing}
[data-mode=list] .stage{overflow:hidden;touch-action:pinch-zoom;cursor:default}
.scene{position:relative;width:100%;min-height:100%;perspective:1200px;perspective-origin:50% var(--origin-y,50%);transform-style:preserve-3d}
.garment{position:absolute;top:var(--origin-y,50%);left:50%;width:200px;height:200px;margin:-100px 0 0 -100px;border:0;padding:0;background:none;transform-origin:center;transform-style:preserve-3d;will-change:transform;cursor:inherit;outline:none}
.garment:focus-visible .texture{filter:drop-shadow(0 0 2px #555)}
.texture{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none;backface-visibility:visible;transition:filter .2s ease}
[data-mode=list] .garment{cursor:pointer}
.footer{position:absolute;inset:auto 0 0;height:var(--footer);display:flex;align-items:center;justify-content:center;z-index:20;background:#fff;padding-bottom:env(safe-area-inset-bottom)}
.modes{display:flex;gap:28px;align-items:center}
.modes button{position:relative;border:0;background:none;padding:16px 8px;font-size:14px;font-weight:400;letter-spacing:.045em;cursor:pointer;color:#909090;min-height:48px;min-width:55px;transition:color .2s}
.modes button:hover,.modes button[aria-pressed=true]{color:#111}
.modes button::after{content:'';position:absolute;bottom:8px;left:50%;width:3px;height:3px;background:currentColor;border-radius:50%;opacity:0;transform:translateX(-50%);transition:opacity .2s}
.modes button[aria-pressed=true]::after{opacity:1}
.hint{position:absolute;left:48px;right:48px;bottom:calc(var(--footer) - 7px);z-index:21;pointer-events:none;text-align:center;font-size:12px;letter-spacing:.025em;color:#999;line-height:1.4;transition:opacity .25s}
.motion-control{position:absolute;right:22px;bottom:calc(var(--footer) - 16px);z-index:22;width:44px;height:44px;border:0;background:transparent;color:#777;cursor:pointer;font-size:17px;line-height:1}
.motion-control[hidden]{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.no-script{position:absolute;top:45%;left:20px;right:20px;text-align:center}
.stage{touch-action:pinch-zoom}
.garment{cursor:pointer}
dialog{border:0;padding:40px;width:min(880px,calc(100% - 40px));max-height:calc(100dvh - 40px);background:#fff;color:#111;box-shadow:0 12px 100px #0002}
dialog::backdrop{background:#fff9;backdrop-filter:blur(9px)}
.product-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center}
.product-image{display:block;width:100%;max-height:66vh;object-fit:contain}
.close-product{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;background:none;font-size:30px;cursor:pointer;z-index:2}
.product-brand{font-size:12px;letter-spacing:.13em;color:#777}
.product-info h2{font-size:28px;letter-spacing:-.05em;margin:20px 0 10px;font-weight:500}
.product-price{font-size:23px;margin:0 0 40px}
.sizes{border:0;margin:0;padding:0;display:flex;gap:8px}
.sizes legend{font-size:14px;margin-bottom:14px}
.sizes label{position:relative;cursor:pointer}
.sizes input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.sizes span{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ccc;font-size:14px}
.sizes input:checked+span{background:#111;color:#fff;border-color:#111}
.sizes input:focus-visible+span{outline:2px solid #111;outline-offset:3px}
.selected-size{font-size:12px;color:#777;min-height:16px;margin:14px 0 32px}
.back-collection{background:transparent;border:0;border-bottom:1px solid #111;padding:10px 0;font-size:14px;cursor:pointer}
@media(max-width:600px){dialog{padding:28px 22px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.product-layout{grid-template-columns:1fr;gap:6px}.product-image{height:36dvh}.product-info h2{margin:10px 0 6px;font-size:25px}.product-price{margin-bottom:22px}.selected-size{margin-bottom:16px}}
@media(max-width:600px){:root{--header:100px;--footer:102px}.masthead h1{font-size:29px}.masthead h1 span{font-size:24px}.modes{gap:22px}.motion-control{right:6px}.hint{font-size:12px}}
@media(max-height:480px){:root{--header:65px;--footer:72px}.masthead h1{font-size:25px}.masthead h1 span{font-size:21px}.hint{display:none}}
@media(prefers-reduced-motion:reduce){*,*::after{transition:none!important}}

html,body{background:#fff url('/assets/merch/voces-giro.gif') center/min(120vmin,1100px) no-repeat fixed}
:root{--header:88px}@media(max-width:600px){:root{--header:110px}}
.footer{background:transparent}
.add-cart{display:block;width:100%;max-width:240px;margin:0 0 18px;background:#111;color:#fff;border:0;padding:14px 18px;font-size:14px;letter-spacing:.04em;cursor:pointer}
.add-cart:hover{background:#333}

/* Ajustes de interacción y pantallas pequeñas. Se añaden al CSS conservado. */
html,body{background-size:min(92vmin,900px)}
.stage{touch-action:pan-y pinch-zoom;overscroll-behavior-y:contain}
[data-mode=list] .stage{touch-action:pan-y pinch-zoom;overflow-y:auto;overflow-x:hidden;cursor:default;-webkit-overflow-scrolling:touch}
.garment{will-change:auto;touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent}
/* Native Touch Events choose horizontal manipulation while leaving vertical
   scrolling and two-finger zoom to Safari. Do not pre-cancel them with pan-y. */
[data-native-touch=true][data-mode=globe] .stage,[data-native-touch=true][data-mode=globe] .garment,
[data-native-touch=true][data-mode=stack] .stage,[data-native-touch=true][data-mode=stack] .garment{touch-action:auto}
[data-animating=true] .garment{will-change:transform,opacity}
.texture{transition:none;backface-visibility:visible}
.garment-status{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);display:block;padding:7px 8px 6px;background:#fff;color:#111;border:1px solid #111;font-size:12px;font-weight:700;letter-spacing:.09em;line-height:1;white-space:nowrap;pointer-events:none;backface-visibility:visible;box-shadow:0 1px 4px #0001}
.product-status{display:inline-block;margin:8px 0 12px;padding:8px 10px;border:1px solid #111;font-size:11px;font-weight:700;letter-spacing:.09em;line-height:1.2}
.product-availability{font-size:14px;line-height:1.6;color:#686868;margin:0 0 32px;max-width:250px}
.stage.dragging .garment{cursor:grabbing}
@media(min-width:768px) and (hover:hover) and (pointer:fine){[data-mode=globe] .stage,[data-mode=globe] .garment{touch-action:none}}
.modes button,.motion-control,.close-product,.back-collection,.add-cart{touch-action:manipulation;min-height:44px}
.modes button{min-width:64px}
.hint{max-width:calc(100% - 80px);margin-inline:auto;left:24px;right:24px;bottom:calc(var(--footer) - 2px);font-size:11px}
.motion-control{bottom:calc(var(--footer) - 16px)}
dialog{overscroll-behavior:contain;overflow-y:auto;scrollbar-width:thin;max-height:calc(100svh - 32px);max-height:calc(100dvh - 32px)}
.product-image{user-select:none;-webkit-user-drag:none}
.add-cart{max-width:none}
@media(max-width:767px){
  :root{--header:82px;--footer:92px}
  .stage{inset:var(--header) 0 var(--footer)}
  .footer{padding-bottom:max(env(safe-area-inset-bottom),8px);background:linear-gradient(transparent,#fff 23%)}
  .modes{gap:12px}
  .modes button{padding:15px 10px;font-size:12px}
  .hint{left:12px;right:12px;max-width:calc(100% - 48px);font-size:10px;line-height:1.3;bottom:calc(var(--footer) - 5px)}
  .motion-control{right:0;bottom:calc(var(--footer) - 19px);width:42px}
  .garment:focus-visible{outline:2px solid #111;outline-offset:-6px}
  dialog{padding:32px 20px 22px;width:calc(100% - 16px);max-height:calc(100svh - 24px);max-height:calc(100dvh - 24px);border-radius:6px}
  .product-layout{gap:8px;grid-template-columns:1fr}
  .product-image{height:31svh;height:31dvh;min-height:145px;max-height:270px}
  .product-brand{font-size:10px;margin:4px 0 10px}
  .product-info h2{font-size:24px;margin:8px 0}
  .product-availability{margin-bottom:22px}
  .back-collection{padding:12px 0}
}
@media(max-height:480px){
  :root{--header:58px;--footer:60px}
  .footer{padding-bottom:0}
  .modes button{padding:10px}
  .hint{display:none}
  dialog{padding:24px;max-height:calc(100dvh - 16px)}
  .product-layout{grid-template-columns:1fr 1fr;gap:24px}
  .product-image{height:65dvh;min-height:0}
  .product-info h2{font-size:22px}
  .product-brand{margin:0 0 8px}
  .product-availability{margin-bottom:16px}
}
