/* ===================================================================================================
   OFERTAS DE BODEGA · propuesta de diseño (2026-11-06). La idea: entrar a la bodega. Cartón kraft, letras de
   esténcil como las que se pintan en las cajas, etiquetas de precio colgantes y la franja negro-amarillo de
   «precaución» para lo urgente. Distinto a mercadomayorista.net (editorial, azul) a propósito: aquí se viene a
   cazar ofertas.
   =================================================================================================== */
:root {
	--kraft: #d9b98a; --kraft-2: #c9a46d; --kraft-claro: #f3e7d3; --papel: #fffaf2;
	--carbon: #1d1b18; --carbon-2: #34302a; --tinta-suave: #6b6052;
	--amarillo: #ffc61a; --naranja: #ff5a1f; --rojo: #d62f1f; --verde: #1f8a4c;
	--linea: #e6d6bb; --radio: 14px;
	--esten: "Big Shoulders Stencil Display", "Arial Narrow", Impact, sans-serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--sombra: 0 1px 0 rgba(0,0,0,.04), 0 10px 26px rgba(60,40,10,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--carbon); background: var(--kraft-claro);
	background-image: radial-gradient(rgba(120,80,30,.07) 1px, transparent 1px); background-size: 6px 6px; }
a { color: inherit; }
.contenedor { width: min(1240px, 100%); margin: 0 auto; padding: 0 16px; }
.franja { height: 10px; background: repeating-linear-gradient(-45deg, var(--carbon) 0 14px, var(--amarillo) 14px 28px); }

