/* aromastarboy · Vitrina. Solo para /vitrina/ (no toca styles.css del catálogo). */
:root { --c: 200,200,200; --c2: 200,200,200; --tinte: #0b0b0b; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #000; }
body.vt { margin: 0; background: #000; color: #fff; font-family: 'Poppins', system-ui, -apple-system, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.vt-cab { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px; pointer-events: none; mix-blend-mode: difference; }
.vt-cab > * { pointer-events: auto; }
.vt-logo img { width: 128px; height: auto; }
.vt-nav { display: flex; gap: 18px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.vt-nav a { text-decoration: none; opacity: .55; }
.vt-nav a[aria-current] { opacity: 1; }

/* 1 · carrusel */
.vt-hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(120% 70% at 50% 10%, #111 0%, #000 60%); cursor: grab; }
.vt-hero:active { cursor: grabbing; }
.vt-piso { position: absolute; inset: 0; pointer-events: none; }
.vt-piso i { position: absolute; left: 50%; bottom: 17%; width: 150vmin; height: 46vmin; transform: translateX(-50%); border-radius: 50%; filter: blur(28px); }
.vt-piso-a { background: radial-gradient(closest-side, rgba(var(--c),.55), rgba(var(--c),.16) 55%, transparent 100%); }
.vt-piso-b { background: radial-gradient(closest-side, rgba(var(--c2),.55), rgba(var(--c2),.16) 55%, transparent 100%); opacity: 0; }
.vt-piso::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.65)); }
.vt-escena { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 42%; }
.vt-anillo { position: absolute; left: 50%; top: 47%; width: 0; height: 0; transform-style: preserve-3d; }
.vt-item { position: absolute; left: 0; top: 0; width: min(46vw, 300px); height: min(62vw, 400px); margin: calc(min(62vw, 400px) / -2) 0 0 calc(min(46vw, 300px) / -2);
  transform-style: preserve-3d; will-change: transform, filter; pointer-events: none; }
.vt-item img, .vt-vol img { -webkit-user-drag: none; }
.vt-vol { position: absolute; inset: 0; transform-style: preserve-3d; }
.vt-vol img, .vt-brillo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.vt-capa { transform: translateZ(calc(var(--k) * -1 * var(--g, 2.2px))); filter: brightness(calc(.62 - var(--k) * .07)) saturate(1.2); display: none; }
.vt-vol[data-vidrio="claro"] .vt-capa { opacity: .55; filter: brightness(calc(.85 - var(--k) * .06)); }
.vt-vol[data-vidrio="opaco"] .vt-capa { filter: brightness(calc(.5 - var(--k) * .06)); }
/* tapa separada en Z: el cuerpo se recorta debajo del corte y la tapa arriba */
.vt-tapa { display: none; }
.vt-con-tapa .vt-cuerpo { clip-path: inset(var(--corte) 0 0 0); }
.vt-con-tapa .vt-tapa { display: block; clip-path: inset(0 0 var(--resto) 0); }
.vt-con-tapa .vt-tapa-cara { transform: translateZ(14px); }
.vt-con-tapa .vt-capa.vt-tapa { transform: translateZ(calc(14px - var(--k) * 2px)); }
.vt-item:not(.vt-cerca) .vt-capa.vt-tapa { display: none; }
.vt-cerca .vt-capa, .vt-frasco .vt-capa { display: block; }
.vt-cara { transform: translateZ(0); }
.vt-brillo { transform: translateZ(.5px); pointer-events: none; mix-blend-mode: screen; opacity: .85;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.04) 42%, rgba(255,255,255,.42) 49%, rgba(255,255,255,.06) 56%, transparent 68%) no-repeat;
  background-size: 260% 100%; background-position: var(--sx, 50%) 0;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 50% 100%; mask-position: 50% 100%; }
