:root { --negro: #000; --blanco: #fff; --papel: #efeeea; --suave: #555; --alto-top: 132px;
  --titulo: Anton, Impact, "Arial Narrow", sans-serif; --texto: Epilogue, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--texto); color: var(--negro); background: var(--papel); line-height: 1.5; -webkit-tap-highlight-color: transparent; accent-color: var(--negro); }
::selection { background: var(--negro); color: var(--blanco); }
html:has(dialog[open]) { overflow: hidden; } /* con una ventana abierta, el fondo no se desplaza (clave en móvil) */
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; cursor: pointer; }
h2 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 20; background: var(--blanco); padding: 8px; }

/* ---------- logo con el aro que gira (cabecera, portada y pie) ----------
   Dos piezas con fondo transparente: las letras y, encima y en su sitio exacto, el aro "CALLE" (la O de CÓDIGO).
   Quietas se ven igual que el logo original; app.js gira el aro al desplazarse. La regla .logo__aro
   la escribe herramientas/partir_logo.py: si cambia el logo, se vuelve a correr (ver README). */
.logo { position: relative; display: block; overflow: hidden; overflow: clip; } /* recorta las esquinas del aro al girar */
.logo__letras { width: 100%; height: auto; }
.logo__aro { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform-origin: 26.4403% 49.8043%; }

/* ---------- cabecera ---------- */
.aviso { background: var(--blanco); text-align: center; font-size: 12px; font-weight: 700; padding: 5px 16px; text-transform: uppercase; letter-spacing: .08em; }
.top { position: sticky; top: 0; z-index: 10; background: var(--negro); color: var(--blanco); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; }
.marca .logo { width: 190px; }

/* botón "Filtrar" de la cabecera: boleto (siempre visible porque la cabecera es fija) */
.boleto { display: flex; align-items: stretch; min-height: 44px; background: var(--blanco); color: var(--negro); border: 0; font-weight: 800; text-transform: uppercase; font-size: 13px; transform: rotate(-2deg); transition: transform .18s; }
.boleto span { display: grid; place-items: center; padding: 0 14px; border-right: 2px dashed var(--negro); }
.boleto b { position: relative; display: grid; place-items: center; min-width: 46px; }
.boleto:hover { transform: rotate(0) scale(1.04); }
.insignia { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 5px; background: var(--negro); color: var(--blanco); border: 2px solid var(--blanco); font-style: normal; font-size: 11px; line-height: 18px; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* categorías: pestañas numeradas con barrido */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid #333; } /* tantas columnas como pestañas */
.cats a { display: flex; align-items: baseline; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 6px; font-family: var(--titulo); font-size: 18px; text-transform: uppercase; letter-spacing: .05em; border-right: 1px solid #333; background: linear-gradient(var(--blanco) 0 0) bottom / 100% 0 no-repeat; transition: background-size .2s, color .2s; }
.cats a:last-child { border-right: 0; }
.cats small { font-family: var(--texto); font-size: 10px; font-weight: 700; opacity: .65; }
.cats a:hover, .cats a[aria-current] { background-size: 100% 100%; color: var(--negro); }

/* ---------- botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; background: none; color: var(--negro); font-family: var(--titulo); font-size: 18px; text-transform: uppercase; letter-spacing: .08em; isolation: isolate; }
.btn::before, .btn::after { content: ""; position: absolute; inset: 0; transform: skewX(-12deg); transition: transform .18s, background-color .18s; }
.btn::before { background: var(--negro); border: 2px solid var(--negro); z-index: -1; }
.btn::after { border: 2px solid var(--negro); z-index: -2; transform: skewX(-12deg) translate(6px, 6px); }
.btn { color: var(--blanco); }
.btn span::after { content: " →"; display: inline-block; white-space: pre; transition: transform .18s; }
.btn:hover::before { transform: skewX(-12deg) translate(3px, 3px); }
.btn:hover span::after { transform: translateX(5px); }
.btn:active::before { transform: skewX(-12deg) translate(6px, 6px); }
.btn--claro { color: var(--negro); }
.btn--claro::before { background: var(--blanco); border-color: var(--blanco); }
.btn--claro::after { border-color: var(--blanco); }
.btn--hueco { color: var(--blanco); }
.btn--hueco::before { background: var(--negro); border: 2px dashed var(--blanco); }
.btn--hueco::after { display: none; }
.btn--hueco:hover { color: var(--negro); }
.btn--hueco:hover::before { background: var(--blanco); border-style: solid; transform: skewX(-12deg); }
.btn--ancho { width: calc(100% - 12px); margin-left: 3px; margin-bottom: 6px; }
.btn:disabled { opacity: .35; cursor: default; }

/* ---------- portada ---------- */
.hero { position: relative; background: var(--negro); color: var(--blanco); text-align: center; padding: 84px 20px 64px; overflow: hidden; }
/* trama de puntos tipo serigrafía, se desvanece hacia los bordes */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%); }
.hero > * { position: relative; animation: entrar .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero > :nth-child(2) { animation-delay: .12s; }
.hero > :nth-child(3) { animation-delay: .24s; }
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } }
.hero h1 .logo { width: min(1000px, 100%); margin: 0 auto; }
.hero__lema { font-family: var(--titulo); font-size: clamp(24px, 4.4vw, 52px); text-transform: uppercase; margin: 28px 0 34px; }
.hero__lema span { color: transparent; -webkit-text-stroke: 1.5px var(--blanco); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }

