/* Coquette — hoja de estilos
   Paleta: leche (fondo), rosa empolvado (superficies), bordó (marca y acciones),
   ciruela (texto), pistacho (estado positivo). */
:root {
  --leche: #FFF7F6;
  --rosa: #F4D7DB;
  --rosa-claro: #FBEBED;
  --linea: #EBCBD0;
  --bordo: #7A1F3D;
  --bordo-hondo: #5C1229;
  --ciruela: #2B1420;
  --gris: #76606A;
  --pistacho: #C7D6AE;
  --pistacho-hondo: #3F5A22;
  --alerta: #A3261F;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --borde: 1px solid var(--linea);
  --sombra: 0 18px 50px rgba(92, 18, 41, .18);
  --ancho: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--leche);
  color: var(--ciruela);
  font: 400 16px/1.55 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--bordo); }
:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.saltar { position: absolute; left: -999px; top: 8px; background: var(--bordo); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 6px; }
.saltar:focus { left: 8px; }

/* ---------- Barra ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 12px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--leche) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.barra.con-borde { border-bottom-color: var(--linea); }
.marca {
  font: italic 500 30px/1 var(--serif);
  color: var(--bordo); text-decoration: none; letter-spacing: -.01em;
}
.barra-acciones { display: flex; align-items: center; gap: 4px; }
.icono {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; background: none; border-radius: 50%;
}
.icono:hover { background: var(--rosa-claro); }
.icono svg { width: 23px; height: 23px; fill: none; stroke: var(--ciruela); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cuenta {
  height: 36px; padding: 0 14px; border-radius: 18px;
  border: var(--borde); background: #fff; font-weight: 500; font-size: 14px;
  max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cuenta:hover { border-color: var(--bordo); }
.contador {
  position: absolute; top: 4px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--bordo); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.contador.salta { animation: salta .4s ease; }
@keyframes salta { 40% { transform: scale(1.35); } }
.busqueda { flex-basis: 100%; }
.busqueda input {
  width: 100%; height: 44px; padding: 0 16px; border-radius: 22px;
  border: var(--borde); background: #fff; font-size: 16px;
}

/* ---------- Portada con perchero ---------- */
.portada { max-width: var(--ancho); margin: 0 auto; padding: clamp(12px, 3vw, 28px) var(--gutter) 0; }
.portada-marca {
  margin: 0;
  font: italic 400 clamp(96px, 24vw, 300px)/.82 var(--serif);
  letter-spacing: -.045em; color: var(--bordo);
  margin-left: -.04em;
  padding-bottom: .16em; /* lugar para la cola de la "q" */
}
.tarjeta, .prenda { color: inherit; text-decoration: none; }
@media (min-width: 900px) {
  .portada { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 48px; }
  .portada-texto { margin: 0 0 3.2em; justify-self: start; }
  .perchero { grid-column: 1 / -1; }
}
.tostada .chip { color: var(--ciruela); }
.portada-texto { max-width: 34ch; margin: 14px 0 0; font-size: clamp(16px, 2vw, 19px); color: var(--gris); }

