/* La tienda de A+ Smoke: un estante. Todo se apoya en líneas de tinta (la cabecera, la vitrina, cada balda) y los precios son etiquetas de góndola.
   Tinta y rojo son los del catálogo de WhatsApp. Las fotos vienen con fondo blanco: por eso las baldas son blancas. */
:root {
  color-scheme: light;
  --tinta: #0E1015; --rojo: #FF4D3D; --blanco: #FFFFFF; --pared: #F1F2F5; --linea: #D5D8DF; --gris: #565D6B; --sabor: #C9CEDA;
  --filo: 3px; --lado: clamp(16px, 4vw, 56px); --ley: 46px; --tapa: 68px;
  --normal: 100%; --ancha: 118%; --angosta: 72%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--tapa) + 60px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanco); color: var(--tinta); font: 400 16px/1.5 Archivo, system-ui, -apple-system, "Segoe UI", sans-serif; padding-bottom: calc(var(--ley) + env(safe-area-inset-bottom)); }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.salta { position: absolute; left: -999px; top: 0; background: var(--tinta); color: #fff; padding: 12px 18px; z-index: 50; }
.salta:focus { left: 0; }

/* ── la tapa ── */
.tapa { position: sticky; top: 0; z-index: 20; background: var(--blanco); border-bottom: var(--filo) solid var(--tinta); }
.tapa-in { display: flex; align-items: center; gap: 20px; height: var(--tapa); padding: 0 var(--lado); max-width: 1560px; margin: auto; }
.marca { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.marca b { font-weight: 900; font-stretch: var(--ancha); font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.marca span { font-weight: 700; font-size: 13px; letter-spacing: .26em; }
.busca { flex: 1 1 0; min-width: 0; max-width: 460px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--pared); border-radius: 4px; margin-left: auto; }
.busca:focus-within { outline: 3px solid var(--rojo); outline-offset: 1px; }
.busca svg { width: 20px; flex: none; fill: none; stroke: var(--gris); stroke-width: 2; }
.busca input { flex: 1; width: 0; min-width: 0; border: 0; background: none; outline: 0; height: 100%; font-size: 16px; }
.busca input::placeholder { color: var(--gris); opacity: 1; }
.mayor { font-weight: 600; font-size: 15px; text-underline-offset: 4px; white-space: nowrap; }
.bolsa { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 4px; background: var(--tinta); color: #fff; font-weight: 700; white-space: nowrap; }
.bolsa-n { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 3px; background: rgb(255 255 255 / .16); font-variant-numeric: tabular-nums; }
.bolsa.lleno .bolsa-n { background: var(--rojo); color: var(--tinta); }
.pasillos { position: sticky; top: calc(var(--tapa) + var(--filo)); z-index: 19; background: var(--blanco); border-bottom: 1px solid var(--linea); }
.pasillos > div { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 calc(var(--lado) - 12px); max-width: 1560px; margin: auto; min-height: 48px; }
.pasillos > div::-webkit-scrollbar { display: none; }
.pasillos a { flex: none; padding: 12px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pasillos a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 8px; }

/* ── la portada: el 15 % de abajo es la advertencia (Ley 32159, art. 9) ── */
.portada { display: grid; grid-template-rows: 85fr 15fr; }
.portada-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 12px 48px; padding: clamp(28px, 4.5vw, 64px) var(--lado) 0; max-width: 1560px; width: 100%; margin: auto; align-items: end; }
.portada h1 { font-weight: 860; font-stretch: var(--ancha); font-size: clamp(2.35rem, 5.6vw, 5.1rem); line-height: .96; letter-spacing: -.035em; max-width: 12ch; }
.portada-lado { padding-bottom: 6px; max-width: 46ch; justify-self: end; }
.portada-lado > p:first-child { font-size: clamp(1rem, 1.25vw, 1.15rem); }
.pide { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 14px; font-size: 15px; }
.pide span { color: var(--gris); }
.pide button { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--rojo); text-underline-offset: 5px; padding: 8px 0; }
.vitrina { grid-column: 1 / -1; display: flex; margin: clamp(18px, 3vw, 40px) calc(var(--lado) * -1) 0; padding: 0 var(--lado); border-bottom: 10px solid var(--tinta); min-height: 190px; }
.vitrina .ver { flex: 1 1 0; min-width: 84px; }
.vitrina .nicho { border: 0; }
.ley { display: grid; place-items: center; text-align: center; background: #fff; color: #000; font-weight: 800; font-stretch: 92%; text-transform: uppercase; line-height: 1.15; padding: 10px var(--lado); font-size: clamp(1.05rem, 2.5vw, 2.1rem); letter-spacing: 0; text-wrap: balance; }
.ley-fija { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; min-height: calc(var(--ley) + env(safe-area-inset-bottom)); padding: 4px 12px env(safe-area-inset-bottom); font-size: clamp(11px, 1.25vw, 15px); border-top: var(--filo) solid #000; transition: transform .2s; }
.ley-fija.sobra { transform: translateY(100%); }

/* ── los pasillos ── */
#estante { padding: 0 var(--lado); max-width: 1560px; margin: auto; min-height: 40vh; outline: 0; }
.espera, .nada { padding: 72px 16px; text-align: center; color: var(--gris); }
.nada p { font-size: 1.15rem; color: var(--tinta); margin-bottom: 18px; }
.nada a { margin-left: 14px; }
.pasillo { padding-top: clamp(36px, 5vw, 64px); }
.pasillo > h2, .como h2 { font-weight: 860; font-stretch: var(--ancha); font-size: clamp(1.7rem, 3.2vw, 2.7rem); letter-spacing: -.03em; line-height: 1; padding-bottom: 12px; border-bottom: var(--filo) solid var(--tinta); }
.estante { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); grid-auto-flow: dense; gap: 40px 18px; padding-top: 24px; }
.bloque { grid-column: span var(--span); grid-row: span 2; display: grid; grid-template-rows: subgrid; align-content: start; min-width: 0; }
.bloque > header { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 22px; padding-bottom: 6px; align-self: end; }
.bloque h3 { font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.012em; line-height: 1.15; }
.bloque header p { color: var(--gris); font-size: 14px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.bloque.suelto { grid-row: span 1; display: block; }
.balda { display: grid; grid-template-columns: repeat(var(--span), minmax(0, 1fr)); row-gap: 18px; align-content: start; }

.item { position: relative; min-width: 0; display: flex; flex-direction: column; }
.ver { display: block; width: 100%; }
.nicho { position: relative; display: block; aspect-ratio: 1 / var(--alto, 1.2); overflow: hidden; border-bottom: var(--filo) solid var(--tinta); }
.nicho img { position: absolute; left: 10%; top: 8%; width: 80%; aspect-ratio: 1; object-fit: contain; max-width: none; opacity: 0; transition: opacity .25s, transform .22s cubic-bezier(.2, .8, .3, 1); }
.nicho img.lista { opacity: 1; }
.silueta { position: absolute; left: 36%; right: 36%; bottom: 0; height: 62%; border-radius: 8px 8px 0 0; background: var(--linea); }
.silueta.pide { background: none; border: 2px dashed var(--gris); border-bottom: 0; }
.rot { display: block; padding: 8px 8px 0 0; font-size: 14px; line-height: 1.25; font-weight: 500; min-height: 3.1em; overflow-wrap: anywhere; }
.item-p { padding-top: 2px; }
.item-p .precio { font-size: 22px; }
@media (hover: hover) { .ver:hover .nicho img.parada { transform: translateY(-7px); } .ver:hover .rot { text-decoration: underline; text-underline-offset: 3px; } }
.mas { position: absolute; right: 2px; top: 0; width: 44px; height: 44px; display: grid; place-items: center; }
.mas svg, .mas b { grid-area: 1 / 1; }
.mas svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: #fff; border: 2px solid var(--linea); fill: none; stroke: var(--tinta); stroke-width: 2.4; transition: border-color .15s, background .15s; }
.mas:hover svg { border-color: var(--tinta); }
.mas b { min-width: 30px; height: 30px; border-radius: 15px; display: none; place-items: center; background: var(--rojo); color: var(--tinta); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.va .mas svg { visibility: hidden; } .va .mas b { display: grid; }
.todos { margin-top: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--rojo); text-underline-offset: 5px; padding: 10px 0; justify-self: start; grid-row: auto; }

/* ── la etiqueta de precio ── */
.precios { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.precio { display: inline-flex; align-items: flex-start; gap: 3px; padding: 3px 9px 4px; background: #fff; border: 2px solid var(--tinta); border-radius: 3px; font-weight: 820; font-stretch: var(--angosta); font-size: 29px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.precio small { font-size: .5em; font-weight: 700; padding-top: .18em; }
.precio i { font-style: normal; font-size: .78em; align-self: center; padding-right: 3px; }
.precio.promo { background: var(--rojo); border-color: var(--rojo); }

/* ── kits y combos ── */
.kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 40px 28px; padding-top: 24px; }
.kit { display: flex; flex-direction: column; }
.kit-fotos { display: flex; border-bottom: var(--filo) solid var(--tinta); justify-content: center; }
.kit-fotos .nicho { flex: 0 0 calc(100% / var(--n, 3)); border: 0; }
.kit-t { display: block; padding-top: 10px; }
.kit-t strong { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.2; }
.kit-t span { display: block; color: var(--gris); font-size: 14px; line-height: 1.4; padding-top: 2px; }
.kit-p { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; margin-top: auto; }

.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 2px solid var(--tinta); font-weight: 700; background: #fff; text-align: center; }
.boton:hover { background: var(--tinta); color: #fff; }
.boton.grande { background: var(--rojo); border-color: var(--rojo); min-height: 52px; font-size: 17px; flex: 1; color: var(--tinta); }
.boton.grande:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.boton[aria-disabled="true"], .boton[aria-disabled="true"]:hover { background: var(--pared); border-color: var(--linea); color: var(--gris); }

/* ── cómo pedir y el pie ── */
.como { padding: clamp(56px, 8vw, 104px) var(--lado); max-width: 1560px; margin: auto; }
.como ol { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px 40px; padding-top: 24px; }
.como li { counter-increment: p; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.como li::before { content: counter(p); grid-row: span 2; font-weight: 820; font-stretch: var(--angosta); font-size: 46px; line-height: .9; }
.como b { font-size: 1.1rem; } .como li span { color: var(--gris); max-width: 38ch; }
.pie { background: var(--tinta); color: #fff; }
.pie-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; padding: 48px var(--lado) 56px; max-width: 1560px; margin: auto; font-size: 15px; }
.pie .marca { color: #fff; margin-bottom: 14px; } .pie .marca span { color: var(--rojo); }
.pie nav { display: grid; gap: 2px; }
.pie nav a { padding: 7px 0; text-underline-offset: 4px; text-decoration-color: rgb(255 255 255 / .4); }
.pie p { color: rgb(255 255 255 / .82); line-height: 1.75; }
.libro { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; }
.libro svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ── las ventanas ── */
dialog { border: 0; padding: 0; color: inherit; background: #fff; }
dialog::backdrop { background: rgb(14 16 21 / .62); }
body:has(dialog[open]) { overflow: hidden; }
.cierra, .vuelve { width: 44px; height: 44px; display: grid; place-items: center; font-size: 28px; line-height: 1; }
.edad { width: min(460px, calc(100vw - 32px)); padding: 36px; border-radius: 6px; }
.edad::backdrop { background: var(--tinta); }
.edad .marca { margin-bottom: 26px; }
.edad h2 { font-weight: 860; font-stretch: var(--ancha); font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 12px; }
.edad p { color: var(--gris); }
.edad-b { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 26px; }
.edad-b button { min-height: 52px; padding: 0 22px; border-radius: 4px; border: 2px solid var(--tinta); font-weight: 700; text-align: center; }
.edad-b .si { background: var(--rojo); border-color: var(--rojo); }

.hoja { width: min(1060px, calc(100vw - 48px)); max-width: none; max-height: min(760px, calc(100dvh - 96px)); border-radius: 6px; overflow: auto; overscroll-behavior: contain; }
.hoja > .cierra { position: sticky; top: 8px; float: right; margin: 8px 8px -52px 0; z-index: 3; background: #fff; border-radius: 50%; }
.hoja-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hoja-foto { background: color-mix(in oklab, var(--sabor) 24%, #fff); position: sticky; top: 0; align-self: start; min-height: min(760px, calc(100dvh - 96px)); display: grid; align-items: end; transition: background .35s; }
.hoja-foto > .nicho { margin: 0 8%; border: 0; overflow: visible; }
.hoja-foto::after { content: ''; height: 14%; background: var(--tinta); grid-row: 2; min-height: 56px; }
.hoja-foto { grid-template-rows: 1fr auto; }
.hoja-foto .nicho { align-self: end; }
.hoja-foto img { mix-blend-mode: multiply; }
.hoja-foto .kit-fotos { border: 0; padding: 0 6%; align-self: end; }
.hoja-foto .kit-fotos .nicho { flex: 1 1 0; max-width: 46%; }
.hoja-t { padding: 40px 44px 36px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.hoja h2 { font-weight: 800; font-stretch: 108%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.025em; line-height: 1.05; padding-right: 40px; }
.hoja .hechos { margin-top: -12px; color: var(--gris); }
.hoja .precio { font-size: 36px; }
.sabores legend { font-weight: 700; margin-bottom: 8px; }
.sabores { display: flex; flex-wrap: wrap; gap: 8px; }
.sabores legend { width: 100%; }
.sabores label { position: relative; }
.sabores input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.sabores span { display: block; padding: 9px 14px; border: 2px solid var(--linea); border-radius: 4px; font-size: 15px; font-weight: 500; line-height: 1.25; }
.sabores label:hover span { border-color: var(--gris); }
.sabores input:checked + span { border-color: var(--tinta); background: var(--tinta); color: #fff; }
.sabores input:focus-visible + span { outline: 3px solid var(--rojo); outline-offset: 2px; }
.compra { display: flex; gap: 10px; position: sticky; bottom: 0; background: #fff; padding: 10px 0; z-index: 2; }
.paso { display: inline-flex; align-items: center; border: 2px solid var(--tinta); border-radius: 4px; flex: none; }
.paso button { width: 46px; height: 48px; text-align: center; font-size: 22px; line-height: 1; }
.paso button:hover { background: var(--pared); }
.paso b { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.paso.chico button { width: 40px; height: 40px; font-size: 18px; } .paso.chico { border-width: 1.5px; }
.datos { border-top: 1px solid var(--linea); }
.datos div { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
.datos dt { color: var(--gris); }
.resumen, .adv { font-size: 14px; color: var(--gris); }
.adv { font-weight: 700; color: var(--tinta); }
.encombo { display: grid; gap: 6px; }
.encombo h3 { font-size: 1rem; }
.encombo button { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 2px solid var(--linea); border-radius: 4px; }
.encombo button:hover { border-color: var(--tinta); }
.encombo b { white-space: nowrap; }
.elige { display: grid; gap: 5px; } .elige span { font-weight: 700; font-size: 15px; }
select, .campo input { width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid var(--linea); border-radius: 4px; background: #fff; font-size: 16px; }
select:hover, .campo input:hover { border-color: var(--gris); }
.trae { padding-left: 18px; color: var(--gris); font-size: 15px; }

.cajon { margin: 0 0 0 auto; width: min(480px, 100vw); max-width: none; height: 100dvh; max-height: none; }
.cajon[open] { display: flex; flex-direction: column; }
.cajon-t { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 24px; border-bottom: var(--filo) solid var(--tinta); flex: none; }
.cajon-t:has(.vuelve) { padding-left: 10px; }
.cajon-t h2 { font-weight: 800; font-stretch: 108%; font-size: 1.35rem; letter-spacing: -.02em; flex: 1; }
.cajon-c { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 24px; min-height: 0; }
.cajon-c.vacia { align-items: flex-start; color: var(--gris); }
.cajon-p { flex: none; padding: 14px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-weight: 820; font-stretch: var(--angosta); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.lin header { display: flex; justify-content: space-between; gap: 14px; }
.lin h3 { font-size: 1rem; line-height: 1.3; } .lin header b { white-space: nowrap; }
.va-promo { display: inline-block; background: var(--rojo); padding: 1px 8px; border-radius: 3px; font-weight: 700; font-size: 14px; margin-top: 4px; }
.sube { font-size: 14px; color: var(--gris); padding-top: 6px; }
.fila { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linea); }
.fila-t { flex: 1; min-width: 0; font-size: 15px; line-height: 1.3; }
.mini { width: 44px; height: 52px; flex: none; } .mini img { width: 100%; height: 100%; object-fit: contain; }
#datos { gap: 16px; }
.campo { display: grid; gap: 5px; flex: 1; min-width: 0; } .campo > span, .ops legend { font-weight: 600; font-size: 14px; }
.ops legend { margin-bottom: 6px; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ops { display: grid; gap: 8px; }
.op { position: relative; display: block; }
.op input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.op span { display: block; height: 100%; padding: 11px 14px; border: 2px solid var(--linea); border-radius: 4px; }
.op small { display: block; color: var(--gris); font-size: 14px; }
.op input:checked + span { border-color: var(--tinta); box-shadow: inset 5px 0 0 var(--rojo); }
.op input:focus-visible + span { outline: 3px solid var(--rojo); outline-offset: 2px; }
#donde { display: grid; gap: 16px; } #donde:empty { display: none; }
.acepto { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; }
.acepto input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--tinta); }
.mal { color: #B3180B; font-weight: 600; } .mal:empty { display: none; }
.listo { font-size: 1.1rem; }
.monto { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--linea); }
.monto b { font-weight: 820; font-stretch: var(--angosta); font-size: 46px; line-height: 1; }
.qr { width: min(260px, 100%); align-self: center; }
.numero { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--tinta); border-radius: 4px; }
.numero b { display: block; font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.15; } .numero span { color: var(--gris); font-size: 14px; }
.cajon-p a.boton { text-decoration: none; } .otro { text-align: center; padding: 8px; font-weight: 600; text-underline-offset: 4px; }
.texto { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--pared); padding: 16px; border-radius: 4px; font: 14px/1.5 ui-monospace, Menlo, monospace; margin: 0; }
.aviso { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--ley) + 18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--tinta); color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 600; font-size: 15px; max-width: calc(100vw - 32px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.aviso.si { opacity: 1; transform: translate(-50%, 0); }

/* ── las páginas de texto ── */
.texto-p { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--lado) 80px; }
.texto-p h1 { font-weight: 860; font-stretch: var(--ancha); font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.035em; line-height: 1; padding-bottom: 18px; border-bottom: var(--filo) solid var(--tinta); margin-bottom: 26px; }
.texto-p h2 { font-size: 1.2rem; font-weight: 700; margin: 30px 0 8px; }
.texto-p p, .texto-p li { max-width: 66ch; } .texto-p p + p { margin-top: 12px; } .texto-p ul { padding-left: 20px; } .texto-p li { margin: 6px 0; }
.falta { background: #FFE9A8; color: #4A3600; padding: 1px 6px; border-radius: 3px; font-weight: 600; }

.libro-f { display: grid; gap: 16px; padding-top: 24px; }
.libro-f h2 { margin: 14px 0 -4px; }
.libro-f .ops.dos { display: grid; grid-template-columns: 1fr 1fr; } .libro-f .ops legend { grid-column: 1 / -1; }
textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--linea); border-radius: 4px; font: inherit; font-size: 16px; color: inherit; resize: vertical; }
textarea:hover { border-color: var(--gris); }
.adv2 { font-size: 14px; color: var(--gris); }
#hecha > * + * { margin-top: 14px; }
@media print { .tapa, .pie, .ley-fija, #imprime, .texto-p > h1, .texto-p > p { display: none; } .texto { background: none; padding: 0; } }

@media (max-width: 860px) {
  :root { --tapa: 60px; }
  .mayor { display: none; }
  .portada-in { grid-template-columns: 1fr; }
  .portada-lado { justify-self: start; }
  .vitrina { overflow: hidden; min-height: 150px; }
  .vitrina .ver { flex: 0 0 25%; min-width: 0; }
  .hoja { width: 100vw; max-height: calc(100dvh - 40px); margin: auto 0 0; border-radius: 10px 10px 0 0; }
  .hoja-in { grid-template-columns: 1fr; }
  .hoja-foto { position: relative; min-height: 0; padding-top: 26px; }
  .hoja-foto > .nicho { width: min(62vw, 300px); margin: 0 auto; }
  .hoja-foto::after { min-height: 18px; height: 18px; }
  .hoja-t { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .tapa-in { gap: 10px; }
  .marca b { font-size: 26px; } .tapa .marca span { display: none; }
  .busca input::placeholder { font-size: 15px; }
  .rot { font-size: 13px; }
  .bolsa { padding-left: 12px; gap: 8px; font-size: 15px; }
  .precio { font-size: 25px; } .bloque header { padding-right: 0; }
  .edad { padding: 28px 22px; } .edad-b { grid-template-columns: 1fr; }
  .datos div { grid-template-columns: 96px 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