main { overflow-x: clip; } /* la cinta girada sobresale unos px: sin esto, en el celular la página se arrastra de lado */
.cinta { background: var(--blanco); border-block: 3px solid var(--negro); overflow: hidden; transform: rotate(-1.4deg) scale(1.03); position: relative; z-index: 1; margin-top: -16px; }
.cinta div { display: flex; width: max-content; animation: correr 88s linear infinite; } /* cada tramo repite la frase 4 veces: cubre pantallas anchas sin huecos (88 s = misma velocidad) */
.cinta span { font-family: var(--titulo); font-size: 24px; text-transform: uppercase; padding: 8px 0; white-space: nowrap; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- accesos por categoría ---------- */
.accesos { max-width: 1280px; margin: 0 auto; padding: 56px 24px 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.accesos a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 18px; background: var(--negro); color: var(--blanco); overflow: hidden; }
.accesos a:first-child { grid-row: span 2; }
.accesos a:only-child { grid-column: 1 / -1; grid-row: auto; } /* una sola categoría con productos: ocupa todo el ancho */
.accesos a:nth-child(2) { background: var(--blanco); color: var(--negro); border: 2px solid var(--negro); }
.accesos a:nth-child(2) svg g:first-of-type { stroke: #000; }
.accesos svg { position: absolute; width: auto; height: 108%; aspect-ratio: 1; right: -8%; top: -8%; transform: rotate(8deg); transition: transform .3s; }
.accesos a:first-child svg { height: auto; width: 112%; max-width: none; right: -14%; top: 4%; }
.accesos a:hover svg { transform: rotate(-2deg) scale(1.06); }
.accesos span { position: relative; font-family: var(--titulo); font-size: clamp(32px, 4vw, 54px); line-height: 1.1; text-transform: uppercase; }
.accesos small { position: relative; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }

/* ---------- temporada ---------- */
.temporada { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; background: var(--negro); color: var(--blanco); padding: 32px 6vw; margin-top: 32px; scroll-margin-top: var(--alto-top); }
.temporada img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 82%, transparent 100%); }
.temporada h2 { font-size: clamp(40px, 6vw, 82px); }
.temporada p { margin: 14px 0 28px; max-width: 34ch; }

