:root {
  --azul: #0646A8; --noche: #092B60; --amarillo: #FFD900; --tinta: #10213F; --suave: #566480;
  --linea: #DFE5EF; --fondo: #F3F5F9; --blanco: #fff; --rojo: #C9252D; --verde: #137A45;
  --r: 12px; --sombra: 0 10px 28px -14px rgba(9,43,96,.35);
  font-family: Archivo, system-ui, sans-serif; color: var(--tinta);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); font-size: 16px; line-height: 1.45; padding-bottom: calc(66px + env(safe-area-inset-bottom)); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
.tit { font-size: clamp(22px, 4vw, 30px); font-weight: 800; font-stretch: 88%; letter-spacing: -.01em; }

/* Encabezado: el sello del logo cae sobre la franja azul, como en la marca */
.top { background: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--linea); }
.top-in { display: flex; align-items: center; gap: 12px; height: 62px; }
.sello { position: relative; width: 66px; flex: none; align-self: flex-start; height: 62px; }
.sello img { width: 66px; height: 66px; position: absolute; top: 5px; left: 0; border-radius: 50%; box-shadow: 0 3px 12px rgba(9,43,96,.28); transition: width .15s, height .15s, top .15s; }
.top.bajo .sello img { width: 52px; height: 52px; top: 5px; }
.brand { font-weight: 800; font-stretch: 85%; font-size: 17px; line-height: 1.02; color: var(--noche); }
.buscar { display: flex; align-items: center; flex: 1; min-width: 0; background: var(--fondo); border: 1.5px solid transparent; border-radius: 999px; height: 44px; padding: 0 6px 0 16px; }
.buscar:focus-within { border-color: var(--azul); background: #fff; }
.buscar input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 16px; }
.buscar button { width: 34px; height: 34px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; }
.top nav { display: none; gap: 2px; }
.top nav a { padding: 8px 12px; font-weight: 600; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.top nav a:hover { background: var(--fondo); }
.top nav a.on { color: var(--azul); box-shadow: inset 0 -3px 0 var(--amarillo); border-radius: 0; }
.carrito { position: relative; width: 44px; height: 44px; display: none; place-items: center; color: var(--noche); flex: none; }
.cuenta { position: absolute; top: 1px; right: -1px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--rojo); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cuenta[hidden] { display: none; }
.top-m { display: none; }

/* Barra inferior del teléfono */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--linea); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.barra a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: 12px; font-weight: 600; color: var(--suave); position: relative; }
.barra a.on { color: var(--azul); }
.barra .cuenta { top: 3px; right: calc(50% - 22px); }