.vt-item .vt-ref { position: absolute; left: 0; right: 0; top: 100%; height: 100%; transform: scaleY(-1); opacity: .22;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 38%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 38%); }
.vt-item::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: -8px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.95), rgba(0,0,0,.5) 60%, transparent); transform: translateZ(-14px); }
.vt-info { position: absolute; left: 0; right: 0; bottom: calc(118px + env(safe-area-inset-bottom, 0px)); text-align: center; padding: 0 16px; pointer-events: none; }
.vt-marca { margin: 0 0 6px; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.vt-nombre { margin: 0; font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.02em; font-size: clamp(2rem, 9vw, 5.6rem); text-wrap: balance; }
.vt-precio { margin: 10px 0 0; font-weight: 300; font-size: .95rem; letter-spacing: .08em; color: rgba(255,255,255,.8); }
.vt-ctrl { position: absolute; left: 0; right: 0; bottom: calc(52px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; align-items: center; gap: 22px; }
.vt-flecha { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.vt-flecha:hover, .vt-flecha:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); outline: none; }
.vt-flecha svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; }
.vt-cuenta { font-size: .72rem; letter-spacing: .24em; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.7); min-width: 64px; text-align: center; }
.vt-bajar { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0; text-align: center; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* 2 · detalle (sticky + scrub) */
.vt-detalle { position: relative; height: 420vh; }
.vt-fijo { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.vt-tinte { position: absolute; inset: 0; background: radial-gradient(90% 70% at 72% 55%, color-mix(in srgb, var(--tinte) 100%, #fff 6%), var(--tinte) 55%, #000 120%); opacity: 0; }
.vt-gigante { position: absolute; top: 50%; left: 0; margin: 0; transform: translateY(-50%); white-space: nowrap; font-weight: 800; text-transform: uppercase;
  font-size: clamp(7rem, 34vw, 26rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); opacity: 0; will-change: transform; }
.vt-frasco { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(44vw, 380px); height: min(64vh, 560px); margin: calc(min(64vh, 560px) / -2) 0 0 calc(min(44vw, 380px) / -2); will-change: transform; }
.vt-frasco { perspective: 900px; }
.vt-frasco .vt-cara { filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.vt-sombra { position: absolute; left: 15%; right: 15%; bottom: -10px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.7); filter: blur(10px); z-index: -1; }
.vt-datos { position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 58%; padding: 96px 0 40px 6vw; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 4.2vh, 42px); }
.vt-dato { position: relative; max-width: 360px; opacity: 0; }
.vt-dato small { display: block; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.vt-dato p { margin: 0; font-size: clamp(.86rem, 1.6vw, 1.15rem); line-height: 1.35; font-weight: 400; }
.vt-dato-precio p { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
.vt-linea { position: absolute; left: calc(100% + 14px); top: 1.55em; height: 1px; width: var(--l, 120px); background: linear-gradient(to right, rgba(255,255,255,.85), rgba(255,255,255,.35)); transform-origin: 0 50%; transform: scaleX(0); }
.vt-linea::after { content: ''; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.vt-wa { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 600; font-size: .9rem; text-decoration: none; letter-spacing: .01em; transition: transform .2s; }
.vt-wa:active { transform: scale(.97); }

/* 3 · trío con parallax */
.vt-trio { position: relative; padding: 14vh 5vw calc(70px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(var(--tinte), #000 40%); text-align: center; }
.vt-trio-t { margin: 0 0 8vh; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.vt-trio-fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw; max-width: 980px; margin: 0 auto 12vh; align-items: end; }
.vt-mini { background: none; border: 0; padding: 0; cursor: pointer; text-align: center; will-change: transform; }
.vt-mini img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 22px rgba(0,0,0,.6)); }
.vt-mini b { display: block; margin-top: 14px; font-size: clamp(.7rem, 2.6vw, 1rem); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.vt-mini span { display: block; margin-top: 4px; font-size: .72rem; color: rgba(255,255,255,.6); }
.vt-wa-grande { margin: 0 auto; }
.vt-volver { display: block; margin-top: 22px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.vt-nojs { padding: 120px 20px; text-align: center; }

/* teléfono */
@media (max-width: 640px) {
  .vt-logo img { width: 104px; }
  .vt-anillo { top: 43%; }
  .vt-frasco { width: 46vw; height: 52vh; margin: -26vh 0 0 -23vw; }
  .vt-datos { width: 60%; padding: 84px 0 28px 18px; gap: 18px; }
  .vt-dato p { font-size: .82rem; }
  .vt-dato-precio p { font-size: 1.55rem; }
  .vt-wa { min-height: 44px; padding: 0 16px; font-size: .8rem; }
  .vt-wa-grande { padding: 0 20px; font-size: .86rem; }
  .vt-linea { left: calc(100% + 8px); }
}

/* sin animaciones: todo visible y en su lugar, sin scroll largo */
.vt-rm .vt-detalle { height: auto; }
.vt-rm .vt-fijo { position: relative; height: auto; min-height: 100svh; }
.vt-rm .vt-tinte, .vt-rm .vt-dato { opacity: 1; }
.vt-rm .vt-linea { transform: none; }
.vt-rm .vt-frasco { left: auto; right: 4vw; margin-left: 0; }
.vt-rm .vt-gigante { display: none; }

.vt-rm .vt-capa { display: none !important; }
.vt-rm .vt-con-tapa .vt-tapa-cara { transform: none; }
.vt-vol:not(.vt-con-tapa) .vt-tapa { display: none !important; }
