/* ==========================================================
   Landing de tienda de ropa · estilos (mobile-first)
   Paleta "Esmeralda & Rubor"
   ========================================================== */

/* ---------- Variables (cambia aquí la paleta del cliente) ---------- */
:root {
  /* Paleta "Esmeralda & Rubor": boutique tropical */
  --selva-950: #0E2A24;       /* esmeralda profundo: header, footer, secciones oscuras */
  --selva-900: #133830;
  --selva-800: #1A4A3F;
  --selva-600: #2F6B5C;
  --rosa: #B23A5E;            /* frambuesa: botones principales (texto blanco 5.7:1) */
  --rosa-hover: #962D4E;
  --rosa-suave: #F8E1E6;
  --oro: #D9B77E;             /* champaña: acentos (siempre con texto oscuro) */
  --oro-suave: #F5EAD6;
  --oro-texto: #7E5A1A;       /* dorado legible sobre fondos claros */
  --salvia: #A8C5B5;
  --salvia-texto: #2F6B5C;
  --salvia-suave: #E1EEE7;
  --wa: #25D366;              /* WhatsApp (con texto oscuro) */
  --wa-hover: #1EBE5B;
  --marfil: #FBF7F4;          /* fondo principal */
  --rubor: #F6E6E3;           /* fondo de secciones alternas (rosa empolvado) */
  --papel: #FFFDFC;           /* tarjetas */
  --tinta: #1B1F1D;
  --gris: #5F6662;
  --borde: #EBDDDA;

  --radio: 18px;
  --radio-lg: 28px;
  --sombra: 0 1px 2px rgba(27, 31, 29, .04), 0 8px 24px rgba(27, 31, 29, .08);
  --sombra-lg: 0 24px 60px rgba(14, 42, 36, .22);
  --header-h: 72px;
  --f-titulo: "Bodoni Moda", "Didot", Georgia, serif;
  --f-texto: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--marfil); color: var(--tinta);
  font: 400 1rem/1.65 var(--f-texto);
  -webkit-font-smoothing: antialiased;
}
/* Evita scroll horizontal por animaciones. "clip" (no "hidden") para no romper sticky. */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--rosa); }
p { margin: 0 0 1em; }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--oro); color: var(--selva-950); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.seccion { padding: 88px 0; }
.seccion--compacta { padding: 64px 0 24px; }
.seccion--rubor { background: var(--rubor); }
.seccion--oscura { background: var(--selva-950); color: rgba(255, 255, 255, .78); }
.seccion--oscura h2 { color: #fff; }
.seccion--oscura h2 em { color: var(--oro); }
.seccion__head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.seccion__head h2 { font-size: clamp(2.1rem, 6vw, 3.3rem); }
.seccion__head p { color: var(--gris); font-size: 1.08rem; margin: 0; }
.seccion__head p .ph-fill { color: var(--rosa); vertical-align: -2px; }
.seccion__head--fila { text-align: left; max-width: none; margin-bottom: 28px; }
.seccion--oscura .seccion__head p { color: rgba(255, 255, 255, .72); }
.seccion--oscura .seccion__head a { color: var(--oro); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  padding: 6px 14px; border-radius: 999px; background: var(--oro-suave); color: var(--oro-texto);
  font: 800 .74rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase;
}
.seccion--oscura .eyebrow, .eyebrow--oscura { background: rgba(217, 183, 126, .14); color: var(--oro); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1rem/1 var(--f-texto); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn i { font-size: 1.3em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--bloque { width: 100%; }
.btn--primario { background: var(--rosa); color: #fff; box-shadow: 0 10px 24px rgba(178, 58, 94, .3); }
.btn--primario:hover { background: var(--rosa-hover); }
.btn--borde { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.btn--borde:hover { background: var(--tinta); color: #fff; }
.btn--wa { background: var(--wa); color: var(--selva-950); box-shadow: 0 10px 24px rgba(37, 211, 102, .28); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--oscuro { background: var(--selva-800); color: #fff; }
.btn--oscuro:hover { background: var(--selva-950); }
.btn--dorado { background: var(--oro); color: var(--selva-950); box-shadow: 0 10px 24px rgba(217, 183, 126, .25); }
.btn--dorado:hover { background: #E4C792; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: var(--tinta); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn i { font-size: 1.15rem; }

/* ---------- Anuncio ---------- */
.anuncio {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px;
  padding: 8px 16px; background: var(--oro); color: var(--selva-950);
  font-size: .88rem; font-weight: 700; text-align: center; line-height: 1.3;
}
.anuncio i { font-size: 1.1rem; flex: none; }
#anuncio-txt { transition: opacity .35s, transform .35s var(--ease); }
#anuncio-txt.saliendo { opacity: 0; transform: translateY(-6px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 42, 36, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header__inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: #fff; min-width: 0; }
.logo img { width: 44px; height: 44px; flex: none; transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(-12deg) scale(1.05); }
.logo__texto { display: flex; flex-direction: column; min-width: 0; }
.logo__nombre { font: 600 1.32rem/1.05 var(--f-titulo); white-space: nowrap; letter-spacing: -.01em; }
.logo__nombre em { color: var(--oro); font-weight: 500; }
.logo__eslogan { font: 700 .6rem/1.5 var(--f-texto); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); white-space: nowrap; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: rgba(255, 255, 255, .8); font-weight: 500; transition: color .2s, background-color .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.icono-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.35rem;
  transition: background-color .2s;
}
.icono-btn:hover { background: rgba(255, 255, 255, .08); }
.icono-btn__n {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--oro); color: var(--selva-950); font: 800 .7rem/20px var(--f-texto); text-align: center;
}
.icono-btn.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); } }
.header__cta { min-height: 44px; padding: 0 18px; flex: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none; place-items: center;
  border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; font-size: 1.6rem;
}
.nav-toggle .ico-cerrar, .nav-toggle[aria-expanded="true"] .ico-abrir { display: none; }
.nav-toggle[aria-expanded="true"] .ico-cerrar { display: inline; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--selva-950); border-bottom: 1px solid rgba(255, 255, 255, .08);
    clip-path: inset(0 0 100% 0); transition: clip-path .35s var(--ease); visibility: hidden;
  }
  .nav.abierto { clip-path: inset(0); visibility: visible; }
  .nav ul { flex-direction: column; padding: 8px 16px 20px; }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .header__inner { gap: 6px; }
  .logo { gap: 8px; padding-right: 4px; }
  .logo__eslogan { display: none; }
  .logo__nombre { font-size: 1.1rem; }
  .logo img { width: 36px; height: 36px; }
  /* En celular WhatsApp ya está en el botón flotante y en la barra de la bolsa */
  .header__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.hero::before { width: 560px; height: 560px; right: -160px; top: -180px; background: radial-gradient(circle, rgba(242, 196, 208, .6), transparent 68%); }
.hero::after { width: 460px; height: 460px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(168, 197, 181, .3), transparent 68%); }
.hero__grid { display: grid; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.hero__texto { max-width: 600px; }
.hero h1 { font-size: clamp(2.8rem, 10vw, 5.2rem); font-weight: 500; line-height: 1.02; margin-bottom: 22px; letter-spacing: -.025em; }
.hero h1 em { font-weight: 500; }
.hero__sub { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--gris); max-width: 520px; margin-bottom: 30px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; }

.rating {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 16px 8px 8px;
  border-radius: 999px; background: var(--papel); border: 1px solid var(--borde); box-shadow: var(--sombra);
  text-decoration: none; font-size: .9rem; color: var(--gris);
}
.rating:empty { display: none; }
.rating__g { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--marfil); color: #4285F4; font-size: .95rem; }
.rating strong { color: var(--tinta); }
.estrellas { color: var(--oro); letter-spacing: 1px; font-size: .95rem; }
.rating .estrellas { color: #C9962F; }
.estrellas .vacia { color: rgba(0, 0, 0, .14); }

.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; font-size: .92rem; color: var(--gris); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust i { font-size: 1.2rem; color: var(--rosa); }
.estado { font-weight: 700; color: var(--tinta); }
.estado:empty { display: none; }
.estado::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rosa); flex: none; }
.estado[data-estado="abierto"]::before { background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: latido 2s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.hero__visual { position: relative; width: 100%; max-width: 460px; margin: 0 auto; padding: 0 0 0 28px; }
.hero__foto { margin: 0; overflow: hidden; background: var(--rubor); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__foto--principal { border-radius: 260px 260px var(--radio-lg) var(--radio-lg); box-shadow: var(--sombra-lg); aspect-ratio: 5 / 6; }
.hero__foto--mini {
  position: absolute; left: 0; bottom: -28px; width: 38%; aspect-ratio: 4 / 5;
  border-radius: var(--radio); border: 6px solid var(--marfil); box-shadow: var(--sombra-lg);
}
.sello-giro {
  position: absolute; right: -6px; top: -14px; width: 112px; height: 112px; border-radius: 50%;
  background: var(--selva-950); padding: 6px; animation: girar 18s linear infinite;
}
.sello-giro text { fill: var(--oro); font: 700 10.4px var(--f-texto); letter-spacing: 2.3px; text-transform: uppercase; }
@keyframes girar { to { transform: rotate(360deg); } }
.flotante {
  position: absolute; right: -8px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: var(--papel); color: var(--tinta); box-shadow: var(--sombra-lg);
  animation: flotar 6s ease-in-out infinite;
}
.flotante strong { display: block; font: 600 1.02rem/1.2 var(--f-titulo); }
.flotante small { color: var(--gris); font-size: .8rem; }
.flotante__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--salvia-suave); color: var(--salvia-texto); font-size: 1.3rem; }
@keyframes flotar { 50% { transform: translateY(-10px); } }
.flotante--producto { border: 0; cursor: pointer; text-align: left; font: inherit; padding: 8px 16px 8px 8px; }
.flotante--producto img { width: 48px; height: 64px; border-radius: 10px; object-fit: cover; background: #fff; }
.flotante--producto small { display: block; color: var(--rosa); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.flotante--producto em { font-style: normal; font-weight: 800; font-size: .9rem; }
.flotante--producto > i { margin-left: 4px; font-size: 1.2rem; color: var(--rosa); transition: transform .3s var(--ease); }
.flotante--producto:hover > i { transform: translate(2px, -2px); }
@media (max-width: 520px) {
  .flotante--producto { max-width: 62%; right: -6px; bottom: -22px; gap: 8px; padding: 6px 10px 6px 6px; }
  .flotante--producto img { width: 40px; height: 54px; }
  .flotante--producto strong { font-size: .88rem; }
  .flotante--producto > i { display: none; }
}
.chip-flotante {
  position: absolute; left: 14%; top: 9%; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 999px; background: rgba(255, 253, 252, .92); backdrop-filter: blur(6px); box-shadow: var(--sombra);
  color: var(--selva-800); font-size: .8rem; font-weight: 800;
}
.chip-flotante i { color: var(--salvia-texto); font-size: 1rem; }
.hero__visual::before {
  content: ""; position: absolute; z-index: -1; left: -26%; top: 4%; width: 74%; aspect-ratio: 320 / 380;
  background: url("../images/hojas.svg") no-repeat center / contain; opacity: .9; transform: rotate(-10deg);
}

@media (max-width: 420px) {
  .chip-flotante { display: none; }
  .sello-giro { width: 92px; height: 92px; right: -4px; }
  .flotante { right: 0; bottom: 24px; padding: 10px 14px 10px 10px; }
  .flotante small { display: none; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 64px; padding-bottom: 104px; min-height: min(780px, calc(100svh - var(--header-h) - 38px)); }
  .hero__visual { max-width: 500px; margin-right: 0; }
}

/* ---------- Portada boutique: panel esmeralda + fotos que cambian ---------- */
.hb { display: grid; overflow: hidden; background: var(--selva-950); color: rgba(255, 255, 255, .8); }
.hb__panel {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  padding: 32px 20px 40px;
}
.hb__panel::after {
  content: ""; position: absolute; z-index: -1; right: -110px; bottom: -90px; width: 340px; aspect-ratio: 320 / 380; opacity: .22;
  background: url("../images/hojas.svg") no-repeat center / contain; transform: rotate(-24deg);
}
.hb__arriba { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.hb__arriba .rating { margin: 0; }
.hb__saludo {
  display: flex; align-items: center; gap: 8px; margin: 0;
  color: var(--oro); font: 800 .72rem/1.3 var(--f-texto); letter-spacing: .16em; text-transform: uppercase;
}
.hb__saludo:empty { display: none; }
.hb__punto { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: latido 2s infinite; flex: none; }
.hb h1 { color: #fff; font-size: clamp(2.5rem, 8vw, 3.9rem); font-weight: 500; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 16px; }
.hb h1 em { color: var(--oro); }
.hb__sub { max-width: 500px; color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 2.4vw, 1.08rem); margin-bottom: 20px; }
.rating--oscuro { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; color: rgba(255, 255, 255, .8); align-self: flex-start; }
.rating--oscuro strong { color: #fff; }
.rating--oscuro .rating__g { background: #fff; }
.hb__trust { margin-top: 20px; color: rgba(255, 255, 255, .75); }
.hb__trust i { color: var(--oro); }
.hb__trust .estado { color: #fff; }

/* Estilista virtual */
.estilista {
  max-width: 540px; padding: 18px; border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 183, 126, .32); backdrop-filter: blur(8px);
}
.estilista__cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.estilista__cabeza span { display: inline-flex; align-items: center; gap: 6px; color: var(--oro); font: 800 .74rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; }
.estilista__cabeza small { color: rgba(255, 255, 255, .65); font-size: .82rem; }
.estilista__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ocasion {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: rgba(255, 255, 255, .88); font: 700 .84rem/1 var(--f-texto);
  transition: background-color .2s, color .2s, border-color .2s;
}
.ocasion i { font-size: 1.1rem; }
.ocasion:hover { border-color: var(--oro); }
.ocasion[aria-checked="true"] { background: var(--oro); border-color: var(--oro); color: var(--selva-950); }
.estilista__texto { min-height: 1.5em; margin: 10px 0; font: italic 500 1.02rem/1.4 var(--f-titulo); color: rgba(255, 255, 255, .85); }
.estilista__prendas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.estilista__prenda {
  display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 10px; border: 0; border-radius: 16px; cursor: pointer;
  background: var(--papel); color: var(--tinta); text-align: left; font: inherit;
  animation: aparecer .45s var(--ease) both; animation-delay: var(--retraso, 0ms); transition: transform .25s var(--ease);
}
.estilista__prenda:hover { transform: translateY(-3px); }
.estilista__prenda img { width: 100%; height: 104px; object-fit: cover; object-position: 50% 30%; border-radius: 11px; background: #fff; }
.estilista__prenda span { padding: 0 4px; font-size: .76rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.estilista__prenda strong { padding: 0 4px; font-size: .8rem; color: var(--rosa); }
.estilista__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.estilista__total { font-size: .88rem; color: rgba(255, 255, 255, .75); }
.estilista__total strong { margin-left: 4px; font: 700 1.35rem/1 var(--f-titulo); color: var(--oro); }
.estilista__wa {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--wa); color: var(--selva-950); font: 800 .86rem/1 var(--f-texto); text-decoration: none; transition: transform .2s var(--ease);
}
.estilista__wa:hover { transform: translateY(-2px); }
.estilista__wa i { font-size: 1.15rem; }

/* Fotos de la portada */
.hb__media { position: relative; overflow: hidden; min-height: 58svh; order: -1; background: var(--selva-900); }
.hb__slides { position: absolute; inset: 0; }
.hb__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 42, 36, .65)); }
.hb__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hb__slide.activa { opacity: 1; animation: acercar 7s ease-out both; }
@keyframes acercar { from { transform: scale(1.12); } to { transform: scale(1); } }
.hb__pie { position: absolute; z-index: 1; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.hb__pie #hb-texto { font: italic 500 1rem/1 var(--f-titulo); letter-spacing: 0; }
.hb__barra { width: 70px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hb__barra span { display: block; height: 100%; width: 0; background: var(--oro); }
.hb__barra span.corre { animation: barraSlide 6s linear forwards; }
@keyframes barraSlide { to { width: 100%; } }
.hb__media .sello-giro { top: 18px; right: 18px; background: var(--selva-950); }
.hb__media .flotante--producto { right: 16px; bottom: 56px; }
@media (min-width: 960px) {
  .hb { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); min-height: min(860px, calc(100svh - var(--header-h) - 38px)); }
  .hb__panel { padding: 36px clamp(28px, 5vw, 80px) 40px; }
  .hb__media { order: 0; min-height: 0; }
  .hb__pie { left: 28px; bottom: 26px; }
  .hb__media .flotante--producto { right: auto; bottom: auto; left: 28px; top: 28px; }
}

/* ---------- Encuentra tu talla ---------- */
.btn-talla {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--selva-950); color: #fff; font: 800 .9rem/1 var(--f-texto); transition: background-color .2s, transform .2s var(--ease);
}
.btn-talla i { color: var(--oro); font-size: 1.15rem; }
.btn-talla:hover { background: var(--rosa); transform: translateY(-2px); }
.btn-talla:hover i { color: #fff; }
.medidas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.entrega--ajuste span { min-height: 46px; }
.talla-resultado { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; }
.talla-resultado:empty { display: none; }
.talla-resultado.ok { background: var(--salvia-suave); color: var(--salvia-texto); }
.talla-resultado.error { background: var(--rosa-suave); color: var(--rosa); }
.talla-resultado strong { font: 700 1.3rem/1 var(--f-titulo); }
.talla-borrar { display: block; margin: 12px auto 0; }
.mi-talla {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin: 2px 0 6px; padding: 3px 9px; border-radius: 999px;
  background: var(--salvia-suave); color: var(--salvia-texto); font-size: .72rem; font-weight: 800;
}
.mi-talla--agotada { background: var(--rubor); color: var(--gris); }
.tallas { row-gap: 16px; }
.talla--tuya { box-shadow: inset 0 0 0 2px var(--oro); }
.talla--tuya::after {
  content: "Tu talla"; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); padding: 1px 6px; border-radius: 999px;
  background: var(--oro); color: var(--selva-950); font-size: .56rem; font-weight: 800; white-space: nowrap;
}

/* ---------- Buscador de la colección ---------- */
.buscador { position: relative; flex: 1 1 220px; max-width: 360px; display: flex; align-items: center; }
.buscador i { position: absolute; left: 13px; font-size: 1.1rem; color: var(--gris); pointer-events: none; }
.buscador input {
  width: 100%; min-height: 42px; padding: 0 14px 0 38px; border: 1.5px solid var(--borde); border-radius: 999px;
  background: var(--papel); color: var(--tinta); font: 500 .92rem/1 var(--f-texto);
}
.buscador input:focus { outline: none; border-color: var(--selva-600); box-shadow: 0 0 0 4px rgba(47, 107, 92, .15); }
.orden { flex-wrap: wrap; }
@media (max-width: 600px) { .buscador { flex-basis: 100%; max-width: none; } }

/* ---------- Completa el look (vista de prenda) ---------- */
.completa { margin: 18px 0 6px; }
.completa__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.completa__item {
  display: flex; flex-direction: column; gap: 3px; padding: 6px 6px 10px; border: 1px solid var(--borde); border-radius: 14px; cursor: pointer;
  background: var(--papel); color: var(--tinta); text-align: left; font: inherit; transition: border-color .2s, transform .2s var(--ease);
}
.completa__item:hover { border-color: var(--rosa); transform: translateY(-2px); }
.completa__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: #fff; }
.completa__item span { padding: 0 3px; font-size: .76rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.completa__item strong { padding: 0 3px; font-size: .8rem; color: var(--rosa); }

/* Lupa sobre la foto */
.pv__principal { cursor: zoom-in; }
.pv__principal img { transition: transform .3s var(--ease); }
.pv__principal.zoom img { transform: scale(1.9); }

/* ---------- Empaque de regalo ---------- */
.regalo { margin-bottom: 14px; padding: 12px 14px; border: 1.5px dashed var(--oro); border-radius: 14px; background: var(--oro-suave); }
.regalo__check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 800; font-size: .92rem; }
.regalo__check input { width: 20px; height: 20px; accent-color: var(--rosa); flex: none; }
.regalo__check span { display: inline-flex; align-items: center; gap: 6px; }
.regalo__check i { color: var(--rosa); font-size: 1.2rem; }
.regalo__check small { color: var(--gris); font-weight: 600; }
.regalo .campo { margin: 10px 0 0; }

/* ---------- Cinta (marquee) ---------- */
.cinta { overflow: hidden; background: var(--selva-950); color: #fff; padding: 16px 0; }
.cinta__pista { display: flex; width: max-content; animation: cinta 40s linear infinite; }
.cinta__pista span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: italic 500 1.4rem/1 var(--f-titulo); white-space: nowrap; }
.cinta__pista i { color: var(--oro); font-size: 1rem; font-style: normal; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Categorías ---------- */
.categorias {
  list-style: none; margin: 0 -20px; padding: 0 20px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 44%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none;
}
.categorias::-webkit-scrollbar { display: none; }
.categoria { scroll-snap-align: start; }
.categoria button {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radio); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--rubor); cursor: pointer; text-align: left; color: #fff;
}
.categoria img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.categoria button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 42, 36, .78)); }
.categoria button:hover img { transform: scale(1.06); }
.categoria__txt { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.categoria__txt strong { display: block; font: 600 1.2rem/1.15 var(--f-titulo); }
.categoria__txt small { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: rgba(255, 255, 255, .85); }
@media (min-width: 720px) {
  .categorias { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .categoria__txt strong { font-size: 1.35rem; }
}

/* ---------- Promo con cuenta regresiva ---------- */
.promo {
  display: grid; overflow: hidden; border-radius: var(--radio-lg); background: var(--selva-950); color: rgba(255, 255, 255, .78);
  box-shadow: var(--sombra-lg);
}
.promo__texto { padding: 36px 24px; }
.promo__texto h2 { color: #fff; font-size: clamp(2rem, 6vw, 3rem); }
.promo__texto h2 em { color: var(--oro); }
.promo__texto p { max-width: 460px; }
.cuenta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 360px; margin: 24px 0 28px; }
.cuenta div { padding: 12px 4px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.cuenta strong { display: block; font: 600 1.9rem/1 var(--f-titulo); color: var(--oro); font-variant-numeric: tabular-nums; }
.cuenta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.promo__media { position: relative; min-height: 320px; background: var(--selva-800); }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.promo__sello {
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--oro); color: var(--selva-950); font: 800 .72rem/1.1 var(--f-texto); text-align: center; text-transform: uppercase; letter-spacing: .08em;
  transform: rotate(10deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.promo__sello strong { display: block; font: 700 1.7rem/1 var(--f-titulo); letter-spacing: 0; }
@media (min-width: 820px) {
  .promo { grid-template-columns: 1.25fr .75fr; }
  .promo__texto { padding: 56px 56px; }
}

/* ---------- Colección: filtros y orden ---------- */
.barra-filtros {
  position: sticky; top: var(--header-h); z-index: 20;
  margin: 0 -20px 12px; padding: 10px 20px;
  background: rgba(246, 230, 227, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.filtros { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.filtros::-webkit-scrollbar { display: none; }
/* En celular, un degradado a la derecha avisa que hay más filtros deslizando */
@media (max-width: 899px) { .filtros { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--borde); border-radius: 999px; background: var(--papel); color: var(--tinta); cursor: pointer;
  font: 600 .95rem/1 var(--f-texto); transition: all .2s var(--ease);
}
.chip i { font-size: 1.2rem; color: var(--rosa); }
.chip:hover { border-color: var(--tinta); }
.chip[aria-pressed="true"] { background: var(--selva-800); border-color: var(--selva-800); color: #fff; }
.chip[aria-pressed="true"] i { color: var(--oro); }
.chip__n { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--rosa-suave); color: var(--rosa); font-size: .72rem; font-weight: 800; }
.chip[aria-pressed="true"] .chip__n { background: var(--oro); color: var(--selva-950); }
.orden { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.orden__n { font-size: .9rem; color: var(--gris); font-weight: 600; }
.orden__sel { position: relative; display: inline-flex; align-items: center; }
.orden__sel i { position: absolute; left: 12px; font-size: 1.1rem; pointer-events: none; }
.orden select {
  min-height: 40px; padding: 0 34px 0 36px; border: 1px solid var(--borde); border-radius: 999px; cursor: pointer;
  background: var(--papel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B1F1D' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--tinta); font-weight: 600; font-size: .9rem; -webkit-appearance: none; appearance: none;
}
@media (min-width: 900px) {
  .barra-filtros {
    top: calc(var(--header-h) + 10px); width: fit-content; max-width: 100%;
    margin: 0 auto 20px; padding: 6px; border-radius: 999px; background: rgba(255, 253, 252, .9); box-shadow: 0 10px 30px rgba(27, 31, 29, .1);
  }
  .chip { border-color: transparent; background: transparent; }
  .chip:hover { border-color: transparent; background: var(--rubor); }
  .orden { margin-bottom: 28px; }
}

/* ---------- Tarjeta de producto ---------- */
.productos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.producto { display: flex; flex-direction: column; min-width: 0; }
.producto__media { position: relative; border-radius: var(--radio); overflow: hidden; background: #fff; aspect-ratio: 3 / 4; box-shadow: var(--sombra); }
.producto__abrir { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.producto__abrir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.producto__abrir .img-2 { opacity: 0; }
@media (hover: hover) {
  .producto:hover .producto__abrir img { transform: scale(1.04); }
  .producto:hover .producto__abrir .img-2 { opacity: 1; }
  .producto:hover .producto__abrir .img-1.tiene-2 { opacity: 0; }
}
.producto__rapido {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: none; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; border-radius: 999px; background: rgba(255, 253, 252, .94); color: var(--tinta); font: 700 .9rem/1 var(--f-texto);
  transform: translateY(12px); opacity: 0; transition: all .3s var(--ease); backdrop-filter: blur(6px); pointer-events: none;
}
@media (hover: hover) and (min-width: 720px) {
  .producto__rapido { display: flex; }
  .producto:hover .producto__rapido, .producto__abrir:focus-visible .producto__rapido { transform: none; opacity: 1; }
}
.tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; font: 800 .68rem/1 var(--f-texto); letter-spacing: .04em; text-transform: uppercase; }
.tag--nuevo { background: var(--selva-950); color: #fff; }
.tag--oferta { background: var(--rosa); color: #fff; }
.tag--top { background: var(--oro); color: var(--selva-950); }
.tag--pocas { background: var(--papel); color: var(--rosa); box-shadow: inset 0 0 0 1px var(--rosa-suave); }

.fav-btn {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 253, 252, .92); color: var(--tinta); cursor: pointer; font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(27, 31, 29, .12); transition: transform .2s var(--ease), color .2s;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn[aria-pressed="true"] { color: var(--rosa); }
.fav-btn.latido i { animation: pop .45s var(--ease); }
.fav-btn--grande { position: static; flex: none; width: 56px; height: 56px; box-shadow: inset 0 0 0 1.5px var(--borde); background: var(--papel); }

.producto__cuerpo { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.producto__nombre { font: 600 1.08rem/1.2 var(--f-titulo); margin: 0; letter-spacing: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
  width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid var(--papel); cursor: pointer;
  background: var(--c); box-shadow: 0 0 0 1px var(--borde); transition: box-shadow .2s;
}
.swatch[aria-pressed="true"], .swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--tinta); }
.swatches--grandes .swatch { width: 36px; height: 36px; border-width: 3px; }
/* área táctil mínima en celular sin agrandar el círculo */
.swatches .swatch { position: relative; }
.swatches .swatch::after { content: ""; position: absolute; inset: -8px; }
.precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 800; font-size: 1.02rem; }
.precio s { color: var(--gris); font-weight: 500; font-size: .88em; }
.precio--oferta strong { color: var(--rosa); }
.precio--grande { font-size: 1.5rem; margin-bottom: 14px; }
.precio__ahorro { padding: 3px 8px; border-radius: 999px; background: var(--rosa-suave); color: var(--rosa); font-size: .72rem; font-weight: 800; }
.btn--add { margin-top: auto; min-height: 42px; padding: 0 14px; gap: 6px; font-size: .9rem; background: var(--papel); color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--borde); }
.btn--add:hover { background: var(--selva-800); color: #fff; box-shadow: none; }
@media (hover: hover) and (min-width: 720px) { .producto .btn--add { display: none; } }

.sin-resultados { padding: 56px 20px; text-align: center; color: var(--gris); }
.sin-resultados i { font-size: 2.6rem; color: var(--rosa); }

@media (min-width: 720px) { .productos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; } }
@media (min-width: 1100px) { .productos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Probador virtual ---------- */
.probador { position: relative; overflow: hidden; isolation: isolate; background: var(--selva-950); color: rgba(255, 255, 255, .78); }
.probador::before, .probador::after {
  content: ""; position: absolute; z-index: -1; width: 300px; aspect-ratio: 320 / 380; opacity: .35;
  background: url("../images/hojas.svg") no-repeat center / contain;
}
.probador::before { left: -90px; top: -40px; transform: rotate(20deg); }
.probador::after { right: -80px; bottom: -60px; transform: rotate(200deg); }
.probador h2 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.1rem); }
.probador h2 em { color: var(--oro); }
.probador__grid { display: grid; gap: 40px; align-items: center; }
.probador__intro p { max-width: 380px; margin: 0 0 24px; font-size: 1.05rem; }
.probador__intro strong { color: var(--oro); }
.btn--claro { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--claro:hover { background: #fff; color: var(--selva-950); }

/* El espejo: un arco con marco dorado */
.espejo-marco { width: 100%; max-width: 380px; margin: 0 auto; padding: 12px; border: 1.5px solid var(--oro); border-radius: 999px 999px 34px 34px; }
.espejo {
  display: grid; grid-template-rows: 44% 56%; aspect-ratio: 3 / 4.3; overflow: hidden;
  border-radius: 999px 999px 24px 24px; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.espejo__mitad { position: relative; overflow: hidden; }
.espejo__mitad + .espejo__mitad { border-top: 1px dashed #E6E2E0; }
.espejo__mitad img { width: 100%; height: 100%; object-fit: cover; }
.espejo__mitad[data-mitad="arriba"] img { object-position: 50% 22%; }
.espejo__mitad[data-mitad="abajo"] img { object-position: 50% 72%; }
.espejo__mitad img.entra-der { animation: entraDer .45s var(--ease); }
.espejo__mitad img.entra-izq { animation: entraIzq .45s var(--ease); }
@keyframes entraDer { from { transform: translateX(35%); opacity: 0; } }
@keyframes entraIzq { from { transform: translateX(-35%); opacity: 0; } }
.espejo__flecha {
  position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; transform: translateY(-50%);
  border: 0; border-radius: 50%; background: rgba(255, 253, 252, .94); color: var(--selva-950); cursor: pointer; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(14, 42, 36, .2); transition: background-color .2s, transform .2s var(--ease);
}
.espejo__flecha:hover { background: var(--oro); }
.espejo__flecha:active { transform: translateY(-50%) scale(.92); }
.espejo__mitad[data-mitad="arriba"] .espejo__flecha { top: 66%; }   /* más abajo para no chocar con la curva del arco */
.espejo__flecha--izq { left: 14px; }
.espejo__flecha--der { right: 14px; }

.probador__ficha { padding: 22px 22px 24px; border-radius: var(--radio-lg); background: var(--papel); color: var(--tinta); box-shadow: var(--sombra-lg); }
.pieza-prob { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--borde); }
.pieza-prob img { width: 48px; height: 64px; border-radius: 10px; object-fit: cover; background: #fff; }
.pieza-prob small { display: block; color: var(--oro-texto); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pieza-prob strong { display: block; font-size: .95rem; line-height: 1.25; }
.pieza-prob span { color: var(--gris); font-size: .82rem; }
.probador__ficha .look__total { padding-top: 16px; }
@media (min-width: 960px) {
  .probador__grid { grid-template-columns: .9fr 1fr .95fr; gap: 48px; }
}

/* ---------- Looks ---------- */
.looks-tabs { display: flex; justify-content: center; gap: 8px; margin: -12px 0 28px; flex-wrap: wrap; }
.looks-tabs button {
  min-height: 44px; padding: 0 20px; border: 1.5px solid var(--borde); border-radius: 999px; background: var(--papel); cursor: pointer;
  font: italic 600 1.05rem/1 var(--f-titulo); color: var(--tinta); transition: all .2s;
}
.looks-tabs button[aria-selected="true"] { background: var(--selva-800); border-color: var(--selva-800); color: #fff; }
.look { display: grid; gap: 24px; animation: aparecer .4s var(--ease); }
.look__collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / 1; }
.look__collage figure { margin: 0; border-radius: var(--radio); overflow: hidden; background: #fff; position: relative; }
.look__collage figure:first-child { grid-row: span 2; border-radius: 200px 200px var(--radio) var(--radio); }
.look__collage img { width: 100%; height: 100%; object-fit: cover; }
.look__collage figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 253, 252, .92);
  font-size: .74rem; font-weight: 700;
}
.look__info { padding: 28px 22px; border-radius: var(--radio-lg); background: var(--papel); box-shadow: var(--sombra); align-self: center; }
.look__info h3 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); font-weight: 500; font-style: italic; margin-bottom: 8px; }
.look__info > p { color: var(--gris); }
.piezas { list-style: none; margin: 18px 0; padding: 0; }
.pieza { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--borde); }
.pieza img { width: 56px; height: 72px; border-radius: 10px; object-fit: cover; background: #fff; }
.pieza strong { display: block; font-size: .95rem; line-height: 1.25; }
.pieza small { color: var(--gris); font-size: .82rem; }
.pieza select, .pieza-prob select {
  min-height: 44px; width: 92px; padding: 0 10px; border: 1.5px solid var(--borde); border-radius: 12px; background: var(--marfil);
  color: var(--tinta); font-weight: 700; font-size: .9rem; cursor: pointer;
}
.pieza select[aria-invalid="true"], .pieza-prob select[aria-invalid="true"] { border-color: var(--rosa); box-shadow: 0 0 0 4px rgba(178, 58, 94, .15); }
.look__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 16px; }
.look__total strong { font: 700 2.2rem/1 var(--f-titulo); color: var(--rosa); }
.look__total s { color: var(--gris); font-size: 1.1rem; }
@media (min-width: 900px) {
  .look { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .look__collage { aspect-ratio: 6 / 5; }
  .look__info { padding: 40px; }
}

/* ---------- Beneficios ---------- */
.beneficios-wrap { padding: 0 0 72px; }
.beneficios {
  list-style: none; margin: 0; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px;
  border-radius: var(--radio-lg); background: var(--papel); box-shadow: var(--sombra);
}
.beneficios li { display: flex; gap: 12px; align-items: flex-start; }
.beneficios i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--rosa-suave); color: var(--rosa); font-size: 1.4rem; }
.beneficios strong { display: block; font-size: .95rem; line-height: 1.25; }
.beneficios span { display: block; font-size: .84rem; color: var(--gris); line-height: 1.4; margin-top: 2px; }
@media (max-width: 400px) { .beneficios { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .beneficios { grid-template-columns: repeat(4, 1fr); padding: 28px 32px; } }

/* ---------- Nosotros ---------- */
.nosotros { display: grid; gap: 48px; align-items: center; }
.nosotros__media { position: relative; }
.nosotros__media img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--radio-lg) 160px var(--radio-lg) var(--radio-lg); box-shadow: var(--sombra-lg); }
.nosotros__sello {
  position: absolute; left: -6px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-radius: 999px; background: var(--selva-800); color: #fff; font: 600 1.05rem/1 var(--f-titulo); box-shadow: var(--sombra-lg);
}
.nosotros__sello i { color: var(--oro); font-size: 1.4rem; }
.nosotros__texto h2 { font-size: clamp(2.1rem, 5.5vw, 3.1rem); }
.nosotros__texto p { color: var(--gris); font-size: 1.06rem; }
.firma { font: italic 600 1.1em var(--f-titulo); color: var(--rosa); }
.logros { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; }
.logros li { padding: 18px 10px; border-radius: var(--radio); background: var(--papel); text-align: center; }
.logros strong { display: block; font: 700 clamp(1.7rem, 5vw, 2.4rem)/1 var(--f-titulo); color: var(--rosa); }
.logros span { display: block; margin-top: 6px; font-size: .82rem; color: var(--gris); line-height: 1.3; }
@media (min-width: 900px) { .nosotros { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Opiniones ---------- */
.resumen-rating {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px;
  max-width: 560px; margin: -12px auto 36px; padding: 16px 24px; border-radius: 999px; background: var(--papel); box-shadow: var(--sombra);
}
.resumen-rating:empty { display: none; }
.resumen-rating .num { font: 700 2.3rem/1 var(--f-titulo); }
.resumen-rating .estrellas { font-size: 1.2rem; color: #C9962F; }
.resumen-rating small { color: var(--gris); }
.testimonios {
  list-style: none; margin: 0 -20px; padding: 4px 20px 20px; display: grid; grid-auto-flow: column; grid-auto-columns: 85%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none;
}
.testimonios::-webkit-scrollbar { display: none; }
.testimonio {
  scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radio-lg);
  background: var(--papel); box-shadow: var(--sombra);
}
.testimonio .estrellas { color: #C9962F; }
.testimonio__comilla { font: italic 600 4.4rem/.6 var(--f-titulo); color: var(--oro); height: 30px; }
.testimonio blockquote { flex: 1; margin: 8px 0 16px; font: 500 1.1rem/1.5 var(--f-titulo); color: var(--tinta); }
.testimonio__compra {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
  background: var(--salvia-suave); color: var(--salvia-texto); font-size: .8rem; font-weight: 700;
}
.autor { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--gris); }
.autor strong { display: block; color: var(--tinta); font-size: .98rem; }
.avatar {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--oro), var(--rosa)); color: #fff; font: 700 1.15rem/1 var(--f-titulo);
}
@media (min-width: 900px) {
  .testimonios { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
}

/* ---------- Comunidad ---------- */
.comunidad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.comunidad a { position: relative; display: block; overflow: hidden; border-radius: var(--radio); aspect-ratio: 1; background: var(--selva-800); }
.comunidad img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.comunidad a::after {
  content: ""; position: absolute; inset: 0; background: rgba(14, 42, 36, .45); opacity: 0; transition: opacity .3s;
}
.comunidad a i { position: absolute; z-index: 1; left: 50%; top: 50%; font-size: 2rem; color: #fff; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: all .3s var(--ease); }
.comunidad a:hover img { transform: scale(1.06); }
.comunidad a:hover::after { opacity: 1; }
.comunidad a:hover i { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 720px) { .comunidad { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .comunidad { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Preguntas frecuentes ---------- */
.preguntas { display: grid; gap: 8px; }
.preguntas__head .btn { margin-top: 22px; }
.faq details { border-bottom: 1px solid var(--borde); }
.faq details:first-child { border-top: 1px solid var(--borde); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none;
  font: 600 1.15rem/1.3 var(--f-titulo);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--papel); font-size: 1rem; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--rosa); color: #fff; }
.faq details p { margin: 0; padding: 0 4px 22px; color: var(--gris); max-width: 620px; }
@media (min-width: 900px) {
  .preguntas { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .preguntas__head { text-align: left; margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Tienda física ---------- */
.ubicacion { display: grid; gap: 20px; }
.tarjeta { padding: 28px; border-radius: var(--radio-lg); background: var(--papel); box-shadow: var(--sombra); }
.tarjeta h3 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin: 0 0 10px; }
.tarjeta h3 i { color: var(--rosa); font-size: 1.3rem; }
.tarjeta h3:not(:first-child) { margin-top: 22px; }
.horarios { width: 100%; border-collapse: collapse; }
.horarios th, .horarios td { padding: 10px 0; border-bottom: 1px dashed var(--borde); text-align: left; font-weight: 400; }
.horarios td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.horarios tr.hoy th { font-weight: 700; }
.horarios tr.hoy th::after {
  content: "Hoy"; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  background: var(--salvia-suave); color: var(--salvia-texto); font-size: .72rem; font-weight: 800; vertical-align: 2px;
}
.direccion { color: var(--gris); margin: 0; }
.pagos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.pagos li { padding: 6px 14px; border-radius: 999px; background: var(--rubor); font-size: .86rem; font-weight: 700; }
.mapa { width: 100%; min-height: 360px; height: 100%; border: 0; border-radius: var(--radio-lg); box-shadow: var(--sombra); background: var(--rubor); }
@media (min-width: 900px) { .ubicacion { grid-template-columns: 1fr 1.4fr; } }

/* ---------- CTA final ---------- */
.cta-final { padding: 0 0 88px; }
.cta-final__inner {
  position: relative; overflow: hidden; padding: 64px 28px; border-radius: var(--radio-lg); text-align: center;
  background: radial-gradient(120% 140% at 100% 0%, var(--selva-600) 0%, var(--selva-950) 62%); color: rgba(255, 255, 255, .8);
}
.cta-final__inner::before, .cta-final__inner::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 0 100% 0 100%; background: var(--salvia); opacity: .16;
}
.cta-final__inner::before { left: -80px; bottom: -110px; transform: rotate(20deg); }
.cta-final__inner::after { right: -70px; top: -120px; transform: rotate(-30deg); background: var(--oro); }
.cta-final h2 { position: relative; color: #fff; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 500; max-width: 760px; margin: 0 auto 14px; }
.cta-final h2 em { color: var(--oro); }
.cta-final p { position: relative; font-size: 1.08rem; max-width: 540px; margin: 0 auto 28px; }
.cta-final .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; background: var(--selva-950); color: rgba(255, 255, 255, .72); }
.footer__grid { display: grid; gap: 36px; }
.footer h3 { color: #fff; font-size: 1.2rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--oro); }
.logo--footer { margin-bottom: 14px; }
.footer__desc { max-width: 320px; }
.footer__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__lista li { display: flex; align-items: flex-start; gap: 10px; }
.footer__lista i { color: var(--oro); font-size: 1.2rem; margin-top: 2px; }
.footer__lista button { padding: 0; border: 0; background: none; color: #fff; cursor: pointer; text-align: left; }
.footer__lista button:hover { color: var(--oro); }
.redes { display: flex; gap: 10px; }
.redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1.3rem; transition: background-color .2s, transform .2s; }
.redes a:hover { background: var(--rosa); color: #fff; transform: translateY(-3px); }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}
.footer__legal i { color: var(--rosa); vertical-align: -2px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--selva-950); font-size: 2rem; text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .25s var(--ease);
}
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: onda 2.4s infinite; }
.fab:hover { transform: scale(1.08); }
@keyframes onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
body.con-pedido .fab { display: none; }

/* ---------- Barra de la bolsa ---------- */
.barra {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; width: min(560px, calc(100% - 28px)); transform: translateX(-50%);
  padding: 10px 18px 10px 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--selva-800); color: #fff; font: 700 1rem/1 var(--f-texto); box-shadow: var(--sombra-lg);
  animation: subir .4s var(--ease);
}
.barra:hover { background: var(--selva-950); }
.barra__n { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: var(--oro); color: var(--selva-950); }
.barra__txt { flex: 1; text-align: left; }
.barra__total { font: 700 1.2rem/1 var(--f-titulo); }
body.con-pedido { padding-bottom: 88px; }
@keyframes subir { from { transform: translate(-50%, 140%); } }

/* ---------- Modales (vista rápida y guía de tallas) ---------- */
.modal, .drawer {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--tinta);
}
body:has(dialog[open]) { overflow: hidden; }   /* la página no se mueve detrás del modal */
.modal::backdrop, .drawer::backdrop { background: rgba(14, 42, 36, .55); backdrop-filter: blur(3px); }
.modal__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 94vh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0; background: var(--marfil); animation: hojaArriba .35s var(--ease);
}
@keyframes hojaArriba { from { transform: translateY(100%); } }
.modal__cerrar, .drawer__cerrar {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--papel); cursor: pointer; font-size: 1.3rem; color: var(--tinta); box-shadow: var(--sombra);
}
.modal__cerrar { position: absolute; top: 12px; right: 12px; z-index: 2; }

.prenda-vista { display: grid; grid-template-columns: minmax(0, 1fr); }
.pv__galeria { padding: 12px 12px 0; }
.pv__principal { position: relative; width: min(100%, 39vh); border-radius: var(--radio); overflow: hidden; background: #fff; aspect-ratio: 3 / 4; margin: 0 auto; }
.pv__principal img { width: 100%; height: 100%; object-fit: cover; animation: aparecer .3s var(--ease); }
.pv__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.pv__miniaturas { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.pv__miniaturas:empty { display: none; }
.pv__miniaturas button { width: 56px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.pv__miniaturas button[aria-current="true"] { border-color: var(--tinta); }
.pv__miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.pv__info { padding: 20px 20px calc(28px + env(safe-area-inset-bottom)); }
.pv__cat { margin: 0 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-texto); }
.pv__info h2 { font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 500; margin-bottom: 10px; }
.pv__desc { color: var(--gris); }
.pv__grupo { margin: 18px 0; }
.pv__label { margin: 0 0 10px; font-size: .92rem; color: var(--gris); }
.pv__label strong { color: var(--tinta); }
.pv__label-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pv__label-fila .pv__label { margin: 0; }
.tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.talla {
  position: relative; min-width: 56px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--borde); border-radius: 12px;
  background: var(--papel); color: var(--tinta); cursor: pointer; font-weight: 800; transition: all .2s;
}
.talla:hover:not(:disabled) { border-color: var(--tinta); }
.talla[aria-checked="true"] { background: var(--selva-800); border-color: var(--selva-800); color: #fff; }
.talla:disabled { color: #B4AAA8; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--borde) 50%, transparent calc(50% + 1px)), var(--marfil); }
.talla__pocas { position: absolute; top: -9px; right: -6px; padding: 2px 6px; border-radius: 999px; background: var(--rosa); color: #fff; font-size: .62rem; font-weight: 800; white-space: nowrap; }
.tallas.sacudir { animation: sacudir .4s; }
@keyframes sacudir { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pv__error { margin: 8px 0 0; color: var(--rosa); font-weight: 700; font-size: .9rem; }
.pv__error:empty { display: none; }
.pv__acciones { display: flex; gap: 10px; align-items: stretch; margin: 22px 0 14px; }
.pv__agregar { flex: 1; min-width: 0; padding: 0 16px; }
@media (max-width: 480px) {
  .pv__acciones { flex-wrap: wrap; }
  .pv__acciones .fav-btn { margin-left: auto; }
  .pv__agregar { flex-basis: 100%; order: 3; }
}
.pv__entrega { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--salvia-suave); color: var(--salvia-texto); font-size: .9rem; font-weight: 700; }
.pv__entrega i { font-size: 1.2rem; margin-top: 1px; }
.pv__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.pv__preguntar { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-weight: 700; font-size: .92rem; color: var(--tinta); }
.pv__preguntar i { color: #128C4A; font-size: 1.2rem; }
.pv__detalle { margin-top: 8px; border-top: 1px solid var(--borde); }
.pv__detalle summary { padding: 14px 0; cursor: pointer; font-weight: 700; }
.pv__detalle p { color: var(--gris); margin: 0 0 8px; }

.stepper {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px;
  border-radius: 999px; background: var(--rosa); color: #fff;
}
.stepper button {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: none; color: inherit; cursor: pointer; font-size: 1.1rem;
}
.stepper button:hover { background: rgba(255, 255, 255, .15); }
.stepper span { font: 800 1.02rem/1 var(--f-texto); min-width: 20px; text-align: center; }
.stepper--claro { flex: none; width: 128px; background: var(--papel); color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--borde); }
.stepper--claro button:hover { background: var(--rubor); }

.guia { padding: 28px 22px calc(28px + env(safe-area-inset-bottom)); }
.guia h2 { font-size: 2rem; font-weight: 500; margin-bottom: 4px; }
.guia > p { color: var(--gris); }
.tabla-tallas { width: 100%; border-collapse: collapse; margin: 8px 0 16px; background: var(--papel); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.tabla-tallas th, .tabla-tallas td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--borde); }
.tabla-tallas thead th { background: var(--selva-800); color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.tabla-tallas tbody th { font: 700 1.15rem/1 var(--f-titulo); }
.tabla-tallas tr:last-child > * { border-bottom: 0; }
.guia__consejo { display: flex; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--oro-suave); color: var(--oro-texto); font-weight: 700; font-size: .9rem; }

@media (min-width: 820px) {
  .modal__panel { left: 50%; top: 50%; bottom: auto; right: auto; width: min(980px, calc(100% - 48px)); max-height: calc(100vh - 48px); transform: translate(-50%, -50%); border-radius: var(--radio-lg); animation: aparecerModal .35s var(--ease); }
  @keyframes aparecerModal { from { opacity: 0; transform: translate(-50%, -46%); } }
  .prenda-vista { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pv__galeria { padding: 20px; position: sticky; top: 0; align-self: start; }
  .pv__principal { width: 100%; }
  .pv__info { padding: 44px 40px 36px 12px; }
  .modal--chico .modal__panel { width: min(520px, calc(100% - 48px)); }
  .guia { padding: 36px; }
}

/* ---------- Bolsa (drawer) ---------- */
.drawer__panel {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 94vh;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0; background: var(--marfil); animation: hojaArriba .35s var(--ease);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; }
.drawer__head h2 { margin: 0; font-size: 1.9rem; font-weight: 500; }
.drawer__cerrar { box-shadow: none; background: var(--rubor); }
.progreso { margin: 4px 20px 6px; padding: 12px 14px; border-radius: 14px; background: var(--papel); box-shadow: var(--sombra); }
.progreso p { margin: 0 0 8px; font-size: .86rem; font-weight: 700; }
.progreso p strong { color: var(--rosa); }
.progreso__barra { height: 8px; border-radius: 999px; background: var(--rubor); overflow: hidden; }
.progreso__barra span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--oro), var(--rosa)); transition: width .5s var(--ease); }
.progreso.listo .progreso__barra span { background: var(--salvia-texto); }
.drawer__cuerpo { overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 16px; }
.items { list-style: none; margin: 0 0 18px; padding: 0; }
.item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--borde); }
.item img { width: 60px; height: 78px; border-radius: 10px; object-fit: cover; background: #fff; }
.item strong { display: block; font-size: .96rem; line-height: 1.25; }
.item small { display: block; color: var(--gris); font-size: .8rem; line-height: 1.35; }
.item .item__precio { margin-top: 4px; font-weight: 800; color: var(--tinta); font-size: .9rem; }
.item .stepper { width: 108px; min-height: 38px; }
.item .stepper button { width: 36px; height: 36px; font-size: 1rem; }
.vacio { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 0 32px; color: var(--gris); text-align: center; }
.vacio i { font-size: 2.8rem; color: var(--borde); }

.cupon { margin-bottom: 14px; }
.cupon__fila { display: flex; gap: 8px; }
.cupon__fila input { flex: 1; min-width: 0; text-transform: uppercase; }
.cupon__fila .btn { min-height: 48px; padding: 0 18px; flex: none; }
.cupon__msg { margin: -6px 0 0; font-size: .85rem; font-weight: 700; }
.cupon__msg:empty { display: none; }
.cupon__msg.ok { color: var(--salvia-texto); }
.cupon__msg.error { color: var(--rosa); }

.entrega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.entrega legend { margin-bottom: 8px; font-weight: 800; }
.entrega label { min-width: 0; }
.entrega input { position: absolute; opacity: 0; }
.entrega span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 8px 4px; border-radius: 14px;
  border: 2px solid var(--borde); background: var(--papel); font-weight: 800; font-size: .9rem; cursor: pointer; transition: all .2s; text-align: center; line-height: 1.2;
}
.entrega span i { font-size: 1.4rem; }
.entrega span small { font-weight: 600; font-size: .72rem; color: var(--gris); }
.entrega input:checked + span { border-color: var(--selva-800); background: var(--selva-800); color: #fff; }
.entrega input:checked + span small { color: rgba(255, 255, 255, .75); }
.entrega input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.campo { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 700; font-size: .92rem; min-width: 0; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--borde); border-radius: 12px;
  background: var(--papel); color: var(--tinta); font: 400 1rem/1.4 var(--f-texto);
}
.campo textarea { resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--selva-600); box-shadow: 0 0 0 4px rgba(47, 107, 92, .15); }
.campo input[aria-invalid="true"] { border-color: var(--rosa); box-shadow: 0 0 0 4px rgba(178, 58, 94, .15); }
.campo-fila { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.drawer__pie { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--borde); background: var(--papel); }
.totales { margin: 0 0 10px; }
.totales div { display: flex; justify-content: space-between; padding: 2px 0; color: var(--gris); font-size: .94rem; }
.totales dd { margin: 0; font-weight: 700; color: var(--tinta); }
.totales__descuento dd { color: var(--salvia-texto); }
.totales__total { padding-top: 8px !important; font-size: 1.1rem !important; color: var(--tinta) !important; font-weight: 800; }
.totales__total dd { font: 700 1.6rem/1 var(--f-titulo); color: var(--rosa); }
.drawer__nota { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: .78rem; color: var(--gris); line-height: 1.4; }
.drawer__nota i { font-size: 1rem; margin-top: 1px; }
@media (min-width: 720px) {
  .drawer__panel { left: auto; top: 0; width: 460px; max-height: none; border-radius: var(--radio-lg) 0 0 var(--radio-lg); animation-name: hojaLado; }
  @keyframes hojaLado { from { transform: translateX(100%); } }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 52px); z-index: 120;
  display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px;
  background: var(--tinta); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: var(--sombra-lg);
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
}
.toast i { color: var(--wa); font-size: 1.3rem; flex: none; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@keyframes aparecer { from { opacity: 0; transform: scale(.97); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Filtros por talla y precio + quitar filtros */
.orden { flex-wrap: wrap; }
.orden__limpiar { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; opacity: .85; }
.orden__limpiar:hover { opacity: 1; }
.orden__limpiar[hidden] { display: none; }
@media (max-width: 600px) { .orden__sel { flex: 1 1 calc(50% - 6px); } .orden__sel select { width: 100%; } }

/* Multipágina HUAYRURO Studio */
.subpagina-main { padding-top: 96px; }
.nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }


/* ---------- Botón QR imprimible en pie ---------- */
.btn-qr-pie {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 7px 13px;
  border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit;
  font: 600 .84rem/1.2 inherit; cursor: pointer; opacity: .9; transition: opacity .2s, transform .2s;
}
.btn-qr-pie:hover { opacity: 1; transform: translateY(-1px); }

.btn-qr-orden {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--borde, rgba(0,0,0,.18)); background: var(--papel, #fff);
  color: var(--tinta, #1D1714); font: 600 .86rem/1 inherit; cursor: pointer; transition: border-color .2s, transform .2s;
}
.btn-qr-orden:hover { border-color: var(--tinta, #1D1714); transform: translateY(-1px); }
