:root {
  --fondo: #fff;
  --gris: #f2f2f2;
  --tinta: #1a1a1a;
  --suave: #7d7d7d;
  --linea: #e6e6e6;
  --azul: #1a1a1a;
  --rojo: #c8402c;
  --verde: #1f8a4c;
  --radio: 10px;
  --sombra: none;
  --margen: clamp(16px, 3.4vw, 44px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 15px/1.6 Montserrat, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(22px, 2.2vw, 30px); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.chico { margin: 0; font-size: 12px; color: var(--suave); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; min-width: 150px; padding: 0 26px; border-radius: 8px; border: 0; background: #e9e9e9; color: var(--tinta); font-size: 13px; font-weight: 500; text-decoration: none; transition: background .25s, color .25s, transform .2s; }
.btn:hover { background: var(--tinta); color: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / .14); }
.btn--ok, .btn--ok:hover { background: var(--verde); color: #fff; box-shadow: none; }
.btn:active { transform: scale(.98); }
.btn--negro { background: var(--tinta); color: #fff; }
.btn--negro:hover { background: #3a3a3a; }
.btn--claro { background: rgb(255 255 255 / .16); color: #fff; }
.btn--claro:hover { background: #fff; color: var(--tinta); }
.btn--link { min-width: 0; padding: 0 6px; background: none; color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bdbdbd; }
.btn--link:hover { background: none; color: var(--tinta); text-decoration-color: currentColor; box-shadow: none; }

/* íconos finos */
.ico { position: relative; width: 38px; height: 38px; padding: 8px; border: 0; background: none; color: inherit; border-radius: 50%; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ico__n { position: absolute; top: 3px; right: 1px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--tinta); color: #fff; font-size: 9px; font-weight: 600; line-height: 15px; text-align: center; }

/* barra de arriba */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 30px; height: 64px; padding: 0 var(--margen); color: var(--tinta); background: rgb(255 255 255 / .96); transition: color .35s, background .35s; }
.top--oscuro { color: #fff; background: transparent; }
.top--oscuro .ico__n { background: #fff; color: var(--tinta); }
.logo { font-size: 14px; font-weight: 500; letter-spacing: .38em; text-decoration: none; }
.menu { display: flex; gap: 28px; position: absolute; left: 50%; transform: translateX(-50%); }
.menu a { font-size: 12px; text-decoration: none; opacity: .72; transition: opacity .2s; }
.menu a:hover { opacity: 1; }
.top__der { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dolar { font-size: 11px; opacity: .72; white-space: nowrap; }
.dolar b { font-weight: 500; }
.hamb { display: none; }
.hamb svg { fill: currentColor; stroke: none; }

/* portada */
.portada-caja { height: 310vh; height: 310svh; background: #000; }
.ligero .portada-caja { height: 200svh; }
.quieto .portada-caja { height: auto; }
.portada { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; color: #fff; }
.portada__velo { position: absolute; inset: 0; z-index: 3; background: #000; opacity: .8; pointer-events: none; }
.vitrina { height: 500vh; height: 500svh; }
.ligero .vitrina, .quieto .vitrina { height: auto; }
.pliegue { height: 440vh; height: 440svh; }
.ligero .pliegue { height: 330svh; }
.quieto .pliegue { height: auto; }
.portada__escena { position: absolute; inset: 0; z-index: 0; isolation: isolate; overflow: hidden; background: #000; }
.capa { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; will-change: transform; }
#capaLente, #capaCerrada, #capaColores { width: 2520px; height: 1224px; }
#capaCerrada { z-index: 1; opacity: 0; }
#capaColores { opacity: 0; }
.portada__sombra { position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgb(0 0 0 / .86), rgb(0 0 0 / .5) 26%, rgb(0 0 0 / 0) 56%), linear-gradient(180deg, rgb(0 0 0 / .4), rgb(0 0 0 / 0) 18%); pointer-events: none; }
.iris { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.lectura { position: absolute; z-index: 2; right: calc(var(--margen) + 66px); bottom: clamp(30px, 7vh, 66px); display: flex; gap: 22px; font-size: 11px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .62); opacity: 0; pointer-events: none; }
#fNum { min-width: 42px; color: #fff; }
.portada__a { position: absolute; z-index: 2; left: var(--margen); bottom: clamp(30px, 7vh, 66px); max-width: 620px; }
.portada__a h1 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 300; line-height: 1.12; letter-spacing: -.015em; }
.linea { display: block; overflow: hidden; padding-bottom: .08em; }
.linea > span { display: block; }
.portada__a p { margin: 14px 0 24px; font-size: 14px; color: rgb(255 255 255 / .78); }
.portada__b { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(90px, 16vh, 150px); text-align: center; opacity: 0; visibility: hidden; }
.portada__b h2 { font-size: clamp(26px, 3.4vw, 46px); font-weight: 300; }
.portada__b p { margin: 10px 0 0; font-size: 14px; color: rgb(255 255 255 / .72); }

/* pantalla dividida: vitrina, Duo y canje comparten el esquema */
.vitrina__fijo, .pliegue__fijo { position: sticky; top: 0; display: grid; grid-template-columns: 1fr 1fr; height: 100vh; height: 100svh; background: var(--fondo); overflow: hidden; }
.quieto .vitrina__fijo, .quieto .pliegue__fijo { position: relative; }
.vitrina__flecha { display: none; position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; padding: 10px; background: #fff; }
.ligero .vitrina__flecha, .quieto .vitrina__flecha { display: block; }
.vitrina__flecha--izq { left: 12px; }
.vitrina__flecha--der { right: 12px; }
.vitrina__foto, .pliegue__foto { position: relative; background: var(--gris); overflow: hidden; }
.v-foto { position: absolute; inset: 19% 16% 17%; perspective: 1200px; touch-action: pan-y; }
.v-foto:not(:first-child) { opacity: 0; visibility: hidden; }
.v-giro { position: absolute; inset: 0; transform-style: preserve-3d; }
.v-flota { position: absolute; inset: 0; }
.activa .v-flota { animation: flotar 4.6s ease-in-out infinite; }
.v-sombra { position: absolute; left: 22%; right: 22%; bottom: -7%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .2), rgb(0 0 0 / .08) 55%, transparent); }
.activa .v-sombra { animation: sombra 4.6s ease-in-out infinite; }
@keyframes flotar { 0%, 100% { transform: translate3d(0, 7px, 0) rotate(-.5deg); } 50% { transform: translate3d(0, -8px, 0) rotate(.5deg); } }
@keyframes sombra { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .62; } }
.capas { position: relative; display: block; width: 100%; height: 100%; }
.capas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s ease; }
.vitrina__mas { position: absolute; top: 76px; right: var(--margen); }
.vitrina__puntos, .ficha__puntos { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; }
.vitrina__puntos button, .ficha__puntos button { width: 22px; height: 28px; padding: 0; border: 0; background: none; position: relative; }
.vitrina__puntos button::after, .ficha__puntos button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #bbb; transition: background .25s, transform .25s; }
.vitrina__puntos button.on::after, .ficha__puntos button.on::after { background: var(--tinta); transform: scale(1.25); }
.vitrina__n { position: absolute; left: var(--margen); bottom: 34px; font-size: 11px; color: var(--suave); }
.vitrina__info { position: relative; }
.v-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px clamp(24px, 9vw, 130px) 30px; }
.v-info:not(:first-child) { opacity: 0; visibility: hidden; }
.v-info h2 { margin: 6px 0 18px; font-weight: 500; font-size: clamp(22px, 2vw, 28px); }
.v-info__desc { margin: 0 0 22px; max-width: 42ch; font-size: 13px; line-height: 1.75; color: #555; }
.puntos { display: flex; align-items: center; gap: 7px; min-height: 16px; }
.puntos button { width: 13px; height: 13px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), 0 0 0 0 #fff, 0 0 0 0 var(--tinta); position: relative; transition: box-shadow .3s cubic-bezier(.2, .7, .2, 1); }
.puntos button::before { content: ''; position: absolute; inset: -7px; }
.puntos button.on { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), 0 0 0 2px #fff, 0 0 0 3px var(--tinta); }
.puntos--grandes { gap: 12px; margin-bottom: 26px; }
.puntos--grandes button { width: 18px; height: 18px; }
.puntos--grandes .chico { margin-left: 6px; }
.v-info__precio { margin: 0 0 30px; }
.v-info__precio b { display: block; font-size: 17px; font-weight: 500; }
.v-info__precio span { font-size: 12px; color: var(--suave); }
.v-info__btns { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

/* iPhone Duo */
.pliegue__fijo { grid-template-columns: 1.35fr .65fr; }
.pliegue__foto { display: flex; align-items: center; justify-content: center; perspective: 1700px; perspective-origin: 50% 50%; }
.duo-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; touch-action: pan-y; }
.con3d .duo-canvas { opacity: 1; }
.con3d .duo3d { display: none; }
.duo-sombra { position: absolute; left: 50%; bottom: 9%; width: 56%; height: 34px; margin-left: -28%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .18), rgb(0 0 0 / .07) 55%, transparent); opacity: 0; }
.con3d .duo-sombra { opacity: 1; }
.pliegue__dato { min-height: 138px; margin-bottom: 18px; }
.pliegue__dato b { display: block; font-size: clamp(38px, 4.4vw, 62px); font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pliegue__dato p { margin: 6px 0 0; max-width: 30ch; font-size: 13px; line-height: 1.7; color: #555; }
.duo3d { position: relative; width: min(82%, 86vh); aspect-ratio: 1191 / 852; transform-style: preserve-3d; }
.duo3d__der, .duo3d__izq, .duo3d__cara { position: absolute; top: 0; bottom: 0; width: 50%; }
.duo3d__der { left: 50%; overflow: hidden; border-radius: 0 7% 7% 0 / 0 5% 5% 0; background: url(img/c/duo-plano.webp) right center / 200% 100%; }
.duo3d__izq { left: 0; transform-origin: 100% 50%; transform-style: preserve-3d; }
.duo3d__cara { inset: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.duo3d__cara--dentro { border-radius: 7% 0 0 7% / 5% 0 0 5%; background: url(img/c/duo-plano.webp) left center / 200% 100%; }
.duo3d__cara--fuera { border-radius: 9% / 6.4%; background: url(img/c/duo-tapa.webp) center / 100% 100%; transform: rotateY(180deg); }
.duo3d__luz { position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgb(0 0 0 / .1), #000); }
#luzDer { background: #000; }
.pliegue__info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px clamp(20px, 4vw, 60px) 30px; }
.pliegue__info h2 { margin: 6px 0 20px; font-weight: 500; font-size: clamp(22px, 2vw, 28px); }
.precio-grande { margin: 0; font-size: 17px; font-weight: 500; }
.pliegue__info .btn { margin-top: 28px; }

/* catálogo */
.catalogo { padding: clamp(70px, 10vw, 130px) var(--margen) 40px; }
.catalogo__cab { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 14px 40px; margin-bottom: 34px; }
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; padding: 6px 0; background: none; font-size: 12px; color: var(--suave); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.tabs button:hover { color: var(--tinta); }
.tabs button.on { color: var(--tinta); border-color: var(--tinta); }
.grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 14px; }
.catalogo__mas { display: flex; width: 100%; margin-top: 28px; }
.catalogo__mas[hidden] { display: none; }
.tile { position: relative; min-width: 0; }
.tile__marco { position: relative; aspect-ratio: 4 / 5; background: var(--gris); border-radius: 6px; overflow: hidden; margin-bottom: 14px; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.tile .capas { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  .tile:hover .tile__marco { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 38px rgb(0 0 0 / .1); }
  .tile:hover .capas { transform: scale(1.05); }
  .tile:hover .tile__mas { background: #fff; }
}
.tile__foto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; padding: 15% 13%; border: 0; background: none; }
.tile__mas { position: absolute; top: 6px; right: 6px; }
.tile__mas { transition: background .25s, color .25s; }
.tile__mas svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.tile__mas:hover svg, .vitrina__mas:hover svg { transform: rotate(90deg); }
.vitrina__mas svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ico.ok { background: var(--tinta) !important; color: #fff; }
.tile__etq { position: absolute; left: 12px; top: 12px; font-size: 11px; color: #555; }
.tile h3 { font-size: 13px; font-weight: 500; }
.tile__precio { margin: 3px 0 0; font-size: 13px; }
.tile__precio s { color: var(--suave); font-size: 12px; }
.tile__ars { margin: 0 0 9px; font-size: 12px; color: var(--suave); }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.3, .8, .2, 1); }

/* dólar de hoy */
.dolar-hoy { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 40px; padding: clamp(80px, 13vw, 170px) var(--margen); }
.dolar-hoy__texto { margin: 0; max-width: 24em; font-size: clamp(24px, 3.2vw, 42px); font-weight: 300; line-height: 1.3; }
.dolar-hoy__cifra { text-align: right; }
.dolar-hoy__cifra b { display: block; margin-top: 4px; font-size: clamp(24px, 3vw, 40px); font-weight: 300; white-space: nowrap; }

/* canje */
.canje { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.canje__foto { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 80px 40px 50px; background: var(--gris); }
.canje__img { width: min(70%, 380px); height: min(44vh, 400px); }
.canje__res { text-align: center; }
.canje__monto { margin: 2px 0 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; font-variant-numeric: tabular-nums; }
.canje__info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px clamp(24px, 9vw, 130px) 50px; }
.canje__info h2 { margin: 6px 0 26px; font-weight: 500; }
.canje__form { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 400px; }
.canje__form label, .canje__form legend { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--suave); }
.canje__form select { appearance: none; padding: 11px 34px 11px 0; border: 0; border-bottom: 1px solid var(--linea); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d7d7d' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") no-repeat right 4px center; color: var(--tinta); font: inherit; font-size: 14px; }
.rango { position: relative; }
.rango output { position: absolute; right: 0; top: 0; color: var(--tinta); }
input[type=range] { accent-color: var(--tinta); width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 7px; }
.seg { display: flex; gap: 6px; }
.seg button { flex: 1 1 auto; border: 0; background: var(--gris); border-radius: 6px; padding: 9px 8px; font-size: 12px; transition: background .2s, color .2s; }
.seg button.on { background: var(--tinta); color: #fff; }
.canje__det { margin: 20px 0 22px; max-width: 400px; font-size: 13px; color: #555; }
.canje__det b { font-weight: 500; color: var(--tinta); }

/* garantías */
.garantias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: clamp(70px, 9vw, 120px) var(--margen); }
.garantias h3 { margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.garantias p { margin: 0 0 8px; max-width: 36ch; font-size: 13px; line-height: 1.75; color: #555; }
.garantias .btn--link { min-height: 30px; padding: 0; font-size: 13px; }

/* pie */
.pie { overflow: hidden; background: var(--gris); }
.pie__marca { margin: 0; padding: 40px 0 0; font-size: 25vw; font-weight: 300; line-height: .9; letter-spacing: .02em; text-align: center; color: #e4e4e4; user-select: none; }
.pie__in { display: flex; justify-content: space-between; gap: 30px; padding: 26px var(--margen) 34px; font-size: 11px; color: var(--suave); }
.pie p { margin: 0; }
.pie__demo { max-width: 520px; text-align: right; }

/* pantalla de carga: solo mientras baja la primera foto */
.carga { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding-top: 150px; color: #fff; pointer-events: none; transition: opacity .35s, visibility .35s; animation: cargaFin .4s 7s forwards; }
.carga.fuera { opacity: 0; visibility: hidden; }
.carga span { font-size: 13px; font-weight: 500; letter-spacing: .42em; margin-right: -.42em; }
@keyframes cargaFin { to { opacity: 0; visibility: hidden; } }

/* de cerca */
.cerca { position: relative; min-height: 100vh; background: #000; color: #f5f5f5; overflow: hidden; display: flex; align-items: center; }
.cerca__foto { position: absolute; inset: 0; }
.cerca__foto img { object-fit: cover; object-position: 70% 50%; }
.cerca__panel { position: relative; z-index: 1; width: min(340px, 100%); margin: 90px 0 50px var(--margen); }
.cerca__panel h2 { margin-bottom: 18px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; }
.cerca__caja, .acordeon details { background: rgb(24 24 26 / .92); border-radius: 18px; }
.cerca__caja { padding: 18px 20px 2px; margin-bottom: 8px; }
.cerca__caja p { margin: 0 0 3px; font-size: 13px; }
.cerca__caja b { font-weight: 500; }
.cerca__caja .chico { color: #9a9a9a; margin-bottom: 14px; font-size: 11px; }
.cerca .puntos--grandes { margin-bottom: 18px; }
.cerca .puntos button.on { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 0 0 2px #000, 0 0 0 3px #fff; }
.acordeon { display: flex; flex-direction: column; gap: 8px; }
.acordeon summary { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::before { content: '+'; font-size: 17px; font-weight: 300; line-height: 1; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.acordeon details[open] summary::before { transform: rotate(45deg); }
.acordeon p { margin: 0; padding: 0 20px 16px 40px; font-size: 12px; line-height: 1.7; color: #a9a9a9; }

/* carrusel 3D */
.flujo { padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); background: var(--gris); text-align: center; overflow: hidden; }
.flujo__pista { position: relative; height: clamp(400px, 56vh, 520px); margin-top: 34px; perspective: 1300px; cursor: grab; touch-action: pan-y; user-select: none; outline-offset: -6px; }
.flujo__pista.agarrado { cursor: grabbing; }
.carta { position: absolute; left: 50%; top: 50%; width: clamp(230px, 24vw, 320px); height: 100%; margin-left: calc(clamp(230px, 24vw, 320px) / -2); display: flex; flex-direction: column; align-items: center; padding: 26px 22px 22px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 22px 46px rgb(0 0 0 / .1); transform-origin: 50% 50%; }
.carta__foto { flex: 1; width: 100%; min-height: 0; margin-bottom: 14px; pointer-events: none; }
.carta__foto img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.carta b { font-size: 17px; font-weight: 500; }
.carta small { margin-top: 2px; font-size: 12px; color: var(--suave); }
.flujo__btns { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.flujo__btns .chico { min-width: 60px; }

/* foto que vuela al carrito */
.vuelo { position: fixed; z-index: 90; object-fit: contain; pointer-events: none; }

/* carrito */
.velo { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / .4); animation: aparecer .25s; }
@keyframes aparecer { from { opacity: 0; } }
.carro { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(420px, 100%); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgb(0 0 0 / .15); transform: translateX(105%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.carro.abierto { transform: none; }
.carro__cab { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--gris); }
.carro__cab h3 { font-size: 22px; }
.x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--gris); font-size: 22px; line-height: 1; color: var(--suave); }
.carro__lista { flex: 1; overflow-y: auto; padding: 8px 22px; }
.vacio { text-align: center; color: var(--suave); padding: 60px 10px; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--gris); }
.item__foto { height: 74px; display: flex; justify-content: center; }
.item__foto svg { height: 100%; width: auto; }
.item b { display: block; font-size: 15px; font-weight: 600; }
.item span { font-size: 13px; color: var(--suave); }
.item__der { text-align: right; font-size: 15px; font-weight: 600; }
.item__der button { display: block; margin: 6px 0 0 auto; border: 0; background: none; color: var(--azul); font-size: 13px; padding: 0; }
.carro__pie { padding: 18px 22px 22px; border-top: 1px solid var(--gris); }
.carro__pie h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--suave); }
.opciones { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.opciones label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--linea); font-size: 14px; cursor: pointer; }
.opciones label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--tinta); }
.opciones label small { margin-left: auto; color: var(--suave); }
.opciones input { accent-color: var(--tinta); }
.fila { display: flex; justify-content: space-between; font-size: 14px; margin: 4px 0; }
.fila--canje { color: var(--verde); }
.fila--total { margin-top: 10px; font-size: 20px; font-weight: 600; }
.fila--total span:last-child { text-align: right; }
.fila--total small { display: block; font-size: 13px; font-weight: 400; color: var(--suave); }
.carro__pie .btn { width: 100%; margin-top: 16px; min-height: 50px; }

/* pago dentro de la página */
.pago { position: fixed; inset: 0; z-index: 75; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgb(0 0 0 / .55); animation: aparecer .25s; }
.pago[hidden] { display: none; }
.pago__caja { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow: hidden; display: grid; grid-template-columns: 1.25fr .85fr; border-radius: 30px; background: #fff; animation: subir .35s cubic-bezier(.2, .8, .2, 1); }
.pago__caja > .x { position: absolute; top: 18px; right: 18px; z-index: 2; }
.pago__form { padding: 36px 40px; overflow-y: auto; max-height: calc(100vh - 40px); }
.pasos { display: flex; gap: 22px; margin-bottom: 26px; font-size: 13px; color: #aeaeb2; }
.pasos span { position: relative; padding-bottom: 8px; }
.pasos span.on { color: var(--tinta); font-weight: 600; }
.pasos span.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--tinta); }
.pasos span.hecho { color: var(--verde); }
.paso h3 { font-size: 28px; margin-bottom: 20px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.campos label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--suave); }
.campos .ancho { grid-column: 1 / -1; }
.campos input, .campos select { padding: 13px 14px; border-radius: 12px; border: 1px solid var(--linea); background: #fff; font: inherit; font-size: 16px; color: var(--tinta); outline: none; transition: box-shadow .15s, border-color .15s; }
.campos input:focus, .campos select:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgb(0 113 227 / .18); }
.campos input.mal { border-color: var(--rojo); box-shadow: 0 0 0 3px rgb(232 67 45 / .14); }
.campos select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.paso__btns { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.opciones--grandes label { padding: 14px 16px; gap: 14px; }
.opciones--grandes div { display: flex; flex-direction: column; }
.opciones--grandes span { font-size: 13px; color: var(--suave); }
.opciones--grandes small { font-size: 14px; font-weight: 600; color: var(--tinta); }
#pDir { margin-top: 18px; }
.metodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.metodos button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); font-size: 14px; font-weight: 600; text-align: left; }
.metodos button.on { box-shadow: inset 0 0 0 2px var(--tinta); }
.metodos svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.metodos small { font-size: 12px; font-weight: 400; color: var(--suave); }
.tarjeta-vista { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1.586; margin: 0 auto 22px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #2c2c2e, #0f0f10 60%, #1d1d1f); color: #fff; box-shadow: 0 18px 40px rgb(0 0 0 / .25); font-family: 'SF Mono', ui-monospace, Menlo, monospace; transition: background .4s; }
.tarjeta-vista.visa { background: linear-gradient(135deg, #1a1f71, #0a0d3d 60%, #1d1d1f); }
.tarjeta-vista.master { background: linear-gradient(135deg, #3a3a3c, #1c1c1e 55%, #4a1f10); }
.tarjeta-vista.amex { background: linear-gradient(135deg, #2e77bc, #0b3d6b 60%, #1d1d1f); }
.tv__chip { position: absolute; top: 22px; left: 22px; width: 42px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #e8d49a, #b89649); }
.tv__num { position: absolute; left: 22px; right: 22px; top: 44%; font-size: clamp(16px, 4.4vw, 21px); letter-spacing: .08em; white-space: nowrap; }
.tv__nom { position: absolute; left: 22px; bottom: 20px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv__ven { position: absolute; right: 22px; bottom: 20px; font-size: 12px; letter-spacing: .06em; }
.tv__marca { position: absolute; top: 22px; right: 22px; font: 700 15px Inter, sans-serif; font-style: italic; letter-spacing: 0; }
.pago__nota { margin: -6px 0 16px; font-size: 12px; color: var(--suave); }
.transf { padding: 18px 20px; border-radius: 16px; background: var(--gris); margin-bottom: 20px; font-size: 14px; }
.transf p { margin: 0 0 12px; color: #424245; }
.transf dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; }
.transf dt { color: var(--suave); } .transf dd { margin: 0; font-weight: 600; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.subir { display: block; padding: 12px; border: 1.5px dashed var(--linea); border-radius: 12px; text-align: center; color: var(--azul); cursor: pointer; }
.subir input { display: none; }
.btn--pagar { min-width: 200px; min-height: 50px; }
.pago__seguro { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; font-size: 12px; color: var(--suave); }
.pago__seguro svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.paso--procesando, .paso--listo { text-align: center; padding: 30px 0 10px; }
.paso--procesando h3, .paso--listo h3 { margin-bottom: 8px; }
.paso--procesando p, .ok__sub { margin: 0; color: var(--suave); }
.spinner { width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%; border: 4px solid var(--gris); border-top-color: var(--tinta); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.tilde { width: 84px; height: 84px; margin: 0 auto 22px; }
.tilde svg { fill: none; stroke: var(--verde); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tilde circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: trazo .6s ease-out forwards; }
.tilde path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: trazo .4s .45s ease-out forwards; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
.ok__resumen { margin: 22px auto 18px; padding: 16px 18px; border-radius: 16px; background: var(--gris); text-align: left; font-size: 14px; max-width: 440px; }
.ok__resumen .fila { margin: 6px 0; }
.ok__pasos { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; }
.ok__pasos div { flex: 1; max-width: 150px; padding: 12px 8px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); font-size: 12px; color: var(--suave); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ok__pasos b { width: 26px; height: 26px; border-radius: 50%; background: var(--gris); display: grid; place-items: center; font-size: 12px; color: var(--tinta); }
.ok__pasos div:first-child b { background: var(--verde); color: #fff; }
.pago__resumen { background: var(--gris); padding: 36px 30px; overflow-y: auto; max-height: calc(100vh - 40px); font-size: 14px; }
.pago__resumen h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--suave); }
.pago__resumen .item { padding: 12px 0; grid-template-columns: 54px 1fr auto; }
.pago__resumen .item__foto { height: 62px; }
.pago__resumen .fila--total { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linea); }
.pago__cuotas { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 13px; color: #424245; }
.pago__cuotas b { color: var(--tinta); }

/* ficha: pantalla dividida */
.ficha { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; background: rgb(0 0 0 / .5); animation: aparecer .25s; }
.ficha[hidden] { display: none; }
.ficha__caja { position: relative; width: min(1180px, 100%); height: min(720px, 94vh); display: grid; grid-template-columns: 1fr 1fr; background: #fff; overflow: hidden; animation: subir .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes subir { from { transform: translateY(26px); opacity: 0; } }
.ficha__flecha { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 11px; background: #fff; transition: background .2s, color .2s, transform .25s; }
.ficha__flecha[hidden] { display: none; }
.ficha__flecha--izq { left: 14px; }
.ficha__flecha--der { right: 14px; }
.ficha__flecha:hover { background: var(--tinta); color: #fff; }
.ficha__flecha:active { transform: scale(.94); }
.ficha__caja > .x { position: absolute; top: 16px; right: 16px; }
.ficha__foto { position: relative; background: var(--gris); overflow: hidden; }
#fFoto { position: absolute; inset: 12% 12% 14%; display: flex; align-items: center; justify-content: center; }
#fFoto { cursor: zoom-in; }
#fFoto.cubre { inset: 0; }
#fFoto.cubre img { object-fit: cover; object-position: 50% 0; }
.ficha__info { overflow-y: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 50px clamp(26px, 6vw, 80px); }
.ficha__info h3 { margin: 6px 0 16px; font-size: 24px; font-weight: 500; }
.ficha__desc { margin: 0 0 22px; font-size: 13px; line-height: 1.75; color: #555; }
.caps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.caps button { border: 0; padding: 9px 14px; border-radius: 6px; background: var(--gris); font-size: 12px; transition: background .2s, color .2s; }
.caps button.on { background: var(--tinta); color: #fff; }
.ficha__precio { margin: 0; font-size: 18px; font-weight: 500; }
.ficha__precio s { font-size: 13px; font-weight: 400; color: var(--suave); }
.ficha__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.ficha__lista { margin: 24px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--suave); }
.ficha__lista li { padding: 3px 0; }

/* asistente */
.chat-btn { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 13px 18px 13px 15px; border: 0; border-radius: 999px; background: var(--tinta); color: #fff; font-size: 15px; font-weight: 500; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.chat-btn svg { width: 20px; height: 20px; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: min(380px, calc(100% - 24px)); height: min(600px, calc(100vh - 100px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 24px 70px rgb(0 0 0 / .25); animation: subir .3s cubic-bezier(.2, .8, .2, 1); }
.chat[hidden] { display: none; }
.chat__cab { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--tinta); color: #fff; }
.chat__cab b { display: block; font-size: 16px; }
.chat__cab span { font-size: 12px; color: #a1a1a6; display: flex; align-items: center; gap: 6px; }
.chat__cab i { width: 7px; height: 7px; border-radius: 50%; background: #30d158; }
.chat__cab .x { background: #2c2c2e; color: #d2d2d7; }
.chat__msjs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--gris); }
.msj { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.42; animation: aparecer .25s; }
.msj--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.msj--yo { align-self: flex-end; background: var(--azul); color: #fff; border-bottom-right-radius: 6px; }
.msj b { font-weight: 600; }
.msj .btn { margin-top: 8px; min-height: 32px; padding: 0 14px; font-size: 13px; }
.escribiendo { display: flex; gap: 4px; padding: 14px; }
.escribiendo span { width: 7px; height: 7px; border-radius: 50%; background: #aeaeb2; animation: rebote 1s infinite; }
.escribiendo span:nth-child(2) { animation-delay: .15s; } .escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes rebote { 50% { transform: translateY(-4px); opacity: .5; } }
.chat__chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: none; border: 0; padding: 7px 12px; border-radius: 999px; background: var(--gris); font-size: 13px; }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; }
.chat__form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; background: var(--gris); padding: 11px 16px; font: inherit; font-size: 15px; outline: none; }
.chat__form button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--azul); color: #fff; font-size: 18px; font-weight: 600; }
.chat__nota { margin: 0; padding: 0 14px 12px; font-size: 11px; color: var(--suave); text-align: center; }

.aviso { position: fixed; left: 50%; top: 76px; z-index: 80; transform: translate(-50%, -14px); padding: 12px 20px; border-radius: 999px; background: var(--tinta); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s; white-space: nowrap; }
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }

/* retoques del carrito, pago y asistente al lenguaje nuevo */
.x { width: 32px; height: 32px; background: none; font-size: 22px; font-weight: 300; color: var(--tinta); }
.x:hover { background: var(--gris); }
.carro { box-shadow: none; }
.carro__cab h3, .paso h3 { font-size: 18px; font-weight: 500; }
.item__foto img { height: 100%; width: 100%; object-fit: contain; }
.item b { font-size: 13px; font-weight: 500; }
.item span { font-size: 12px; }
.item__der { font-size: 13px; font-weight: 500; }
.fila--total { font-size: 16px; font-weight: 500; }
.pago__caja { border-radius: 4px; }
.campos input, .campos select { border-radius: 6px; font-size: 14px; }
.campos input:focus, .campos select:focus { border-color: var(--tinta); box-shadow: none; }
.metodos button { border-radius: 8px; font-size: 13px; font-weight: 500; }
.chat-btn { padding: 13px; right: var(--margen); background: #fff; color: var(--tinta); box-shadow: 0 0 0 1px var(--linea); }
.chat-btn[hidden] { display: none; }
.chat { border-radius: 8px; right: var(--margen); box-shadow: 0 0 0 1px var(--linea), 0 24px 60px rgb(0 0 0 / .12); }
.chat__cab { background: #fff; color: var(--tinta); border-bottom: 1px solid var(--linea); }
.chat__cab b { font-size: 14px; font-weight: 500; }
.chat__cab .x { background: none; color: var(--tinta); }
.msj { font-size: 13px; }
.chat__chips button { font-size: 12px; }
.chat__form input { font-size: 14px; }

/* responsive */
@media (max-width: 1100px) { .grilla { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .menu { position: fixed; top: 64px; left: 0; right: 0; transform: translateY(-8px); flex-direction: column; gap: 0; margin: 0; padding: 6px var(--margen) 18px; background: #fff; color: var(--tinta); border-bottom: 1px solid var(--linea); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s; }
  .menu a { padding: 12px 0; font-size: 15px; opacity: 1; border-bottom: 1px solid var(--gris); }
  .top--abierto .menu { transform: none; opacity: 1; pointer-events: auto; }
  .top--abierto { background: #fff; color: var(--tinta); }
  .hamb { display: block; }
  .pliegue__fijo { grid-template-columns: 1fr; grid-template-rows: 54% 46%; }
  .vitrina__fijo { position: relative; display: block; height: auto; overflow: visible; }
  .vitrina__foto { height: 50vh; height: 50svh; min-height: 300px; }
  .vitrina__info { display: grid; }
  .v-info { position: relative; inset: auto; grid-area: 1 / 1; padding: 22px var(--margen) 34px; }
  .top--oscuro { background: linear-gradient(rgb(0 0 0 / .78), rgb(0 0 0 / .78) 70%, transparent); }
  .v-foto { inset: 21% 19% 15%; }
  .cerca { display: block; min-height: 0; padding-top: 74vw; }
  .cerca__foto { bottom: auto; height: 96vw; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .cerca__foto img { object-position: 74% 50%; }
  .cerca__panel { width: auto; margin: 0 var(--margen) 40px; }
  .vitrina__mas { top: 68px; }
  .vitrina__puntos { bottom: 6px; }
  .vitrina__n { bottom: 12px; }
  .pliegue__info { padding: 16px var(--margen) 14px; justify-content: flex-start; }
  .v-info h2, .pliegue__info h2 { margin-bottom: 10px; }
  .v-info__desc { margin-bottom: 14px; }
  .puntos--grandes { margin-bottom: 16px; }
  .v-info__precio { margin-bottom: 16px; }
  .pliegue__dato { min-height: 84px; margin-bottom: 6px; }
  .pliegue__dato b { font-size: 30px; }
  .pliegue__dato p { margin-top: 2px; }
  .pliegue__info h2 { margin: 2px 0 4px; font-size: 19px; }
  .pliegue__info .puntos--grandes { margin-bottom: 10px; }
  .pliegue__info .btn { margin-top: 10px; min-height: 42px; }
  .lectura { right: auto; left: var(--margen); bottom: 12px; }
  .portada__a { bottom: 44px; }
  .pliegue__info .btn { margin-top: 14px; }
  .pliegue__foto { padding-top: 56px; }
  .duo-canvas { top: 64px; height: calc(100% - 64px); }
  .portada__a { right: var(--margen); }
  .duo3d { width: min(84%, 60vh); }
  .canje { grid-template-columns: 1fr; min-height: 0; }
  .canje__foto { padding: 76px 20px 26px; gap: 14px; }
  .canje__img { height: 30svh; width: min(62%, 300px); }
  .canje__info { padding: 40px var(--margen) 50px; }
  .dolar-hoy { grid-template-columns: 1fr; gap: 20px; padding: 64px var(--margen); }
  .dolar-hoy__cifra { text-align: left; }
  .garantias { grid-template-columns: 1fr; gap: 26px; }
  .pie__in { flex-direction: column; padding-bottom: 90px; }
  .pie__demo { text-align: left; }
  .ficha { padding: 0; align-items: flex-end; }
  .ficha__caja { grid-template-columns: 1fr; grid-template-rows: 40% 60%; height: 94vh; height: 94svh; border-radius: 12px 12px 0 0; }
  .ficha__info { justify-content: flex-start; padding: 22px var(--margen) 26px; }
  .pago { padding: 0; align-items: flex-end; }
  .pago__caja { grid-template-columns: 1fr; border-radius: 12px 12px 0 0; max-height: 94vh; overflow-y: auto; }
  .pago__form { padding: 26px 18px 30px; max-height: none; overflow: visible; }
  .pago__resumen { max-height: none; padding: 22px 18px 30px; }
  .campos { grid-template-columns: 1fr; }
  .metodos { grid-template-columns: 1fr; }
  .metodos button { flex-direction: row; align-items: center; gap: 10px; }
  .metodos svg { margin: 0; }
  .metodos small { margin-left: auto; }
  .ok__pasos { flex-wrap: wrap; }
  .chat { right: 0; bottom: 0; width: 100%; height: 88vh; border-radius: 12px 12px 0 0; }
}
/* celulares bajos: que Comprar siga entrando en pantalla */
@media (max-width: 860px) and (max-height: 720px) {
  .pliegue__fijo { grid-template-rows: 47% 53%; }
  .pliegue__info .chico:first-child { display: none; }
  .pliegue__dato { min-height: 74px; }
  .pliegue__dato b { font-size: 26px; }
  .pliegue__dato p { font-size: 12px; line-height: 1.5; }
}
@media (max-width: 620px) {
  .grilla { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .dolar { font-size: 10px; }
  .top { gap: 12px; }
  .catalogo__cab { flex-direction: column; }
  .tabs { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-group(*) { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .v-flota, .v-sombra { animation: none; }
}