/* ---------------------------------------------------------------- Cabecera */
.cab { background: var(--carbon); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.cab > .contenedor { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.marca-caja { width: 44px; height: 44px; border-radius: 8px; background: var(--kraft); color: var(--carbon); display: grid; place-items: center; font-size: 22px; transform: rotate(-4deg); box-shadow: inset 0 -6px 0 rgba(0,0,0,.12); }
.marca-txt { font-family: var(--esten); font-weight: 900; line-height: .86; letter-spacing: .02em; text-transform: uppercase; }
.marca-txt b { display: block; font-size: 25px; color: var(--amarillo); }
.marca-txt span { font-size: 15px; color: #fff; letter-spacing: .16em; }
.buscar { flex: 1 1 auto; display: flex; background: #fff; border-radius: 999px; overflow: hidden; max-width: 620px; }
.buscar input { flex: 1; border: 0; padding: 12px 18px; font: inherit; font-size: 15px; outline: none; min-width: 0; }
.buscar button { border: 0; background: var(--amarillo); padding: 0 20px; font-size: 16px; cursor: pointer; }
.carrito-btn { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; background: var(--carbon-2); border: 1px solid #4b443a; color: #fff; border-radius: 999px; padding: 8px 14px 8px 10px; cursor: pointer; font: inherit; }
.carrito-btn .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--naranja); display: grid; place-items: center; position: relative; }
.carrito-btn .ico em { position: absolute; top: -6px; right: -6px; background: var(--amarillo); color: var(--carbon); font-style: normal; font-size: 11px; font-weight: 800; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.carrito-btn small { display: block; font-size: 11px; color: #b9ad9a; line-height: 1.1; }
.carrito-btn b { display: block; font-size: 13.5px; line-height: 1.2; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- Departamentos (barra) */
.deptos { background: var(--carbon-2); }
.deptos .contenedor { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.deptos .contenedor::-webkit-scrollbar { display: none; }
.depto { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; color: #eadfcb; background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.depto i { color: var(--amarillo); }
.depto:hover { border-color: #5a5246; }
.depto.activo { background: var(--amarillo); color: var(--carbon); }
.depto.activo i { color: var(--carbon); }

/* ---------------------------------------------------------------- Portada */
.hero { position: relative; overflow: hidden; background: var(--kraft); background-image: linear-gradient(115deg, var(--kraft) 0 58%, var(--kraft-2) 58%); }
.hero .contenedor { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
.sello { display: inline-flex; align-items: center; gap: 8px; border: 2px dashed var(--carbon); color: var(--carbon); padding: 5px 12px; font-family: var(--esten); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-2deg); font-size: 15px; }
.hero h1 { font-family: var(--esten); font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 6.6vw, 82px); line-height: .9; margin: 16px 0 14px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--papel); background: var(--carbon); padding: 0 .16em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p { font-size: 18px; max-width: 560px; color: var(--carbon-2); margin: 0 0 22px; line-height: 1.5; }
.hero-cifras { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-cifras div b { display: block; font-family: var(--esten); font-size: 40px; line-height: 1; }
.hero-cifras div span { font-size: 13px; font-weight: 600; color: var(--carbon-2); text-transform: uppercase; letter-spacing: .06em; }
.cajas { position: relative; height: 330px; }
.caja { position: absolute; background: #c39457; border-radius: 6px; box-shadow: inset 0 -14px 0 rgba(0,0,0,.08), 0 18px 30px rgba(60,35,5,.25); display: grid; place-items: center; color: rgba(29,27,24,.75); }
.caja::before { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 16%; background: rgba(240,220,180,.55); }
.caja span { position: relative; font-family: var(--esten); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; text-align: center; line-height: .95; }
.caja.c1 { width: 230px; height: 170px; left: 8%; bottom: 0; transform: rotate(-2deg); } .caja.c1 span { font-size: 34px; }
.caja.c2 { width: 180px; height: 140px; right: 4%; bottom: 10px; transform: rotate(3deg); } .caja.c2 span { font-size: 22px; }
.caja.c3 { width: 170px; height: 130px; left: 30%; bottom: 160px; transform: rotate(-6deg); } .caja.c3 span { font-size: 22px; }
.etiqueta-hero { position: absolute; right: 10%; top: 6px; background: var(--amarillo); padding: 12px 18px 12px 26px; font-family: var(--esten); font-weight: 900; font-size: 30px; transform: rotate(8deg); clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); box-shadow: var(--sombra); }
.etiqueta-hero::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--kraft-2); }

/* ---------------------------------------------------------------- Secciones */
.seccion { padding: 40px 0; }
.seccion-cab { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.seccion-cab h2 { font-family: var(--esten); font-weight: 900; text-transform: uppercase; font-size: 38px; line-height: 1; margin: 0; }
.seccion-cab p { margin: 4px 0 0; color: var(--tinta-suave); }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--linea); background: var(--papel); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip.activo { background: var(--carbon); color: #fff; border-color: var(--carbon); }

/* ---------------------------------------------------------------- Tarjeta de producto */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.prod { background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .15s; }
.prod:hover { transform: translateY(-3px); }
.prod-foto { aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: 64px; color: rgba(29,27,24,.55); position: relative; }
.prod-depto { position: absolute; left: 10px; top: 10px; background: rgba(255,250,242,.92); border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; color: var(--carbon-2); }
.prod-ultimas { position: absolute; left: 0; bottom: 12px; background: var(--rojo); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 10px 4px 10px; text-transform: uppercase; letter-spacing: .04em; }
.prod-precio { position: absolute; right: 10px; bottom: -16px; background: var(--amarillo); padding: 8px 12px 8px 22px; font-family: var(--esten); font-weight: 900; font-size: 25px; line-height: 1; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.prod-precio::before { content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--papel); }
.prod-cuerpo { padding: 24px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-marca { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--naranja); }
.prod h3 { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 700; }
.prod-tienda { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--tinta-suave); margin-top: auto; padding-top: 6px; cursor: pointer; }
.prod-tienda img, .logo-mini { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; flex: 0 0 auto; }
.prod-tienda:hover b { text-decoration: underline; }
.prod-agregar { margin-top: 10px; border: 0; background: var(--carbon); color: #fff; border-radius: 10px; padding: 10px; font: inherit; font-weight: 700; cursor: pointer; display: flex; justify-content: center; gap: 8px; align-items: center; }
.prod-agregar:hover { background: var(--naranja); }
.prod-agregar.en-carrito { background: var(--verde); }
.vacio { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--tinta-suave); }

/* ---------------------------------------------------------------- Comercios */
.comercios { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.comercio { background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); padding: 16px; display: flex; gap: 12px; align-items: center; cursor: pointer; border: 2px solid transparent; }
.comercio:hover { border-color: var(--amarillo); }
.comercio .logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-family: var(--esten); font-weight: 900; font-size: 22px; color: #fff; flex: 0 0 auto; }
.comercio b { display: block; font-size: 15px; }
.comercio span { font-size: 12.5px; color: var(--tinta-suave); }

/* Cabecera de un comercio (al filtrar por él) */
.tienda-cab { display: none; background: var(--carbon); color: #fff; border-radius: var(--radio); padding: 18px; margin-bottom: 18px; align-items: center; gap: 16px; flex-wrap: wrap; }
.tienda-cab.visible { display: flex; }
.tienda-cab .logo { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; font-family: var(--esten); font-weight: 900; font-size: 28px; }
.tienda-cab h3 { margin: 0; font-family: var(--esten); font-size: 32px; text-transform: uppercase; line-height: 1; }
.tienda-cab p { margin: 4px 0 0; color: #cfc3ad; font-size: 14px; }
.tienda-cab .acciones { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.btn { border: 0; border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-amarillo { background: var(--amarillo); color: var(--carbon); }
.btn-wa { background: #25d366; color: #fff; }
.btn-claro { background: transparent; color: #fff; border: 1px solid #5a5246; }
.btn-oscuro { background: var(--carbon); color: #fff; }
.btn-borde { background: transparent; color: var(--carbon); border: 2px solid var(--carbon); }

/* ---------------------------------------------------------------- Llamado a empresas */
.empresas { background: var(--carbon); color: #fff; position: relative; }
.empresas .contenedor { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.empresas h2 { font-family: var(--esten); font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; line-height: .95; margin: 0 0 8px; }
.empresas h2 em { font-style: normal; color: var(--amarillo); }
.empresas p { margin: 0; color: #d8ccb6; max-width: 720px; line-height: 1.5; }
.pie { padding: 26px 0 40px; color: var(--tinta-suave); font-size: 13px; }
.pie .contenedor { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pie b { color: var(--carbon); }

/* ---------------------------------------------------------------- Carrito (cajón) y aviso */
.velo { position: fixed; inset: 0; background: rgba(20,15,8,.55); z-index: 60; display: none; }
.velo.visible { display: block; }
.cajon { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--papel); z-index: 70; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.25); }
.cajon.abierto { transform: none; }
.cajon-cab { background: var(--carbon); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.cajon-cab h3 { margin: 0; font-family: var(--esten); text-transform: uppercase; font-size: 26px; flex: 1; line-height: 1; }
.cajon-cab small { display: block; font-family: var(--sans); text-transform: none; font-size: 12.5px; color: #cfc3ad; margin-top: 4px; font-weight: 500; }
.cerrar { background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.cajon-lineas { flex: 1; overflow: auto; padding: 14px 18px; }
.linea { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--linea); }
.linea .mini { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; color: rgba(29,27,24,.55); flex: 0 0 auto; }
.linea .tx { flex: 1; min-width: 0; font-size: 13.5px; }
.linea .tx b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cant { display: flex; align-items: center; border: 1px solid var(--linea); border-radius: 999px; }
.cant button { border: 0; background: transparent; width: 28px; height: 28px; cursor: pointer; font-size: 14px; }
.cant span { min-width: 22px; text-align: center; font-weight: 700; font-size: 13px; }
.cajon-pie { padding: 16px 18px 20px; border-top: 1px solid var(--linea); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.total b { font-family: var(--esten); font-size: 34px; }
.cajon-pie .btn { width: 100%; justify-content: center; margin-top: 8px; }
.nota { font-size: 12px; color: var(--tinta-suave); margin-top: 10px; line-height: 1.45; }

.aviso { position: fixed; z-index: 80; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); width: min(460px, calc(100% - 32px)); background: var(--papel); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; display: none; }
.aviso.visible { display: block; }
.aviso-cuerpo { padding: 22px 22px 18px; }
.aviso h3 { font-family: var(--esten); text-transform: uppercase; font-size: 28px; margin: 6px 0 8px; line-height: 1; }
.aviso p { margin: 0 0 16px; color: var(--carbon-2); line-height: 1.5; }
.aviso .acc { display: flex; gap: 10px; flex-wrap: wrap; }
.aviso .acc .btn { flex: 1 1 180px; justify-content: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--carbon); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 90; display: none; box-shadow: var(--sombra); }
.toast.visible { display: block; }

/* ---------------------------------------------------------------- Nota de propuesta */

/* ---------------------------------------------------------------- Teléfono */
@media (max-width: 860px) {
	.hero .contenedor { grid-template-columns: 1fr; padding-top: 28px; }
	.cajas { height: 220px; }
	.caja.c1 { width: 170px; height: 120px; } .caja.c1 span { font-size: 24px; }
	.caja.c2 { width: 130px; height: 100px; } .caja.c3 { width: 130px; height: 100px; bottom: 110px; }
	.etiqueta-hero { font-size: 22px; }
	.empresas .contenedor { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.cab > .contenedor { flex-wrap: wrap; gap: 10px; }
	.buscar { order: 3; flex-basis: 100%; max-width: none; }
	.carrito-btn { margin-left: auto; }
	.carrito-btn .txt { display: none; }
	.cajas { display: none; } /* en el teléfono, primero las ofertas */
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.prod-precio { font-size: 20px; }
	.prod h3 { font-size: 13.5px; }
	.prod-cuerpo { padding: 22px 10px 10px; }
	.seccion-cab h2 { font-size: 30px; }
}

/* =================================================================================================== El sitio real */
a.depto { text-decoration: none; }
.prod-foto { text-decoration: none; overflow: visible; }
.prod-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; border-radius: var(--radio) var(--radio) 0 0; background: #fff; }
.prod-foto .ph { position: relative; z-index: 0; }
.prod-depto, .prod-ultimas, .prod-precio { z-index: 2; }
.prod h3 a { text-decoration: none; }
.prod h3 a:hover { text-decoration: underline; }
.prod-tienda { text-decoration: none; }
.prod-tienda .logo-mini, .comercio .logo, .tienda-cab .logo, .ficha-comercio .logo { position: relative; overflow: hidden; background: var(--carbon-2); color: #fff; }
.logo-mini img, .comercio .logo img, .tienda-cab .logo img, .ficha-comercio .logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.comercio { text-decoration: none; color: inherit; }
.tienda-cab { display: flex; }
.tienda-cab h1 { margin: 0; font-family: var(--esten); font-size: 34px; text-transform: uppercase; line-height: 1; }
.tienda-cab .logo { background: var(--amarillo); color: var(--carbon); }
.paginas { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.paginas a, .paginas span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--papel); text-decoration: none; font-weight: 700; box-shadow: var(--sombra); }
.paginas .activa { background: var(--carbon); color: #fff; }
.migas { font-size: 13px; color: var(--tinta-suave); margin-bottom: 14px; }
.migas a { color: var(--tinta-suave); }
.mt { margin-top: 34px; }
.vacio h2 { font-family: var(--esten); text-transform: uppercase; }

/* Ficha del producto */
.ficha { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.ficha-foto { position: relative; background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); aspect-ratio: 1 / 1; }
.ficha-foto img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radio); }
.prod-precio.grande { font-size: 34px; bottom: 18px; right: -8px; padding: 12px 16px 12px 28px; }
.ficha-mini { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ficha-mini img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #fff; cursor: pointer; box-shadow: var(--sombra); }
.ficha-tx h1 { font-family: var(--esten); text-transform: uppercase; font-size: clamp(30px, 4vw, 46px); line-height: .95; margin: 6px 0 12px; }
.ficha-precio { font-family: var(--esten); font-size: 44px; font-weight: 900; line-height: 1; }
.ficha-precio small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--tinta-suave); }
.ficha-disp { margin: 10px 0 16px; color: var(--carbon-2); font-weight: 600; }
.prod-ultimas.estatica { position: static; display: inline-block; border-radius: 4px; }
.btn-grande { padding: 14px 24px; font-size: 16px; width: 100%; justify-content: center; }
.ficha-comercio { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 14px; background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); text-decoration: none; }
.ficha-comercio .logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-family: var(--esten); font-weight: 900; font-size: 22px; flex: 0 0 auto; }
.ficha-comercio small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-suave); }
.ficha-comercio b { display: block; font-size: 16px; }
.ficha-comercio em { font-style: normal; font-size: 13px; color: var(--tinta-suave); }
.ficha-comercio > i { margin-left: auto; color: var(--tinta-suave); }
.ficha-sub { font-family: var(--esten); text-transform: uppercase; font-size: 24px; margin: 18px 0 8px; }
.ficha-caract { background: var(--papel); border-radius: var(--radio); padding: 14px 16px; line-height: 1.55; font-size: 14.5px; }
@media (max-width: 860px) { .ficha { grid-template-columns: 1fr; } .prod-precio.grande { font-size: 26px; } }
.btn-wa.inactivo { opacity: .5; pointer-events: none; }
.linea .mini img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
a.chip { text-decoration: none; color: inherit; }
/* La portada de «Muy pronto»: los tres pasos para publicar */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.paso { background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); padding: 20px; position: relative; }
.paso b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amarillo); font-family: var(--esten); font-size: 26px; margin-bottom: 10px; }
.paso h3 { font-family: var(--esten); text-transform: uppercase; font-size: 24px; margin: 0 0 6px; }
.paso p { margin: 0; color: var(--carbon-2); line-height: 1.5; font-size: 14.5px; }
.hero .btn-oscuro { margin-top: 4px; }
@media (max-width: 760px) { .pasos { grid-template-columns: 1fr; } }

/* La sección «Sobre SiReTT» (pie de todas las páginas) */
.empresas-acc, .hero-acc { display: flex; gap: 10px; flex-wrap: wrap; }
.sirett { background: var(--kraft-claro); padding: 40px 0 10px; scroll-margin-top: 130px; }
.sirett .contenedor { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.sirett h2 { font-family: var(--esten); text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: .95; margin: 12px 0 10px; }
.sirett h2 em { font-style: normal; background: var(--carbon); color: var(--amarillo); padding: 0 .14em; }
.sirett-tx p { color: var(--carbon-2); line-height: 1.55; margin: 0; }
.sirett-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sirett-card { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); padding: 14px 16px; text-decoration: none; color: inherit; border: 2px solid transparent; }
.sirett-card:hover { border-color: var(--amarillo); }
.sirett-card i { grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--carbon); color: var(--amarillo); font-size: 19px; }
.sirett-card.wa i { background: #25d366; color: #fff; }
.sirett-card b { font-size: 15px; }
.sirett-card span { font-size: 13px; color: var(--tinta-suave); }
.pie a { color: inherit; }
@media (max-width: 860px) { .sirett .contenedor { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sirett-grid { grid-template-columns: 1fr; } }

/* La red SiReTT (portada) y el aviso de responsabilidad (pie) */
.red { padding-top: 10px; }
.red-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.red-card { display: flex; align-items: center; gap: 14px; background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); padding: 18px; text-decoration: none; color: inherit; border: 2px solid transparent; }
.red-card:hover { border-color: var(--amarillo); }
.red-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; flex: 0 0 auto; color: #fff; }
.red-card.detalle .red-ic { background: #1f3a68; }
.red-card.mayoreo .red-ic { background: #239F92; }
.red-tx { flex: 1; min-width: 0; }
.red-tx b { display: block; font-size: 18px; }
.red-tx span { font-size: 13.5px; color: var(--tinta-suave); line-height: 1.4; }
.red-card > i { color: var(--tinta-suave); }
.aviso-legal { flex-basis: 100%; margin: 0 0 10px; padding: 12px 14px; background: var(--papel); border-left: 4px solid var(--amarillo); border-radius: 8px; line-height: 1.5; color: var(--carbon-2); }
.aviso-legal i { color: var(--carbon); margin-right: 4px; }
@media (max-width: 760px) { .red-grid { grid-template-columns: 1fr; } }

/* Listas con filtros (2026-11-06): barra lateral, filtros activos, orden y paginación con saltos */
.lista { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.lista-res { min-width: 0; }
.panel-f { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow: auto; background: var(--papel); border-radius: var(--radio); box-shadow: var(--sombra); padding: 6px 16px 14px; }
.panel-f-det > summary { list-style: none; cursor: pointer; font-weight: 800; padding: 10px 0; display: flex; align-items: center; gap: 8px; }
.panel-f-det > summary::-webkit-details-marker { display: none; }
.panel-f-det > summary em { font-style: normal; background: var(--amarillo); color: var(--carbon); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.pf-grupo { border-top: 1px solid var(--linea); padding: 12px 0 6px; }
.pf-grupo h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-suave); }
.pf-op { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 8px; text-decoration: none; color: inherit; font-size: 14px; line-height: 1.25; }
.pf-op:hover { background: var(--kraft-claro); }
.pf-op i { color: var(--tinta-suave); width: 14px; }
.pf-op span { margin-left: auto; font-size: 12px; color: var(--tinta-suave); }
.pf-op.activo { font-weight: 800; }
.pf-op.activo i { color: var(--carbon); }
.pf-volver { font-size: 13px; color: var(--tinta-suave); }
.pf-mas { display: none; }
.pf-grupo.todo .pf-mas { display: flex; }
.pf-vermas { border: 0; background: none; padding: 4px; font: inherit; font-size: 13px; font-weight: 700; color: var(--naranja); cursor: pointer; }
.pf-rango { display: flex; gap: 6px; margin-top: 8px; }
.pf-rango input { width: 100%; min-width: 0; border: 1px solid var(--linea); border-radius: 8px; padding: 7px 8px; font: inherit; font-size: 13px; background: #fff; }
.pf-rango button { border: 0; background: var(--carbon); color: var(--amarillo); border-radius: 8px; padding: 0 12px; cursor: pointer; }
.activos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: -6px 0 16px; }
.activos .chip { text-decoration: none; }
.activos-limpiar { font-size: 13px; font-weight: 700; color: var(--naranja); }
.orden { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tinta-suave); }
.orden select { border: 1px solid var(--linea); background: var(--papel); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--carbon); }
.paginas .pg-nav { padding: 0 14px; gap: 6px; display: flex; align-items: center; }
.paginas .pg-gap { box-shadow: none; background: none; }
.pg-tope { text-align: center; color: var(--tinta-suave); font-size: 13px; margin-top: 12px; }
.ver-todo { font-weight: 800; text-decoration: none; color: var(--carbon); white-space: nowrap; }
.ver-todo:hover { color: var(--naranja); }
.sec-ico { font-size: .7em; margin-right: 10px; color: var(--naranja); vertical-align: middle; }
.mb { margin-bottom: 18px; }
@media (max-width: 860px) {
	.lista { grid-template-columns: 1fr; gap: 14px; }
	.panel-f { position: static; max-height: none; padding: 0 14px; }
	.panel-f-det[open] { padding-bottom: 12px; }
}
.sirett .contenedor > *, .sirett-card { min-width: 0; }
.sirett-card b, .sirett-card span { overflow-wrap: anywhere; }
