/* Patua Dreams · tienda (boceto 1) */
:root {
  --bg: #efe7e3;          /* algodón */
  --surface: #e4d6d0;
  --ink: #1c1922;
  --muted: #564f5c;
  --accent: #8a3350;      /* rosa vino del ribete */
  --accent-ink: #ffffff;
  --night: #1d1b26;
  --night-2: #282533;
  --night-ink: #f3e9e5;
  --night-muted: #c9bcc4;
  --blush: #e7bdb6;
  --stripe: #d9a69f;

  --display: 'Instrument Serif', 'Times New Roman', serif;
  --text: 'Archivo', system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --gap-section: clamp(120px, 14vw, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--blush); color: var(--ink); }
.vh { 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: .6em;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 0;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: var(--step-body);
  text-decoration: none; transition: transform .16s var(--ease-out), background-color .2s;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.97); }
.btn--soft { background: var(--surface); color: var(--ink); }
.btn--soft:hover { background: var(--blush); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--ink); }
.btn--light { background: var(--night-ink); color: var(--night); }
.btn--light:hover { background: var(--blush); }

/* ---------- Barra ---------- */
.barra {
  position: fixed; top: 0; right: 0; z-index: 20; display: flex; gap: clamp(14px, 2vw, 28px);
  align-items: center; padding: 22px var(--margin); font-size: 15px;
}
.barra a, .barra button { text-decoration: none; background: none; border: 0; padding: 6px 0; font-size: 15px; }
.barra a:hover, .barra button:hover { color: var(--accent); }
.barra .bolsa-btn { background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.barra .bolsa-btn:hover { background: var(--accent); color: #fff; }
.barra.sobre-noche a { color: var(--night-ink); }
.barra { transition: transform .35s var(--ease-out), background-color .2s; }
.barra.con-fondo { background: var(--bg); }
.barra.escondida { transform: translateY(-110%); }


/* ---------- Escenario partido ---------- */
.split { display: grid; grid-template-columns: 47vw minmax(0, 1fr); }
.escenario {
  position: sticky; top: 0; height: 100svh; padding: 20px 0 20px 20px;
}
.escenario__marco {
  position: relative; height: 100%; overflow: hidden;
  background-color: var(--night);
  background-image: url('assets/crepe-satin-spec-ior-8k-rico-cilliers.jpg');
  background-size: 700px; background-blend-mode: multiply;
  display: grid; place-items: center;
}
.escenario__marco { transition: background-color .6s var(--ease-out); }
.escenario.dia .escenario__marco { background-color: var(--blush); }
.escenario.dia .escenario__pie { color: var(--ink); }
.escenario__pijama {
  width: min(68%, 52svh); transition: transform .5s var(--ease-out), opacity .3s;
  animation: respira 7s ease-in-out infinite;
}
.escenario__pijama.cambia { opacity: 0; transform: translateY(14px) scale(.98); }
@keyframes respira { 50% { translate: 0 -6px; } }
.escenario__pie {
  position: absolute; left: 28px; right: 28px; top: 24px; color: var(--night-ink);
  display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-small);
}
.escenario__pie strong { font-weight: 600; }
.escenario__pijama.con-foto { position: absolute; inset: 0; width: 100%; height: 100%; animation: none; }
.escenario__pijama.con-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: deriva 18s ease-in-out infinite alternate; }
@keyframes deriva { from { transform: scale(1.02); } to { transform: scale(1.08) translateY(-1%); } }
.escenario__pie span { background: var(--night); color: var(--night-ink); padding: 6px 10px; }
.escenario.dia .escenario__pie span { background: var(--bg); color: var(--ink); }

/* Fotos en general */
.foto { width: 100%; height: 100%; object-fit: cover; display: block; }
.lamina .foto { position: absolute; inset: 0; transition: transform .8s var(--ease-out); }
.lamina:hover .foto { transform: scale(1.04); }
.lamina.con-foto figcaption { background: var(--night); color: var(--night-ink); padding: 6px 10px; left: 12px; bottom: 12px; right: auto; }

.columna { padding: 0 clamp(24px, 5vw, 72px); min-width: 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; }
.hero__frase {
  position: absolute; top: 40%; left: 0; right: 0; margin-inline: auto; transform: translateY(-50%);
  width: min(26ch, 100%); font-size: var(--step-lead); line-height: 1.4;
}
.hero__frase .btn { margin-top: 32px; }
.marca {
  position: absolute; right: 0; bottom: 40px; left: -16vw; z-index: 3;
  font-family: var(--display); font-size: clamp(64px, 10.2vw, 200px); line-height: .85;
  letter-spacing: -0.035em; white-space: nowrap; pointer-events: none;
  transform-origin: 100% 100%;
}
.marca span { display: block; }
.marca .claro { position: absolute; inset: 0; color: var(--night-ink); clip-path: inset(0 calc(100% - var(--corte, 0px)) 0 0); }
.marca .oscuro { clip-path: inset(0 0 0 var(--corte, 0px)); }

/* Secciones de la columna */
.bloque { padding-top: var(--gap-section); }
.bloque h2 { font-family: var(--display); font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; }

