/* 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; }

/* ---------- Firma "Coquette" en cursiva que se escribe sola ---------- */
@font-face {
  font-family: "Pinyon Script";
  src: url("fonts/pinyon-script.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
:root { --firma: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive; }
.marca, .pie-marca { font-family: var(--firma); font-style: normal; font-weight: 400; }
.marca { font-size: 34px; }
.pie-marca { font-size: 52px; }

.portada { display: block; text-align: center; }
.portada-marca {
  font-family: var(--firma); font-style: normal; font-weight: 400;
  font-size: clamp(92px, 23vw, 270px); line-height: 1.15;
  letter-spacing: 0; margin: 0 auto; padding: .04em 0 .12em;
  display: flex; justify-content: center; align-items: baseline; flex-wrap: nowrap;
}
.firma-caja { position: relative; display: inline-block; padding: 0 .08em; }
.firma {
  display: inline-block;
  /* empieza tapada y se destapa de izquierda a derecha, como escrita a mano */
  clip-path: inset(-30% 100% -45% -6%);
}
.portada-marca small { opacity: 0; transform: translateY(.2em); }
.pluma {
  position: absolute; left: 0; top: 46%; width: .14em; height: .14em; margin: -.07em 0 0 -.07em;
  border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff 0 25%, #FFE3EA 45%, rgba(242,196,109,.6) 70%, transparent 72%);
  box-shadow: 0 0 .12em .05em rgba(247,183,198,.9), 0 0 .3em .1em rgba(242,196,109,.45);
}
.portada.escribe .firma { animation: escribir 2.8s cubic-bezier(.55,.1,.35,1) .15s forwards; }
.portada.escribe .pluma { animation: pluma 2.8s cubic-bezier(.55,.1,.35,1) .15s forwards; }
.portada.escribe .portada-marca small { animation: aparece .7s ease 2.7s forwards; }
.portada.escrito .firma { clip-path: none; }
.portada.escrito .portada-marca small { opacity: 1; transform: none; }
@keyframes escribir {
  0%   { clip-path: inset(-30% 100% -45% -6%); }
  100% { clip-path: inset(-30% -6% -45% -6%); }
}
@keyframes pluma {
  0%   { left: 2%;  top: 58%; opacity: 0; }
  6%   { opacity: 1; }
  18%  { top: 34%; }
  32%  { top: 62%; }
  46%  { top: 40%; }
  60%  { top: 60%; }
  74%  { top: 30%; }
  88%  { top: 55%; opacity: 1; }
  100% { left: 99%; top: 48%; opacity: 0; }
}
@keyframes aparece { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .firma { clip-path: none; }
  .portada-marca small { opacity: 1; transform: none; }
  .pluma { display: none; }
}
@media (min-width: 900px) {
  .portada { display: block; }
}

/* ---------- Brillos de la firma y NFM a juego ---------- */
:root {
  --oro: #C9A36A;
  --oro-claro: #F3DDB0;
  --rosa-oro: #E7A9B8;
}
/* NFM: misma letra elegante de la tienda, en dorado rosado */
.marca small, .portada-marca small, .pie-marca small {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  letter-spacing: .2em; color: var(--oro);
  background: linear-gradient(100deg, var(--oro) 0%, var(--rosa-oro) 45%, var(--oro-claro) 55%, var(--oro) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.marca small { font-size: 12px; margin-left: 4px; }
.pie-marca small { font-size: 13px; }
.portada-marca small { font-size: max(14px, .1em); margin-left: .1em; align-self: flex-end; padding-bottom: .42em; }

/* Destello que recorre la palabra (una pasada al terminar de escribir y otra cada tanto) */
.firma {
  background: linear-gradient(105deg, var(--bordo) 0 38%, #C9567A 45%, #FFF2DE 50%, #C9567A 55%, var(--bordo) 62% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--bordo);
}
.portada.escrito .firma { animation: destello-pasada 7s ease-in-out .2s infinite; }
@keyframes destello-pasada {
  0% { background-position: 100% 0; }
  22% { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}

/* Estrellitas que titilan alrededor de las letras */
.destello {
  position: absolute; width: .07em; height: .07em; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 20%, var(--oro-claro) 45%, transparent 70%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 .03em #fff) drop-shadow(0 0 .06em var(--rosa-oro));
}
.destello.d1 { left: 9%;  top: 18%; --t: .06em; }
.destello.d2 { left: 27%; top: 64%; width: .05em; height: .05em; }
.destello.d3 { left: 41%; top: 30%; width: .09em; height: .09em; }
.destello.d4 { left: 55%; top: 70%; width: .05em; height: .05em; }
.destello.d5 { left: 66%; top: 12%; width: .08em; height: .08em; }
.destello.d6 { left: 78%; top: 52%; }
.destello.d7 { left: 90%; top: 22%; width: .06em; height: .06em; }
.destello.d8 { left: 18%; top: 88%; width: .05em; height: .05em; }
.portada.escrito .destello { animation: titila 3.2s ease-in-out infinite; }
.portada.escrito .d2 { animation-delay: .5s; }
.portada.escrito .d3 { animation-delay: 1.1s; }
.portada.escrito .d4 { animation-delay: 1.7s; }
.portada.escrito .d5 { animation-delay: .3s; }
.portada.escrito .d6 { animation-delay: 2.2s; }
.portada.escrito .d7 { animation-delay: 1.4s; }
.portada.escrito .d8 { animation-delay: 2.7s; }
@keyframes titila {
  0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); }
  12% { opacity: 1; transform: scale(1.15) rotate(20deg); }
  24% { opacity: .9; transform: scale(.8) rotate(45deg); }
  36% { opacity: 0; transform: scale(.2) rotate(70deg); }
}
/* Mientras se escribe, las estrellas acompañan la pluma */
.portada.escribe .destello { animation: titila 1.2s ease-out both; }
.portada.escribe .d1 { animation-delay: .5s; }  .portada.escribe .d8 { animation-delay: .8s; }
.portada.escribe .d2 { animation-delay: 1s; }   .portada.escribe .d3 { animation-delay: 1.3s; }
.portada.escribe .d4 { animation-delay: 1.7s; } .portada.escribe .d5 { animation-delay: 2s; }
.portada.escribe .d6 { animation-delay: 2.3s; } .portada.escribe .d7 { animation-delay: 2.6s; }
@media (prefers-reduced-motion: reduce) {
  .destello { display: none; }
  .firma { background-position: 0 0; }
}

/* Ajustes: lugar para las colas de la letra (el brillo no las corta), estrellas más visibles, NFM en la línea */
.firma { padding: .12em .22em .38em .18em; margin: -.12em -.22em -.38em -.18em; }
.portada-marca small { align-self: auto; padding-bottom: 0; }
.destello {
  z-index: 2; width: .11em; height: .11em;
  background: radial-gradient(circle, #fff 0 35%, var(--oro-claro) 60%, var(--oro) 100%);
  filter: drop-shadow(0 0 .04em #fff) drop-shadow(0 0 .1em rgba(231,169,184,.9));
}
.destello.d2, .destello.d4, .destello.d8 { width: .08em; height: .08em; }
.destello.d3, .destello.d5 { width: .14em; height: .14em; }
.destello { width: .15em; height: .15em; }
.destello.d2, .destello.d4, .destello.d8 { width: .11em; height: .11em; }
.destello.d3, .destello.d5 { width: .19em; height: .19em; }

/* ---------- Firma trazada a mano, letra por letra ---------- */
.portada-marca { font-size: clamp(56px, 14vw, 150px); }
.firma-svg { display: block; width: clamp(250px, 66vw, 600px); height: auto; overflow: visible; }
.trazo {
  fill: transparent; stroke: var(--bordo); stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.portada.escribe .trazo {
  animation: trazar .6s cubic-bezier(.5,.1,.4,1) forwards, rellenar .5s ease forwards;
  animation-delay: calc(.2s + var(--i) * .32s), calc(.6s + var(--i) * .32s);
}
.portada.escrito .trazo { fill: url(#firmaBrillo); stroke: none; stroke-dashoffset: 0; animation: none; }
@keyframes trazar { to { stroke-dashoffset: 0; } }
@keyframes rellenar { to { fill: var(--bordo); stroke-width: .2; } }
.portada.escribe .portada-marca small { animation: aparece .7s ease 2.9s forwards; }
.portada-marca small { padding-bottom: .5em; align-self: flex-end; }
@media (prefers-reduced-motion: reduce) {
  .trazo { fill: var(--bordo); stroke: none; stroke-dashoffset: 0; animation: none !important; }
}
/* NFM a la altura de la línea de escritura de "Coquette" */
.portada { --fw: clamp(250px, 66vw, 600px); }
.firma-svg { width: var(--fw); }
.portada-marca { align-items: flex-start; }
.portada-marca small { align-self: flex-start; padding-bottom: 0; margin-top: calc(var(--fw) * .397 * .5); margin-left: -.05em; }

/* ---------- Título más chico ---------- */
.portada { --fw: clamp(210px, 46vw, 430px); }
.portada-marca { font-size: clamp(48px, 11vw, 110px); }

/* ---------- Perchero: tarjetas con marco ---------- */
.perchero {
  padding: 22px 0 26px;
  background: linear-gradient(180deg, #FBEBED 0%, #FFF7F6 100%);
}
.perchero-barra {
  display: block; top: 20px; height: 9px; border-radius: 5px;
  background: linear-gradient(180deg, #FFF4D6 0%, #E6C88E 30%, #B8935A 62%, #8C6D3C 80%, #E9D3A3 100%);
  box-shadow: 0 8px 14px -6px rgba(92,18,41,.35), inset 0 1px 0 rgba(255,255,255,.7);
}
.perchero-prendas { padding-top: 38px; gap: clamp(16px, 2.2vw, 28px); }
.prenda { width: clamp(150px, 40vw, 230px); }
.prenda::before { content: none; }
.prenda-colgada { display: block; }
.perchero.mece .prenda { animation: none; }
.prenda .arco {
  display: block; margin: 0; padding: 0; position: relative;
  border-radius: 18px 18px 14px 14px; overflow: hidden; background: var(--tono);
  box-shadow: 0 18px 28px -14px rgba(92,18,41,.45), 0 0 0 5px #fff, 0 0 0 6px color-mix(in srgb, var(--tono) 70%, #fff);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.prenda .arco img { border-radius: 0; aspect-ratio: 3 / 4; }
.prenda-nombre { margin-top: 14px; text-align: center; font: italic 400 15px/1.25 var(--serif); color: var(--ciruela); }
.prenda-precio { display: block; margin-top: 3px; text-align: center; font: 600 13px/1.2 var(--sans); color: var(--bordo); }
@media (hover: hover) {
  .prenda:hover .arco { transform: translateY(-6px); box-shadow: 0 26px 36px -16px rgba(92,18,41,.55), 0 0 0 5px #fff, 0 0 0 6px var(--tono); }
  .prenda:hover .prenda-nombre { color: var(--bordo); }
}

/* ---------- Encabezado fijo ---------- */
body { overflow-x: clip; }
.barra { position: sticky; top: 0; background: rgba(255,247,246,.96); }
.barra.con-borde { box-shadow: 0 6px 18px -10px rgba(92,18,41,.35); }

/* ---------- Barra de abajo ---------- */
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.nav-abajo {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px max(var(--gutter), env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--linea);
  box-shadow: 0 -6px 18px -12px rgba(92,18,41,.3);
}
.nav-abajo button {
  position: relative; display: grid; justify-items: center; gap: 2px;
  height: 52px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 600 12px/1 var(--sans); color: var(--ciruela); border-radius: 12px;
}
.nav-abajo button:hover, .nav-abajo button:focus-visible { color: var(--bordo); background: #FBEBED; }
.nav-abajo svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-n {
  position: absolute; top: 4px; left: calc(50% + 8px);
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--bordo); color: #fff; font: 700 10px/17px var(--sans);
}
.tostada { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
.filtro-tit { margin: 18px 0 10px; font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
.filtro-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro-pie { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }

/* ---------- Ficha: la X siempre visible ---------- */
.hoja-marco { position: relative; width: 100%; animation: sube .32s cubic-bezier(.2,.8,.2,1); }
.hoja-marco > .hoja-contenido { width: 100%; animation: none; }
.hoja-marco > .cerrar { position: absolute; top: 12px; right: 12px; z-index: 6; box-shadow: 0 4px 14px rgba(92,18,41,.18); }
@media (min-width: 860px) {
  .hoja-marco { width: min(1040px, 94vw); }
  .hoja-marco > .hoja-contenido { width: 100%; }
  .hoja-marco > .cerrar { right: 18px; }
}

/* ---------- Carrusel colgado de la barra (hilo dorado tipo cuadro de galería) ---------- */
.prenda-colgada { position: relative; transform-origin: 50% -41px; transition: transform .6s cubic-bezier(.3,.7,.3,1); }
.colgante { position: absolute; left: 0; right: 0; bottom: calc(100% - 7px); height: 48px; pointer-events: none; }
.colgante svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.colgante path { fill: none; stroke: #C9A36A; stroke-width: 1.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 0 rgba(255,255,255,.6)); }
.argolla {
  position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  border: 2.5px solid #C9A36A; box-sizing: border-box;
  background: transparent; box-shadow: 0 2px 3px rgba(92,18,41,.25), inset 0 1px 0 rgba(255,255,255,.7);
  border-top-color: #F3DFB0; border-left-color: #E2C68E;
}
.clavo {
  position: absolute; bottom: -3px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF4D6, #C9A36A 55%, #8C6D3C);
  box-shadow: 0 1px 2px rgba(92,18,41,.35); z-index: 2;
}
.clavo.izq { left: calc(9% - 4.5px); }
.clavo.der { right: calc(9% - 4.5px); }
@media (hover: hover) {
  .prenda:hover .arco { transform: none; }
  .prenda:hover .prenda-colgada { transform: rotate(1.6deg); }
}

/* ---------- Cinta de beneficios (se desliza) ---------- */
.cinta {
  display: flex; overflow: hidden; white-space: nowrap;
  background: linear-gradient(90deg, #7A1F3D, #9B3456 50%, #7A1F3D);
  color: #FFF4E8; font: 500 13px/1 var(--sans); letter-spacing: .04em;
  padding: 9px 0; border-bottom: 1px solid #C9A36A;
}
.cinta-pista { display: flex; flex: 0 0 auto; align-items: center; animation: cinta 75s linear infinite; }
.cinta-pista span { padding: 0 22px; }
.cinta-pista i { font-style: normal; color: #E6C88E; font-size: 11px; }
@keyframes cinta { to { transform: translateX(-100%); } }
.cinta:hover .cinta-pista { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cinta-pista { animation: none; } }

/* ---------- Portada con luz rosada suave ---------- */
.portada { position: relative; isolation: isolate; }
.portada::before {
  content: ""; position: absolute; z-index: -1; inset: -40px calc(50% - 50vw) auto; height: 420px; pointer-events: none;
  background:
    radial-gradient(38% 60% at 22% 40%, rgba(244,199,210,.55), transparent 70%),
    radial-gradient(34% 55% at 80% 30%, rgba(247,213,188,.45), transparent 70%),
    radial-gradient(30% 50% at 55% 75%, rgba(220,207,238,.40), transparent 70%);
  filter: blur(8px);
  animation: aura 14s ease-in-out infinite alternate;
}
@keyframes aura { to { transform: translate3d(0, 10px, 0) scale(1.04); opacity: .85; } }
/* borde festoneado entre la portada y el carrusel */
.perchero { overflow: visible; }
.perchero::before {
  content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px;
  background: radial-gradient(circle at 12px 12px, #FBEBED 11px, transparent 11.5px) 0 0 / 24px 12px repeat-x;
}
.perchero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px;
  background: radial-gradient(circle at 12px 0, #FFF7F6 11px, transparent 11.5px) 0 0 / 24px 12px repeat-x;
}

/* ---------- Título de la colección ---------- */
.titulo-seccion { margin: 6px 0 18px; text-align: center; font: 400 clamp(38px, 6vw, 56px)/1.1 var(--firma); color: var(--bordo); }
.titulo-seccion span { position: relative; display: inline-block; padding: 0 clamp(46px, 8vw, 90px); }
.titulo-seccion span::before, .titulo-seccion span::after {
  content: ""; position: absolute; top: 55%; width: clamp(34px, 6.5vw, 74px); height: 1px;
  background: linear-gradient(90deg, transparent, #C9A36A);
}
.titulo-seccion span::before { left: 0; }
.titulo-seccion span::after { right: 0; transform: scaleX(-1); }
.titulo-seccion + .categorias { justify-content: safe center; }

/* ---------- Tarjetas del catálogo con marco ---------- */
.tarjeta { display: block; padding: 8px 8px 12px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -18px rgba(92,18,41,.45); transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s; }
.tarjeta-foto { border-radius: 11px; }
.tarjeta-nombre, .tarjeta-precio, .tarjeta-pack, .tarjeta-colores { padding: 0 4px; }
.tarjeta-precio { color: var(--bordo); }
@media (hover: hover) {
  .tarjeta:hover { transform: translateY(-5px); box-shadow: 0 22px 34px -20px rgba(92,18,41,.55), 0 0 0 1px #F1D3DA; }
}

.chip.con-color { display: inline-flex; align-items: center; gap: 8px; }
.chip.con-color i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(43,20,32,.2); flex: 0 0 auto; }
.filtros .modal-contenido { max-height: 86dvh; overflow: auto; }

/* ---------- Etiquetas Nuevo / Últimas ---------- */
.tarjeta-foto .etiquetas { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.tarjeta-foto .etiquetas .etiqueta { position: static; }
.etiqueta.nuevo { background: var(--bordo); color: #FFF4E8; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.etiqueta.ultimas { background: #FFF4E8; color: #A0452E; border: 1px solid #F0C9A8; }

/* ---------- Favoritos ---------- */
.fav {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.9); box-shadow: 0 3px 10px -4px rgba(92,18,41,.4);
}
.fav svg { width: 20px; height: 20px; fill: none; stroke: var(--bordo); stroke-width: 1.7; transition: fill .2s; }
.fav[aria-pressed="true"] svg { fill: #D9486F; stroke: #D9486F; }
.fav.late svg { animation: late .45s ease; }
@keyframes late { 40% { transform: scale(1.3); } }
.fav.en-ficha { position: static; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--linea); }
.ficha-titulo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chip-fav[aria-pressed="false"] { color: #C23A62; }

/* ---------- Guía de talles ---------- */
.link-guia { margin-left: 10px; border: 0; background: none; padding: 0; font: 500 13px var(--sans); color: var(--bordo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.guia-tabla { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.guia-tabla th, .guia-tabla td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--linea); }
.guia-tabla th { font-weight: 600; color: var(--gris); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.guia-tabla td:first-child { font-weight: 700; color: var(--bordo); }
.guia-nota { font-size: 13px; color: var(--gris); margin: 8px 0; }

/* ---------- Zoom de fotos ---------- */
.galeria-fotos { overflow-y: hidden; }
.galeria-fotos img { transition: transform .25s ease; cursor: zoom-in; }
.galeria-fotos img.zoom { transform: scale(2.2); cursor: zoom-out; position: relative; z-index: 1; }
.galeria-fotos.con-zoom { touch-action: none; }
.galeria-fotos > img { overflow: hidden; }

/* ---------- Relacionados ---------- */
.relacionados { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--linea); }
.relacionados h3 { margin: 0 0 12px; font: 400 30px/1.1 var(--firma); color: var(--bordo); }
.rel-lista { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rel-lista::-webkit-scrollbar { display: none; }
.rel { flex: 0 0 132px; scroll-snap-align: start; text-decoration: none; color: inherit; }
.rel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--rosa); box-shadow: 0 0 0 3px #fff, 0 8px 16px -12px rgba(92,18,41,.5); }
.rel span { display: block; margin-top: 8px; font: italic 400 14px/1.2 var(--serif); }
.rel b { display: block; margin-top: 2px; font-size: 13px; color: var(--bordo); }

/* ---------- Progreso hacia el mínimo ---------- */
.progreso-minimo { margin: 0 0 12px; }
.progreso-texto { margin: 0 0 7px; font-size: 13px; text-align: center; color: var(--ciruela); }
.progreso-texto b { color: var(--bordo); }
.progreso-barra { height: 8px; border-radius: 4px; background: #F6E1E6; overflow: hidden; }
.progreso-barra i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #E7A1B4, #B23A5E); transition: width .5s cubic-bezier(.2,.7,.3,1); }
.progreso-minimo.listo .progreso-barra i { background: linear-gradient(90deg, #C9A36A, #E6C88E, #C9A36A); }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; z-index: 31; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 10px 22px -8px rgba(0,0,0,.35);
  transition: transform .25s;
}
.whatsapp[hidden] { display: none; }
.whatsapp svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp:hover { transform: scale(1.07); }
body.bloqueado .whatsapp { z-index: 0; }
.link-wa { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 500; color: #1D9E4F; text-underline-offset: 3px; }
.link-wa[hidden] { display: none; }

/* Arreglo: que la fila de relacionados no ensanche la ficha */
@media (min-width: 860px) {
  .ficha { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
.ficha-info, .relacionados { min-width: 0; }
.hoja-contenido { overflow-x: hidden; }

/* ---------- Urgencia por talle ---------- */
.urgencia { margin: 8px 0 0; font-size: 13px; color: #A0452E; }

/* ---------- Completá el look ---------- */
.look { margin-top: 18px; padding: 14px; border-radius: 14px; background: #FBEBED; }
.look h3 { margin: 0 0 10px; font: 400 26px/1.1 var(--firma); color: var(--bordo); }
.look-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.look-item { text-decoration: none; color: inherit; min-width: 0; }
.look-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; background: #fff; box-shadow: 0 0 0 2px #fff; }
.look-item span { display: block; margin-top: 5px; font: italic 400 12.5px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look-item b { font-size: 12px; color: var(--bordo); }

/* ---------- Código de descuento ---------- */
.form-codigo { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--linea); }
.form-codigo label { font-size: 14px; font-weight: 600; }
.codigo-fila { display: flex; gap: 8px; margin-top: 8px; }
.codigo-fila input { flex: 1; min-width: 0; text-transform: uppercase; }
.codigo-msj { margin: 6px 0 0; font-size: 13px; color: var(--gris); }
.codigo-msj.ok { color: #2E7D4F; } .codigo-msj.mal { color: #B3261E; }
#filaDescuento dd { color: #2E7D4F; font-weight: 600; }

/* ---------- Confianza ---------- */
.confianza { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.confianza li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gris); justify-content: center; }
.confianza svg { width: 17px; height: 17px; fill: none; stroke: #2E7D4F; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.codigo-fila input { height: 48px; padding: 0 14px; border-radius: 10px; border: var(--borde); background: #fff; font-size: 16px; }
.codigo-fila input:focus { border-color: var(--bordo); outline: none; box-shadow: 0 0 0 3px rgba(122,31,61,.14); }
.codigo-fila .boton { height: 48px; }
.ficha-plazos { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--gris); }
.ficha-plazos li::before { content: "✦"; color: #C9A36A; margin-right: 7px; font-size: 10px; }

/* ---------- Contacto en el pie ---------- */
.contacto { margin-top: 22px; }
.contacto-tit { margin: 0 0 8px; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.redes { display: flex; flex-wrap: wrap; gap: 8px; }
.red { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 20px; background: #fff; border: 1px solid var(--linea); color: var(--bordo); text-decoration: none; font-size: 14px; }
.red[hidden] { display: none; }
.red:hover { background: #FBEBED; }
.red svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.red span { overflow-wrap: anywhere; }
.red { max-width: 100%; height: auto; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }

/* ---------- Pie armonioso ---------- */
.pie { max-width: none; margin: 40px 0 0; padding: 0; border-top: 0; position: relative;
  background: linear-gradient(180deg, #FBEBED 0%, #F6DDE3 100%); }
.pie::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px;
  background: radial-gradient(circle at 12px 12px, #FBEBED 11px, transparent 11.5px) 0 0 / 24px 12px repeat-x; }
.pie-interior { max-width: var(--ancho); margin: 0 auto; padding: 40px var(--gutter) calc(28px + env(safe-area-inset-bottom)); text-align: center; }
.pie .pie-marca { margin: 0; }
.pie-lema { margin: 6px 0 0; font: italic 400 15px/1.3 var(--serif); color: var(--gris); }
.pie-columnas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 26px; text-align: left; }
.pie-col { background: rgba(255,255,255,.65); border: 1px solid #F1D3DA; border-radius: 18px; padding: 18px 18px 16px; }
.pie-col h3 { margin: 0 0 12px; font: 400 26px/1 var(--firma); color: var(--bordo); }
.pie-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ciruela); font-size: 14px; line-height: 1.4; }
.pie-col li { display: flex; gap: 10px; align-items: flex-start; }
.pie-col li svg, .pie .red svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: #B8935A; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pie .contacto { margin: 0; }
.pie .redes { flex-direction: column; align-items: stretch; gap: 8px; }
.pie .red { justify-content: flex-start; border-color: #F1D3DA; }
.pie-final { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  margin: 0; padding-top: 18px; border-top: 1px solid #EBC9D1; font-size: 13px; color: var(--gris); }
.pie-links { display: inline-flex; align-items: center; gap: 10px; }
.pie-links a { color: var(--bordo); text-decoration: none; font-weight: 500; }
.pie-links a:hover { text-decoration: underline; }
.pie-links i { font-style: normal; color: #C9A36A; font-size: 10px; }
@media (max-width: 820px) {
  .pie-columnas { grid-template-columns: 1fr; gap: 12px; }
  .pie-final { justify-content: center; text-align: center; }
}
/* Nunca scroll lateral en ningún dispositivo */
html { overflow-x: hidden; overflow-x: clip; }
.portada::before { inset: -40px 0 auto; }

/* ---------- Logos de redes ---------- */
.sociales { display: flex; gap: 10px; margin-top: 12px; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #F1D3DA; color: var(--bordo); transition: transform .2s, background .2s, color .2s; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
a.social[href]:hover { background: var(--bordo); color: #fff; transform: translateY(-2px); }
.social.pronto { cursor: default; }

/* ---------- Mis pedidos con fotos ---------- */
.pedido-cabeza { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pedido-fotos { display: flex; gap: 8px; margin: 10px 0 4px; }
.pedido-fotos img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--rosa); box-shadow: 0 0 0 2px #fff, 0 6px 12px -8px rgba(92,18,41,.5); }
.pedido-mini .progreso-minimo { margin: 12px 0 8px; }
.pedido-mini .boton { margin-top: 8px; }
.segmentado { flex-wrap: wrap; max-width: 100%; }

/* ---------- Modo dueña ---------- */
.panel-duena { text-decoration: none; display: inline-flex; align-items: center; background: var(--bordo) !important; color: #fff !important; border-color: var(--bordo) !important; }
.panel-duena[hidden] { display: none !important; }
/* Cargando pedidos */
.cargando-pedidos { display: flex; gap: 6px; justify-content: center; padding: 24px 0; }
.cargando-pedidos i { width: 9px; height: 9px; border-radius: 50%; background: #E7A1B4; animation: puntito 1s ease-in-out infinite; }
.cargando-pedidos i:nth-child(2) { animation-delay: .15s; } .cargando-pedidos i:nth-child(3) { animation-delay: .3s; }
@keyframes puntito { 50% { transform: translateY(-6px); opacity: .5; } }
/* Confianza: siempre centrado y prolijo */
.confianza li { text-align: center; }
body.duena #btnCuenta { max-width: 90px; }
.filtro-vacio { margin: 0; font-size: 13px; color: var(--gris); }

/* ---------- Menú de la cuenta ---------- */
.cuenta-caja { position: relative; }
.menu-cuenta { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 210px; max-width: calc(100vw - 24px);
  padding: 6px; border-radius: 14px; background: #fff; border: 1px solid #F1D3DA; box-shadow: 0 16px 34px -14px rgba(92,18,41,.45); }
.menu-cuenta[hidden] { display: none; }
.menu-email { margin: 6px 10px 8px; font-size: 12px; color: var(--gris); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-cuenta a, .menu-cuenta button { display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 10px; border: 0; border-radius: 10px;
  background: none; font: 500 14.5px var(--sans); color: var(--ciruela); text-decoration: none; cursor: pointer; text-align: left; }
.menu-cuenta a[hidden] { display: none; }
.menu-cuenta a:hover, .menu-cuenta button:hover { background: #FBEBED; color: var(--bordo); }
.menu-cuenta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
#menuSalir { border-top: 1px solid #F6E1E6; border-radius: 0 0 10px 10px; margin-top: 4px; }
body.duena #btnCuenta { background: var(--bordo); color: #fff; border-color: var(--bordo); max-width: 150px; }

/* ---------- Galería: flechas y contador ---------- */
.galeria-flecha { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.88); color: var(--bordo); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(92,18,41,.4); }
.galeria-flecha[hidden] { display: none; }
.galeria-flecha.izq { left: 10px; } .galeria-flecha.der { right: 10px; }
.galeria-cuenta { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 12px; background: rgba(43,20,32,.55); color: #fff; font: 600 12px var(--sans); }
.galeria-cuenta[hidden] { display: none; }
@media (hover: none) { .galeria-flecha { width: 34px; height: 34px; font-size: 20px; background: rgba(255,255,255,.75); } }

/* ---------- Cotizador de envío en el carrito ---------- */
.cotizar { margin-top: 16px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #F1D3DA; }
.cotizar h3 { margin: 0 0 10px; font: 400 26px/1.1 var(--firma); color: var(--bordo); }
.cotizar-prov { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.cotizar-prov select { height: 46px; padding: 0 12px; border-radius: 10px; border: var(--borde); background: #fff; font: inherit; font-weight: 400; font-size: 16px; }
.cotizar-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cot-op { position: relative; cursor: pointer; }
.cot-op input { position: absolute; opacity: 0; pointer-events: none; }
.cot-op span { display: grid; gap: 2px; height: 100%; padding: 12px; border-radius: 12px; border: 1.5px solid var(--linea); background: var(--leche); transition: border-color .2s, box-shadow .2s; }
.cot-op b { font-size: 14px; }
.cot-op small { color: var(--gris); font-size: 12px; }
.cot-op em { margin-top: 4px; font-style: normal; font-weight: 700; font-size: 16px; color: var(--bordo); }
.cot-op input:checked + span { border-color: var(--bordo); box-shadow: 0 0 0 3px #FBEBED; background: #fff; }
.cot-op input:focus-visible + span { outline: 2px solid var(--bordo); outline-offset: 2px; }
.cotizar-nota { margin: 10px 0 0; font-size: 12px; color: var(--gris); }

/* Punto de encuentro */
.metodos.tres, .cotizar-opciones.tres { grid-template-columns: 1fr 1fr; }
.metodos.tres .metodo-encuentro, .cotizar-opciones.tres .cot-encuentro { grid-column: 1 / -1; }
.metodo[hidden], .cot-op[hidden] { display: none; }
.cot-encuentro em { color: #2E7D4F; }

.cotizar-datos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.cotizar-cp input { height: 46px; padding: 0 12px; border-radius: 10px; border: var(--borde); background: #fff; font: inherit; font-weight: 400; font-size: 16px; min-width: 0; }
@media (max-width: 360px) { .cotizar-datos { grid-template-columns: 1fr; } }

/* ---------- Carrito agrupado por prenda ---------- */
.linea { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
.linea-cabeza { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.linea-cabeza b { font-weight: 700; white-space: nowrap; }
.linea-total { margin: 2px 0 0 !important; }
.linea-variantes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.linea-variantes li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #FBEBED66; }
.var-det { font-size: 13px; color: var(--ciruela); }
.var-det small { display: block; color: var(--gris); font-size: 12px; }
.linea-variantes .quitar { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: var(--gris); font-size: 13px; text-decoration: none; cursor: pointer; padding: 0; }
.linea-variantes .quitar:hover { color: var(--bordo); }

/* Flechas de la galería bien visibles en la compu */
@media (hover: hover) and (min-width: 860px) {
  .galeria-flecha { width: 46px; height: 46px; font-size: 28px; background: #fff; opacity: .92; }
  .galeria-flecha:hover { opacity: 1; transform: translateY(-50%) scale(1.06); }
}
.galeria { position: relative; }
.galeria-flecha, .galeria-cuenta { z-index: 5; }
/* Fotos de la ficha siempre completas (sin recortar cabeza ni pies), sobre fondo suave */
.galeria { background: linear-gradient(180deg, #F8E6EA, #F3DDE2); }
.galeria-fotos img { object-fit: contain; background: transparent; }
@media (min-width: 860px) { .galeria-fotos img { height: min(90vh, 100%); max-height: 90vh; } }

.pastilla.otro-tipo { opacity: .75; border-style: dashed; }
.pastilla.otro-tipo small { margin-left: 6px; font-size: 11px; color: var(--gris); }
/* Opción que no combina con lo elegido: gris, pero se puede tocar */
.pastilla.no-combina { color: #b8a6ad; background: #faf5f6; border-style: dashed; }
.pastilla.no-combina i { opacity: .45; }
/* Falta elegir: se marca en rojo */
.opcion.falta { border-radius: 12px; outline: 2px solid #D6455D; outline-offset: 6px; animation: sacude .4s ease; }
.opcion.falta .opcion-titulo { color: #C0263F; }
.opcion.falta .opcion-titulo::after { content: ' ← elegí una opción'; font-weight: 600; font-size: 13px; }
@keyframes sacude { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.tarifa-correo { display: block; font-size: 12px; font-weight: 600; font-style: normal; opacity: .75; margin-top: 2px; letter-spacing: 0; }
.calle-num { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.form label small { font-weight: 400; opacity: .7; }
.nota-sucursal { font-size: 12.5px; color: var(--texto-suave, #7a5a64); margin: 4px 0 0; }
#sucursal { text-overflow: ellipsis; }
/* Código postal: valida y completa provincia y localidad */
.cp-info { font-size: 13px; margin: -2px 0 8px; color: #4d7a55; }
.cp-info.mal { color: #C0263F; }
/* Mapa de la dirección */
.mapa-dir { margin-top: 10px; border: 1px solid #f0d9df; border-radius: 12px; padding: 10px; background: #fff; }
.mapa-titulo { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; }
.mapa-dir iframe { display: block; width: 100%; height: 220px; border: 0; border-radius: 8px; background: #f6eef0; }
.form label.confirmo { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-weight: 600; font-size: 14px; }
.form label.confirmo input { width: 20px; height: 20px; margin: 0; accent-color: var(--bordo, #7A1F3D); flex: none; }
.form label.confirmo[aria-invalid="true"], .confirmo:has(input[aria-invalid="true"]) { color: #C0263F; }
/* "Envío y pago" en pantalla completa */
.cajon.completa .cajon-contenido { width: 100%; max-width: none; }
.cajon.completa .cajon-cuerpo, .cajon.completa .cajon-pie, .cajon.completa .cajon-cabeza { padding-left: max(var(--gutter), calc((100% - 680px) / 2)); padding-right: max(var(--gutter), calc((100% - 680px) / 2)); }
/* Pantallas bajas (celular apaisado, notebooks chicas): el resumen ocupa menos lugar */
@media (max-height: 760px) {
  .cajon.completa .confianza, .cajon.completa #notaPago { display: none; }
  .cajon.completa .cajon-pie { padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .cajon.completa .totales div:not(.total) { font-size: 14px; }
}
/* Compu y tablet apaisada: formulario a la izquierda, resumen y botón de pago fijos a la derecha */
@media (min-width: 1000px) {
  .cajon.completa .cajon-contenido { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); grid-template-rows: auto minmax(0, 1fr); }
  .cajon.completa .cajon-cabeza { grid-column: 1 / -1; padding-left: max(var(--gutter), calc((100% - 1100px) / 2)); padding-right: max(var(--gutter), calc((100% - 1100px) / 2)); }
  .cajon.completa #pasoCompra { grid-column: 1; grid-row: 2; padding-left: max(32px, calc(100% - 700px)); padding-right: 40px; }
  .cajon.completa .cajon-pie { grid-column: 2; grid-row: 2; align-self: stretch; overflow: auto; border-top: 0; border-left: var(--borde); padding: 28px max(28px, calc((100vw - 1100px) / 2)) 28px 28px; }
  .cajon.completa .confianza { display: grid; } .cajon.completa #notaPago:not([hidden]) { display: block; }
}
/* Direcciones encontradas */
.dir-sugerencias { margin-top: 10px; }
#dirOpciones { display: grid; gap: 6px; }
.dir-op { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #f0d9df; border-radius: 10px; background: #fff; cursor: pointer; font-weight: 400; margin: 0; }
.dir-op input { margin-top: 3px; accent-color: var(--bordo, #7A1F3D); flex: none; width: 18px; height: 18px; }
.dir-op span { display: grid; gap: 2px; }
.dir-op b { font-size: 14.5px; }
.dir-op small { font-size: 12.5px; opacity: .75; }
.dir-op:has(input:checked) { border-color: var(--bordo, #7A1F3D); box-shadow: 0 0 0 1px var(--bordo, #7A1F3D); }
.mapa-texto { margin: 0 0 8px; font-size: 13px; } .mapa-texto b { font-weight: 600; }
/* Celular apaisado: solo el total y el botón, así se ve el formulario */
@media (max-height: 520px) and (max-width: 999px) {
  .cajon.completa .totales div:not(.total), .cajon.completa #progresoMinimo, .cajon.completa #notaMinimo { display: none; }
  .cajon.completa .totales { margin: 0 0 6px; }
  .cajon.completa #btnSeguir { min-height: 42px; }
  .cajon.completa .cajon-cabeza { padding-top: 8px; padding-bottom: 8px; }
}
/* Ventanas laterales: nunca se corren solas (al elegir algo o al aparecer el mapa) */
.cajon { overflow: hidden; }
/* Celular apaisado: ficha en dos columnas (foto a la izquierda, datos a la derecha) */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 859px) {
  .ficha { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .ficha .galeria { position: sticky; top: 0; align-self: start; }
  .galeria-fotos img { max-height: 100dvh; }
  .cajon .confianza { display: none; }
}
@media (max-height: 520px) { .modal-contenido { max-height: 96dvh; padding: 16px 18px; border-radius: 12px; } }