.perchero { position: relative; margin: clamp(26px, 5vw, 48px) 0 0 calc(50% - 50vw); width: 100vw; }
.perchero .perchero-prendas { padding-left: max(var(--gutter), calc((100vw - var(--ancho)) / 2 + var(--gutter))); }
.perchero-barra {
  position: absolute; left: 0; right: 0; top: 10px; height: 3px;
  background: linear-gradient(90deg, #b9a07a, #e9d8b6 30%, #b9a07a 60%, #e9d8b6);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.perchero-prendas {
  display: flex; gap: clamp(14px, 2vw, 24px);
  padding: 0 var(--gutter) 8px;
  overflow-x: auto; scrollbar-width: none;
}
.perchero-prendas::-webkit-scrollbar { display: none; }
.prenda {
  flex: 0 0 auto; width: clamp(132px, 30vw, 210px);
  border: 0; padding: 0; background: none; text-align: left;
  scroll-snap-align: start;
  transform-origin: 50% 0;
}
.prenda::before { /* gancho de la percha */
  content: ""; display: block; width: 18px; height: 22px; margin: 0 auto -2px;
  border: 2px solid #b9a07a; border-bottom: 0; border-radius: 10px 10px 0 0;
}
.prenda img {
  width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover;
  border-radius: 999px 999px 10px 10px;
  background: var(--rosa);
}
.prenda span { display: block; margin-top: 8px; font-size: 13px; color: var(--gris); }
.cargando .prenda img { animation: brilla 1.4s ease-in-out infinite; }
@keyframes brilla { 50% { opacity: .55; } }
.perchero.mece .prenda { animation: mece 1.6s ease-out both; }
.perchero.mece .prenda:nth-child(2n) { animation-delay: .08s; }
.perchero.mece .prenda:nth-child(3n) { animation-delay: .16s; }
@keyframes mece { 0% { transform: rotate(-4deg); } 35% { transform: rotate(2.5deg); } 65% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* ---------- Catálogo ---------- */
.catalogo { max-width: var(--ancho); margin: 0 auto; padding: clamp(36px, 6vw, 64px) var(--gutter) 64px; }
.categorias {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
  position: sticky; top: 64px; z-index: 5; background: var(--leche);
  padding-top: 8px; padding-bottom: 10px;
}
.categorias::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; height: 38px; padding: 0 16px; border-radius: 19px;
  border: var(--borde); background: #fff; font-size: 15px; white-space: nowrap;
}
.chip:hover { border-color: var(--bordo); }
.chip[aria-pressed="true"] { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.resultado { margin: 14px 0 18px; color: var(--gris); font-size: 14px; }

.grilla {
  display: grid; gap: clamp(18px, 2.5vw, 32px) clamp(12px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tarjeta {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
}
.tarjeta-foto { position: relative; overflow: hidden; border-radius: 6px; background: var(--rosa); aspect-ratio: 3 / 4; }
.tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tarjeta:hover .tarjeta-foto img { transform: scale(1.035); }
.tarjeta-foto .segunda { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
@media (hover: hover) { .tarjeta:hover .tarjeta-foto .segunda { opacity: 1; } }
.etiqueta {
  position: absolute; left: 8px; top: 8px;
  padding: 3px 9px; border-radius: 12px; font-size: 12px; font-weight: 600;
  background: var(--pistacho); color: var(--pistacho-hondo);
}
.tarjeta-nombre { margin: 10px 0 2px; font: 500 clamp(16px, 1.8vw, 19px)/1.25 var(--serif); }
.tarjeta-precio { margin: 0; font-weight: 600; font-size: 15px; }
.tarjeta-pack { margin: 2px 0 0; font-size: 13px; color: var(--gris); }
.tarjeta-colores { display: flex; gap: 4px; margin-top: 7px; }
.tarjeta-colores i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(43,20,32,.18); }
.tarjeta-colores small { font-size: 12px; color: var(--gris); margin-left: 2px; line-height: 12px; }
.esqueleto .tarjeta-foto { animation: brilla 1.4s ease-in-out infinite; }
.esqueleto .tarjeta-nombre, .esqueleto .tarjeta-precio { height: 14px; background: var(--rosa); border-radius: 4px; color: transparent; }
.esqueleto .tarjeta-precio { width: 50%; margin-top: 8px; }

.vacio { text-align: center; padding: 40px 0; color: var(--gris); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 25px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background .15s, transform .1s;
}
.boton:active { transform: scale(.98); }
.boton.principal { background: var(--bordo); color: #fff; }
.boton.principal:hover { background: var(--bordo-hondo); }
.boton.principal:disabled { background: #b88c9a; cursor: not-allowed; }
.boton.secundario { background: #fff; border-color: var(--linea); color: var(--ciruela); }
.boton.secundario:hover { border-color: var(--bordo); }
.boton.ancho { width: 100%; }
.boton .girando { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

.cerrar {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); font-size: 26px; line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* ---------- Diálogos ---------- */
dialog { border: 0; padding: 0; color: var(--ciruela); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(43, 20, 32, .45); backdrop-filter: blur(2px); }
body.bloqueado { overflow: hidden; }

/* Ficha: hoja inferior en celular, modal en compu */
.hoja { width: 100%; height: 100%; margin: 0; background: transparent; }
.hoja[open] { display: flex; align-items: flex-end; }
.hoja-contenido {
  position: relative; width: 100%; max-height: 94dvh; overflow: auto;
  background: var(--leche); border-radius: 22px 22px 0 0;
  animation: sube .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 860px) {
  .hoja[open] { align-items: center; justify-content: center; }
  .hoja-contenido { width: min(1040px, 94vw); max-height: 90vh; border-radius: 16px; }
  .ficha { display: grid; grid-template-columns: 1.05fr 1fr; }
  .ficha .galeria { position: sticky; top: 0; align-self: start; }
}
.galeria { position: relative; background: var(--rosa); }
.galeria-fotos {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.galeria-fotos::-webkit-scrollbar { display: none; }
.galeria-fotos img { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: center; }
@media (min-width: 860px) { .galeria-fotos img { max-height: 90vh; } }
.galeria-puntos { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.galeria-puntos button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); }
.galeria-puntos button[aria-current="true"] { background: #fff; width: 22px; border-radius: 4px; }
.ficha-info { padding: 22px var(--gutter) 30px; }
@media (min-width: 860px) { .ficha-info { padding: 40px 40px 36px; } }
.ficha-cat { margin: 0; font-size: 14px; color: var(--gris); }
.ficha-nombre { margin: 4px 0 10px; font: 500 clamp(28px, 4vw, 40px)/1.08 var(--serif); letter-spacing: -.01em; }
.ficha-precio { margin: 0; font-size: 24px; font-weight: 700; }
.ficha-precio small { font-size: 14px; font-weight: 500; color: var(--gris); }
.ficha-cuotas { margin: 2px 0 20px; font-size: 14px; color: var(--pistacho-hondo); }
.opcion { margin-bottom: 18px; }
.opcion-titulo { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.opcion-titulo span { font-weight: 400; color: var(--gris); }
.segmentado { display: inline-flex; padding: 3px; border-radius: 24px; background: var(--rosa-claro); border: var(--borde); }
.segmentado button {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: none; font-weight: 500;
}
.segmentado button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(92,18,41,.15); color: var(--bordo); font-weight: 700; }
.pastillas { display: flex; flex-wrap: wrap; gap: 8px; }
.pastilla {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 20px;
  border: var(--borde); background: #fff; font-size: 15px;
}
.pastilla i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(43,20,32,.2); }
.pastilla[aria-pressed="true"] { border-color: var(--bordo); box-shadow: inset 0 0 0 1px var(--bordo); color: var(--bordo); font-weight: 600; }
.pastilla:disabled { color: #b8a6ad; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.ficha-compra { display: flex; gap: 10px; margin-top: 24px; }
.ficha-compra .boton { flex: 1; }
.cantidad { display: flex; align-items: center; border: var(--borde); border-radius: 25px; background: #fff; }
.cantidad button { width: 42px; height: 48px; border: 0; background: none; font-size: 20px; }
.cantidad output { min-width: 22px; text-align: center; font-weight: 600; }
.aviso-chico { font-size: 13px; color: var(--gris); margin: 10px 0 0; min-height: 1em; }
.centro { text-align: center; }
.ficha-desc { margin-top: 24px; border-top: var(--borde); padding-top: 14px; }
.ficha-desc summary { cursor: pointer; font-weight: 600; }
.ficha-desc div { white-space: pre-line; color: var(--gris); font-size: 15px; margin-top: 8px; max-width: 62ch; }

/* Carrito: cajón lateral */
.cajon { width: 100%; height: 100%; margin: 0; background: transparent; }
.cajon[open] { display: flex; justify-content: flex-end; }
.cajon-contenido {
  display: flex; flex-direction: column; width: min(460px, 100%); height: 100dvh;
  background: var(--leche); animation: entra .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes entra { from { transform: translateX(40px); opacity: 0; } }
.cajon-cabeza { position: relative; display: flex; align-items: center; gap: 6px; padding: 16px var(--gutter); border-bottom: var(--borde); }
.cajon-cabeza h2 { margin: 0; font: 500 26px/1.1 var(--serif); }
.cajon-cabeza .cerrar { position: static; margin-left: auto; box-shadow: none; background: none; }
.volver { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 30px; line-height: 1; }
.cajon-cuerpo { flex: 1; overflow: auto; padding: 8px var(--gutter) 20px; }
.cajon-pie { padding: 14px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: var(--borde); background: #fff; }
.lineas { list-style: none; margin: 0; padding: 0; }
.linea { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: var(--borde); }
.linea img { width: 76px; height: 100px; object-fit: cover; border-radius: 6px; background: var(--rosa); }
.linea h3 { margin: 0; font: 500 17px/1.2 var(--serif); }
.linea p { margin: 2px 0 8px; font-size: 13px; color: var(--gris); }
.linea .cantidad { display: inline-flex; }
.linea .cantidad button { width: 34px; height: 34px; font-size: 17px; }
.linea-precio { text-align: right; font-weight: 600; }
.quitar { display: block; margin: 6px 0 0 auto; border: 0; background: none; color: var(--gris); font-size: 13px; text-decoration: underline; }
.totales { margin: 0 0 12px; }
.totales div { display: flex; justify-content: space-between; padding: 2px 0; }
.totales dt { color: var(--gris); }
.totales dd { margin: 0; }
.totales .total { font-size: 19px; font-weight: 700; padding-top: 6px; }
.totales .total dt { color: var(--ciruela); }

/* Formulario */
.form fieldset { border: 0; padding: 0; margin: 18px 0 6px; }
.form legend { font: 500 19px/1.2 var(--serif); margin-bottom: 10px; padding: 0; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.form input:not([type=radio]), .form select {
  display: block; width: 100%; height: 48px; margin-top: 5px; padding: 0 14px;
  border-radius: 10px; border: var(--borde); background: #fff; font-size: 16px;
}
.form input:focus, .form select:focus { border-color: var(--bordo); outline: none; box-shadow: 0 0 0 3px rgba(122,31,61,.14); }
.form input[aria-invalid="true"], .form select[aria-invalid="true"] { border-color: var(--alerta); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metodos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.metodo { margin: 0 !important; }
.metodo input { position: absolute; opacity: 0; pointer-events: none; }
.metodo span {
  display: block; height: 100%; padding: 12px 14px; border-radius: 12px; border: var(--borde); background: #fff;
}
.metodo span b { display: block; font-size: 15px; }
.metodo span small { display: block; color: var(--gris); font-weight: 400; font-size: 13px; }
.metodo input:checked + span { border-color: var(--bordo); box-shadow: inset 0 0 0 1px var(--bordo); }
.metodo input:focus-visible + span { outline: 2px solid var(--bordo); outline-offset: 2px; }
.sesion-linea { font-size: 14px; color: var(--gris); margin: 12px 0 0; }
.sesion-linea button { border: 0; background: none; color: var(--bordo); text-decoration: underline; padding: 0; font-size: 14px; }
.error { color: var(--alerta); background: #FCE8E6; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.login-caja { padding: 24px 0; }
.login-caja p { margin: 0 0 16px; color: var(--gris); }
.google-btn { min-height: 44px; }
.google-demo { width: 100%; }

/* Modales chicos */
.modal { width: 100%; height: 100%; margin: 0; background: transparent; }
.modal[open] { display: grid; place-items: center; padding: 16px; }
.modal-contenido {
  position: relative; width: min(480px, 100%); max-height: 88dvh; overflow: auto;
  background: var(--leche); border-radius: 18px; padding: 28px 24px 24px; box-shadow: var(--sombra);
  animation: sube .28s ease;
}
.modal-contenido h2 { margin: 0 0 10px; font: 500 28px/1.1 var(--serif); padding-right: 36px; }
.modal-contenido.centro h2 { padding-right: 0; }
.sello {
  width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 34px; background: var(--rosa);
}
.sello.ok { background: var(--pistacho); color: var(--pistacho-hondo); }
.sello.mal { background: #FCE8E6; color: var(--alerta); }
.pedidos { margin: 14px 0 18px; }
.pedido-mini { padding: 12px 0; border-bottom: var(--borde); font-size: 14px; }
.pedido-mini b { font-size: 15px; }
.pedido-mini p { margin: 4px 0 0; color: var(--gris); white-space: pre-line; }
.estado { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; background: var(--rosa); }
.estado.Pagado, .estado.Preparando, .estado.Entregado { background: var(--pistacho); color: var(--pistacho-hondo); }
.estado.Enviado { background: #DCE6F5; color: #23406E; }
.estado.Pago-rechazado, .estado.Cancelado, .estado.Revisar-pago { background: #FCE8E6; color: var(--alerta); }

.tostada {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 100;
  transform: translateX(-50%); max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 24px; background: var(--ciruela); color: #fff; font-size: 15px;
  box-shadow: var(--sombra); animation: sube .25s ease;
}

/* Pie */
.pie { border-top: var(--borde); padding: 36px var(--gutter) calc(40px + env(safe-area-inset-bottom)); max-width: var(--ancho); margin: 0 auto; }
.pie-marca { margin: 0 0 10px; font: italic 400 44px/1 var(--serif); color: var(--bordo); }
.pie ul { list-style: none; margin: 0; padding: 0; color: var(--gris); font-size: 14px; display: grid; gap: 6px; }
.demo-banda { background: var(--ciruela); color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; }

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

/* Firma NFM (Nova Family Market) junto al nombre */
.marca small, .portada-marca small, .pie-marca small {
  font: 600 .3em/1 var(--sans); font-style: normal; letter-spacing: .12em;
  color: var(--gris); margin-left: .35em; vertical-align: .2em;
}
.marca small { font-size: 11px; vertical-align: 3px; }
.portada-marca small { font-size: max(12px, .085em); vertical-align: .55em; margin-left: .25em; letter-spacing: .16em; }
.pie-marca small { font-size: 12px; vertical-align: 6px; }
.portada-marca { font-size: clamp(84px, 20vw, 250px); }

/* ---------- Perchero en carrusel con arcos de colores ---------- */
.perchero-prendas { cursor: grab; user-select: none; -webkit-user-select: none; }
.perchero-prendas.arrastrando { cursor: grabbing; }
.prenda { width: clamp(140px, 30vw, 220px); }
.prenda .arco {
  display: block; padding: 7px 7px 0;
  border-radius: 999px 999px 12px 12px;
  background: var(--tono, var(--rosa));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.prenda .arco img {
  width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover;
  border-radius: 999px 999px 8px 8px; background: color-mix(in srgb, var(--tono, var(--rosa)) 70%, #fff);
  pointer-events: none;
}
.prenda img { border-radius: 999px 999px 8px 8px; }
.prenda-nombre { display: block; margin-top: 9px; font-size: 13px; color: var(--gris); }
@media (hover: hover) {
  .prenda:hover .arco { transform: translateY(6px) rotate(-1.2deg); box-shadow: 0 16px 30px -12px rgba(92,18,41,.35); }
  .prenda:hover .prenda-nombre { color: var(--bordo); }
}
.perchero-flecha {
  position: absolute; top: 46%; z-index: 2; display: none;
  width: 46px; height: 46px; border-radius: 50%; border: var(--borde);
  background: rgba(255,255,255,.92); font-size: 28px; line-height: 1; color: var(--bordo);
  box-shadow: 0 6px 20px rgba(92,18,41,.15);
}
.perchero-flecha.izq { left: max(12px, calc((100vw - var(--ancho)) / 2)); }
.perchero-flecha.der { right: max(12px, calc((100vw - var(--ancho)) / 2)); }
@media (hover: hover) and (min-width: 760px) { .perchero-flecha { display: grid; place-items: center; } }

/* ---------- Brillo mágico en lugar de la flecha del mouse ---------- */
body.cursor-magico, body.cursor-magico a, body.cursor-magico button, body.cursor-magico summary,
body.cursor-magico label, body.cursor-magico select, body.cursor-magico .perchero-prendas { cursor: none; }
body.cursor-magico input, body.cursor-magico textarea { cursor: text; }
.brillo-capa { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity .2s; }
.brillo-capa.visible { opacity: 1; }
.brillo {
  position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, #FFE3EA 45%, rgba(242,196,109,.55) 70%, transparent 72%);
  box-shadow: 0 0 12px 4px rgba(247,183,198,.85), 0 0 26px 8px rgba(242,196,109,.35);
  transition: width .22s, height .22s, margin .22s, background .22s;
  will-change: transform;
}
.brillo.grande {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0 10%, rgba(255,227,234,.5) 30%, transparent 62%);
  box-shadow: 0 0 0 1.5px rgba(122,31,61,.55), 0 0 22px 6px rgba(247,183,198,.7);
}
.brillo-capa.en-texto .brillo { opacity: 0; }
.chispa {
  position: fixed; width: var(--t); height: var(--t); margin: calc(var(--t) / -2) 0 0 calc(var(--t) / -2);
  font-size: 16px; background: var(--h);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 3px var(--h));
  animation: chispa .8s ease-out forwards;
}
@keyframes chispa {
  0% { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; }
  60% { opacity: .9; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); opacity: 0; }
}
.prenda .arco { margin-top: 0; font-size: inherit; color: inherit; }