/* Portada */
.hero { background: var(--noche); color: #fff; position: relative; overflow: hidden; }
.hero-foto { position: absolute; inset: 0 0 0 auto; width: 62%; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--noche) 0%, rgba(9,43,96,.72) 26%, rgba(9,43,96,0) 58%); }
.hero-in { position: relative; padding: 46px 16px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero h1 { font-size: clamp(38px, 10.5vw, 74px); font-weight: 900; font-style: italic; font-stretch: 82%; line-height: .96; letter-spacing: -.015em; max-width: 9.5em; text-wrap: balance; }
.hero p { margin: 0; max-width: 32ch; color: #D6E2F5; font-size: 16px; }
.lugar { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: #D6E2F5; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; background: var(--azul); color: #fff; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: #053a8c; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.claro { background: #fff; color: var(--azul); border: 1.5px solid var(--linea); }
.btn.claro:hover { border-color: var(--azul); background: #fff; }
.btn.acento { background: var(--amarillo); color: var(--noche); }
.btn.acento:hover { background: #f2ce00; }
.btn.ancho { width: 100%; }

/* Cinta de servicios */
.cinta { background: #fff; border-bottom: 1px solid var(--linea); }
.cinta-in { display: grid; grid-template-columns: 1fr 1fr; }
.cinta-in > div { display: flex; gap: 10px; align-items: center; padding: 13px 0; font-size: 14px; font-weight: 600; line-height: 1.2; }
.cinta-in .ic { color: var(--azul); }
.cinta-in div:nth-child(3) { display: none; }

.bloque { padding-top: 30px; }
.cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cab a { color: var(--azul); font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Categorías */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; scroll-snap-type: x proximity; }
.cats::-webkit-scrollbar { display: none; }
.cat { scroll-snap-align: start; font-size: 14px; font-weight: 600; line-height: 1.15; text-align: center; }
.cat img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 10px; margin-bottom: 7px; background: #fff; border: 1px solid var(--linea); }
.cat:hover img { border-color: var(--azul); }

/* Productos: el precio va en un hablador de estante, el gesto propio de la tienda */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fila { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 44%); gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
.fila::-webkit-scrollbar { display: none; }
.prod { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.prod-foto { display: block; position: relative; aspect-ratio: 1; background: #F3F6FB; }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; }
.prod.agotado .prod-foto img { filter: grayscale(.9); opacity: .55; }
.marca { position: absolute; top: 8px; left: 8px; background: var(--rojo); color: #fff; font-size: 12.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.marca.gris { background: var(--tinta); }
.prod-in { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-nom { font-size: 14.5px; font-weight: 600; line-height: 1.22; min-height: 2.44em; }
.prod-nom small { display: block; color: var(--suave); font-weight: 400; font-size: 13px; }
.hablador { display: inline-flex; flex-direction: column; align-self: flex-start; background: #fff; border-left: 4px solid var(--azul); padding: 0 0 0 8px; line-height: 1.05; }
.prod.oferta .hablador { border-color: var(--amarillo); }
.precio { font-size: 22px; font-weight: 800; font-stretch: 85%; color: var(--noche); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.precio small { font-size: 13px; font-weight: 600; color: var(--suave); }
.antes { font-size: 12.5px; color: var(--suave); text-decoration: line-through; }
.enbs { font-size: 12.5px; color: var(--suave); margin-top: 2px; font-variant-numeric: tabular-nums; }
.compra { margin-top: auto; }
.agregar { width: 100%; height: 40px; border-radius: 9px; border: 1.5px solid var(--azul); color: var(--azul); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s, color .15s; }
.agregar:hover { background: var(--azul); color: #fff; }
.agregar[disabled] { border-color: var(--linea); color: var(--suave); background: var(--fondo); cursor: default; }
.paso { display: grid; grid-template-columns: 40px 1fr 40px; height: 40px; border-radius: 9px; background: var(--azul); color: #fff; overflow: hidden; align-items: center; }
.paso button { height: 100%; display: grid; place-items: center; color: inherit; }
.paso button:hover { background: rgba(255,255,255,.14); }
.paso button[disabled] { opacity: .35; }
.paso .cant { text-align: center; font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Banda de ofertas */
.banda { display: grid; gap: 10px; }
.banda a { border-radius: var(--r); padding: 18px 18px; display: flex; flex-direction: column; gap: 3px; min-height: 104px; justify-content: center; }
.banda .b1 { background: var(--azul); color: #fff; }
.banda .b2 { background: #fff; border: 1px solid var(--linea); }
.banda strong { font-size: 24px; font-weight: 900; font-style: italic; font-stretch: 85%; line-height: 1.05; }
.banda .b1 span { color: #D6E2F5; }

/* Información */
.info { display: grid; gap: 10px; }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); padding: 16px; }
.tarjeta h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tarjeta h3 .ic { color: var(--azul); }
.tarjeta p { margin: 0 0 6px; color: var(--suave); font-size: 15px; }
.tarjeta p:last-child { margin: 0; }
.tarjeta a.enl { color: var(--azul); font-weight: 600; }

.pie { background: var(--noche); color: #C9D8EE; margin-top: 40px; padding: 30px 0 22px; font-size: 15px; }
.pie-in { display: grid; gap: 22px; }
.pie strong { color: #fff; display: block; margin-bottom: 7px; }
.pie a { display: block; padding: 3px 0; }
.pie a:hover { color: #fff; }
.pie .marca-pie { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 800; font-size: 18px; font-stretch: 88%; }
.pie .marca-pie img { width: 54px; height: 54px; }
.pie .legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; font-size: 13.5px; }

.wa { position: fixed; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 25; width: 52px; height: 52px; border-radius: 50%; background: #128C4B; color: #fff; display: grid; place-items: center; box-shadow: var(--sombra); }
.wa:hover { background: #0e7a40; }
.wa[hidden] { display: none; }

/* Catálogo */
.filtros { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 2px 16px; }
.filtros::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--linea); font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; }
.chip.on { background: var(--noche); color: #fff; border-color: var(--noche); }
.orden { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: var(--suave); font-size: 14.5px; }
select, .campo input, .campo textarea { background: #fff; border: 1.5px solid var(--linea); border-radius: 9px; height: 46px; padding: 0 12px; font-size: 16px; width: 100%; }
.orden select { width: auto; height: 38px; font-size: 14.5px; }
.campo textarea { height: auto; padding: 10px 12px; resize: vertical; }
.campo input:focus, .campo textarea:focus, select:focus { outline: 0; border-color: var(--azul); }
.campo { display: block; margin-bottom: 13px; }
.campo > span { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
.campo em { font-style: normal; color: var(--suave); font-weight: 400; }
.vacio { background: #fff; border: 1px dashed var(--linea); border-radius: var(--r); padding: 36px 20px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.vacio h2 { font-size: 20px; }
.vacio p { margin: 0; color: var(--suave); max-width: 38ch; }

/* Ficha de producto */
.ficha { display: grid; gap: 18px; background: #fff; border: 1px solid var(--linea); border-radius: var(--r); padding: 14px; }
.ficha-foto { background: #F3F6FB; border-radius: 9px; overflow: hidden; aspect-ratio: 1; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha h1 { font-size: 27px; font-weight: 800; font-stretch: 90%; margin: 3px 0 10px; }
.ficha .precio { font-size: 34px; }
.miga { font-size: 14.5px; color: var(--azul); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; margin: 16px 0 10px; }
.estado-stock { font-size: 14.5px; font-weight: 600; color: var(--verde); margin: 10px 0; }
.estado-stock.no { color: var(--rojo); }
.pesos { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.pesos button { height: 40px; padding: 0 13px; border-radius: 9px; border: 1.5px solid var(--linea); background: #fff; font-weight: 600; font-size: 15px; }
.pesos button.on { border-color: var(--azul); color: var(--azul); background: #EDF3FC; }
.otro { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; }
.otro input { width: 92px; height: 42px; border: 1.5px solid var(--linea); border-radius: 9px; padding: 0 10px; font-size: 16px; }
.nota-peso { color: var(--suave); font-size: 14px; margin: 0 0 12px; }

/* Hoja de cantidad */
.velo { position: fixed; inset: 0; z-index: 50; background: rgba(9,43,96,.5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.hoja { background: #fff; width: 100%; max-width: 440px; border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); animation: sube .2s ease-out; }
.hoja-cab { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.hoja h2 { font-size: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes sube { from { transform: translateY(24px); opacity: 0; } }

/* Carrito y pago */
.dos { display: grid; gap: 14px; align-items: start; }
.linea { display: grid; grid-template-columns: 64px 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--linea); }
.linea:last-child { border: 0; padding-bottom: 0; }
.linea:first-child { padding-top: 0; }
.linea img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #F3F6FB; }
.linea-nom { font-weight: 600; line-height: 1.2; font-size: 15px; }
.linea-nom small { display: block; font-weight: 400; color: var(--suave); }
.linea-pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.linea-pie .paso { width: 140px; height: 36px; grid-template-columns: 36px 1fr 36px; background: var(--fondo); color: var(--tinta); }
.linea-pie .paso button:hover { background: var(--linea); }
.linea-tot { font-weight: 700; font-variant-numeric: tabular-nums; }
.quitar { color: var(--suave); padding: 4px; }
.quitar:hover { color: var(--rojo); }
.resumen .fil { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-variant-numeric: tabular-nums; }
.resumen .total { border-top: 1.5px solid var(--tinta); margin-top: 7px; padding-top: 10px; font-weight: 800; font-size: 21px; font-stretch: 90%; }
.resumen .enbs { text-align: right; font-size: 14px; }
.resumen .btn { margin-top: 12px; }
.pasos { display: flex; margin: 16px 0 16px; list-style: none; padding: 0; gap: 6px; counter-reset: p; }
.pasos li { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--suave); border-top: 4px solid var(--linea); padding-top: 6px; }
.pasos li.on { color: var(--azul); border-color: var(--azul); }
.opciones { display: grid; gap: 8px; margin-bottom: 14px; }
.opc { display: flex; gap: 11px; align-items: center; padding: 12px; border: 1.5px solid var(--linea); border-radius: 10px; background: #fff; cursor: pointer; }
.opc:has(input:checked) { border-color: var(--azul); background: #F2F6FD; }
.opc input { accent-color: var(--azul); width: 19px; height: 19px; flex: none; margin: 0; }
.opc b { display: block; font-weight: 600; }
.opc small { color: var(--suave); font-size: 13.5px; display: block; line-height: 1.25; }
.opc .ic { color: var(--azul); }
.datos-pago { background: #F2F6FD; border-radius: 9px; padding: 12px; font-size: 15px; white-space: pre-line; margin-bottom: 13px; }
.aviso { background: #FDECEC; color: #8F1B21; padding: 11px 13px; border-radius: 9px; font-size: 15px; margin-bottom: 13px; }
.aviso.neutro { background: #EEF2F8; color: var(--tinta); }
.acciones { display: flex; gap: 8px; margin-top: 4px; }
.acciones .btn { flex: 1; }

/* Pedido */
.codigo { font-size: clamp(30px, 8vw, 42px); font-weight: 900; font-stretch: 85%; color: var(--azul); letter-spacing: .01em; user-select: all; }
.exito .sello-ok { width: 54px; height: 54px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.linea-t { list-style: none; padding: 0; margin: 0; }
.linea-t li { position: relative; padding: 0 0 20px 30px; color: var(--suave); font-weight: 500; }
.linea-t li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2.5px solid var(--linea); z-index: 1; }
.linea-t li::after { content: ''; position: absolute; left: 11.5px; top: 8px; bottom: -6px; width: 2.5px; background: var(--linea); }
.linea-t li:last-child { padding-bottom: 0; }
.linea-t li:last-child::after { display: none; }
.linea-t li.ok { color: var(--tinta); }
.linea-t li.ok::before { background: var(--azul); border-color: var(--azul); }
.linea-t li.ok::after { background: var(--azul); }
.linea-t li.ahora { font-weight: 700; color: var(--azul); }
.linea-t li.ahora::after { background: var(--linea); }
.linea-t li.ahora::before { box-shadow: 0 0 0 4px #D5E3F8; }
.linea-t small { display: block; font-weight: 400; color: var(--suave); }
.mini { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--linea); align-items: center; }
.mini:last-child { border: 0; }
.etq { font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #E7EEF9; color: var(--azul); white-space: nowrap; }
.etq.fin { background: #E3F4EA; color: var(--verde); }
.etq.can { background: #FDECEC; color: var(--rojo); }
.buscar-ped { display: flex; gap: 8px; }
.buscar-ped input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--linea); border-radius: 9px; padding: 0 12px; font-size: 16px; text-transform: uppercase; }
.buscar-ped input::placeholder { text-transform: none; }

.toast { position: fixed; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 9px; font-size: 15px; font-weight: 500; animation: sube .18s ease-out; max-width: calc(100vw - 32px); width: max-content; }
.cerrado { background: var(--rojo); color: #fff; padding: 9px 16px; text-align: center; font-weight: 600; font-size: 15px; }
.demo { background: #EAF0FA; color: var(--noche); padding: 6px 16px; text-align: center; font-size: 14px; font-weight: 600; }
.ubicar { margin-bottom: 6px; }
.ayuda-ubicar { color: var(--suave); font-size: 14px; margin: 6px 0 13px; }
.mapa { height: 260px; border-radius: 10px; border: 1.5px solid var(--linea); overflow: hidden; background: #E8EDF5; z-index: 0; }
.pin-mapa { color: var(--rojo); background: none; border: 0; }
.pin-mapa svg { fill: #fff; filter: drop-shadow(0 2px 3px rgba(9,43,96,.4)); }
.acciones-mapa { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: -5px; }
.enl { color: var(--azul); font-weight: 600; font-size: 14.5px; }
.esqueleto { min-height: 60vh; display: grid; place-items: center; color: var(--suave); }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fila { grid-auto-columns: minmax(170px, 28%); }
  .banda { grid-template-columns: 1fr 1fr; }
  .info { grid-template-columns: repeat(2, 1fr); }
  .pie-in { grid-template-columns: 1.6fr 1fr 1fr; }
  .pie .legal { grid-column: 1 / -1; }
  .cinta-in { grid-template-columns: repeat(3, 1fr); }
  .cinta-in div:nth-child(3) { display: flex; }
  .hoja { border-radius: 16px; margin-bottom: 24px; }
  .velo { align-items: center; }
  .hero-in { padding: 58px 16px 44px; }
  .ficha { grid-template-columns: minmax(0, 420px) 1fr; padding: 18px; gap: 26px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .barra { display: none; }
  .top nav { display: flex; }
  .carrito { display: grid; }
  .top-in { height: 76px; gap: 20px; }
  .sello { width: 92px; height: 76px; }
  .sello img { width: 92px; height: 92px; top: 8px; }
  .top.bajo .sello img { width: 64px; height: 64px; top: 6px; }
  .buscar { max-width: 340px; }
  .top nav { margin-left: auto; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .fila { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 14px; }
  .fila > :nth-child(n+6) { display: none; }
  .cats { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; overflow: visible; }
  .info { grid-template-columns: repeat(4, 1fr); }
  .hero-in { padding: 74px 16px 64px; }
  .hero-foto { width: 66%; }
  .dos { grid-template-columns: minmax(0, 1fr) 360px; }
  .dos > aside { position: sticky; top: 92px; }
  .wa { bottom: 22px; right: 22px; }
  .toast { bottom: 24px; }
}
@media (min-width: 1160px) {
  .cats { grid-template-columns: repeat(12, 1fr); }
  .cat { font-size: 13.5px; }
}
@media (max-width: 639px) {
  .hero { display: flex; flex-direction: column; }
  .hero-in { order: 1; padding: 34px 16px 20px; }
  .hero-foto { order: 2; position: relative; inset: auto; width: 100%; aspect-ratio: 2 / 1; }
  .hero-foto img { object-position: 50% 70%; }
  .hero-foto::after { background: linear-gradient(180deg, var(--noche) 0%, rgba(9,43,96,0) 30%); }
  .brand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
