/* Gonser — la tienda. Celular primero.
 * Tablero de estilo aprobado el 5 nov 2026 (propuesta/estilo.html): Archivo ancha y gruesa (la del «GONSER.» de la
 * portada de su catálogo) para el nombre y los títulos, Archivo normal para leer e IBM Plex Mono para referencias,
 * tallas y precios. Colores medidos sobre las fotos del catálogo.
 * Reglas de la casa: botones con esquina de 6 px, sin rayas separando, nada que deslizar de lado,
 * sin degradados de color (solo la luz suave de estudio detrás de la portada), toques de 44 px.
 * Los colores de cada tela están en tonos.css (lo arma el panel).
 */
@font-face { font-family: "Archivo"; src: url("../fuentes/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fuentes/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fuentes/plex-mono-500.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --marca: #0E0E10;          /* la tela de la camiseta negra: botón, títulos, cabecera */
  --marca-hondo: #880018;    /* al pasar el mouse, el botón se pinta del rojo de sus camisetas */
  --tinta: #0E0E10;          /* texto para leer: 18,5:1 sobre el fondo */
  --suave: #5A5A61;          /* texto secundario: 6,5:1 sobre el fondo */
  --suave-osc: #A3A3AA;      /* texto secundario sobre negro: 7,7:1 */
  --fondo: #FAFAFA;          /* la esquina clara del fondo de estudio de sus fotos */
  --gris: #EDEDED;           /* el fondo de estudio, aclarado */
  --foto: #E4E4E6;           /* mientras carga una foto */
  --borde: #C9C9CD;          /* bordes y números: nunca texto que se lea */
  --gris-tenue: #EDEDED;
  --gris-toque: #DEDEE0;
  --rojo: #880018;           /* la tela de sus camisetas rojas: 10,2:1 con blanco */
  --blanco: #FFFFFF;
  --r: 6px;
  --gutter: 16px;
  --f-titulo: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texto: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 16px/1.55 var(--f-texto); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.contenedor { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
/* La letra ancha del «GONSER.» de su catálogo */
.ancha, .marca__nombre, .lema, .seccion h2, .visita h2, .hoja__arriba h2, .ficha__nombre, .combina__titulo, .relleno__titulo {
  font-family: var(--f-titulo); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
}

/* ── Cabecera: una sola pieza negra con la portada, sin rayas ── */
.cab { position: sticky; top: 0; z-index: 20; background: rgba(14, 14, 16, .92); color: var(--blanco); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cab__fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-block: 8px; }
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.marca__logo { width: 40px; height: 40px; border-radius: 50%; }
.marca__nombre { font-size: 19px; line-height: 1; letter-spacing: .06em; }
.cab__nav { display: flex; align-items: center; gap: 4px; }
.enlace-cab { display: none; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r); text-decoration: none; font-size: 15px; font-weight: 500; }
.enlace-cab:hover { background: #1C1C20; }
@media (min-width: 640px) { .enlace-cab { display: inline-flex; } }
.bolsa-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: transparent; color: var(--blanco); cursor: pointer; }
.bolsa-btn:hover { background: #1C1C20; }
.bolsa-btn svg { width: 24px; height: 24px; }
.bolsa-btn b { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--rojo); color: #fff; font: 600 12px/18px var(--f-mono); text-align: center; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r); font: 600 16px/1.2 var(--f-texto); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--principal { background: var(--marca); color: #fff; }
.btn--principal:hover { background: var(--marca-hondo); }
.btn--principal:disabled { background: #8E8E95; cursor: not-allowed; }
.btn--texto { min-height: 44px; padding: 0 6px; background: transparent; color: var(--marca); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.btn--texto:hover { text-decoration-thickness: 2px; }
.btn--ancho { width: 100%; }
.btn--secundario { background: var(--gris-tenue); color: var(--marca); }
.btn--secundario:hover { background: var(--gris-toque); }
/* El campo escondido con el que se copia el pedido (16 px: el iPhone no hace zoom) */
.copiador { position: fixed; top: 0; left: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; font-size: 16px; pointer-events: none; }

/* ── Portada: negra como la del catálogo, su lema y la luz de estudio de sus fotos detrás de la camiseta ── */
.portada { position: relative; isolation: isolate; overflow-x: clip; padding-block: 24px 40px; background: var(--marca); color: var(--blanco); }
.portada::before { content: ""; position: absolute; z-index: -1; width: 110vw; max-width: 900px; aspect-ratio: 1; right: -40vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); pointer-events: none; }
.portada .btn--principal { background: var(--blanco); color: var(--marca); }
.portada .btn--principal:hover { background: var(--gris); }
.portada .btn--texto { color: var(--blanco); }
.lugar { display: flex; align-items: center; gap: 6px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--suave-osc); }
.lugar svg { width: 16px; height: 16px; flex: none; }
.lema { margin-top: 14px; font-size: clamp(28px, 9.5vw, 72px); line-height: 1; }
.lema em { font-style: normal; color: var(--suave-osc); }
.frase { margin-top: 16px; max-width: 36ch; font-size: 17px; line-height: 1.55; color: #E6E6E8; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 22px; }
.espejo { width: min(100%, 340px); margin: 28px auto 0; aspect-ratio: 4 / 5; }
.espejo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: #1C1C20; }
@media (min-width: 860px) {
  .portada { padding-block: 64px 80px; }
  .portada__fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: center; }
  .frase { font-size: 19px; }
  .espejo { width: 100%; max-width: 420px; margin: 0; justify-self: end; }
}

/* ── Secciones ── */
.seccion { padding-block: 36px 44px; }
@media (min-width: 640px) { .seccion { padding-block: 56px 64px; } }
.seccion--pegada { padding-top: 0; }
.seccion h2, .visita h2 { margin-bottom: 18px; font-size: 26px; line-height: 1.1; color: var(--marca); }
@media (min-width: 860px) { .seccion h2, .visita h2 { font-size: 32px; } }

/* Filtros y orden por precio: chips que bajan de línea (nada que deslizar de lado). En PC, el orden va a la derecha
   de los filtros; en el celular, en la línea de abajo. */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.barra-coleccion { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.barra-coleccion .filtros { margin-bottom: 0; }
.barra-coleccion .filtros:not(:has(.chip)) { display: none; }
.orden { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.orden__rotulo { margin-right: 2px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--suave); }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--gris-tenue); color: var(--marca); font: 500 15px/1 var(--f-texto); cursor: pointer; }
.chip:hover { background: var(--gris-toque); }
.chip[aria-pressed="true"] { background: var(--marca); color: #fff; }

/* La colección */
.prendas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .prendas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 18px; } }
/* En PC se queda en 3 columnas (tablero aprobado): las camisetas se ven grandes y las 9 del catálogo cierran filas */
@media (min-width: 1024px) { .prendas { gap: 40px 28px; } }
.prenda__enlace { display: block; text-decoration: none; color: inherit; }
.prenda__foto { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--foto); }
.prenda__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.prenda__enlace:hover .prenda__foto img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .prenda__foto img { transition: none; } .prenda__enlace:hover .prenda__foto img { transform: none; } }
.prenda__nombre { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.prenda__enlace:hover .prenda__nombre { text-decoration: underline; text-underline-offset: 3px; }
.prenda__datos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; font: 400 13px/1.3 var(--f-mono); color: var(--suave); }
.prenda__precio { font-weight: 500; color: var(--tinta); }
.prenda__datos s { color: var(--suave); }
.prenda--agotada .prenda__foto img { opacity: .62; }
.puntos { display: flex; gap: 4px; }
/* Sin background aquí: el color lo pone tonos.css (.tono-xxxxxx) y este selector le ganaría */
.puntos i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(14, 14, 16, .25); }
/* Sellos: etiqueta de prenda en letra de etiqueta */
.sello { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 4px; background: var(--rojo); color: #fff; font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.sello--oferta { background: var(--marca); }
.sello--agotada { background: #3A3A40; }
/* La casilla que cierra la última fila (nunca queda un hueco) */
.relleno a { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 100%; min-height: 180px; padding: 16px; border-radius: var(--r); background: var(--marca); color: var(--blanco); text-decoration: none; }
.relleno svg { width: 26px; height: 26px; }
.relleno__titulo { font-size: 22px; line-height: 1; }
.relleno__texto { font-size: 14px; line-height: 1.4; color: #E6E6E8; }
.relleno a:hover { background: #1C1C20; }
.sin-prendas { grid-column: 1 / -1; padding: 20px; border-radius: var(--r); background: var(--gris); }

/* Las telas (página 2 de su catálogo) */
.telas { display: grid; gap: 12px; }
@media (min-width: 760px) { .telas { grid-template-columns: 1fr 1fr; gap: 18px; } }
.tela { padding: 18px 18px 20px; border-radius: var(--r); background: var(--blanco); }
.tela h3 { margin-bottom: 4px; font-size: 17px; font-weight: 700; }
.tela p { color: var(--suave); font-size: 15px; }

/* Cómo pedir: es una secuencia, por eso los números */
.pasos { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pasos li { counter-increment: paso; padding: 18px 18px 20px; border-radius: var(--r); background: var(--blanco); }
.pasos li::before { content: "0" counter(paso); display: block; margin-bottom: 8px; font: 500 14px/1 var(--f-mono); letter-spacing: .08em; color: var(--suave); }
.pasos h3 { margin-bottom: 4px; font-size: 17px; font-weight: 700; }
.pasos p { color: var(--suave); font-size: 15px; }

/* ── Envíos y pagos ── */
.visita { padding-block: 40px 44px; background: var(--gris); }
.visita__fila { display: grid; gap: 8px 40px; }
@media (min-width: 760px) { .visita { padding-block: 56px 64px; } .visita__fila { grid-template-columns: 1fr 1fr; align-items: start; } }
.visita__texto { font-size: 17px; line-height: 1.55; }
.dato { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; }
.dato svg { width: 22px; height: 22px; margin-top: 2px; flex: none; color: var(--marca); }
.dato b { display: block; font-weight: 600; }
.dato a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; color: var(--marca); text-underline-offset: 4px; }
/* ── Pie: negro como la cabecera ── */
.pie { padding-block: 32px 40px; background: var(--marca); color: var(--suave-osc); font-size: 13px; }
.pie__fila { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 16px; }
.pie__logo { width: 56px; height: 56px; border-radius: 50%; }
.pie__nombre { font-size: 15px; font-weight: 800; font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; color: var(--blanco); }
.redes { display: flex; gap: 4px; }
.redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); color: var(--blanco); }
.redes a:hover { background: #1C1C20; }
.redes svg { width: 22px; height: 22px; }
.pie__legal, .pie__boreh { grid-column: 1 / -1; }

/* ── Hojas que suben: ficha y bolsa ── */
.hoja { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0 16px 24px; border: 0; border-radius: 20px 20px 0 0; background: var(--fondo); color: var(--tinta); overflow-y: auto; overscroll-behavior: contain; }
.hoja::backdrop { background: rgba(14, 14, 16, .55); }
.hoja[open] { animation: subir .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes subir { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hoja[open] { animation: none; } }
.hoja__arriba { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding-top: 10px; margin-inline: -16px; padding-inline: 16px; background: var(--fondo); }
.hoja__asa { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #D6D6D9; }
.hoja__arriba h2 { font-size: 20px; line-height: 1.2; color: var(--marca); }
.cerrar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin-right: -4px; margin-left: auto; border: 0; border-radius: var(--r); background: transparent; color: var(--tinta); cursor: pointer; }
.cerrar:hover { background: var(--gris-tenue); }
.cerrar svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .hoja { width: min(960px, 92vw); max-height: 88dvh; margin: auto; padding: 0 28px 28px; border-radius: 14px; }
  .hoja__arriba { margin-inline: -28px; padding-inline: 28px; }
  .hoja__asa { display: none; }
  .bolsa { width: min(520px, 92vw); }
}

.ficha__ref { font: 400 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.ficha__cuerpo { display: grid; gap: 18px; }
.ficha__foto { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--foto); }
.ficha__foto img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.miniaturas button { aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 0; border-radius: var(--r); background: var(--foto); cursor: pointer; }
.miniaturas button[aria-current="true"] { box-shadow: 0 0 0 2px var(--fondo), 0 0 0 4px var(--marca); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.ficha__nombre { font-size: 24px; line-height: 1.1; color: var(--marca); }
.ficha__precio { margin-top: 8px; font: 500 20px/1.2 var(--f-mono); }
.ficha__precio s { margin-left: 8px; font-size: 16px; font-weight: 400; color: var(--suave); }
.ficha__texto { margin-top: 12px; white-space: pre-line; color: var(--suave); }
.ficha__texto:empty { display: none; }
.elegir { margin-top: 18px; }
.elegir > p { margin-bottom: 8px; font-size: 14px; color: var(--suave); }
.elegir > p b { font-weight: 600; color: var(--tinta); }
.tonos, .tallas { display: flex; flex-wrap: wrap; gap: 6px; }
.tono { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.tono i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(14, 14, 16, .25); }
.tono[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--fondo), 0 0 0 4px var(--marca); }
/* Color sin unidades: tachado (se puede tocar para ver su foto, pero no se agrega) */
.tono--agotado i { position: relative; opacity: .5; }
.tono--agotado i::after { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--tinta); transform: rotate(45deg); }
.tallas .chip { min-width: 52px; font-family: var(--f-mono); }
.chip--agotada, .chip--agotada:hover { background: transparent; color: var(--suave); text-decoration: line-through; box-shadow: inset 0 0 0 1px #DADADD; cursor: not-allowed; }
#bolsa-copiar + #bolsa-enviar { margin-top: 10px; }
.nota { margin-top: 18px; padding: 12px 14px; border-radius: var(--r); background: var(--gris-tenue); font-size: 14px; }
.nota:empty { display: none; }
.ficha__info > .btn { margin-top: 18px; }

/* «Combínala con»: las que sugiere el dueño; tocar una cambia la ficha a esa prenda */
.combina { margin-top: 28px; }
.combina__titulo { margin: 0; font-size: 16px; line-height: 1.2; color: var(--marca); }
.combina__lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.combina__prenda { display: grid; gap: 6px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: var(--tinta); font: 500 13px/1.3 var(--f-texto); text-align: left; cursor: pointer; }
.combina__foto { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--foto); }
.combina__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.combina__prenda:hover .combina__foto img { transform: scale(1.04); }
.combina__prenda:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; }
.combina__nombre { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .combina__foto img { transition: none; } .combina__prenda:hover .combina__foto img { transform: none; } }

/* PC: la ficha cabe en la pantalla sin bajar: miniaturas en columna a la izquierda, la foto tan alta como deja
   la ventana y los datos quietos al lado mientras se miran las fotos. (Va después de las reglas de arriba:
   si va antes, ellas lo pisan.) */
@media (min-width: 900px) {
  .ficha { width: min(1040px, 94vw); }
  .ficha__cuerpo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .ficha__galeria { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
  .ficha__galeria:has(.miniaturas[hidden]) { grid-template-columns: minmax(0, 1fr); }
  .miniaturas { order: -1; grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .ficha__foto { width: min(100%, calc((88dvh - 96px) * .8)); }
  .ficha__info { position: sticky; top: 64px; }
  .combina { margin-top: 20px; }
}

/* La bolsa */
.items { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; }
.item { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding-block: 8px; }
.item img { width: 64px; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--r); background: var(--foto); }
.item b { display: block; font-size: 15px; line-height: 1.3; text-transform: uppercase; }
.item span { font: 400 12px/1.4 var(--f-mono); color: var(--suave); }
.item button { display: block; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--marca); font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bolsa__vacia { padding: 20px 0 8px; color: var(--suave); }
.mensaje-titulo { margin-top: 18px; font-size: 14px; color: var(--suave); }
.mensaje { margin: 10px 0 18px; padding: 14px 16px; border-radius: 14px 14px 14px var(--r); background: var(--gris); font-size: 14px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.ayuda { margin-top: 10px; font-size: 13px; color: var(--suave); text-align: center; }
.ayuda:empty { display: none; }

/* Pedido en la página: total, otra vía plegada, formulario de entrega y recibido */
.bolsa__total { margin: 14px 0 12px; font: 500 16px/1.4 var(--f-mono); }
#bolsa-envio > .ayuda { margin-bottom: 6px; }
.datos-pedido { padding-bottom: 8px; }
.datos-pedido label:not(.casilla) { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
.opcional { font-weight: 400; color: var(--suave); }
.entrada { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: var(--r); background: var(--blanco); box-shadow: inset 0 0 0 1px #C9C9CD; color: var(--tinta); font: 400 16px/1.35 var(--f-texto); }
textarea.entrada { min-height: 72px; resize: vertical; }
.entrada:focus { outline: none; box-shadow: inset 0 0 0 2px var(--marca); }
.entrada::placeholder { color: var(--suave); opacity: 1; }
.trampa { position: absolute; left: -9999px; overflow: hidden; }
.trampa input { min-width: 44px; min-height: 44px; font-size: 16px; }
.datos-pedido__info { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); background: var(--gris-tenue); font-size: 14px; white-space: pre-line; }
.casilla { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-top: 18px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.casilla input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--marca); }
.casilla a { text-underline-offset: 3px; }
.error-pedido { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: #FBE4E4; color: #7A1C1C; font-size: 15px; }
.datos-pedido .btn--principal { margin-top: 18px; }
.datos-pedido .btn--texto, .pedido-listo .btn--texto { margin-top: 6px; }
.pedido-listo { padding: 8px 0 8px; }
.pedido-listo__numero { margin: 6px 0 10px; font: 500 22px/1.2 var(--f-mono); }
.pedido-listo .btn--principal { margin-top: 18px; }

.pie__legal a { color: var(--blanco); text-underline-offset: 3px; }

/* Página de privacidad */
.legal { max-width: 760px; padding-block: 32px 56px; }
.legal h1 { font-family: var(--f-titulo); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 6vw, 34px); line-height: 1.1; }
.legal h2 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { color: #2A2A2F; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal__vigencia { margin-top: 8px; font: 500 13px/1.4 var(--f-mono); color: var(--suave) !important; }
.legal__nota { margin-top: 10px; font-size: 14px; color: var(--suave) !important; }
.legal .falta { padding: 0 4px; border-radius: 4px; background: #FFF1C2; color: #5C4400; }
.enlace-cab--siempre { display: inline-flex; }

/* Cantidad en la bolsa: − 2 + y «Quitar» en una fila */
.item__cant { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.item .item__cant button:not(:last-child) { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: var(--r); background: var(--gris-tenue); color: var(--marca); font: 600 20px/1 var(--f-mono); text-decoration: none; text-align: center; }
.item .item__cant button:disabled { opacity: .4; cursor: not-allowed; }
.item__cant output { min-width: 22px; font: 500 16px/1 var(--f-mono); text-align: center; }
.item__cant button:last-child { margin-left: 8px; }

.ficha__tela { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--suave); }

/* Aviso corto que se va solo */
.aviso-flotante { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: var(--r); background: var(--tinta); color: #fff; font-size: 15px; transform: translateX(-50%); box-shadow: 0 12px 32px -12px rgba(14, 14, 16, .5); }

/* Vitrina del portafolio de Boreh (?vitrina=1): muestra lo que le llegaría a la tienda */
.aviso-vitrina { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; max-width: 480px; margin-inline: auto; padding: 16px; border-radius: 10px; background: var(--blanco); color: var(--tinta); box-shadow: 0 16px 40px -16px rgba(14, 14, 16, .55); }
.ficha .aviso-vitrina, .bolsa .aviso-vitrina { position: static; margin-top: 16px; box-shadow: none; background: var(--gris); }
.aviso-vitrina-titulo { font-weight: 600; }
.aviso-vitrina-mensaje { margin-top: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--fondo); font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.aviso-vitrina-cerrar { min-height: 44px; margin-top: 10px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--marca); color: #fff; font-weight: 600; cursor: pointer; }