/* Probador */
.probador { min-height: 88svh; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tabs button {
  background: none; border: 0; padding: 6px 0; font-size: 18px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px; transition: color .2s;
}
.tabs button::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.tabs button:hover { color: var(--ink); }
.probador__info p { max-width: 40ch; margin-top: 28px; }
.precio { display: flex; gap: 16px; align-items: baseline; margin-top: 28px; font-size: var(--step-lead); }
.precio s { color: var(--muted); font-size: var(--step-body); }
.precio small { font-size: var(--step-small); color: var(--muted); }
.talles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.talles button {
  min-width: 56px; height: 48px; border: 0; background: var(--surface); font-weight: 600;
  transition: background-color .2s, transform .16s var(--ease-out);
}
.talles button:hover { background: var(--blush); }
.talles button:active { transform: scale(.95); }
.talles button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.talles button:disabled { background: transparent; color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.stock-nota { margin-top: 14px; font-size: var(--step-small); color: var(--muted); min-height: 1.5em; }
.stock-nota.poco { color: var(--accent); font-weight: 600; }
.acciones2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acciones2 .btn { min-height: 72px; }

/* La colección: hoja impresa con festón */
.hoja-fondo { background: var(--blush); margin-inline: calc(clamp(24px, 5vw, 72px) * -1); padding: 72px clamp(16px, 4vw, 56px); }
.hoja {
  background: var(--bg); max-width: 640px; margin-inline: auto; padding: 72px clamp(24px, 4vw, 64px);
  text-align: center;
  /* festón de la hoja: máscara, no relleno. taste-skill-ignore */
  -webkit-mask: radial-gradient(circle 10px at 50% 0, #0000 98%, #000) 0 0 / 28px 51% repeat-x,
                radial-gradient(circle 10px at 50% 100%, #0000 98%, #000) 0 100% / 28px 51% repeat-x;
          mask: radial-gradient(circle 10px at 50% 0, #0000 98%, #000) 0 0 / 28px 51% repeat-x,
                radial-gradient(circle 10px at 50% 100%, #0000 98%, #000) 0 100% / 28px 51% repeat-x;
}
.hoja > p { font-size: var(--step-small); margin-top: 14px; color: var(--muted); }
.grupo { margin-top: 56px; }
.grupo h3 { font-family: var(--display); font-size: 28px; }
.grupo ul { list-style: none; padding: 0; margin: 20px auto 0; max-width: 440px; text-align: left; }
.grupo li + li { margin-top: 8px; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; width: 100%; text-align: left;
  background: none; border: 0; padding: 10px 12px; margin: 0 -12px; width: calc(100% + 24px);
  transition: background-color .2s;
}
.item:hover { background: var(--surface); }
.item span:first-child { font-weight: 600; }
.item .num { font-variant-numeric: tabular-nums; }
.item small { grid-column: 1 / -1; color: var(--muted); font-size: var(--step-small); }
.item.agotado span:first-child::after { content: ' · sin stock'; color: var(--accent); font-weight: 400; }
.hoja__pie { margin-top: 56px; font-size: var(--step-small); }

/* Carta */
.carta { max-width: 540px; }
.carta__firma { margin-top: 36px; }
.carta__firma em { font-family: var(--display); font-size: 30px; font-style: italic; display: block; }
.carta__firma small { color: var(--muted); font-size: var(--step-small); }
.carta p + p { margin-top: 1.1em; }
.carta h2 + p { margin-top: 36px; }
.marcador { background: var(--blush); padding: 0 .2em; }

/* ---------- Secciones a lo ancho ---------- */
.ancho { padding: var(--gap-section) var(--margin) 0; }
.ancho__cabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-left: 6vw; }
.ancho__cabeza h2 { font-family: var(--display); font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; }

/* Dreamys: fila arrastrable */
.fila {
  display: flex; gap: 12px; height: 68svh; margin-top: 32px; padding-left: 6vw;
  margin-inline: calc(var(--margin) * -1); overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; cursor: grab;
}
.fila::-webkit-scrollbar { display: none; }
.fila.arrastrando { cursor: grabbing; scroll-snap-type: none; }
.mod { flex: none; height: 100%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.mod--alto { aspect-ratio: 3 / 4; }
.mod--par { aspect-ratio: 3 / 4.4; }
.mod--ancho { aspect-ratio: 16 / 10; }
.lamina { flex: 1; display: grid; place-items: center; overflow: hidden; position: relative; }
.lamina svg { height: 86%; width: auto; transition: transform .6s var(--ease-out); }
.lamina:hover svg { transform: scale(1.04) rotate(-1deg); }
.lamina figcaption { position: absolute; left: 16px; bottom: 12px; font-size: var(--step-small); }
.lamina.oscura figcaption { color: var(--night-ink); }

/* Mayoristas: banda de noche */
.noche { background: var(--night); color: var(--night-ink); margin-top: var(--gap-section); }
.mayoristas {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px;
  padding: clamp(96px, 10vw, 160px) var(--margin);
}
.mayoristas h2 { grid-column: 1 / 7; font-family: var(--display); font-size: clamp(3rem, 1.5rem + 5vw, 7rem); line-height: .92; letter-spacing: -0.03em; }
.mayoristas__texto { grid-column: 8 / 13; align-self: end; }
.mayoristas__texto p { color: var(--night-ink); }
.mayoristas__texto dl { margin: 32px 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; }
.mayoristas__texto dt { color: var(--night-muted); }
.mayoristas__texto dd { margin: 0; }

/* Preguntas */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding-top: var(--gap-section); padding-inline: var(--margin); }
.faq h2 { grid-column: 1 / 4; font-family: var(--display); font-size: var(--step-head); line-height: 1; }
.faq__texto { grid-column: 5 / 13; columns: 2; column-gap: 56px; }
.faq__texto p { break-inside: avoid; margin-bottom: 22px; font-size: 17px; }
.faq__texto b { font-weight: 600; }

/* Cierre */
.cierre {
  margin-top: var(--gap-section); min-height: 90svh; background: var(--blush);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding: 0 var(--margin);
}
.cierre__dibujo { grid-column: 1 / 7; display: grid; place-items: center; padding: 6vh 0; }
.cierre__dibujo svg { height: 76svh; width: auto; }
.cierre__texto { grid-column: 8 / 13; align-self: end; padding-bottom: 12vh; }
.cierre__texto h2 { font-family: var(--display); font-size: clamp(2.5rem, 1.2rem + 3.4vw, 5rem); line-height: 1; letter-spacing: -0.02em; }
.cierre__texto p { margin: 24px 0 32px; max-width: 36ch; }

/* Pie */
.pie { background: var(--night); color: var(--night-ink); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: 100svh; }
.pie__tela {
  grid-column: 1 / 7; position: relative; overflow: hidden;
  background-color: var(--accent); background-image: url('assets/crepe-satin-spec-ior-8k-rico-cilliers.jpg');
  background-size: 900px; background-blend-mode: multiply;
  display: grid; place-items: end start;
}
.pie__tela svg { width: 130%; max-width: none; margin: 0 0 -24% -18%; }
.pie__menu { grid-column: 8 / 13; padding: 80px var(--margin) 32px 0; display: flex; flex-direction: column; }
.pie__marca { font-family: var(--display); font-size: 28px; }
.pie__menu nav { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.pie__menu nav a { font-family: var(--display); font-size: clamp(2rem, 1rem + 2.4vw, 3.4rem); line-height: 1; text-decoration: none; transition: transform .3s var(--ease-out), color .2s; }
.pie__menu nav:hover a { color: var(--night-muted); }
.pie__menu nav a:hover { color: var(--night-ink); transform: translateX(12px); }
.pie__datos { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 15px; }
.pie__datos a { color: var(--night-ink); }
.pie__legal { margin-top: auto; padding-top: 48px; font-size: 13px; color: var(--night-muted); }
.pie__legal a { color: var(--night-muted); }

/* ---------- Bolsa ---------- */
.bolsa {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(460px, 100vw);
  background: var(--bg); box-shadow: -24px 0 60px rgba(20, 16, 24, .18); /* taste-skill-ignore: panel flotante */
  transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s;
  display: flex; flex-direction: column;
}
.bolsa.abierta { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.velo { position: fixed; inset: 0; z-index: 39; background: rgba(20, 16, 24, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.velo.visible { opacity: 1; pointer-events: auto; }
.bolsa__cabeza { display: flex; justify-content: space-between; align-items: center; padding: 24px; }
.bolsa__cabeza h2 { font-family: var(--display); font-size: 36px; }
.bolsa__cabeza button { background: none; border: 0; text-decoration: underline; padding: 8px; }
.bolsa__lista { flex: 1; overflow-y: auto; padding: 0 24px; }
.linea { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 16px 0; align-items: center; }
.linea + .linea { border-top: 8px solid var(--surface); }
.linea__mini { background: var(--night); height: 88px; display: grid; place-items: center; }
.linea__mini svg { height: 80px; }
.linea small { display: block; color: var(--muted); font-size: var(--step-small); }
.linea__cant { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.linea__cant button { width: 32px; height: 32px; border: 0; background: var(--surface); }
.bolsa__vacia { padding: 32px 0; color: var(--muted); }
.bolsa__pie { padding: 20px 24px 24px; background: var(--surface); }
.campo { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 10px; }
.campo label { grid-column: 1 / -1; font-size: var(--step-small); font-weight: 600; }
.campo input {
  min-height: 48px; border: 0; padding: 0 14px; font: inherit; background: var(--bg); color: var(--ink); min-width: 0;
}
.campo button { border: 0; background: var(--ink); color: var(--bg); padding: 0 18px; font-weight: 600; }
.aviso { font-size: var(--step-small); margin: 2px 0 12px; min-height: 1.4em; }
.aviso.bien { color: #2f5d3a; }
.aviso.mal { color: var(--accent); }
.totales { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 12px 0 18px; font-variant-numeric: tabular-nums; }
.totales .total { font-size: var(--step-lead); font-weight: 600; padding-top: 6px; }
.bolsa__pie .btn { width: 100%; }
.envio-opc { display: flex; gap: 8px; margin-bottom: 10px; }
.envio-opc button { flex: 1; min-height: 44px; border: 0; background: var(--bg); font-size: 15px; }
.envio-opc button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--bg); padding: 14px 20px; font-size: 15px;
  transition: transform .4s var(--ease-out), opacity .3s; box-shadow: 0 12px 30px rgba(20, 16, 24, .25); /* taste-skill-ignore: aviso flotante */
  opacity: 0; pointer-events: none;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Entradas ---------- */
.js .sube { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.js .sube.dentro { opacity: 1; transform: none; }

/* ---------- Teléfono ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .escenario { position: sticky; top: 0; height: 58svh; padding: 12px; z-index: 1; }
  .escenario__pie { left: 16px; right: 16px; top: auto; bottom: 12px; }
  .columna { padding: 0 20px; position: relative; z-index: 2; background: var(--bg); }
  .hero { min-height: auto; padding-top: 20px; display: flex; flex-direction: column; }
  .marca { position: relative; left: 0; right: auto; bottom: auto; order: -1; font-size: 19vw; text-align: left; transform: none !important; }
  .marca .claro { display: none; }
  .marca .oscuro { clip-path: none; }
  .hero__frase { position: static; transform: none; width: auto; font-size: 19px; margin-top: 20px; }
  .hero__frase .btn { width: 100%; }
  .barra { left: 0; justify-content: flex-end; padding: 16px 20px; }
  .barra .opc { display: none; }
  .barra a.opc-sí { color: var(--night-ink); }
  .probador { min-height: auto; }
  .acciones2 { grid-template-columns: 1fr; }
  .acciones2 .btn { min-height: 60px; }
  .hoja-fondo { margin-inline: -20px; padding: 40px 10px; }
  .hoja { padding: 52px 24px; }
  .ancho__cabeza { padding-left: 4px; }
  .fila { height: 62svh; padding-left: 20px; gap: 8px; }
  .mod--alto { width: 72vw; aspect-ratio: auto; }
  .mod--par { width: 64vw; aspect-ratio: auto; }
  .mod--ancho { width: 88vw; aspect-ratio: auto; }
  .mayoristas, .faq, .cierre, .pie { grid-template-columns: 1fr; }
  .mayoristas h2, .mayoristas__texto, .faq h2, .faq__texto, .cierre__dibujo, .cierre__texto, .pie__tela, .pie__menu { grid-column: 1 / -1; }
  .faq__texto { columns: 1; }
  .cierre__dibujo svg { height: 56svh; }
  .cierre__texto { padding-bottom: 72px; }
  .pie__tela { min-height: 50svh; }
  .pie__menu { padding: 48px 20px 28px; }
  .pie__menu nav a { font-size: 9vw; }
  .pie__datos { grid-template-columns: 1fr; }
  .intro__texto { grid-template-columns: 1fr; }
  .intro__acciones { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .escenario__pijama, .escenario__pijama img, .lamina .foto, .lamina svg { animation: none !important; }
  body.vistiendo .mundo { transform: none; }
}

/* ---------- Con fotos ---------- */
.cierre__dibujo { padding: 0; margin-left: calc(var(--margin) * -1); position: relative; overflow: hidden; min-height: 90svh; }
.cierre__dibujo .foto { position: absolute; inset: 0; }
.pie__tela .foto { position: absolute; inset: 0; object-position: 50% 30%; }
.linea__mini { overflow: hidden; }
.tarjeta__img .foto { height: 100%; }
@media (max-width: 860px) {
  .cierre__dibujo { min-height: 70svh; margin-inline: calc(var(--margin) * -1); }
}
.marca .claro { transition: color .4s; }
body.marca-oscura .marca .claro { color: var(--ink); }

/* ---------- Vitrina (portada tipo ficha de moda, como los pines) ---------- */
.vitrina {
  --vt-font: 'Montserrat', 'Archivo', sans-serif;
  position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #8f8a86; color: #fff;
  isolation: isolate; font-family: var(--vt-font);
}
.vitrina__fotos { position: absolute; inset: 0; z-index: 0; }
.vt-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: brightness(.66) saturate(.85) contrast(1.06); }
/* el vidrio corta a la modelo por la mitad */
.vitrina__vidrio {
  position: absolute; top: 0; bottom: 0; left: 0; width: 53.5%; z-index: 2;
  padding: 26px clamp(20px, 3vw, 44px) 32px; display: flex; flex-direction: column; gap: 30px;
  background: rgba(247, 218, 210, .40); /* rosa nude muy clarito */
  -webkit-backdrop-filter: blur(20px) saturate(1.05); backdrop-filter: blur(20px) saturate(1.05); /* taste-skill-ignore: vidrio pedido por la marca */
  border-right: 1px solid rgba(255, 232, 226, .45); /* taste-skill-ignore: canto del vidrio */
}
.vitrina__marca { font-family: var(--vt-font); font-weight: 300; font-size: clamp(30px, 2.9vw, 46px); line-height: 1; letter-spacing: -0.015em; text-shadow: 0 1px 18px rgba(70, 45, 52, .28); }
.vitrina__bajada { font-size: 14px; line-height: 1.5; max-width: 32ch; margin-top: -18px; text-shadow: 0 1px 12px rgba(70, 45, 52, .3); }
.vt-sub { font-family: var(--vt-font); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.vitrina__bloque p, .vitrina__frase { font-size: 13px; line-height: 1.55; max-width: 34ch; font-weight: 400; }
.vt-tag { display: inline-block; margin-top: 8px; font-size: 13px; opacity: .85; }
.vitrina__minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 420px; }
.vitrina__minis button { aspect-ratio: 3 / 4; padding: 0; border: 0; background: #77716d; overflow: hidden; transition: transform .3s var(--ease-out), opacity .3s; opacity: .8; }
.vitrina__minis button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: brightness(.9); }
.vitrina__minis button:hover { transform: translateY(-3px); opacity: 1; }
.vitrina__minis button[aria-selected="true"] { opacity: 1; box-shadow: inset 0 -3px 0 #fff; }
.vitrina__datos { position: absolute; top: 74px; right: clamp(20px, 3vw, 44px); z-index: 2; text-align: right; display: flex; flex-direction: column; gap: 22px; }
.vitrina__datos b { display: block; font-family: var(--vt-font); font-weight: 200; font-size: clamp(44px, 4.6vw, 76px); line-height: .9; letter-spacing: -0.02em; }
.vitrina__datos b small { font-size: .42em; vertical-align: top; margin-left: 2px; }
.vitrina__datos span { font-size: 13px; font-weight: 400; }
.vitrina__nombre {
  position: absolute; left: clamp(20px, 3vw, 44px); bottom: 34px; z-index: 3; margin: 0; color: #fff;
  font-family: var(--vt-font); font-weight: 300; font-size: clamp(72px, 11vw, 200px); line-height: .8; letter-spacing: -0.02em;
  pointer-events: none; white-space: nowrap;
}
.vitrina__compra { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 96px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.vitrina__precio { display: flex; gap: 12px; align-items: baseline; font-size: 26px; font-weight: 300; }
.vitrina__precio s { font-size: 15px; opacity: .8; }
.vitrina__talles { display: flex; gap: 6px; }
.vitrina__talles button { min-width: 42px; height: 38px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font: 500 13px var(--vt-font); transition: background-color .2s, transform .15s; }
.vitrina__talles button:hover { background: rgba(255, 255, 255, .34); }
.vitrina__talles button[aria-pressed="true"] { background: #fff; color: #1c1922; }
.vitrina__talles button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.vitrina__compra .btn { background: #fff; color: #1c1922; font: 600 14px var(--vt-font); min-height: 48px; }
.vitrina__compra .btn:hover { background: var(--blush); }
.vitrina__nav { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 14px; font-size: 13px; font-variant-numeric: tabular-nums; }
.vitrina__nav button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 16px; transition: background-color .2s, transform .15s; }
.vitrina__nav button:hover { background: rgba(255, 255, 255, .36); }
.vitrina__nav button:active, .vitrina__talles button:active { transform: scale(.94); }
/* barra arriba a la derecha en blanco sobre la vitrina, como en los pines */
.barra.sobre-vitrina:not(.con-fondo) a { color: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; }
.barra.sobre-vitrina:not(.con-fondo) .bolsa-btn { background: rgba(255, 255, 255, .16); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; }
/* entrada de cada ficha */
.vt-in { animation: vtIn .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes vtIn { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 860px) {
  /* en el celular queda como el pin: vertical, vidrio a la izquierda */
  .vitrina { height: 100svh; min-height: 600px; }
  .vt-foto { object-position: 52% 10%; }
  .vitrina__vidrio { width: 52%; padding: 74px 14px 0; gap: 18px; }
  .vitrina__marca { font-size: 30px; }
  .vitrina__bajada, .vitrina__frase { display: none; }
  .vitrina__bloque p { font-size: 12px; }
  .vitrina__minis { gap: 4px; }
  .vitrina__datos { top: 74px; right: 14px; gap: 14px; }
  .vitrina__datos b { font-size: 40px; }
  .vitrina__datos span { font-size: 12px; }
  .vitrina__nombre { font-size: 21vw; left: 14px; bottom: 196px; }
  .vitrina__compra { left: 14px; right: 14px; bottom: 70px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .vitrina__precio { font-size: 20px; }
  .vitrina__talles button { min-width: 36px; height: 34px; }
  .vitrina__compra .btn { flex: 1 0 100%; min-height: 46px; }
  .vitrina__nav { left: 14px; right: 14px; bottom: 16px; justify-content: space-between; }
}

/* =====================================================================
   HILO CONDUCTOR: toda la página habla el idioma de la portada
   - Estudio: foto gris de estudio a pantalla completa, texto blanco fino
   - Vidrio rosa nude que corta la foto
   - Palabra gigante fina y cifras grandes con el % chiquito
   - Papel: secciones claras con la misma letra (Montserrat)
   ===================================================================== */
:root {
  --display: 'Montserrat', 'Archivo', sans-serif;
  --text: 'Montserrat', 'Archivo', sans-serif;
  --bg: #efe9e5;          /* papel */
  --surface: #e4dcd7;
  --ink: #221e24;
  --muted: #5d5660;
  --accent: #8a3350;
  --estudio: #8a8581;     /* gris de estudio */
  --vidrio: rgba(247, 218, 210, .40);
  --vidrio-canto: rgba(255, 232, 226, .45);
  --pad: clamp(20px, 3vw, 44px);
}
body { font-family: var(--text); }
h1, h2, h3 { font-family: var(--display); }

/* ---------- Estudio ---------- */
.estudio { position: relative; min-height: 100svh; overflow: hidden; background: var(--estudio); color: #fff; isolation: isolate; }
.estudio__foto { position: absolute; inset: 0; z-index: 0; }
.estudio__foto .foto, .estudio__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: brightness(.66) saturate(.85) contrast(1.06); }

/* ---------- Vidrio rosa nude ---------- */
.vidrio {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 46%;
  padding: 96px var(--pad) 120px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: var(--vidrio);
  -webkit-backdrop-filter: blur(20px) saturate(1.05); backdrop-filter: blur(20px) saturate(1.05); /* taste-skill-ignore: vidrio de la marca */
}
.vidrio--der { right: 0; border-left: 1px solid var(--vidrio-canto); } /* taste-skill-ignore: canto del vidrio */
.vidrio--izq { left: 0; border-right: 1px solid var(--vidrio-canto); } /* taste-skill-ignore: canto del vidrio */
.vidrio--angosto { width: 40%; }
.vidrio__etiqueta { font-size: 13px; opacity: .9; }
.vidrio__texto { font-size: 15px; line-height: 1.6; max-width: 44ch; }
.vidrio__firma { font-size: 15px; font-weight: 600; margin-top: 6px; }
.titulo-fino { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); line-height: 1; letter-spacing: -0.02em; }

/* ---------- Palabra gigante ---------- */
.gigante { font-family: var(--display); font-weight: 300; font-size: clamp(72px, 11vw, 200px); line-height: .82; letter-spacing: -0.025em; margin: 0; white-space: nowrap; }
.gigante--abajo { position: absolute; left: var(--pad); bottom: 30px; z-index: 3; color: #fff; pointer-events: none; }
.gigante--der { left: auto; right: var(--pad); }
.gigante--tinta { color: var(--ink); }

/* ---------- Cifras grandes ---------- */
.cifras-der, .cifras-izq { position: absolute; top: 96px; z-index: 2; display: flex; flex-direction: column; gap: 26px; }
.cifras-der { right: var(--pad); text-align: right; }
.cifras-izq { left: var(--pad); }
.cifras-der b, .cifras-izq b { display: block; font-weight: 200; font-size: clamp(48px, 5vw, 84px); line-height: .9; letter-spacing: -0.02em; }
.cifras-der b small, .cifras-izq b small { font-size: .42em; vertical-align: top; margin-left: 2px; }
.cifras-der span, .cifras-izq span { font-size: 13px; }

/* ---------- Botones del hilo ---------- */
.btn { font-family: var(--text); border-radius: 0; }
.btn--blanco { background: #fff; color: var(--ink); }
.btn--blanco:hover { background: #f7dad2; color: var(--ink); }
.btn--vidrio { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--vidrio:hover { background: rgba(255, 255, 255, .34); }

/* ---------- Probador ---------- */
.split, .columna { display: contents; }
.probador { min-height: 100svh; display: block; }
.probador .estudio__foto.escenario { position: absolute; inset: 0; height: auto; padding: 0; }
.probador .escenario__marco { position: absolute; inset: 0; height: 100%; background: var(--estudio); background-image: none; }
.probador .escenario__pijama.con-foto img { object-position: 30% 14%; filter: brightness(.7) saturate(.88) contrast(1.05); animation: deriva 18s ease-in-out infinite alternate; }
.probador .escenario__pijama:not(.con-foto) { width: min(40%, 52svh); margin-left: -40%; }
.escenario.dia .escenario__marco { background-color: #b9a7a2; }
.probador .vidrio { width: 44%; }
.probador .tabs button { color: rgba(255, 255, 255, .78); }
.probador .tabs button[aria-pressed="true"], .probador .tabs button:hover { color: #fff; }
.probador .tabs button::before { box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.probador .precio { color: #fff; margin-top: 4px; font-weight: 300; font-size: 28px; }
.probador .precio s, .probador .precio small { color: rgba(255, 255, 255, .8); }
.probador .talles { margin-top: 0; }
.probador .talles button { background: rgba(255, 255, 255, .18); color: #fff; font-family: var(--text); }
.probador .talles button:hover { background: rgba(255, 255, 255, .34); }
.probador .talles button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.probador .talles button:disabled { background: transparent; color: rgba(255, 255, 255, .5); }
.probador .stock-nota { color: rgba(255, 255, 255, .9); margin: 0; }
.probador .stock-nota.poco { color: #fff; }
.probador .acciones2 .btn { min-height: 56px; font-size: 15px; }

/* ---------- Papel ---------- */
.papel { background: var(--bg); color: var(--ink); padding: clamp(96px, 10vw, 160px) var(--pad) 0; }
.papel__cabeza { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.papel__nota { font-size: 15px; color: var(--muted); text-align: right; max-width: 36ch; padding-bottom: 12px; }

/* Colección: grilla de fotos verticales */
.filtros-tela { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filtros-tela button { border: 0; background: var(--surface); padding: 10px 18px; font: 500 14px var(--text); transition: background-color .2s; }
.filtros-tela button:hover { background: #f2d3cb; }
.filtros-tela button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 12px; }
.prod { border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.prod__foto { aspect-ratio: 3 / 4; overflow: hidden; background: var(--estudio); position: relative; }
.prod__foto img, .prod__foto svg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: brightness(.8) saturate(.9); transition: transform .7s var(--ease-out), filter .4s; }
.prod__foto svg { object-fit: contain; padding: 12%; filter: none; }
.prod:hover .prod__foto img { transform: scale(1.04); filter: brightness(.9) saturate(.95); }
.prod__vidrio { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; color: #fff; font-size: 13px; background: var(--vidrio); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(100%); transition: transform .45s var(--ease-out); } /* taste-skill-ignore: vidrio de la marca */
.prod:hover .prod__vidrio, .prod:focus-visible .prod__vidrio { transform: none; }
.prod__fila { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.prod__fila b { font-weight: 500; }
.prod__fila span { font-weight: 300; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prod__puntos { display: flex; gap: 5px; }
.prod__puntos i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.prod.agotado .prod__fila b::after { content: ' · sin stock'; color: var(--accent); font-weight: 400; }

/* Quiénes somos */
.nosotras .estudio__foto img { object-position: 22% 15%; }

/* Dreamys */
.dreamys { padding-bottom: 0; }
.dreamys .fila { margin-inline: calc(var(--pad) * -1); padding-left: var(--pad); height: 72svh; }
.lamina { background: var(--estudio) !important; }
.lamina .foto { filter: brightness(.8) saturate(.9); }
.lamina.con-foto figcaption { background: var(--vidrio); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; font-size: 13px; } /* taste-skill-ignore: vidrio de la marca */

/* Mayoristas */
.mayoristas { display: block; padding: 0; }
.mayoristas .estudio__foto img { object-position: 30% 30%; }

/* Preguntas */
.faq { display: block; padding-bottom: clamp(96px, 10vw, 160px); }
.faq__texto { columns: 2; column-gap: 56px; max-width: 1200px; margin-left: auto; }
.faq__texto p { break-inside: avoid; margin-bottom: 22px; font-size: 16px; line-height: 1.6; }
.faq__texto b { font-weight: 600; }

/* Cierre */
.cierre { display: block; margin-top: 0; padding: 0; background: var(--estudio); }
.cierre .estudio__foto { padding: 0; margin: 0; min-height: 0; }
.cierre .estudio__foto .foto { position: absolute; inset: 0; object-position: 70% 30%; }

/* Pie */
.pie { display: flex; flex-direction: column; min-height: 80svh; padding: 64px var(--pad) 24px; background: #6f6a67; }
.pie__arriba { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.pie nav { display: flex; flex-direction: column; gap: 10px; }
.pie nav a { color: #fff; text-decoration: none; font-size: clamp(22px, 2vw, 32px); font-weight: 300; transition: transform .3s var(--ease-out), opacity .2s; }
.pie nav:hover a { opacity: .6; }
.pie nav a:hover { opacity: 1; transform: translateX(10px); }
.pie__datos { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; font-size: 14px; align-content: start; }
.pie__datos b { font-weight: 600; }
.pie__datos a { color: #fff; }
.pie__marca { margin-top: auto; font-family: var(--display); font-weight: 200; font-size: 14.2vw; line-height: .8; letter-spacing: -0.04em; white-space: nowrap; color: #fff; padding-top: 64px; }
.pie__legal { font-size: 13px; color: rgba(255, 255, 255, .82); margin-top: 24px; }
.pie__legal a { color: rgba(255, 255, 255, .92); }

/* Bolsa con la misma letra */
.bolsa__cabeza h2 { font-weight: 300; font-size: 32px; }
.toast { font-family: var(--text); }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .estudio { min-height: 100svh; }
  .vidrio, .probador .vidrio, .vidrio--angosto { width: 100%; top: auto; bottom: 0; left: 0; right: 0; padding: 22px 20px 96px; justify-content: flex-start; border: 0; }
  .vidrio--der, .vidrio--izq { border-top: 1px solid var(--vidrio-canto); } /* taste-skill-ignore: canto del vidrio */
  .titulo-fino { font-size: 34px; }
  .vidrio__texto { font-size: 14px; }
  .gigante { font-size: 18vw; }
  .gigante--abajo { bottom: 24px; left: 20px; right: auto; }
  .papel__cabeza .gigante { font-size: 20vw; }
  .probador { min-height: 118svh; }
  .probador .estudio__foto.escenario { bottom: auto; height: 62svh; }
  .probador .vidrio { position: absolute; top: 52svh; bottom: 0; padding-bottom: 110px; }
  .probador .acciones2 { grid-template-columns: 1fr; }
  .probador .gigante--abajo { display: none; }
  .cifras-der, .cifras-izq { top: 84px; gap: 14px; }
  .cifras-der b, .cifras-izq b { font-size: 44px; }
  .nosotras, .mayoristas { min-height: 130svh; }
  .nosotras .gigante--abajo, .mayoristas .gigante--abajo { display: none; }
  .grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 8px; }
  .prod__fila { flex-direction: column; gap: 2px; font-size: 14px; }
  .papel__cabeza { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
  .papel__nota { text-align: left; padding: 0; }
  .faq__texto { columns: 1; }
  .dreamys .fila { height: 62svh; }
  .cierre { min-height: 100svh; }
  .cierre .gigante--abajo { top: 90px; bottom: auto; font-size: 15vw; }
  .pie__datos { grid-template-columns: 1fr; gap: 16px; }
  .pie__marca { font-size: 15vw; }
}
.item.prod { display: flex; padding: 0; margin: 0; width: 100%; background: none; }
.item.prod:hover { background: none; }

/* ---------- Barra: vidrio rosa nude a todo el ancho (sin cuadrado flotante) ---------- */
.barra { left: 0; right: 0; justify-content: flex-end; padding: 18px var(--pad); font-family: var(--text); }
.barra__marca { margin-right: auto; font-weight: 500; font-size: 15px; letter-spacing: .02em; text-decoration: none; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease-out); pointer-events: none; }
.barra.con-fondo {
  background: rgba(247, 218, 210, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); /* taste-skill-ignore: vidrio de la marca */
  border-bottom: 1px solid rgba(255, 232, 226, .5); /* taste-skill-ignore: canto del vidrio */
}
.barra.con-fondo .barra__marca { opacity: 1; transform: none; pointer-events: auto; }
.barra.con-fondo a { color: var(--ink); font-size: 14px; }
.barra.con-fondo .bolsa-btn { background: var(--ink); color: #fff; font-size: 14px; }
@media (max-width: 860px) {
  .barra { padding: 12px 16px; }
  .barra__marca { font-size: 14px; }
}

/* ---------- Vitrina en celular: sin superposiciones ---------- */
@media (max-width: 860px) {
  #vt-tela { display: none; }
  .vitrina__vidrio { gap: 14px; }
  .vitrina__compra { bottom: 72px; flex-direction: column; align-items: stretch; gap: 10px; }
  .vitrina__talles { width: 100%; }
  .vitrina__talles button { flex: 1; min-width: 0; }
  .vitrina__compra .btn { flex: none; width: 100%; }
  .vitrina__nombre { font-size: 17vw; bottom: 250px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .vitrina__minis button:nth-child(3) { display: none; }
  .vitrina__minis { grid-template-columns: repeat(2, 1fr); max-width: 150px; }
}

/* ---------- Compra (datos + Mercado Pago) ---------- */
.compra { border: 0; padding: 0; width: min(620px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: var(--bg); color: var(--ink); font-family: var(--text); box-shadow: 0 30px 80px rgba(20, 16, 24, .3); } /* taste-skill-ignore: diálogo flotante */
.compra::backdrop { background: rgba(60, 50, 52, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.compra[open] { animation: compraIn .35s var(--ease-out); }
@keyframes compraIn { from { opacity: 0; transform: translateY(16px); } }
.compra__form { padding: 28px clamp(20px, 4vw, 36px) 28px; display: flex; flex-direction: column; gap: 16px; }
.compra__cab { display: flex; justify-content: space-between; align-items: baseline; }
.compra h2 { font-weight: 300; font-size: 34px; letter-spacing: -0.02em; }
.compra__cerrar { background: none; border: 0; text-decoration: underline; padding: 6px; }
.compra__grid, .compra__envio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compra__envio { grid-column: 1 / -1; }
.compra__envio[hidden] { display: none; }
.compra label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; color: var(--muted); }
.compra label:first-child, .compra .ancho2 { grid-column: 1 / -1; }
.compra input, .compra select { min-height: 46px; border: 0; background: var(--surface); padding: 0 12px; font: 400 16px var(--text); color: var(--ink); min-width: 0; }
.compra input:focus, .compra select:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.compra .totales { margin: 0; padding: 14px 16px; background: rgba(247, 218, 210, .55); }
.compra__pickup { font-size: 15px; }
.compra__pagar { width: 100%; min-height: 56px; }
.compra__pagar:disabled { opacity: .7; cursor: progress; }
.compra__nota { font-size: 13px; color: var(--muted); text-align: center; }
.compra__simular { padding: 14px 16px; background: var(--surface); font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.compra__simular[hidden] { display: none; }
.compra__sim-bot { display: flex; gap: 8px; flex-wrap: wrap; }
.compra__sim-bot .btn { flex: 1; min-height: 48px; font-size: 14px; }
#dlg-resultado h2 { font-size: 36px; }
#dlg-resultado p { font-size: 16px; line-height: 1.6; }
@media (max-width: 600px) { .compra__grid, .compra__envio { grid-template-columns: 1fr; } }

/* ---------- Cuenta y modo de compra ---------- */
.pestanas { display: flex; gap: 6px; margin-bottom: 14px; }
.pestanas button { flex: 1; min-height: 44px; border: 0; background: var(--surface); font: 500 14px var(--text); }
.pestanas button[aria-selected="true"] { background: var(--ink); color: #fff; }
.compra__nota.izq { text-align: left; margin-top: -6px; }
.check-fila { flex-direction: row !important; align-items: center; gap: 10px !important; color: var(--ink) !important; font-size: 14px !important; grid-column: 1 / -1; }
.check-fila input { min-height: 0 !important; width: 18px; height: 18px; accent-color: var(--ink); }
.cuenta__hola { font-size: 15px; color: var(--muted); }
.cuenta__sub { font-weight: 300; font-size: 24px; margin-top: 10px; }
.mi-pedido { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; font-size: 14px; }
.mi-pedido + .mi-pedido { border-top: 6px solid var(--surface); }
.mi-pedido__estado { grid-column: 1 / -1; color: var(--muted); }
.compra__modo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; background: rgba(247, 218, 210, .55); font-size: 14px; }
.compra__modo button { background: none; border: 0; text-decoration: underline; font: 600 14px var(--text); padding: 4px; }
.compra__extra { display: flex; flex-direction: column; gap: 10px; }
.compra__extra label.oculta { display: none; }
#abrir-cuenta { background: none; border: 0; }

/* ---------- Pago seguro ---------- */
.btn--pago { gap: 10px; }
.btn--pago .candado { flex: none; }
.pago-seguro { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; margin: 10px 4px 0; }
.pago-seguro b { color: var(--ink); font-weight: 600; }

/* ---------- Ajustes de movimiento (revisión) ---------- */
/* textos de la vitrina: entran después de que empieza la foto, más cortos */
.vt-in { animation: vtIn .5s var(--ease-out) both; animation-delay: calc(200ms + var(--i, 0) * 50ms); }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }
/* entradas de sección más ágiles; al terminar, el hover responde al instante */
.js .sube { transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js .sube.dentro { transform: none; transition-delay: 0s; transition-duration: .3s; }
/* carrito: abre con más intención, cierra más rápido */
.bolsa { transition: transform .28s cubic-bezier(.32,.72,0,1), visibility 0s .28s; }
.bolsa.abierta { transition: transform .4s cubic-bezier(.32,.72,0,1), visibility 0s; }
#abrir-bolsa { transform-origin: 50% 50%; }
/* diálogos con entrada y salida */
.compra { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .18s ease-in, transform .18s ease-in, overlay .18s allow-discrete, display .18s allow-discrete; }
.compra[open] { opacity: 1; transform: none; animation: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), overlay .3s allow-discrete, display .3s allow-discrete; }
@starting-style { .compra[open] { opacity: 0; transform: translateY(12px) scale(.98); } }
.compra::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(60, 50, 52, 0); transition: background-color .25s, overlay .25s allow-discrete, display .25s allow-discrete; }
.compra[open]::backdrop { background: rgba(60, 50, 52, .5); }
@starting-style { .compra[open]::backdrop { background: rgba(60, 50, 52, 0); } }
/* hover de productos sin repintar con filter */
.prod__foto img, .prod:hover .prod__foto img { filter: brightness(.82) saturate(.9); }
.prod__foto::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .4s var(--ease-out); pointer-events: none; }
/* los hovers solo con mouse: en el celular no quedan "pegados" */
@media (hover: none) {
  .prod:hover .prod__foto img, .lamina:hover .foto, .lamina:hover svg { transform: none; }
  .vitrina__minis button:hover { transform: none; opacity: .8; }
  .prod:hover .prod__vidrio { transform: translateY(100%); }
}
@media (hover: hover) and (pointer: fine) { .prod:hover .prod__foto::after { opacity: .08; } }
/* animaciones infinitas solo cuando se ven */
.escenario__pijama.con-foto img.pausada { animation-play-state: paused; }
/* movimiento reducido: sin desplazamientos, pero con fundidos cortos */
@media (prefers-reduced-motion: reduce) {
  .js .sube { opacity: 0; transform: none; transition: opacity .2s !important; }
  .js .sube.dentro { opacity: 1; }
  .vt-in { animation: vtFundido .2s both !important; }
  @keyframes vtFundido { from { opacity: 0; } }
}
@media (max-width: 860px) {
  .vitrina__vidrio, .vidrio { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } /* taste-skill-ignore: vidrio de la marca, más liviano en celular */
}

/* ---------- Mejoras desde la vista de compradora ---------- */
/* vidrio: rosa nude, pero con texto legible */
.vitrina { --vidrio: rgba(214, 170, 165, .34); }
.vitrina__vidrio { background: var(--vidrio); }
.vitrina__bloque p, .vitrina__frase, .vt-tag, .vidrio__texto, .vidrio__etiqueta, .cifras-der span, .cifras-izq span, .vitrina__datos span { font-size: 15px; font-weight: 500; text-shadow: 0 1px 10px rgba(60, 38, 44, .45); }
.vitrina__bajada { font-weight: 500; }
.vt-sub { text-shadow: 0 1px 10px rgba(60, 38, 44, .4); }
/* confianza y aviso de talle en la vitrina */
.vitrina__confianza { font-size: 13px; font-weight: 500; text-align: right; max-width: 34ch; text-shadow: 0 1px 10px rgba(30, 20, 24, .5); }
.vitrina__aviso { font-size: 14px; font-weight: 600; min-height: 1.2em; margin: -4px 0 0; }
.vitrina__talles.marcar { animation: marcarTalle .5s var(--ease-out); }
@keyframes marcarTalle { 30% { transform: translateX(-6px); } 60% { transform: translateX(4px); } }
.guia-link, .menu-movil button { background: none; border: 0; color: inherit; text-decoration: underline; font: 500 13px var(--vt-font, var(--text)); padding: 6px 0; }
.vitrina .guia-link { text-shadow: 0 1px 10px rgba(30, 20, 24, .5); }
/* botones cómodos para el dedo */
.vitrina__talles button { min-width: 44px; height: 44px; }
.vitrina__nav button { width: 44px; height: 44px; }
.linea__cant button { width: 40px; height: 40px; }
.linea__cant .linea__quitar { width: auto; padding: 0 10px; background: none; text-decoration: underline; font-size: 13px; }
/* menú del celular */
.menu-btn { display: none; margin-right: auto; background: none; border: 0; font: 500 15px var(--text); min-height: 44px; padding: 0 6px; }
.barra.sobre-vitrina:not(.con-fondo) .menu-btn { color: #fff; }
.hoja-menu { width: min(420px, calc(100vw - 24px)); }
.menu-movil { display: flex; flex-direction: column; }
.menu-movil a, .menu-movil button { text-align: left; text-decoration: none; font: 300 26px var(--text); padding: 12px 0; color: var(--ink); border-bottom: 1px solid rgba(0,0,0,.06); }
.tabla-talles { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tabla-talles th, .tabla-talles td { text-align: left; padding: 10px 6px; border-bottom: 1px solid rgba(0,0,0,.08); }
.tabla-talles th { font-weight: 600; font-size: 13px; color: var(--muted); }
/* medio de pago */
.medio { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.medio legend { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.medio label { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px !important; padding: 12px 14px; background: var(--surface); cursor: pointer; color: var(--ink) !important; }
.medio label:has(input:checked) { outline: 2px solid var(--ink); outline-offset: -2px; }
.medio input { width: 18px; height: 18px; min-height: 0 !important; accent-color: var(--ink); }
.medio span { display: flex; flex-direction: column; font-size: 15px; }
.medio small { font-size: 13px; color: var(--muted); font-weight: 400; }
.compra [aria-invalid="true"] { outline: 2px solid var(--accent) !important; background: #f7e4e6; }
/* pie legal */
.pie__legales { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 13px; }
.pie__legales a, .pie__legales .arrepentimiento { color: #fff; font: 500 13px var(--text); }
.pie__legales .arrepentimiento { background: rgba(255,255,255,.16); border: 0; padding: 8px 14px; min-height: 40px; }
.data-fiscal { opacity: .75; border: 1px dashed rgba(255,255,255,.5); padding: 6px 10px; }
/* títulos: Envíos al mismo tamaño que los demás */
.faq .gigante { font-size: clamp(72px, 11vw, 200px); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .vitrina__bajada { display: block; font-size: 14px; margin-top: -8px; }
  .vitrina__confianza { text-align: left; max-width: none; }
  .vitrina__vidrio { padding-top: 70px; }
  .cierre .gigante--abajo { font-size: 13vw; }
  .faq .gigante { font-size: 20vw; }
  .pie__marca { font-size: 13.6vw; }
  .vitrina__compra .guia-link { align-self: flex-start; }
}
@media (max-width: 860px) {
  .barra { gap: 6px; padding: 10px 12px; }
  .barra button, .barra a { white-space: nowrap; font-size: 14px; }
  #abrir-cuenta { min-height: 44px; padding: 0 6px; }
  .barra .bolsa-btn { padding: 10px 12px; min-height: 44px; }
}
.barra.sobre-vitrina:not(.con-fondo) #abrir-cuenta { color: #fff; }

/* =====================================================================
   PORTADA EN GRILLA: el nombre gigante tiene su propia fila (sin pisar nada)
   ===================================================================== */
.vitrina { display: grid; grid-template-columns: 53.5% minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; height: auto; min-height: 100svh; }
.vitrina__vidrio { position: absolute; top: 0; bottom: 0; left: 0; width: 53.5%; padding: 0; z-index: 1; }
.vitrina__info { grid-column: 1; grid-row: 1 / 4; z-index: 2; min-width: 0; padding: 26px var(--pad) 28px; display: flex; flex-direction: column; gap: 28px; }
.vitrina__datos { position: static; grid-column: 2; grid-row: 1; justify-self: end; align-self: start; margin: 74px var(--pad) 0 0; z-index: 2; }
.vitrina__compra { position: static; grid-column: 2; grid-row: 3; justify-self: end; align-self: end; margin: 24px var(--pad) 18px 0; z-index: 3; }
.vitrina__nombre { position: static; grid-column: 1; grid-row: 4; align-self: end; margin: 0 0 26px var(--pad); z-index: 3; white-space: nowrap; overflow: visible; }
.vitrina__nav { position: static; grid-column: 2; grid-row: 4; justify-self: end; align-self: end; margin: 0 var(--pad) 30px 0; z-index: 3; }
@media (max-height: 760px) and (min-width: 861px) { .vitrina__frase { display: none; } .vitrina__info { gap: 20px; } }
@media (max-width: 860px) {
  .vitrina { grid-template-columns: 52% minmax(0, 1fr); grid-template-rows: auto 1fr auto auto auto; }
  .vitrina__vidrio { width: 52%; }
  .vitrina__info { grid-column: 1; grid-row: 1; padding: 70px 14px 12px; gap: 14px; }
  .vitrina__datos { grid-column: 2; grid-row: 1; margin: 70px 14px 0 0; }
  .vitrina__nombre { grid-column: 1 / -1; grid-row: 3; margin: 12px 14px 8px; }
  .vitrina__compra { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; margin: 0 14px; }
  .vitrina__nav { grid-column: 1 / -1; grid-row: 5; justify-self: stretch; margin: 12px 14px 16px; }
}

/* ---------- Separación entre secciones ---------- */
.papel { padding-bottom: clamp(88px, 10vw, 150px); }
.vitrina + .estudio, .estudio + .estudio { margin-top: clamp(10px, 1.2vw, 16px); }
.dreamys { padding-bottom: clamp(88px, 10vw, 150px); }

/* =====================================================================
   TICKET DE COMPRA (recibo vintage con la estética de Patua)
   ===================================================================== */
.ticket-dlg { background: transparent; box-shadow: none; width: min(460px, calc(100vw - 20px)); padding: 10px 0; overflow-y: auto; }
.ticket-dlg::backdrop { background: rgba(60, 50, 52, .55); }
.ticket {
  --papel: #f4ebe6; --tinta: #2b2528; --rojo: #8a3350; --mono: 'Courier Prime', 'Courier New', monospace;
  position: relative; background: var(--papel); color: var(--tinta); padding: 34px 26px 30px;
  display: flex; flex-direction: column; gap: 14px; font-family: var(--text);
  /* bordes recortados arriba y abajo */
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 14px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 51% repeat-x; /* taste-skill-ignore: borde de ticket */
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 14px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 51% repeat-x;
  filter: drop-shadow(0 18px 30px rgba(20, 16, 24, .25));
}
.ticket__cab { display: flex; justify-content: space-between; font: 700 15px var(--mono); letter-spacing: .02em; }
.ticket__cab span:first-child { color: var(--rojo); }
.ticket__cerrar { position: absolute; top: 34px; right: 50%; transform: translateX(50%); background: none; border: 0; font: 400 13px var(--mono); text-decoration: underline; color: var(--tinta); opacity: .7; padding: 4px; }
.ticket__logo { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 46px; line-height: 1; text-align: center; color: var(--rojo); margin-top: 18px; letter-spacing: -0.01em; }
.ticket__lema { font: 400 12.5px var(--mono); text-align: center; margin-top: -6px; }
.ticket__fecha { font: 700 13px var(--mono); text-align: center; padding: 10px 0; border-top: 2px dashed var(--tinta); border-bottom: 2px dashed var(--tinta); }
.ticket__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font: 400 13px/1.35 var(--mono); }
.ticket__items li { display: grid; grid-template-columns: 1fr auto; column-gap: 6px; }
.ticket__items .nombre { grid-column: 1 / -1; }
.ticket__items .detalle { display: flex; min-width: 0; }
.ticket__items .detalle::after, .ticket__totales .tk-fila span:first-child::after { content: ''; flex: 1; border-bottom: 2px dotted currentColor; margin: 0 4px 4px; opacity: .55; }
.ticket__totales { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 2px dashed var(--tinta); font: 400 13px var(--mono); }
.ticket__totales .tk-fila { display: flex; justify-content: space-between; }
.ticket__totales .tk-fila span:first-child { display: flex; flex: 1; }
.ticket__totales .total { font: 700 19px var(--mono); padding-top: 10px; margin-top: 6px; border-top: 2px dashed var(--tinta); }
.ticket__totales .total span:first-child::after { display: none; }
.ticket__seccion { padding-top: 14px; border-top: 2px dashed var(--tinta); display: flex; flex-direction: column; gap: 10px; }
.ticket__titulo { font: 700 13px var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: 0; }
.ticket label { color: var(--tinta); font: 400 12px var(--mono); }
.ticket input:not([type="checkbox"]):not([type="radio"]), .ticket select { background: transparent; border: 0; border-bottom: 1.5px solid var(--tinta); min-height: 38px; padding: 0 2px; font: 400 15px var(--text); }
.ticket input:focus, .ticket select:focus { outline: none; border-bottom-color: var(--rojo); background: rgba(138, 51, 80, .06); }
.ticket .compra__modo { background: rgba(138, 51, 80, .08); font-size: 13px; }
.ticket .medio label { background: rgba(43, 37, 40, .05); font-family: var(--text); }
.ticket .medio span { font-size: 14px; }
.ticket .check-fila { font: 400 13px var(--text) !important; }
.ticket .compra__pagar { background: var(--rojo); color: #fff; min-height: 54px; }
.ticket .compra__pagar:hover { background: var(--tinta); }
.ticket .compra__nota { font: 400 12px/1.5 var(--mono); }
.ticket__barras { height: 62px; margin: 6px auto 0; width: 82%; }
.ticket__barras svg { width: 100%; height: 100%; display: block; }
.ticket__gracias { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 44px; line-height: 1; text-align: center; color: var(--rojo); margin-top: -2px; }
.ticket__pie { display: flex; justify-content: space-between; font: 400 11.5px var(--mono); opacity: .8; }
.ticket__estado { font: 700 16px var(--mono); text-align: center; text-transform: uppercase; letter-spacing: .03em; }
.ticket__texto { font: 400 13px/1.55 var(--mono); }
.ticket .compra__sim-bot .btn { font-size: 14px; }
.ticket .aviso { font: 400 13px var(--mono); margin: 0; }

/* =====================================================================
   MENÚ ESTAMPILLA
   ===================================================================== */
.estampilla-dlg { background: transparent; box-shadow: none; width: min(380px, calc(100vw - 32px)); padding: 6px; overflow: visible; }
.estampilla-dlg::backdrop { background: rgba(60, 50, 52, .5); }
.estampilla {
  position: relative; padding: 14px; background: #f7e4e0;
  /* borde perforado como estampilla */
  -webkit-mask: radial-gradient(circle 6px, #0000 96%, #000) -9px -9px / 18px 18px round, linear-gradient(#000 0 0) content-box; -webkit-mask-composite: source-over; /* taste-skill-ignore: borde de estampilla */
          mask: radial-gradient(circle 6px, #0000 96%, #000) -9px -9px / 18px 18px round, linear-gradient(#000 0 0) content-box; mask-composite: add;
  filter: drop-shadow(0 16px 26px rgba(20, 16, 24, .3));
}
.estampilla__marco {
  border: 1.5px solid rgba(138, 51, 80, .55); padding: 18px 20px 14px; min-height: 480px; display: flex; flex-direction: column;
  background-color: #fbefec;
  /* guilloché suave (líneas de seguridad del papel de estampilla) */
  background-image: repeating-radial-gradient(circle at 30% 40%, rgba(138, 51, 80, .07) 0 1px, transparent 1px 7px), repeating-radial-gradient(circle at 75% 70%, rgba(138, 51, 80, .06) 0 1px, transparent 1px 9px); /* taste-skill-ignore: textura de estampilla */
  background-size: 100% 100%;
}
.estampilla__cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.estampilla__titulo { font-family: 'Instrument Serif', serif; font-size: 25px; letter-spacing: .04em; color: var(--ink); }
.estampilla__valor { font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--ink); }
.estampilla__valor b { font-weight: 400; font-size: 34px; margin-left: 2px; }
.estampilla__menu { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; margin: 16px 0; }
.estampilla__menu a, .estampilla__menu button {
  font-family: 'Instrument Serif', serif; font-size: 30px; line-height: 1.15; color: #6e2b3e; text-decoration: none; text-align: left;
  background: none; border: 0; padding: 4px 0; transition: transform .25s var(--ease-out), color .2s;
}
.estampilla__menu a:hover, .estampilla__menu button:hover { transform: translateX(6px); color: var(--ink); }
.estampilla__pie { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(138, 51, 80, .3); padding-top: 8px; }
.estampilla__pais { font: 700 18px var(--text); letter-spacing: .06em; color: var(--ink); }
.estampilla__leyenda { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 17px; color: #6e2b3e; }
.estampilla__cerrar { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font: 500 15px var(--text); text-decoration: underline; padding: 8px; }
.estampilla-dlg[open] .estampilla { animation: sello .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes sello { from { opacity: 0; transform: rotate(-4deg) scale(.92); } }
@media (prefers-reduced-motion: reduce) { .estampilla-dlg[open] .estampilla { animation: none; } }
.ticket__cerrar { position: static; transform: none; align-self: flex-end; order: -1; margin: -14px -6px -8px 0; }
.compra__nota.oculta { display: none; }
.ticket__barras { height: auto; }
.ticket__barras svg { height: 56px; }
.ticket__codigo { display: block; text-align: center; font: 400 12px 'Courier Prime', monospace; letter-spacing: .3em; margin-top: 4px; }
.estampilla__cerrar { top: -42px; right: 4px; } .estampilla-dlg { overflow: visible; margin-top: 64px; }
#dlg-resultado .ticket__estado { font: 700 16px 'Courier Prime', monospace; }
#dlg-resultado .ticket__gracias { font-size: 44px; line-height: 1; }
#dlg-resultado .ticket__texto { font: 400 13px/1.55 'Courier Prime', monospace; }
#dlg-resultado .ticket__logo { font-size: 46px; line-height: 1; }
#dlg-resultado .ticket__lema { font-size: 12.5px; }
.ticket__items:empty { display: none; }
/* Menú estampilla también en computadora: al lado de Mi cuenta y Carrito */
@media (min-width: 861px) {
  .menu-btn { display: inline-flex; align-items: center; order: 5; margin-right: 0; font-size: 15px; padding: 6px 4px; }
  .menu-btn::before { content: ''; width: 16px; height: 10px; margin-right: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  #abrir-cuenta { order: 6; }
  .barra .bolsa-btn { order: 7; }
  .barra.con-fondo .menu-btn { color: var(--ink); }
}

/* ---------- Barra mínima: Menú + bolsita rosa ---------- */
.barra .opc, .barra #abrir-cuenta { display: none !important; }
.barra { justify-content: flex-end; gap: 14px; }
@media (min-width: 861px) { .menu-btn { order: 1; } .barra .bolsa-btn { order: 2; } }
.barra .bolsa-btn, .barra.con-fondo .bolsa-btn, .barra.sobre-vitrina:not(.con-fondo) .bolsa-btn {
  position: relative; width: 48px; height: 48px; min-height: 48px; padding: 0; background: none; border: 0;
  display: grid; place-items: center; transition: transform .2s var(--ease-out);
}
.barra .bolsa-btn:hover { background: none; transform: translateY(-2px); }
.barra .bolsa-btn:active { transform: scale(.94); }
.bolsita { width: 34px; height: 38px; overflow: visible; }
.bolsita__cuerpo { fill: #ecb9b4; transition: fill .2s; }
.bolsita__asa { stroke: #ecb9b4; }
.bolsa-btn.con-items .bolsita__cuerpo { fill: #e3a29c; }
.barra.con-fondo .bolsita__asa { stroke: #c98f8a; }
.bolsita__num { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); font: 700 13px var(--text); color: #5a2233; font-variant-numeric: tabular-nums; pointer-events: none; }
.bolsa-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.barra.con-fondo .bolsa-btn:focus-visible { outline-color: var(--accent); }
.estampilla__menu #abrir-cuenta { display: block; }
/* Barra de desplazamiento fina y rosa en los diálogos (ticket, cuenta, etc.) */
.compra { scrollbar-width: thin; scrollbar-color: rgba(231, 189, 182, .9) transparent; }
.compra::-webkit-scrollbar { width: 6px; }
.compra::-webkit-scrollbar-track { background: transparent; }
.compra::-webkit-scrollbar-thumb { background: rgba(231, 189, 182, .9); border-radius: 99px; }
.compra::-webkit-scrollbar-thumb:hover { background: #d99a94; }
.compra::-webkit-scrollbar-button { display: none; height: 0; }
.ticket-dlg { padding-right: 4px; }

/* =====================================================================
   TIENDA CERRADA: cartel de papel pegado con cinta en la puerta
   ===================================================================== */
body.tienda-cerrada { overflow: hidden; }
.cerrado { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; overflow: auto;
  background: #6b5a55; isolation: isolate; }
.cerrado[hidden] { display: none; }
/* la puerta: marco de madera pintada con un vidrio esmerilado rosa */
.cerrado__puerta { position: absolute; inset: 4vh 50% 0 auto; transform: translateX(50%); width: min(560px, 92vw); z-index: -1;
  background: #8c7068; border: 14px solid #7a5f58; border-bottom: 0; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.cerrado__vidrio { position: absolute; inset: 7% 9% 38% 9%; border: 8px solid #7a5f58;
  background: rgba(247, 218, 210, .35); backdrop-filter: blur(6px); /* taste-skill-ignore: vidrio de la puerta */ }
.cerrado__vidrio::after { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1768696082668-411638a55476?w=900&q=60&auto=format') center 30% / cover; opacity: .35; filter: blur(5px) grayscale(.2); }
.cerrado__picaporte { position: absolute; right: 8%; top: 64%; width: 16px; height: 54px; border-radius: 8px; background: #d8c3a6; box-shadow: 0 2px 0 rgba(0,0,0,.2); }
/* el cartel */
.cartel { position: relative; width: min(400px, 86vw); padding: 44px 34px 34px; background: #fbf6ef; color: #2b2528; text-align: center;
  transform: rotate(-2.2deg); box-shadow: 0 14px 28px rgba(20, 16, 24, .32), 0 2px 4px rgba(20, 16, 24, .2); /* taste-skill-ignore: papel pegado */
  background-image: linear-gradient(transparent 31px, rgba(138, 51, 80, .10) 32px); background-size: 100% 32px; /* taste-skill-ignore: renglones del papel */
  animation: cartelColgar .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cartelColgar { from { opacity: 0; transform: translateY(-30px) rotate(-7deg); } }
.cartel__cinta { position: absolute; top: -14px; width: 96px; height: 30px; background: rgba(236, 185, 180, .78); box-shadow: 0 1px 2px rgba(0,0,0,.12);
  -webkit-mask: conic-gradient(from 135deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 51% 8px repeat-y, conic-gradient(from -45deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 51% 8px repeat-y; /* taste-skill-ignore: cinta cortada */
          mask: conic-gradient(from 135deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 51% 8px repeat-y, conic-gradient(from -45deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 51% 8px repeat-y; }
.cartel__cinta--izq { left: -18px; transform: rotate(-38deg); }
.cartel__cinta--der { right: -18px; transform: rotate(34deg); }
.cartel__marca { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 26px; color: #8a3350; }
.cartel__titulo { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(46px, 11vw, 66px); line-height: 1; margin: 10px 0 14px; color: #2b2528; }
.cartel__mensaje { font-family: 'Caveat', cursive; font-weight: 500; font-size: 25px; line-height: 1.28; }
.cartel__vuelta { display: inline-block; margin: 18px auto 0; font-family: 'Caveat', cursive; font-weight: 700; font-size: 27px; color: #8a3350; border-bottom: 2px solid currentColor; padding: 0 4px; transform: rotate(-1deg); }
.cartel__firma { font-family: 'Caveat', cursive; font-size: 24px; margin-top: 16px; text-align: right; }
.cartel__contacto { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.cartel__contacto a { font: 600 14px var(--text); color: #fff; background: #8a3350; padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; transition: background-color .2s, transform .15s; }
.cartel__contacto a:hover { background: #2b2528; }
.cartel__contacto a:active { transform: scale(.97); }
.cerrado__aviso { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); background: #2b2528; color: #fff; padding: 10px 16px; font-size: 14px; z-index: 2; }
.cerrado__aviso a { color: #f7dad2; }
@media (prefers-reduced-motion: reduce) { .cartel { animation: none; } }
.cerrado { overflow-x: hidden; }
.cartel__cinta { -webkit-mask: none; mask: none; width: 104px; height: 32px; background: rgba(236, 185, 180, .82);
  clip-path: polygon(3% 0, 97% 5%, 100% 28%, 96% 50%, 100% 73%, 97% 100%, 4% 95%, 0 72%, 4% 50%, 0 27%); }
.cartel__cinta--izq { left: -26px; top: -10px; }
.cartel__cinta--der { right: -26px; top: -10px; }

.cerrado__aviso { font: 500 14px var(--text); border-radius: 99px; padding: 10px 18px; }
.cerrado__aviso a, .admin-barra a { color: #f7dad2; font-weight: 600; }
.admin-barra { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; background: #2b2528; color: #fff; padding: 10px 18px; border-radius: 99px; font: 500 14px var(--text); max-width: calc(100vw - 24px); text-align: center; }
.admin-barra[hidden] { display: none; }
.cerrado__aviso, .admin-barra { top: 14px; bottom: auto; }

/* ---------- aviso de cookies (vidrio rosa nude, como la vitrina) ---------- */
.cookies {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 95;
  width: min(560px, calc(100vw - 32px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px;
  background: rgba(244, 222, 216, .78); color: #2b2528; border: 1px solid rgba(255, 255, 255, .6); border-radius: 18px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); /* taste-skill-ignore: vidrio de la marca */
  box-shadow: 0 12px 40px rgba(43, 37, 40, .14);
  font: 400 14px/1.45 var(--text);
  animation: cookies-entra .42s var(--ease-out) both;
}
.cookies p { margin: 0; flex: 1; }
.cookies a { color: var(--accent); }
.cookies__bot { display: flex; gap: 8px; flex-shrink: 0; }
.cookies button { font: 500 13px var(--text); padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(43, 37, 40, .25); background: transparent; color: inherit; cursor: pointer; transition: transform .16s var(--ease-out), background-color .16s; }
.cookies button:active { transform: scale(.97); }
.cookies button.si { background: #2b2528; color: #fff; border-color: #2b2528; }
.cookies.sale { opacity: 0; transform: translate(-50%, 8px); transition: opacity .24s, transform .24s var(--ease-out); }
@keyframes cookies-entra { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 560px) { .cookies { flex-direction: column; align-items: stretch; gap: 12px; } .cookies__bot button { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookies { animation: none; } }

/* sin conexión con el servidor */
.sin-conexion { position: fixed; inset: 16px 16px auto; z-index: 200; background: #2b2528; color: #fff; padding: 14px 18px; border-radius: 12px; font: 500 15px var(--text); text-align: center; }

/* hasta tener los datos del servidor, no se muestra la tienda (fondo liso, sin parpadeo) */
html.js:not(.listo) #mundo, html.js:not(.listo) #barra { visibility: hidden; }