/* ---------- tienda ---------- */
.tienda { max-width: 1280px; margin: 0 auto; padding: 56px 24px; scroll-margin-top: var(--alto-top); }
.tienda__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 4px solid var(--negro); padding-bottom: 6px; }
.tienda__cab h2 { font-size: clamp(48px, 9vw, 118px); }
.tienda__cab p { font-weight: 800; text-transform: uppercase; font-size: 13px; }
/* contador + tamaño de las publicaciones, a la derecha del título (si el título es largo, bajan juntos) */
.tienda__info { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tamano { display: flex; gap: 6px; }
.tamano button { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--negro); background: var(--blanco); color: var(--negro); transition: background-color .15s, color .15s; }
.tamano button[aria-pressed="true"] { background: var(--negro); color: var(--blanco); transform: rotate(-3deg); } /* como la página actual */
.tamano button[aria-pressed="true"]:focus-visible { outline-color: var(--negro); }
@media (hover: hover) { .tamano button[aria-pressed="false"]:hover { background: var(--negro); color: var(--blanco); } }
/* barra: una sola fila con Filtrar + Ordenar */
.barra { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 16px 0 12px; }
.barra__filtrar { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 2px solid var(--negro); background: var(--negro); color: var(--blanco); font-family: var(--titulo); font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.barra__filtrar::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6'%3E%3Cpath d='M3 6h11M18 6h3M3 12h3M10 12h11M3 18h13M20 18h1M16 4v4M8 10v4M18 16v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.barra__filtrar b { min-width: 24px; height: 24px; padding: 0 6px; background: var(--blanco); color: var(--negro); font-family: var(--texto); font-size: 12px; line-height: 24px; }
.barra__orden { display: flex; }
.barra__orden select { flex: 1; width: 100%; min-height: 48px; padding: 0 36px 0 12px; border: 2px solid var(--negro); border-radius: 0; font-weight: 800; text-transform: uppercase; font-size: 13px; -webkit-appearance: none; appearance: none;
  background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 12px center; }
/* filtros activos: se ven y se quitan con un toque */
.activos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.activos button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: var(--blanco); border: 2px solid var(--negro); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.activos button span { font-size: 14px; }
.activos .activos__todo { background: none; border-style: dashed; }
.rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 18px; }
.rejilla button { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; background: var(--blanco); border: 2px solid var(--negro); transition: transform .18s, box-shadow .18s; }
.rejilla button:hover, .rejilla button:focus-visible { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--negro); }
.foto { display: block; position: relative; background: var(--papel); border-bottom: 2px solid var(--negro); overflow: hidden; }
.foto svg, .foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .25s; } /* mismo alto para dibujos y fotos */
.rejilla button:hover .foto svg { transform: scale(1.08) rotate(-3deg); }
.foto em { position: absolute; left: -34px; top: 18px; width: 130px; text-align: center; transform: rotate(-45deg); background: var(--negro); color: var(--blanco); font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 4px 0; }
.rejilla .nombre { flex: 1; display: block; font-family: var(--titulo); font-size: 18px; text-transform: uppercase; line-height: 1.2; padding: 10px 12px; }
.fila { display: flex; justify-content: space-between; align-items: stretch; border-top: 2px solid var(--negro); }
.fila .precio { padding: 8px 12px; font-weight: 800; }
.fila .ver { display: grid; place-items: center; padding: 0 14px; background: var(--negro); color: var(--blanco); font-weight: 800; font-size: 12px; text-transform: uppercase; }
.rejilla:empty { display: none; }
/* publicaciones grandes (botón de tamaño): 3 por fila en escritorio; en tableta y celular, 1 (ver los @media) */
.rejilla.rejilla--grande { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.rejilla.rejilla--grande .nombre { font-size: 22px; }
.sin-resultados { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 16px; text-align: center; border: 2px dashed var(--negro); }
.sin-resultados b { font-family: var(--titulo); font-weight: 400; font-size: 36px; text-transform: uppercase; line-height: 1.1; }
.sin-resultados .btn { margin-top: 16px; }

/* paginación */
.paginas { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.pag-botones { display: flex; align-items: center; gap: 6px; }
.pag-botones button { min-width: 44px; height: 44px; padding: 0 8px; border: 2px solid var(--negro); background: var(--blanco); font-family: var(--titulo); font-size: 18px; transition: background-color .15s, color .15s; }
.pag-botones button[aria-current] { background: var(--negro); color: var(--blanco); transform: rotate(-3deg); }
.pag-botones .pag-flecha { font-family: var(--texto); font-size: 24px; font-weight: 800; line-height: 1; }
.pag-botones button:disabled { opacity: .3; cursor: default; }
.pag-puntos { width: 16px; text-align: center; font-weight: 800; }
.pag-info { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); }
@media (hover: hover) { .pag-botones button:not(:disabled):not([aria-current]):hover { background: var(--negro); color: var(--blanco); } }

.pie { background: var(--negro); color: var(--blanco); text-align: center; padding: 56px 20px 32px; font-size: 13px; }
.pie .logo { width: min(720px, 100%); margin: 0 auto 26px; }

/* ---------- ventanas ---------- */
dialog { border: 0; color: var(--negro); background: var(--blanco); }
dialog::backdrop { background: rgba(0, 0, 0, .75); }
.cerrar { width: 44px; height: 44px; background: var(--negro); color: var(--blanco); border: 2px solid var(--blanco); font-size: 18px; transition: transform .18s; }
.cerrar:hover { transform: rotate(90deg); }
.ficha { margin: auto; width: min(900px, 94vw); max-height: 92vh; border: 3px solid var(--negro); }
.ficha[open] { display: grid; grid-template-columns: 1fr 1fr; }
.ficha > form { position: absolute; right: 8px; top: 8px; z-index: 1; }
.ficha__img { background: var(--papel); display: grid; place-items: center; border-right: 3px solid var(--negro); }
.ficha__img svg, .ficha__img img { width: 100%; }
.ficha__info { padding: 60px 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.ficha__info h2 { font-size: 34px; }
.ficha__info .precio { align-self: flex-start; background: var(--negro); color: var(--blanco); font-family: var(--titulo); font-size: 24px; padding: 2px 14px; transform: rotate(-2deg); }
fieldset { border: 0; }
legend { font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
legend small { margin-left: 6px; font-size: 12px; font-weight: 500; text-transform: none; color: var(--suave); }
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opciones button { min-width: 52px; min-height: 46px; padding: 0 14px; background: var(--blanco); border: 2px solid var(--negro); font-weight: 800; text-transform: uppercase; transition: box-shadow .15s, transform .15s; }
.opciones button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--negro); }
.opciones button[aria-pressed="true"] { background: var(--negro); color: var(--blanco); }
/* tallas en la ficha: informativas (borde punteado = no se eligen, es un catálogo) */
.etq { font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.tallas li { min-width: 44px; padding: 8px 12px; border: 2px dashed var(--negro); text-align: center; font-weight: 800; }

/* hoja de filtros: panel lateral en escritorio, hoja inferior en celular */
.hoja { margin: 0 0 0 auto; width: min(440px, 100vw); max-width: 100vw; height: 100%; max-height: 100%; padding: 0; }
.hoja[open] { display: flex; flex-direction: column; }
.hoja__cab { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--negro); color: var(--blanco); }
.hoja__cab h2 { font-size: 28px; }
.hoja__cuerpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 18px; display: flex; flex-direction: column; gap: 24px; }
.hoja__pie { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 18px 18px; border-top: 3px solid var(--negro); }
.limpiar { min-height: 44px; padding: 0 4px; background: none; border: 0; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.limpiar:disabled { opacity: .35; cursor: default; }
.busca { width: 100%; min-height: 48px; margin-bottom: 12px; padding: 0 14px 0 42px; border: 2px solid var(--negro); border-radius: 0; font: inherit; font-size: 16px; /* 16px: iOS no hace zoom al escribir */
  background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='M15 15l6 6'/%3E%3C/svg%3E") no-repeat 14px center / 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 14px; background: var(--blanco); border: 2px solid var(--negro); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; transition: background-color .15s, color .15s; }
.chips small { display: grid; place-items: center; min-width: 30px; height: 28px; padding: 0 6px; background: var(--negro); color: var(--blanco); font-size: 11px; }
.chips button[aria-pressed="true"] { background: var(--negro); color: var(--blanco); }
.chips button[aria-pressed="true"] small { background: var(--blanco); color: var(--negro); }
.chips button:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .chips button:not(:disabled):hover { background: var(--negro); color: var(--blanco); } .chips button:not(:disabled):hover small { background: var(--blanco); color: var(--negro); } }
.aclara { margin-top: 10px; font-size: 12px; color: var(--suave); }

/* ventanas: entrada suave */
.ficha[open] { animation: aparecer .22s ease-out; }
.hoja[open] { animation: deslizar .26s cubic-bezier(.2, .7, .2, 1); }
dialog[open]::backdrop { animation: fundido .2s ease-out; }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes deslizar { from { transform: translateX(100%); } }
@keyframes subir { from { transform: translateY(100%); } }
@keyframes fundido { from { opacity: 0; } }

/* pantallas táctiles: sin efectos de hover que se quedan "pegados" tras tocar; feedback al presionar */
@media (hover: none) {
  .rejilla button:hover { transform: none; box-shadow: none; }
  .rejilla button:hover .foto svg { transform: none; }
  .opciones button:hover { transform: none; box-shadow: none; }
  .boleto:hover { transform: rotate(-2deg); }
  .accesos a:hover svg { transform: rotate(8deg); }
  .btn:hover::before { transform: skewX(-12deg); }
  .btn:hover span::after { transform: none; }
  .btn--hueco:hover { color: var(--blanco); }
  .btn--hueco:hover::before { background: var(--negro); border-style: dashed; }
  .cerrar:hover { transform: none; }
  .cats a:hover:not([aria-current]) { background-size: 100% 0; color: var(--blanco); }
  .rejilla button:active { transform: translate(2px, 2px); }
  .opciones button:active, .chips button:not(:disabled):active, .activos button:active, .pag-botones button:not(:disabled):active, .barra__filtrar:active, .tamano button[aria-pressed="false"]:active { transform: scale(.96); }
}

@media (max-width: 900px) {
  .rejilla { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .rejilla.rejilla--grande { grid-template-columns: minmax(0, 560px); justify-content: center; gap: 22px; }
  .accesos { grid-template-columns: 1fr 1fr; padding: 40px 14px 12px; }
  .accesos a { min-height: 170px; padding: 12px; }
  .accesos a:first-child { grid-row: auto; grid-column: span 2; }
  .accesos a:first-child svg { width: auto; height: 120%; right: -6%; top: -10%; }
  .temporada { grid-template-columns: 1fr; text-align: center; }
  .temporada p { margin-inline: auto; }
  .tienda { padding: 40px 14px; }
}
@media (max-width: 600px) {
  :root { --alto-top: 112px; }
  .top__row { padding: 8px 14px; }
  .marca .logo { width: 132px; }
  .boleto { font-size: 12px; }
  /* las 4 categorías en una sola fila: la cabecera ocupa menos pantalla */
  .cats a { font-size: 14px; min-height: 46px; padding: 8px 2px; letter-spacing: .03em; }
  .cats small { display: none; }
  .hero { padding: 52px 16px 52px; }
  .hero__lema { margin: 22px 0 30px; }
  .hero__ctas { flex-direction: column; align-items: center; gap: 22px; }
  .hero__ctas .btn { width: min(300px, 86vw); }
  .cinta span { font-size: 20px; }
  .tienda__cab { flex-wrap: wrap; }
  .barra { margin: 12px 0 10px; }
  .rejilla { gap: 14px 10px; }
  .rejilla .nombre { font-size: 15px; padding: 8px; }
  .rejilla.rejilla--grande .nombre { font-size: 21px; padding: 10px 12px; }
  .rejilla.rejilla--grande .fila .ver { display: grid; } /* en grande hay sitio para el "Ver +" */
  .fila .precio { padding: 8px; font-size: 14px; }
  .fila .ver { display: none; } /* toda la tarjeta es tocable: se gana espacio para el precio */
  /* ficha y filtros como hojas que suben desde abajo (al alcance del pulgar) */
  .ficha { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-width: 3px 0 0; }
  .ficha[open] { display: block; overflow-y: auto; animation-name: subir; }
  .ficha__img { border-right: 0; border-bottom: 3px solid var(--negro); }
  .ficha__info { padding: 20px 18px 24px; }
  .ficha__info h2 { font-size: 28px; }
  .ficha__img svg { max-height: 38vh; }
  .hoja { width: 100%; max-width: 100%; height: fit-content; max-height: 88dvh; margin: auto 0 0; border-top: 3px solid var(--negro); }
  .hoja[open] { animation-name: subir; }
  .hoja__cab h2 { font-size: 24px; }
  .pag-botones { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after, ::backdrop { transition: none !important; animation: none !important; } }

/* nombres de categoría siempre legibles sobre el dibujo */
.accesos span, .accesos small { align-self: flex-start; background: var(--negro); padding: 0 8px; }
.accesos a:nth-child(2) span, .accesos a:nth-child(2) small { background: var(--blanco); }
@media (max-width: 600px) { .hero__lema span { -webkit-text-stroke-width: 1px; } }
