/* Hudson Row · tienda demo (Nueva York, moda minimalista de calle) */
:root {
  --tinta: #111214;
  --papel: #f4f4f3;
  --blanco: #fff;
  --niebla: #d8d8d9;      /* el gris de fondo de las fotos */
  --linea: #dcdcdb;
  --suave: #6b6c70;
  --claro: #f6f6f4;
  --letra: 'Figtree', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --lado: clamp(16px, 4vw, 56px);
  --salida: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--papel); color: var(--tinta); font: 400 16px/1.55 var(--letra); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
.hero :focus-visible { outline-color: #fff; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Encabezado ---------- */
/* Encabezado limpio: enlaces chicos a la izquierda, la marca al centro y la bolsa a la derecha */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 22px var(--lado); color: var(--claro); transition: background .3s, color .3s, padding .3s; }
.top.solido { background: rgba(244, 244, 243, .94); color: var(--tinta); padding-block: 14px; backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.marca { justify-self: center; font: 800 22px/1 var(--letra); letter-spacing: -.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
/* la marca del encabezado aparece cuando el nombre grande de la portada ya salió de la pantalla */
.top.con-marca .marca { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.menu { display: flex; gap: 24px; justify-self: start; }
.menu a { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-underline-offset: 5px; }
.bolsa-btn { position: relative; justify-self: end; padding: 8px; margin-right: -8px; }
.bolsa-btn span { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 8px; background: var(--claro); color: var(--tinta); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.top.solido .bolsa-btn span { background: var(--tinta); color: var(--claro); }

/* ---------- Portada: ocupa justo la pantalla, sin asomar lo de abajo ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; color: var(--claro); overflow: hidden; background: #0c0c0a; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 38%; }
.hero__velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 52%, rgba(0,0,0,.6) 100%); }
.hero__texto { position: absolute; inset: auto 0 0 0; padding: 0 var(--lado) clamp(20px, 3.4vw, 40px); }
.hero__nombre { font: 800 clamp(48px, 11vw, 220px)/.86 var(--letra); letter-spacing: -.045em; text-transform: uppercase; display: flex; flex-wrap: nowrap; gap: 0 .16em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__nombre span { display: block; overflow: hidden; padding: .06em .02em .08em; margin: -.06em -.02em -.08em; }
.hero__pie { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(14px, 2vw, 26px); padding-top: 16px; border-top: 1px solid rgba(255,255,255,.4); }
.hero__pie p { max-width: 34ch; font-size: 15px; }
.boton { display: inline-block; padding: 14px 26px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.boton--claro { background: var(--claro); color: var(--tinta); }
.boton--claro:hover { background: transparent; color: var(--claro); border-color: var(--claro); }
.boton--oscuro { background: var(--tinta); color: var(--claro); }
.boton--oscuro:hover { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.boton--ancho { display: block; width: 100%; }
.boton[aria-disabled="true"] { opacity: .35; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__nombre span { animation: sube 1s var(--salida) both; }
  .hero__nombre span:nth-child(2) { animation-delay: .12s; }
  @keyframes sube { from { transform: translateY(110%); } to { transform: none; } }
}

/* ---------- Build my outfit (el estilista) ---------- */
.estilista { background: var(--papel); padding: clamp(56px, 8vw, 110px) var(--lado) clamp(48px, 7vw, 96px); }
.estilista__cab { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 24px 48px; margin-bottom: clamp(26px, 3.4vw, 46px); }
.sobretitulo { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.estilista h2 { font: 800 clamp(38px, 6.6vw, 104px)/.9 var(--letra); letter-spacing: -.045em; text-transform: uppercase; }
.estilista__intro { max-width: 40ch; font-size: 16px; color: var(--suave); }
.est-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding: 22px 0; border-top: 1px solid var(--tinta); }
.est-grupo { display: flex; flex-wrap: wrap; gap: 8px; }
.est-chip { padding: 11px 20px; border: 1px solid var(--linea); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .15s, color .15s, border-color .15s; }
.est-chip:hover { border-color: var(--tinta); }
.est-chip[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: var(--blanco); }
.est-form { display: flex; align-items: stretch; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--linea); }
.est-form input { flex: 1; min-width: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--tinta); border-radius: 0; background: transparent; font: inherit; font-size: 16px; color: var(--tinta); }
.est-form input::placeholder { color: #86878b; }
.est-form .boton { padding: 14px 26px; }
.est-form .boton:disabled { opacity: .4; pointer-events: none; }
.est-panel { display: grid; grid-template-columns: minmax(260px, 440px) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 80px); padding-top: clamp(28px, 4vw, 52px); }
.est-foto { position: relative; aspect-ratio: 786 / 982; background: var(--niebla); overflow: hidden; }
.est-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease, filter .3s; }
.est-img.on { opacity: 1; }
.est-panel.carga .est-img.on { opacity: .5; filter: grayscale(1); }
.est-etiqueta { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 40px 20px 18px; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.est-detalle { max-width: 600px; min-height: 220px; }
.est-detalle > * { animation: est-entra .5s var(--salida) both; }
@keyframes est-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.est-intro { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.est-nombre { margin-top: 10px; font: 800 clamp(34px, 5vw, 72px)/.92 var(--letra); letter-spacing: -.04em; text-transform: uppercase; }
.est-nombre:focus { outline: none; }
.est-desc { max-width: 46ch; margin-top: 16px; font-size: 17px; color: var(--suave); }
.est-piezas { margin-top: 26px; border-top: 1px solid var(--linea); }
.est-piezas li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--linea); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.est-piezas b { font-weight: 500; letter-spacing: .02em; color: var(--suave); font-variant-numeric: tabular-nums; }
.est-total { display: flex; justify-content: space-between; padding: 16px 0 24px; font-size: 18px; }
.est-total b { font-weight: 700; font-variant-numeric: tabular-nums; }
.est-leyenda { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.est-tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.est-tallas .talla[aria-disabled="true"] { pointer-events: auto; cursor: not-allowed; }
.est-pista { margin-top: 10px; font-size: 12.5px; color: var(--suave); }
.est-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.est-acciones .boton { flex: 1 1 220px; padding: 18px 20px; }
.boton--borde { background: transparent; border-color: var(--tinta); color: var(--tinta); }
.boton--borde:hover { background: var(--tinta); color: var(--claro); }
.est-nota { margin-bottom: 20px; padding: 14px 16px; border-left: 2px solid var(--tinta); background: var(--blanco); font-size: 15px; }
.est-vacio { max-width: 24ch; font: 800 clamp(22px, 2.8vw, 36px)/1.06 var(--letra); letter-spacing: -.03em; text-transform: uppercase; }
.est-pregunta { margin-bottom: 18px; font-size: 18px; }
.est-carga { display: grid; gap: 12px; }
.est-carga span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.est-carga i { display: block; height: 16px; background: linear-gradient(90deg, #e6e6e4 25%, #f8f8f7 50%, #e6e6e4 75%) 0 0 / 200% 100%; animation: brilla 1.3s linear infinite; }
.est-carga i:nth-of-type(1) { width: 62%; height: 44px; } .est-carga i:nth-of-type(2) { width: 100%; } .est-carga i:nth-of-type(3) { width: 78%; }
@keyframes brilla { to { background-position: -200% 0; } }
.linea small.linea__piezas { font-size: 12px; line-height: 1.4; }
@media (max-width: 900px) {
  .estilista__cab { grid-template-columns: 1fr; }
  .est-panel { grid-template-columns: 1fr; }
  .est-foto { width: min(100%, 380px); }
  .est-form { flex-direction: column; gap: 6px; }
  .est-form .boton { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .est-detalle > *, .est-carga i { animation: none; } .est-img { transition: none; } }

/* ---------- Novedades ---------- */
.coleccion { padding: clamp(56px, 8vw, 110px) var(--lado) clamp(48px, 7vw, 90px); }
.coleccion__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 40px); }
.coleccion h2, .cinta h2 { font: 800 clamp(26px, 3.4vw, 46px)/1 var(--letra); letter-spacing: -.035em; text-transform: uppercase; }
.filtros { display: flex; gap: 22px; }
.filtro { font-size: 14px; font-weight: 500; letter-spacing: .02em; padding: 6px 0; color: var(--suave); border-bottom: 1px solid transparent; }
.filtro.on { color: var(--tinta); border-bottom-color: var(--tinta); }
.grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px) clamp(10px, 1.4vw, 20px); }
.tarjeta__boton { display: block; width: 100%; text-align: left; }
.tarjeta__fotos { position: relative; aspect-ratio: 786 / 992; background: var(--niebla); overflow: hidden; }
.tarjeta__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .8s var(--salida); }
.tarjeta__fotos img + img { opacity: 0; }
@media (hover: hover) { .tarjeta__boton:hover .tarjeta__fotos img + img { opacity: 1; } .tarjeta__boton:hover .tarjeta__fotos img:first-child { transform: scale(1.02); } }
.tarjeta__boton:active .tarjeta__fotos { transform: scale(.985); transition: transform .15s; }
.tarjeta__pie { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.tarjeta__pie span { font-variant-numeric: tabular-nums; color: var(--suave); letter-spacing: .02em; }
.tarjeta[hidden] { display: none; }

/* ---------- Cinta: todas las prendas deslizándose ---------- */
.cinta { background: var(--blanco); padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 84px); overflow: hidden; }
.cinta__cab { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--lado); margin-bottom: clamp(22px, 3vw, 38px); }
.cinta__ventana { overflow: hidden; }
.cinta__pista { display: flex; gap: clamp(10px, 1.4vw, 20px); width: max-content; animation: cinta 55s linear infinite; }
.cinta__ventana:hover .cinta__pista, .cinta__ventana:focus-within .cinta__pista { animation-play-state: paused; }
.cinta-p { display: block; width: clamp(150px, 19vw, 280px); text-align: left; flex: none; }
.cinta-p__foto { aspect-ratio: 786 / 992; background: var(--niebla); overflow: hidden; }
.cinta-p__foto img { width: 100%; height: 100%; object-fit: cover; }
.cinta-p b { display: block; margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.cinta-p span { font-size: 13px; color: var(--suave); font-variant-numeric: tabular-nums; }
@keyframes cinta { to { transform: translateX(calc(-50% - clamp(5px, .7vw, 10px))); } }
@media (prefers-reduced-motion: reduce) { .cinta__ventana { overflow-x: auto; } .cinta__pista { animation: none; } }

/* ---------- Sobre la marca ---------- */
.sobre { padding: clamp(56px, 8vw, 120px) var(--lado); background: var(--tinta); color: var(--claro); }
.sobre h2 { font: 800 clamp(28px, 4vw, 58px)/1 var(--letra); letter-spacing: -.035em; text-transform: uppercase; max-width: 16ch; }
.sobre > p { max-width: 58ch; margin-top: clamp(20px, 3vw, 34px); color: #c9c9c6; font-size: 17px; }
.datos { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(34px, 5vw, 70px); border-top: 1px solid rgba(255,255,255,.25); }
.datos li { padding: 20px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.datos b { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.datos span { color: #b9b9b6; font-size: 15px; max-width: 30ch; }

/* ---------- Pie ---------- */
.pie { padding: clamp(40px, 6vw, 80px) var(--lado) 28px; border-top: 1px solid var(--linea); overflow: hidden; }
.pie__marca { font: 800 clamp(40px, 11vw, 210px)/.86 var(--letra); text-transform: uppercase; letter-spacing: -.045em; white-space: nowrap; margin-bottom: clamp(24px, 4vw, 48px); }
.pie__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 40px; }
.pie h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.pie p { font-size: 15px; color: var(--suave); }
.pie__demo { margin-top: 40px; font-size: 13px; }

/* ---------- Ficha de producto (como QuietStyle: foto al centro, datos a los lados) ---------- */
.ficha { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; border: 0; padding: 0; background: var(--blanco); color: var(--tinta); overflow: auto; }
.ficha:not([open]) { display: none; }
.ficha[open] { display: block; animation: ficha-entra .5s var(--salida) both; }
.ficha.sale { animation: ficha-sale .26s ease-in both; }
@keyframes ficha-entra { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ficha-sale { to { opacity: 0; transform: translateY(18px); } }
.ficha[open] .ficha__izq, .ficha[open] .ficha__der { animation: ficha-lado .7s .15s var(--salida) both; }
.ficha[open] .visor { animation: ficha-foto .8s .05s var(--salida) both; }
@keyframes ficha-lado { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ficha-foto { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.ficha__barra { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--lado) 0; }
.ficha__marca { position: absolute; left: 50%; translate: -50% 0; font: 800 22px/1 var(--letra); letter-spacing: -.02em; text-transform: uppercase; }
.volver { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border: 1px solid var(--tinta); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.volver:hover { background: var(--tinta); color: var(--blanco); }
.volver i { width: 8px; height: 8px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; rotate: 45deg; }
.ficha__bolsa { position: relative; padding: 8px; }
.ficha__bolsa span { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 8px; background: var(--tinta); color: var(--blanco); font-size: 10px; font-weight: 600; }
.migas { padding: 18px var(--lado) 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.migas b { color: var(--tinta); font-weight: 600; }
.migas i { font-style: normal; padding: 0 10px; opacity: .6; }
.ficha__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 575px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 8px var(--lado) 40px; min-height: calc(100svh - 110px); }
.ficha__izq { justify-self: end; width: min(100%, 300px); }
.ficha__izq h2 { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ficha__precio { font-size: 15px; color: var(--suave); margin-top: 4px; font-variant-numeric: tabular-nums; }
.acordeon { margin-top: 22px; border-top: 1px solid var(--linea); }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font-size: 14px; cursor: pointer; list-style: none; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; rotate: 45deg; transition: rotate .25s; }
.acordeon details[open] summary::after { rotate: 135deg; }
.acordeon .cont { padding: 0 0 16px; font-size: 14px; color: var(--suave); }
.acordeon dl div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 3px 0; }
.acordeon dt { color: var(--tinta); }
.ficha__centro { min-width: 0; }
/* La foto se achica en pantallas bajas para que todo entre sin scroll: así la rueda puede cambiar de foto */
.visor { position: relative; aspect-ratio: 786 / 992; width: min(100%, max(260px, calc((100svh - 250px) * .7923))); margin-inline: auto; background: var(--niebla); overflow: hidden; touch-action: pan-y; }
.pista { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); transition: opacity .5s; }
.pista.usada { opacity: .4; }
.pista i { position: relative; width: 16px; height: 26px; border: 1.5px solid currentColor; border-radius: 9px; }
.pista i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px; border-radius: 1px; background: currentColor; animation: rueda 1.6s ease-in-out infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
@media (hover: none) { .pista i { display: none; } }
@media (prefers-reduced-motion: reduce) { .pista i::after { animation: none; opacity: 1; } }
.visor__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--niebla); will-change: transform; }
.visor__img--frente { transform: translateY(calc(var(--p, 0) * -100%)); }
.visor__img--espalda { transform: translateY(calc((1 - var(--p, 0)) * 100%)); }
.visor.anim .visor__img { transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.flecha { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; display: grid; place-items: center; opacity: .55; transition: opacity .2s; }
.flecha:hover { opacity: 1; }
.flecha--izq { left: 6px; } .flecha--der { right: 6px; }
.flecha i { width: 10px; height: 10px; border-top: 1.8px solid var(--tinta); border-right: 1.8px solid var(--tinta); rotate: 45deg; margin-right: 4px; }
.flecha--izq i { rotate: -135deg; margin: 0 0 0 4px; }
.puntos { display: flex; justify-content: center; gap: 14px; padding-top: 18px; }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #c6c6c8; padding: 0; transition: background .2s, transform .2s; }
.punto.on { background: var(--tinta); transform: scale(1.15); }
.ficha__der { justify-self: start; width: min(100%, 380px); }
.tallas { border: 0; }
#tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.talla { width: 46px; height: 46px; border: 1px solid var(--linea); font-size: 13px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.talla:hover { border-color: var(--tinta); }
.talla[aria-checked="true"] { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.talla[aria-disabled="true"] { color: #b3b3b6; text-decoration: line-through; pointer-events: none; background: #fafafa; }
.aviso { min-height: 22px; margin: 10px 0 6px; font-size: 13px; color: #a02020; }
.ficha .boton { padding: 18px 20px; }
.pagos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pagos li { padding: 3px 7px; border: 1px solid var(--linea); border-radius: 3px; font-size: 10px; font-weight: 600; color: var(--tinta); }

/* ---------- Bolsa ---------- */
.bolsa { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); background: var(--papel); display: flex; flex-direction: column; translate: 100% 0; transition: translate .4s var(--salida); box-shadow: -1px 0 0 var(--linea); }
.bolsa.abierta { translate: 0 0; }
.bolsa__cab { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--linea); }
.bolsa__cab h2 { font: 800 22px/1 var(--letra); text-transform: uppercase; letter-spacing: -.02em; }
.bolsa .cerrar { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--tinta); padding: 6px 0; }
.bolsa__lista { flex: 1; overflow: auto; padding: 8px 24px; }
.bolsa__vacia { padding: 40px 0; color: var(--suave); }
.linea { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); align-items: start; }
.linea img { width: 72px; aspect-ratio: 786 / 992; object-fit: cover; background: var(--niebla); }
.linea b { display: block; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.linea small { display: block; color: var(--suave); font-size: 13px; margin-top: 2px; }
.linea__cant { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--linea); }
.linea__cant button { width: 32px; height: 32px; font-size: 16px; }
.linea__cant span { min-width: 28px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.linea__precio { font-size: 14px; font-variant-numeric: tabular-nums; }
.bolsa__pie { padding: 20px 24px 24px; border-top: 1px solid var(--linea); display: grid; gap: 12px; }
.bolsa__envio { font-size: 13px; color: var(--suave); }
.bolsa__total { display: flex; justify-content: space-between; font-size: 18px; }
.bolsa__total b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bolsa__nota { font-size: 12.5px; color: var(--suave); }
.telon { position: fixed; inset: 0; z-index: 55; background: rgba(17,18,20,.45); animation: velo .3s ease both; }
@keyframes velo { from { opacity: 0; } }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .grilla { grid-template-columns: repeat(2, 1fr); }
  .top { gap: 12px; padding-block: 18px; }
  .menu a:not(:first-child) { display: none; }
  .marca { font-size: 19px; }
  .hero { min-height: 520px; }
  .hero__foto { object-position: 56% 40%; }
  .hero__nombre { flex-wrap: wrap; font-size: clamp(56px, 17vw, 170px); }
  .hero__pie { flex-direction: column; align-items: flex-start; }
  .datos { grid-template-columns: 1fr; }
  .datos li { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .pie__cols { grid-template-columns: 1fr; }
  .cinta-p { width: 46vw; }
  .ficha__marca { display: none; }
  .ficha__barra { padding-top: 14px; }
  .volver { padding: 10px 16px; letter-spacing: .1em; }
  .migas { padding-top: 14px; font-size: 11px; letter-spacing: .12em; }
  .ficha__cuerpo { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-top: 14px; }
  .ficha__centro { order: 1; margin-inline: calc(var(--lado) * -1); }
  .ficha__centro .puntos { padding-top: 12px; }
  /* en el celular: foto, nombre y precio, talles y botón, y al final los desplegables */
  .ficha__izq { display: contents; }
  .ficha__izq h2 { order: 2; }
  .ficha__precio { order: 3; margin-top: -14px; }
  .ficha__der { order: 4; justify-self: stretch; width: auto; }
  .acordeon { order: 5; margin-top: 0; }
  .flecha { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tarjeta__fotos img, .bolsa, .visor__img { transition: none; }
  .ficha[open], .ficha.sale, .ficha[open] .ficha__izq, .ficha[open] .ficha__der, .ficha[open] .visor, .telon { animation: none; }
}
