/*
Theme Name: ABSA
Version: 0.3.11
Text Domain: absa
*/
@font-face {
  font-family: 'Bebas Neue';
  src: url('assets/fonts/BebasNeue-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --black: #070809;
  --surface: #0f1214;
  --orange: #fa5a0b;
  --cream: #f6f2e9;
  --muted: #aeb3b8;
  --header-h: 111px; /* alto del header sticky: lo usan el panel de filtros y los anclas */
  --site-width: 1400px;
  --banner-width: 1600px; /* tope de los banners de ancho completo: en pantallas más anchas quedan en caja, centrados */
  --site-gutter: 32px;
  --heading-font: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-family: Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--cream); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}
/* Scrollbar oscuro acorde a los paneles del sitio, en vez del scrollbar claro
   por defecto del sistema operativo (se nota mucho sobre el fondo negro). */
html { scrollbar-width: thin; scrollbar-color: #4a4f54 var(--surface); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #4a4f54; border-radius: 6px; border: 2px solid var(--surface); }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }
/* Section backgrounds span the viewport; only their content is constrained. */
/* overflow-x:clip trims the ~8px 100vw-vs-scrollbar mismatch that full-bleed
   breakouts like .absa-mid-banner introduce (100vw includes the scrollbar width,
   the actual content area doesn't). Deliberately `clip`, not `hidden`: unlike
   `hidden`, `clip` never establishes a scroll container, so it can't interfere
   with the .catalog-sidebar's position:sticky further down the tree. */
.site-frame { width: 100%; min-height: 100vh; background: var(--black); overflow-x: clip; }
.header-inner, .absa-shell, .absa-benefits, .site-footer,
.catalog-page, .account-quotes, .absa-product-detail > article {
  width: 100%; max-width: var(--site-width); margin: 0 auto; padding-inline: var(--site-gutter);
}
/* Only the inner header has columns; its parent is a full-width block. */
/* 111px es la altura real del header en todos los anchos (min-height:111px de
   .header-inner domina incluso donde se le suma padding-block) — se reutiliza
   más abajo para que el ancla #rubros y el sidebar sticky del catálogo no
   queden tapados debajo del header ahora que se queda fijo al hacer scroll.
   (96px + 15px para que el logo nuevo, más cuadrado, entre sin verse apretado). */
.site-header { display: block; position: sticky; top: 0; z-index: 5; background: #030303; }
.header-inner { min-height: 111px; display: grid; grid-template-columns: 150px auto minmax(0, 1fr); gap: 24px; align-items: center; }
.brand { display: block; width: 150px; height: 83px; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 20px; align-self: stretch; font-size: 12px; font-weight: bold; text-transform: uppercase; }
.site-nav a { position: relative; display: flex; align-items: center; white-space: nowrap; transition: color .2s ease; }
.site-nav a:not(.is-active):hover { color: var(--orange); }
.site-nav a::after { transition: transform .2s ease, opacity .2s ease; }
.site-nav a.is-active { color: var(--orange); }
.site-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; top: auto; bottom: -10px; height: 3px; background: var(--orange); }
.header-actions { min-width: 0; display: flex; align-items: center; gap: 10px; }
/* position:relative (para el dropdown de sugerencias) necesita que el pill ya
   no recorte con overflow:hidden — las esquinas redondeadas se logran ahora
   con border-radius en el input/botón por separado, mismo resultado visual. */
.header-search { display: flex; position: relative; flex: 1; min-width: 0; height: 44px; margin: 0; background: #fff; border-radius: 4px; }
.header-search input { width: 100%; flex: 1; min-width: 0; border: 0; border-radius: 4px 0 0 4px; padding: 0 12px; font-size: 13px; }
.header-search button { flex: 0 0 40px; border: 0; border-radius: 0 4px 4px 0; background: var(--orange); color: #fff; font-size: 22px; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 25; background: #171a1d; border: 1px solid #3c4145; border-radius: 8px; box-shadow: 0 16px 30px #0007; max-height: 360px; overflow-y: auto; }
/* Cada fila de sugerencia se crea de nuevo en cada búsqueda (replaceChildren),
   así que animarla por CSS alcanza: no hace falta JS, la animación se
   reinicia sola cada vez que aparece una fila nueva en el DOM. */
@keyframes suggest-item-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.search-suggest-item { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #26292c; animation: suggest-item-in .25s ease both; }
.search-suggest-item:nth-child(2) { animation-delay: .04s; }
.search-suggest-item:nth-child(3) { animation-delay: .08s; }
.search-suggest-item:nth-child(4) { animation-delay: .12s; }
.search-suggest-item:nth-child(5) { animation-delay: .16s; }
.search-suggest-item:nth-child(n+6) { animation-delay: .2s; }
.search-suggest-item:last-child { border-bottom: 0; }
.search-suggest-media { display: block; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: #f3f3f0; }
.search-suggest-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-suggest-media { display: grid; place-items: center; background: #1b2025; color: var(--orange); }
.search-suggest-icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-suggest-info { min-width: 0; }
.search-suggest-info a { display: block; color: #fff; font-size: 13px; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-info small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.search-suggest-item button { flex: none; border: 0; border-radius: 4px; background: var(--orange); color: #fff; font-size: 11px; font-weight: bold; text-transform: uppercase; padding: 8px 10px; white-space: nowrap; }
.search-suggest-item button:hover { background: #ff6a20; }
.cart-toggle, .account-toggle, .nav-toggle, .search-toggle { flex: 0 0 44px; position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #555; border-radius: 5px; background: transparent; color: #fff; }
/* Pulso del ícono del carro al agregar un producto desde una lista de
   sugerencias, donde no se abre el carro para no tapar la búsqueda. */
@keyframes cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.25); border-color: var(--orange); } 100% { transform: scale(1); } }
.cart-toggle.is-bumped { animation: cart-bump .4s ease; }
/* El ícono de lupa solo existe bajo el breakpoint donde la barra completa ya no
   entra cómoda junto a carro/cuenta/menú — ahí la reemplaza (ver §700px). */
.search-toggle { display: none; }
.search-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
/* El hamburguesa solo existe bajo el breakpoint donde la nav ya no cabe en línea. */
.nav-toggle { display: none; }
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle-bars span { position: absolute; left: 0; display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.cart-toggle { border-color: var(--orange); }
.cart-toggle svg, .account-toggle svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-toggle span { position: absolute; top: -7px; right: -6px; min-width: 19px; height: 19px; border-radius: 50%; background: var(--orange); font-size: 11px; display: grid; place-items: center; }
.account-menu { position: relative; flex: 0 0 44px; }
.account-dropdown { position: absolute; right: 0; top: calc(100% + 12px); z-index: 30; width: 255px; padding: 12px; background: #171a1d; border: 1px solid #3c4145; box-shadow: 0 16px 30px #0007; }
.account-dropdown a { display: block; padding: 12px; border-top: 1px solid #303438; transition: color .18s ease, background-color .18s ease; }
.account-dropdown a:hover { color: var(--orange); background: #202428; }
.account-summary { padding: 8px 12px 14px; overflow-wrap: anywhere; }
.account-summary strong, .account-summary small { display: block; }
.account-summary small, .account-dropdown p { color: var(--muted); font-size: 13px; margin: 6px 0; }
.account-login { background: var(--orange); font-weight: bold; text-align: center; }
.account-logout { color: #ff9b6c; }
/* Full-width hero background with a centered content container. */
.absa-home { background: #080909; }
.absa-hero { display: block; height: 500px; padding: 0; overflow: hidden; border-bottom: 1px solid #f26c0fb3; box-shadow: 0 1px 8px #f26c0f55, 0 8px 22px #0008; background: linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.28) 32%,rgba(0,0,0,0) 52%),url('assets/images/banner.jpg') center/cover; }
/* Mismos márgenes que el resto de la página (--site-width, 1400px): la foto de
   Protegín a 806px de ancho necesita más aire que el shell estándar para
   quedar en la misma fila que el texto sin que ninguno de los dos se
   envuelva a una segunda línea.
   padding-block:0 + height:100%: el texto se centra verticalmente (align-items:
   center) dentro del alto COMPLETO de los 650px del hero, y la foto de Protegín
   se ancla al borde inferior real (align-self:flex-end más abajo) sin que un
   padding vertical le reste espacio y la deje flotando arriba de ese borde. */
.absa-hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 24px; padding-block: 0; height: 100%; max-width: var(--site-width); padding-inline: var(--site-gutter); }
.absa-protegin-block { flex: 0 0 auto; align-self: flex-end; }
.absa-hero-copy { flex: 1 1 420px; min-width: 0; max-width: 650px; margin: 8px 0 0; }
.eyebrow { color: var(--orange); text-transform: uppercase; font-weight: bold; margin: 0; }
.absa-hero h1 { font-size: 52px; line-height: 1.02; margin: 10px 0 16px; text-transform: uppercase; max-width: 640px; }
.absa-hero h1 { font-family: var(--heading-font); font-size: 64px; font-weight: 700; letter-spacing: .6px; -webkit-text-stroke: .4px currentColor; }
.absa-rubros h2, .rubro-grid h3, .home-product-row h2 { font-family: var(--heading-font); font-weight: 700; letter-spacing: .4px; }
.absa-hero h1 em { display: block; color: var(--orange); font-style: normal; }
/* Sin velo oscuro sobre la foto: la sombra del texto es lo que lo separa del fondo. */
.absa-hero h1 { text-shadow: 0 2px 4px #000c, 0 4px 18px #000b, 0 0 36px #0009; }
.absa-hero .eyebrow, .absa-hero-copy > p:not(.eyebrow) { text-shadow: 0 1px 3px #000d, 0 2px 12px #000a; }
.absa-hero-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.5; }
/* De fila horizontal a lista vertical, uno abajo del otro. */
.absa-outline { display: inline-block; color: #fff; border: 1px solid var(--orange); background: #000a; padding: 11px 16px; font-size: 14px; transition: background-color .2s ease, color .2s ease; }
.absa-outline:hover { background: var(--orange); color: #fff; }
/* Una sola foto (mascota + tarjeta ya integradas en el diseño) en vez de dos
   imágenes por separado. Las dos versiones (normal/hover) se apilan una sobre
   otra con position:absolute y se cruzan por opacidad — así el cambio es un
   fundido suave, no un salto brusco de imagen. */
/* 620px → 806px: 30% más de alto, y como el ancho gobierna el tamaño (height:
   auto en la imagen) y la proporción es fija, sube el alto un 30% exacto. */
.absa-protegin-photo { position: relative; display: block; width: clamp(440px, 54vw, 806px); }
.absa-protegin-img { display: block; width: 100%; height: auto; }
.absa-protegin-img-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.absa-protegin-photo:hover .absa-protegin-img-hover,
.absa-protegin-photo:focus-visible .absa-protegin-img-hover { opacity: 1; }
/* Parpadeo del resplandor mientras la mascota está en pantalla (cart.js pone
   .is-blinking al entrar al viewport y la quita al salir): dos destellos
   suaves y una pausa larga. Con el mouse encima manda el resplandor fijo. */
@keyframes protegin-blink {
  0%, 58%, 100% { opacity: 0; }
  11%, 19%   { opacity: 1; }
  29%        { opacity: .2; }
  38%, 46%   { opacity: 1; }
}
.absa-protegin-photo.is-blinking .absa-protegin-img-hover { animation: protegin-blink 5s ease-in-out infinite; }
.absa-protegin-photo.is-blinking:hover .absa-protegin-img-hover,
.absa-protegin-photo.is-blinking:focus-visible .absa-protegin-img-hover { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .absa-protegin-photo.is-blinking .absa-protegin-img-hover { animation: none; } }
/* Con la foto a 806px de ancho, recién a partir de ~1350px de viewport le
   queda a la columna de texto un mínimo cómodo (~320px) sin que .absa-hero-inner
   tenga que apretarla más. Bajo ese ancho se oculta, igual que antes. */
@media (max-width: 1050px) {
  .absa-protegin-block { display: none; }
}
/* Bajo 1350px la foto de Protegín desaparece del hero (regla de arriba) sin
   dejar rastro en el resto de la home — se repone acá como banner propio,
   a todo el ancho, mismo criterio de breakout que .absa-mid-banner.
   Solo en mobile real (<700px), no en el rango tablet/responsivo intermedio
   (700-1350px): ahí queda sin Protegín, a propósito. */
.absa-protegin-mobile-banner { display: none; }
@media (max-width: 700px) {
  /* Misma idea que el hero de escritorio (foto de fondo detrás del PNG
     transparente de Protegín): la foto de Minería va de background en este
     mismo contenedor, no en una franja aparte — se ve a través de las zonas
     transparentes del PNG (alrededor del zorro y las tarjetas), en vez de
     agregar alto extra debajo de la imagen. */
  /* margin-top: antes esta foto (minería) tocaba directo la del hero arriba
     — el degradado oscurecía el borde pero no separaba una imagen de otra,
     seguían pegadas. Este espacio deja ver el fondo casi negro de .absa-home
     entre ambas, como un corte real en vez de solo un tinte. */
  /* Sin plateau: el punto más oscuro queda fijo en el 0% (el borde superior
     real de la foto, dentro de esta misma caja) y empieza a aclarar de
     inmediato, en vez de sostenerse parejo unos px antes de arrancar. */
  /* Sin tramo plano en el medio: transición continua de extremo a extremo
     (oscuro arriba → claro al medio → oscuro abajo), así el degradado
     trabaja en todo el alto del banner en vez de solo cerca de los bordes. */
  /* El punto más claro (antes .05, casi transparente) sube a .4: ya no hay
     ningún tramo donde la foto se vea "limpia" — el negro la tapa en todo
     el alto, más fuerte arriba/abajo y más liviano solo al centro. */
  /* rgba(0,0,0,1) 0% solo pero sin sostenerse se aclaraba casi al toque — en
     una foto chica de mobile, "empieza en negro puro" recién se nota si ese
     negro dura un tramo real. Se sostiene hasta el 20% antes de arrancar a
     aclarar. */
  /* Sin margin-top: ese hueco (antes 18px) mostraba el fondo casi-negro de
     .absa-home (#080909), no negro puro — al lado del degradado (que ahora
     sí llega a rgba(0,0,0,1)) se notaba como una línea/margen propio. El
     degradado sólido ya separa de la foto de arriba por sí solo. */
  /* 0-20% negro sólido, 20-60% (el siguiente 40%) es la transición real del
     degradado, 60-100% vuelve a oscurecer hacia el borde inferior. */
  .absa-protegin-mobile-banner { display: block; width: 100vw; margin: 0 calc(50% - 50vw) 24px; background: var(--protegin-bg) center/cover; }
  .absa-protegin-mobile-banner a { display: block; }
  .absa-protegin-mobile-banner img { display: block; width: 100%; height: auto; }
}
.quote-button { display: inline-block; background: var(--orange); padding: 12px 16px; border-radius: 5px; font-weight: bold; text-transform: uppercase; font-size: 14px; transition: background-color .2s ease, transform .2s ease; }
.quote-button:hover { background: #ff6a20; transform: translateY(-2px); }
/* Sin esto, el enlace "Conoce más sobre ABSA →" (href="#rubros") deja el
   título de la sección justo tapado bajo el header, que ahora es sticky. */
.absa-rubros { padding-block: 44px 20px; scroll-margin-top: var(--header-h); }
.absa-rubros > header { display:flex; align-items:baseline; gap:18px; margin-bottom:16px; }
.absa-rubros > header > div { display: flex; align-items: baseline; gap: 10px; }
.absa-rubros h2 { text-transform: uppercase; margin: 0; font-size: 36px; line-height: 1.1; }
.absa-rubros > header > span { color: var(--muted); line-height: 1.5; }
.mobile-swipe-hint { display: none; }
.rubro-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.rubro-card { position:relative; isolation:isolate; min-height:280px; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; border:1px solid #34383b; border-radius:8px; background:#171a1d var(--rubro-image) bottom/cover no-repeat; background-image:var(--rubro-image),url('assets/images/hero-industrial.png'); box-shadow:0 10px 28px #0005; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.rubro-card::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,#05060912 8%,#0607085c 40%,#050607f5 100%); }
.rubro-card:hover { border-color:#ff6a20; transform: translateY(-4px); box-shadow: 0 18px 34px #0007; }
.rubro-icon { position:absolute; top:24px; left:22px; width:50px; height:50px; display:grid; place-items:center; border:2px solid var(--orange); clip-path:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%); color:var(--orange); font-size:26px; background:#0c0d0d66; }
.rubro-copy { padding:20px; }
.rubro-grid h3 { text-transform:uppercase; margin:0 0 8px; font-size:clamp(18px,1.7vw,28px); line-height:1.05; text-shadow:0 2px 8px #000; }
/* "Protección y Equipos Especializados" es bastante más largo que el resto de
   los títulos de rubro — al tamaño normal cae en 3 líneas y se ve desbalanceado
   frente a las demás tarjetas; un poco más chico lo deja en 2. */
.rubro-proteccion-equipos-especializados h3 { font-size: clamp(15px,1.3vw,21px); }
.rubro-grid p { min-height:42px; color:#e2e4e5; font-size:13px; line-height:1.4; margin:0 0 16px; }
.rubro-grid b { display:inline-flex; align-items:center; gap:20px; border:1px solid var(--orange); border-radius:3px; padding:9px 11px; font-size:12px; text-transform:uppercase; }
.rubro-grid b span { font-size:17px; color:var(--orange); }
.rubro-industria-mantenimiento .rubro-icon { border-color:#e8b62f; color:#e8b62f; }.rubro-forestal .rubro-icon { border-color:#83b53d; color:#83b53d; }
.rubro-proteccion-equipos-especializados .rubro-icon { border-color:#4fb8e0; color:#4fb8e0; }
.rubro-industria-mantenimiento b { border-color:#e8b62f; }.rubro-forestal b { border-color:#83b53d; }
.absa-benefits { padding-block: 20px; border-top: 1px solid #26292c; border-bottom: 1px solid #26292c; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0; text-transform: uppercase; font-size: 11px; font-weight: bold; }
.absa-benefits > div { min-height:50px; display:flex; align-items:center; gap:9px; padding-inline:12px; line-height:1.25; }
.absa-benefits > div + div { border-left:1px solid #26292c; }
.absa-benefits i { flex:0 0 auto; color:var(--orange); font-size:26px; font-style:normal; line-height:1; }
.site-footer { padding-block: 28px; border-top: 1px solid #26292c; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 28px; }
.footer-brand img { display: block; width: 170px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 260px; font-size: 13px; line-height: 1.6; margin: 0; }
.footer-col h3 { margin: 0 0 14px; color: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--orange); }
.footer-contact ul { margin-bottom: 18px; }
.footer-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #1d9b50; color: #fff; }
.footer-whatsapp svg { width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor; }
.footer-col .footer-whatsapp:hover { background: #168a46; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid #22262a; font-size: 12px; }
.legal-page { padding-block: 64px 80px; }
.legal-content { max-width: 800px; }
.legal-content h1 { margin: 8px 0 18px; font-family: var(--heading-font); font-size: clamp(42px,5vw,62px); line-height: .95; text-transform: uppercase; }
.legal-intro { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 38px; }
.legal-content section { padding: 22px 0; border-top: 1px solid #292d30; }
.legal-content h2 { margin: 0 0 8px; color: var(--cream); font-size: 19px; }
.legal-content section p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.7; }
.legal-updated { margin-top: 28px; color: #858b90; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--orange); }
/* Horizontal product selections; the content retains its centered 1200px width. */
.home-catalog { padding-block: 16px 24px; }
/* Dos filas de productos seguidas (destacados + nuestros productos) no
   necesitan el padding superior de la segunda: el padding-bottom de la
   primera ya separa lo suficiente, sumarlos duplicaba el espacio en blanco. */
.home-catalog + .home-catalog { padding-top: 0; }
/* Banner que sale del ancho del contenido (.absa-shell) hasta --banner-width como máximo; más allá queda en caja. */
.absa-mid-banner { width: min(100vw, var(--banner-width)); margin-inline: calc(50% - min(100vw, var(--banner-width)) / 2); margin-block: 8px 24px; background: linear-gradient(90deg,rgba(5,5,5,.5),rgba(5,5,5,.3) 55%,rgba(5,5,5,.05)), url('assets/images/banner.jpg') center/cover; border-top: 1px solid #26292c; border-bottom: 1px solid #f26c0fb3; box-shadow: 0 1px 8px #f26c0f55, 0 8px 22px #0008; }
.absa-mid-banner + .home-catalog { padding-top: 0; }
.absa-mid-banner-inner { max-width: var(--site-width); margin: 0 auto; padding: 56px var(--site-gutter); text-align: center; }
.absa-mid-banner-inner .eyebrow { font-size: 12px; letter-spacing: 1px; }
.absa-mid-banner-inner h2 { margin: 10px 0 26px; font-family: var(--heading-font); font-size: clamp(26px,3.6vw,44px); text-transform: uppercase; line-height: 1.1; }
.absa-mid-banner-inner .quote-button { font-size: 13px; }
/* Variante con la foto de Protegín: un bloque de 2 columnas (texto | foto)
   centrado como unidad dentro del banner. El padding-bottom se le saca al
   contenedor y se le pasa al texto: así la foto (sin ese padding) queda
   pegada al borde inferior real del banner, y el texto conserva su aire. */
.absa-mid-banner-protegin { overflow: visible; }
.absa-mid-banner-protegin .absa-mid-banner-inner { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding-block: 0; text-align: left; }
.absa-mid-banner-copy { flex: 0 1 auto; padding-block: 56px; text-align: right; }
.absa-mid-banner-inner .absa-mid-banner-copy .eyebrow { margin: 0; }
/* margin-top negativo: dentro de la fila (align-items:flex-end) la foto se
   ancla abajo igual que el texto, pero al ser más alta sobresale por arriba
   apenas los 15px que no alcanza a "absorber" el margen negativo. */
.absa-mid-banner-photo { flex: 0 0 auto; width: auto; height: 271px; margin-top: -21px; }
.absa-about { display: flex; align-items: center; gap: 36px; padding-block: 40px; }
.about-photo { position: relative; flex: 0 0 auto; width: 300px; height: 300px; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 30px #0006; }
.about-photo-bg { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) blur(1px); transform: scale(1.05); }
.about-photo-logo { position: absolute; inset: 0; margin: auto; width: 62%; height: auto; object-fit: contain; }
.about-copy { flex: 1 1 420px; min-width: 0; }
.about-copy h2 { color: var(--orange); font-family: var(--heading-font); font-size: clamp(32px,4vw,44px); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 20px; }
.about-copy p { margin: 0 0 16px; line-height: 1.6; color: var(--muted); }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--cream); }
.absa-mission-vision { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-block: 8px 48px; }
.mv-card { background: linear-gradient(145deg,#161a1d,#0e1012); border: 1px solid #30363a; border-radius: 8px; padding: 28px; transition: transform .25s ease, border-color .25s ease; }
.mv-card:hover { transform: translateY(-4px); border-color: #454b50; }
.mv-card .eyebrow { font-size: 13px; letter-spacing: 1px; margin: 0 0 12px; }
.mv-card p:last-child { color: var(--muted); line-height: 1.6; margin: 0; }
.absa-contact { display: flex; align-items: center; gap: 40px; padding-block: 48px 64px; border-top: 1px solid #26292c; }
.contact-photo { flex: 0 0 auto; width: clamp(330px, 28vw, 420px); height: auto; }
.contact-copy { flex: 1 1 420px; min-width: 0; }
.absa-contact h2 { color: var(--orange); font-family: var(--heading-font); font-size: clamp(28px,3.4vw,38px); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 8px; }
.absa-contact .contact-copy > p { color: var(--muted); margin: 0 0 28px; }
.contact-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #42494f; border-radius: 8px; background: #0d0f11; color: #fff; padding: 12px 14px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { grid-column: 1 / -1; min-height: 110px; resize: vertical; }
.contact-file { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed #86502d; border-radius: 8px; background: linear-gradient(135deg,#17120f,#101214); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.contact-file:hover, .contact-file:focus-within, .contact-file.has-file { border-color: var(--orange); background: #21160f; }
.contact-file svg { flex: 0 0 auto; width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 1.7; }
.contact-file strong, .contact-file em { display: block; }
.contact-file strong { color: #fff; font-size: 14px; }
.contact-file em { margin-top: 3px; color: #d3aa93; font-size: 12px; font-style: normal; overflow-wrap: anywhere; }
.contact-submit.contact-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #1d9b50; color: #fff; }
.contact-submit.contact-whatsapp:hover { background: #168a46; color: #fff; }
.contact-whatsapp svg { width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor; }
.contact-submit { grid-column: 1 / -1; justify-self: start; border: 0; border-radius: 4px; background: var(--orange); color: #fff; padding: 14px 28px; font-weight: bold; text-transform: uppercase; }
.contact-submit:disabled { background: #3a3d40; color: #92979c; opacity: .7; }
.contact-result { grid-column: 1 / -1; margin: 0; line-height: 1.5; color: #ffd0bb; min-height: 1.5em; }
.account-shell { padding-block: 28px 64px; min-height: 50vh; }
.account-guest { max-width: 480px; }
.account-guest h1 { font-family: var(--heading-font); font-size: clamp(28px,3.4vw,38px); text-transform: uppercase; margin: 6px 0 12px; }
.account-guest > p:not(.eyebrow) { color: var(--muted); margin: 0 0 24px; }
.account-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.account-header h1 { font-family: var(--heading-font); font-size: clamp(28px,3.4vw,38px); text-transform: uppercase; margin: 6px 0 0; }
.account-header-sub { color: var(--muted); margin: 8px 0 0; }
.account-logout-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); border: 1px solid #42494f; border-radius: 6px; padding: 10px 16px; font-size: 13px; }
.account-logout-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.account-logout-link:hover { color: var(--orange); border-color: var(--orange); }
.account-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; align-items: start; }
.account-sidebar { display: flex; flex-direction: column; gap: 16px; }
.account-side-card { background: linear-gradient(145deg,#161a1d,#0e1012); border: 1px solid #30363a; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.account-avatar { border-radius: 50%; }
.account-avatar-ring { box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--orange); margin-bottom: 10px; }
.account-side-name { font-size: 16px; }
.account-side-email { color: var(--muted); font-size: 12px; word-break: break-all; }
.account-side-empresa { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--orange); font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: .4px; }
.account-side-empresa i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.account-side-nav { display: flex; flex-direction: column; background: linear-gradient(145deg,#161a1d,#0e1012); border: 1px solid #30363a; border-radius: 8px; padding: 8px; gap: 2px; }
.account-side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 6px; color: var(--muted); font-size: 14px; }
.account-side-nav a svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.account-side-nav a:hover { color: #fff; background: #1c2024; }
.account-side-nav a.is-active { color: var(--orange); background: #241a11; }
.account-help-box { background: linear-gradient(145deg,#161a1d,#0e1012); border: 1px solid #30363a; border-radius: 8px; padding: 20px; }
.account-help-box strong { display: block; margin-bottom: 6px; }
.account-help-box p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.account-help-box a { color: var(--orange); font-size: 13px; font-weight: bold; }
.account-card { background: linear-gradient(145deg,#161a1d,#0e1012); border: 1px solid #30363a; border-radius: 8px; padding: 28px; min-width: 0; }
.account-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #26292c; }
.account-card h2 { font-family: var(--heading-font); font-size: 22px; text-transform: uppercase; margin: 0 0 6px; }
.account-card-header p { color: var(--muted); font-size: 13px; margin: 0; }
.account-view-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; margin: 0 0 24px; }
.account-view-grid dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.account-view-grid dd { margin: 0 0 18px; font-size: 15px; }
.account-edit-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #42494f; border-radius: 4px; background: transparent; color: var(--cream); padding: 12px 20px; font-size: 13px; font-weight: bold; text-transform: uppercase; transition: border-color .2s ease, color .2s ease; }
.account-edit-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.account-edit-btn:hover { border-color: var(--orange); color: var(--orange); }
.account-details-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; }
.account-details-grid label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.account-details-grid input { display: block; width: 100%; margin-top: 6px; border: 1px solid #42494f; border-radius: 8px; background: #0d0f11; color: #fff; padding: 12px 14px; }
.account-details-grid input:focus { border-color: var(--orange); }
.account-details-grid input:disabled { opacity: .55; }
.account-save { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 4px; background: var(--orange); color: #fff; padding: 14px 28px; font-weight: bold; text-transform: uppercase; margin-top: 8px; }
.account-save svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.account-save:disabled { background: #3a3d40; color: #92979c; opacity: .7; }
.account-result { grid-column: 1 / -1; margin: 10px 0 0; line-height: 1.5; color: #ffd0bb; min-height: 1.5em; }
.account-quotes-scroll { overflow-x: auto; }
.account-quotes-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-quotes-table th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 0 10px 10px; border-bottom: 1px solid #30363a; }
.account-quotes-table td { padding: 12px 10px; border-bottom: 1px solid #22262a; white-space: nowrap; }
.quote-status { display: inline-block; border-radius: 20px; padding: 4px 12px; font-size: 11px; text-transform: uppercase; font-weight: bold; background: #2a2d30; color: var(--muted); }
.quote-status-nueva { background: #3a2a14; color: #fa9a4b; }
.quote-status-en_revision { background: #1c2a3a; color: #6cb0e6; }
.quote-status-respondida { background: #16321f; color: #6fd08a; }
.quote-status-cerrada { background: #2a2d30; color: var(--muted); }
.account-empty { color: var(--muted); }
.account-empty a { color: var(--orange); }
.quote-urgent { color: #fa5a0b; font-weight: bold; }
.quote-detail-btn { border: 1px solid #42494f; border-radius: 4px; background: transparent; color: var(--cream); padding: 6px 12px; font-size: 12px; }
.quote-detail-btn:hover { border-color: var(--orange); color: var(--orange); }
.quote-detail-backdrop { position: fixed; inset: 0; z-index: 40; background: #000c; backdrop-filter: blur(3px); }
.quote-detail-modal {
  position: fixed; z-index: 41; top: 50%; left: 50%;
  width: min(760px,calc(100vw - 32px)); max-height: min(88vh,calc(100vh - 32px));
  display: flex; flex-direction: column; border: 1px solid #30363a; border-radius: 14px; overflow: hidden;
  transform: translate(-50%,-46%) scale(.97); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  background: linear-gradient(145deg,#161a1d,#0e1012); box-shadow: 0 25px 80px #000a;
}
.quote-detail-modal.is-open { transform: translate(-50%,-50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
.quote-detail-modal > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #26292c; padding: 24px 32px; flex: 0 0 auto; }
.quote-detail-modal h2 { font-family: var(--heading-font); text-transform: uppercase; margin: 0; font-size: 22px; }
.quote-detail-close { border: 0; background: transparent; color: #fff; font-size: 32px; line-height: 1; }
.quote-detail-close:hover { color: var(--orange); }
.quote-detail-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 24px 32px 32px; }
.quote-detail-body h3 { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 24px 0 12px; }
.quote-detail-body h3:first-child { margin-top: 0; }
.quote-detail-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 18px 20px; background: #0d0f11; border: 1px solid #26292c; border-radius: 10px; }
.quote-detail-meta dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.quote-detail-meta dd { margin: 6px 0 0; font-weight: bold; }
.quote-detail-estado.quote-status { margin: 6px 0 0; }
.quote-detail-lineas, .quote-detail-reqlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quote-line { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 14px; border: 1px solid #26292c; border-radius: 10px; padding: 10px 14px; background: #14171a; }
.quote-line-media { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #f3f3f0; flex: 0 0 auto; }
.quote-line-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quote-line-media:not(:has(img)) { background: #1b2025; }
.quote-line-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.quote-line-info strong { font-size: 14px; }
.quote-line-info small { color: var(--muted); font-size: 12px; }
.quote-line-qty { flex: 0 0 auto; border: 1px solid #42494f; border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: bold; color: var(--orange); }
.quote-detail-reqlist li { border: 1px solid #26292c; border-radius: 10px; padding: 12px 14px; font-size: 14px; background: #14171a; }
.quote-detail-empty { color: var(--muted); border-style: dashed !important; }
.quote-detail-solicitante { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; margin: 0; padding: 18px 20px; background: #0d0f11; border: 1px solid #26292c; border-radius: 10px; }
.quote-detail-solicitante dt { font-size: 11px; color: var(--muted); text-transform: uppercase; margin-top: 10px; }
.quote-detail-solicitante dd { margin: 3px 0 0; }
.home-product-row { padding-block: 32px; border-bottom: 1px solid #26292c; }
.product-row-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.product-row-heading .eyebrow { font-size: 11px; letter-spacing: 1.4px; color: var(--row-accent); }
.home-product-row h2 { font-size: 40px; line-height: 1.05; margin: 8px 0; text-transform: uppercase; }
.product-row-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.row-catalog-link { flex-shrink: 0; border-bottom: 1px solid var(--row-accent); padding: 10px 0; font-size: 13px; font-weight: bold; transition: opacity .18s ease; }
.row-catalog-link:hover { opacity: .75; }
.row-catalog-link span { color: var(--row-accent); margin-left: 14px; }
.row-catalog-link svg { width: 16px; height: 16px; margin-left: 12px; vertical-align: -2px; fill: none; stroke: var(--row-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.product-track-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-track-tools > span { color: var(--muted); font-size: 12px; }
.home-product-track-wrap { position: relative; }
.product-row-arrow { width: 40px; height: 40px; border: 1px solid #41464b; background: #14171a; color: var(--cream); border-radius: 50%; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.product-row-arrow:hover { border-color: var(--row-accent); color: var(--row-accent); transform: scale(1.08); }
.home-product-track-wrap .product-row-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; box-shadow: 0 6px 16px #0006; }
/* -6px dejaba el círculo (40px) montado sobre la primera/última tarjeta —
   solo 6px quedaban fuera. Con -48px el botón completo cae en el gutter de
   la sección (32px) más un respiro, sin pisar el carrusel. */
.home-product-track-wrap .product-row-arrow-prev { left: -48px; }
.home-product-track-wrap .product-row-arrow-next { right: -48px; }
.home-product-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; overflow-x: auto; padding: 3px 0 4px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
/* Barra de scroll oculta: el carrusel ya se navega con las flechas en desktop,
   con arrastre del mouse y con swipe táctil, así que la barra solo ensuciaba. */
.home-product-track::-webkit-scrollbar { display: none; }
.home-product-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.home-product-track.is-dragging * { pointer-events: none; }
/* El carrusel de la home usa la misma .catalog-card del catálogo (ver
   template-parts/product-card.php); solo necesita el snap-align propio del track. */
.home-product-track .catalog-card { scroll-snap-align: start; }
.demo-product-illustration { width: 110px; height: 110px; }
.demo-image-label { color: #adb5bc; font-size: 10px; margin-top: 8px; }
.product-demo-badge { position: absolute; top: 12px; left: 12px; background: #0c0f12; color: #dbe0e4; padding: 4px 7px; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; border-radius: 3px; }
/* Catalogue, product and account pages use the same frame and gutters. */
.catalog-page { padding-block: 48px 64px; }
.catalog-title { position: relative; border-bottom: 1px solid #292d30; padding-bottom: 24px; margin-bottom: 32px; overflow: hidden; }
.catalog-title h1, .account-quotes h1 { font-family: var(--heading-font); font-weight: 700; letter-spacing: .5px; line-height: .95; text-transform: uppercase; font-size: clamp(34px,4vw,52px); margin: 6px 0; }
.catalog-title h1.is-search { font-size: clamp(22px,2.6vw,34px); }
.catalog-title p:last-child, .catalog-result span { color: var(--muted); }
.catalog-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); align-items:start; gap: 32px; }
.catalog-mobile-filter-toggle, .catalog-filter-close, .catalog-filter-backdrop { display: none; }
/* top y max-height restan los 111px del header sticky: sin esto, el sidebar
   intentaría pegarse a 20px del viewport, es decir, debajo/tapado por el header.
   display:flex + overflow:hidden: el scroll ya no vive en todo el sidebar (eso
   enterraba "Aplicar filtros" al final de una lista larga, como con muchas
   especialidades) — vive solo en .filter-groups, dejando el encabezado y el
   botón siempre visibles arriba/abajo. Con contenido corto que no llega a
   max-height, todo se acomoda en su alto natural sin generar scroll de más. */
.catalog-sidebar { position: sticky; top: calc(var(--header-h) + 20px); background: linear-gradient(145deg,#161a1d,#0e1012); border: 1px solid #30363a; border-radius: 8px; max-height: calc(100vh - var(--header-h) - 40px); display: flex; flex-direction: column; overflow: hidden; padding: 20px; box-shadow: 0 14px 30px #0003; }
.catalog-sidebar form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.filter-heading { flex: 0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.filter-groups { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #53585e #171a1d; padding-right: 4px; margin-right: -4px; }
.catalog-sidebar h2 { margin:0; text-transform:uppercase; font-size:30px; }
.filter-heading a { color:#bfc5c8; font-size:12px; text-decoration:underline; }
/* <details>/<summary> en vez de fieldset/legend: mismo look estático en
   desktop (ver pointer-events:none más abajo), pero permite reusar el mismo
   marcado para volverlo desplegable solo en móvil, sin duplicar HTML ni JS. */
.catalog-sidebar .filter-group { border:0; border-top:1px solid #303438; margin:16px 0 0; padding:16px 0 0; }
.catalog-sidebar .filter-group > summary {
  display: block; padding:0; font-weight:bold; text-transform:uppercase; font-size:13px; letter-spacing:.3px;
  cursor: default; list-style: none; pointer-events: none;
}
.catalog-sidebar .filter-group > summary::-webkit-details-marker { display: none; }
.catalog-sidebar .filter-group > summary::marker { content: ''; }
/* Explícito a propósito, en vez de confiar en que el navegador oculte el
   contenido de un <details> cerrado por su cuenta (comportamiento nativo
   estándar, pero más vale no depender de él a ciegas sin poder verlo andar). */
.catalog-sidebar .filter-group:not([open]) > .filter-options { display: none; }
.filter-options { display:grid; gap:4px; margin-top:10px; }
.filter-option { display:grid; grid-template-columns:18px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:34px; padding:5px 7px; border:1px solid transparent; border-radius:5px; color:#d4d7da; font-size:13px; cursor:pointer; }
.filter-option:hover { background:#202428; border-color:#343a3e; }
.filter-option input { position:absolute; opacity:0; pointer-events:none; }
.filter-option span { width:16px; height:16px; display:grid; place-items:center; border:1px solid #687077; border-radius:3px; background:#0b0d0f; }
.filter-option input:checked + span { border-color:var(--orange); background:var(--orange); }
.filter-option input:checked + span::after { content:'✓'; color:#fff; font-size:12px; font-weight:bold; }
.filter-option b { font-weight:normal; line-height:1.25; }
.filter-option small { min-width:20px; padding:2px 5px; border-radius:10px; background:#282d31; color:#adb5ba; font-size:10px; text-align:center; }
.catalog-sidebar button { border:0; border-radius:4px; background:var(--orange); color:#fff; padding:13px 16px; font-weight:bold; width:100%; text-transform:uppercase; }
.filter-apply { flex: 0 0 auto; margin-top: 16px; }
.catalog-sidebar button:hover { background:#ff6a20; }
/* En desktop el sidebar es sticky y se scrollea internamente (max-height + overflow-y),
   así que "Aplicar filtros" siempre está a un scroll corto de distancia. En mobile el
   sidebar pasa a position:static y se vuelve una lista larga (rubro/categoría/especialidad/
   talla): el botón terminaba varias pantallas más abajo. Fijo abajo, siempre queda a mano. */
.catalog-result { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; gap:12px; flex-wrap:wrap; }
.catalog-result strong { font-family:var(--heading-font); font-size:27px; letter-spacing:.4px; }
.catalog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px; }
/* WooCommerce's own ul.products li.product ships a legacy float width (e.g. 31%) that
   survives even inside a CSS grid, shrinking each card. Neutralise it explicitly. */
.catalog-grid.products > li.product { width: auto !important; float: none !important; margin: 0 !important; }
/* WooCommerce's clearfix ::before/::after (content:" "; display:table) becomes a real
   grid item inside a CSS grid, shifting every card over by one cell. Remove it. */
.catalog-grid.products::before, .catalog-grid.products::after { content: none !important; display: none !important; }
.catalog-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; background:transparent; border:1px solid #30363a; border-radius:8px; box-shadow:0 12px 26px #0003; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.catalog-card:hover { transform:translateY(-3px); border-color:#596167; box-shadow:0 18px 34px #0005; }
.catalog-card .catalog-image img { transition: transform .35s ease; }
.catalog-card:hover .catalog-image img { transform: scale(1.045); }
/* La imagen es lo que más pesaba en la altura: en 1/1 una tarjeta de 300px de
   ancho gastaba 300px solo en foto. En 4/3 baja a 225px sin recortar de más. */
.catalog-image { position: relative; aspect-ratio:4/3; height:auto; display:grid; place-items:center; overflow:hidden; background:#f1f2ef; }
.catalog-card .catalog-image > img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; }
.catalog-card-body { display:flex; flex:1; flex-direction:column; padding:12px; background:linear-gradient(160deg,#171b1ef2,#101214f2); }
/* Título y descripción se recortan a 2 líneas: el min-height mantiene alineadas
   las tarjetas de una misma fila sin que un nombre largo estire toda la fila. */
.catalog-card h2 { font-size:15px; min-height:34px; margin:5px 0 7px; text-transform:uppercase; line-height:1.15; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.catalog-card .sku { margin:0; color:#ff8146; font-size:10px; letter-spacing:.5px; }
.catalog-description { margin:0 0 10px; color:#abb2b6; font-size:12px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.special-tag { display:inline-block; align-self:flex-start; margin-bottom:8px; }
/* La etiqueta "Cantidad" ocupaba una línea propia sobre el input. Un campo
   numérico junto a "Agregar" ya se explica solo, así que queda solo para
   lectores de pantalla y la fila baja de dos líneas a una. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.catalog-card-actions { display:grid; grid-template-columns:64px minmax(0,1fr); gap:6px; align-items:center; margin-top:auto; }
.catalog-card-actions input { display:block; width:100%; height:34px; border:1px solid #42494f; border-radius:4px; background:#0d0f11; color:#fff; padding:0 6px; font-size:13px; }
.catalog-card-actions button { height:34px; border:0; border-radius:4px; background:var(--orange); color:#fff; font-weight:bold; text-transform:uppercase; font-size:11px; }
.catalog-card-actions button:hover { background:#ff6a20; }
.card-action { display:inline-block; align-self:flex-start; border-bottom:1px solid var(--orange); color:#ddd; font-size:11px; padding:7px 0 2px; margin-top:7px; }
/* Variante 'browse' (carruseles de la home): una sola acción que lleva a la ficha.
   Ahí no se cotiza al vuelo — eso queda para el catálogo, que sí trae cantidad. */
.card-cta { display:grid; place-items:center; height:34px; margin-top:auto; border-radius:4px; background:var(--orange); color:#fff; font-weight:bold; text-transform:uppercase; font-size:11px; letter-spacing:.3px; }
.card-cta:hover { background:#ff6a20; }
.special-tag { color: #ff8a50; font-size: 12px; text-transform: uppercase; }
.empty-catalog { padding: 32px; border: 1px dashed #555; }
.rubro-icon svg { width: 30px; height: 30px; }
.nav-glyph svg { width: 22px; height: 22px; display: block; }
.catalog-pagination { margin-top: 32px; display: flex; justify-content: center; }
.catalog-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; border: 0; background: none; }
.catalog-pagination li > .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid #34383b; border-radius: 6px; background: #171a1d; color: var(--cream); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.catalog-pagination li > a.page-numbers:hover, .catalog-pagination li > a.page-numbers:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }
.catalog-pagination li > .page-numbers.current { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; }
.catalog-pagination li > .page-numbers.dots { min-width: 24px; padding: 0; border: 0; background: transparent; color: var(--muted); }
.catalog-pagination li > .prev, .catalog-pagination li > .next { padding: 0 16px; font-family: var(--heading-font); font-size: 15px; letter-spacing: .4px; text-transform: uppercase; }
@media (max-width: 600px) {
  /* Todo en una fila: Anterior y Siguiente quedan solo con la flecha (el texto sigue para lectores de pantalla). */
  .catalog-pagination ul.page-numbers { gap: 6px; }
  .catalog-pagination li > .page-numbers, .catalog-pagination li > .prev, .catalog-pagination li > .next { min-width: 38px; height: 38px; padding: 0 9px; }
  .catalog-pagination .pg-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.absa-product-detail > article { display: grid; grid-template-columns: minmax(0,440px) minmax(0,1fr); gap: 40px; padding-block: 48px; align-items: start; }
.product-media-col { position: sticky; top: 20px; }
.product-media { aspect-ratio: 1/1; border: 1px solid #30363a; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 34px #0004; display: grid; place-items: center; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-info { background: linear-gradient(160deg,#171b1e,#101214); border: 1px solid #30363a; border-radius: 14px; padding: 32px; box-shadow: 0 14px 30px #0003; }
.product-info h1 { font-size: clamp(26px,3.4vw,42px); text-transform: uppercase; margin: 6px 0 18px; line-height: 1.08; }
.product-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.product-sku-badge { display: inline-flex; align-items: center; border: 1px solid #42494f; border-radius: 20px; padding: 6px 14px; font-size: 11px; letter-spacing: .5px; color: #ff8146; background: #0d0f11; }
.product-meta-row .special-tag { margin: 0; border: 1px solid #ff8a50; border-radius: 20px; padding: 6px 14px; }
.product-rubros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.product-rubros li { border: 1px solid var(--orange); border-radius: 20px; padding: 5px 13px; font-size: 11px; text-transform: uppercase; font-weight: bold; color: var(--orange); }
.product-description { color: #d1d1d1; line-height: 1.65; margin: 0 0 28px; padding-top: 24px; border-top: 1px solid #26292c; font-size: 15px; }
.quote-controls { display: grid; gap: 16px; }
.quote-controls label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #bfc5c8; }
.quote-controls input, .quote-controls textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #42494f; border-radius: 8px; background: #0d0f11; color: #fff; }
.quote-controls textarea { min-height: 85px; resize: vertical; }
.quote-controls input:focus, .quote-controls textarea:focus { border-color: var(--orange); }
.absa-product-detail .quote-controls button.button, .absa-product-detail .whatsapp-link { border: 0; border-radius: 6px; background: var(--orange); color: #fff; padding: 14px 16px; font-weight: bold; text-transform: uppercase; text-align: center; letter-spacing: .3px; }
.absa-product-detail .quote-controls button.button:hover { background: #ff6a20; }
.product-secondary-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.product-secondary-actions > a { flex: 1 1 200px; margin-top: 0; }
.whatsapp-link { display: flex; align-items: center; justify-content: center; gap: 8px; background: #1d9b50; }
.whatsapp-link:hover { background: #22b55c; }
/* Contorno en vez de relleno: no debe competir con el naranja de "Agregar al
   Carro Cotizador" (la acción primaria) ni con el verde de WhatsApp. */
.ficha-tecnica-link { display: flex; align-items: center; justify-content: center; gap: 8px; background: transparent; border: 1px solid var(--orange); color: var(--orange); }
.ficha-tecnica-link:hover { background: rgba(255,106,32,.12); }
.absa-confirmation { max-width: 620px; margin: 64px auto; padding: 40px 36px; text-align: center; border: 2px solid var(--orange); border-radius: 20px; background: linear-gradient(160deg,#171b1e,#101214); box-shadow: 0 0 40px #fa5a0b33; }
.absa-confirmation p:first-child { color: var(--orange); text-transform: uppercase; font-weight: bold; letter-spacing: .6px; margin: 0 0 10px; }
.absa-confirmation h1 { font-size: clamp(28px,4vw,40px); text-transform: uppercase; margin: 0 0 16px; }
.absa-confirmation > p:not(:first-child) { color: #d1d1d1; line-height: 1.6; margin: 0 0 28px; }
.absa-confirmation strong { color: var(--orange); }
.absa-confirmation .button { display: inline-block; border: 0; border-radius: 6px; background: var(--orange); color: #fff; padding: 14px 24px; font-weight: bold; text-transform: uppercase; letter-spacing: .3px; }
.absa-confirmation .button:hover { background: #ff6a20; }
.account-quotes { padding-block: 48px; }
.quotes-list { display: grid; gap: 12px; margin-top: 32px; }
.quotes-list article { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid #303438; background: #14171a; border-radius: 8px; }
.quotes-list span { color: var(--orange); text-transform: capitalize; }
.quotes-list small, .account-empty { color: var(--muted); }
.quote-detail { max-width: 720px; margin-top: 24px; padding: 28px; border: 1px solid #303438; border-radius: 10px; background: #14171a; }
.quote-detail h2 { margin: 16px 0 4px; text-transform: uppercase; font-size: 28px; }
.quote-detail-status span { color: var(--orange); font-weight: bold; }
.quote-pay-button { display: inline-block; margin: 16px 0; border: 0; border-radius: 6px; background: var(--orange); color: #fff; padding: 14px 22px; font-weight: bold; text-transform: uppercase; }
.quote-pay-button:hover { background: #ff6a20; }
.table-scroll { width: 100%; overflow-x: auto; margin-top: 20px; }
.quote-detail-lines { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13px; }
.quote-detail-lines th, .quote-detail-lines td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #26292c; }
.quote-detail-lines th { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .3px; }
.quote-detail-requerimientos { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
/* Floating quotation dialog remains relative to the viewport. */
.cart-backdrop, .auth-backdrop { position: fixed; inset: 0; z-index: 40; background: #000c; backdrop-filter: blur(3px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility 0s linear .22s; }
.cart-backdrop.is-open, .auth-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
/* Angosto a propósito: con los productos en una sola columna (ver .drawer-items),
   860px de ancho dejaba cada tarjeta estirada y con mucho aire a los costados.
   Alto FIJO (no max-height): antes el modal se achicaba a 1 producto y crecía
   con más — ahora mantiene siempre el mismo tamaño y es .drawer-items quien
   scrollea internamente cuando el listado no cabe. overflow:hidden en el
   modal es a propósito: el scroll vive en la lista, no en todo el diálogo. */
.cart-drawer { position: fixed; z-index: 41; top: 50%; left: 50%; width: min(580px,calc(100vw - 32px)); height: min(600px,calc(100vh - 32px)); display: flex; flex-direction: column; padding: 24px 36px; border: 1px solid #454a4e; border-radius: 14px; overflow: clip; transform: translate(-50%,-46%) scale(.97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease,transform .22s ease,visibility 0s linear .22s; background: #101214; box-shadow: 0 25px 80px #000a; }
.cart-drawer.is-open { transform: translate(-50%,-50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cart-drawer > header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #303438; padding-bottom: 12px; }
.cart-drawer h2 { text-transform: uppercase; margin: 4px 0 0; font-size: 26px; }
.cart-close { border: 0; background: transparent; color: #fff; font-size: 32px; }
/* min-height:0 es lo que permite que un hijo flex se achique por debajo de su
   contenido y deje que SU hijo (.drawer-items) sea el que scrollee — sin esto
   el flex item crece para mostrar todo y el scroll nunca se activa. */
.drawer-cart-step { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.drawer-intro, .drawer-empty { flex: 0 0 auto; color: var(--muted); }
.drawer-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: grid; grid-auto-rows: min-content; grid-template-columns: minmax(0,1fr); gap: 16px; margin: 20px 0; }
/* Fila de una sola línea (imagen · nombre+SKU · cantidad · quitar), no la
   tarjeta apilada de antes: la cantidad ya no vive debajo del nombre, sino en
   su propia columna al ras con todo lo demás — mucho más baja por fila. */
.drawer-items article { display: grid; grid-template-columns: 48px minmax(0,1fr) auto auto; gap: 12px; padding: 10px 12px; border: 1px solid #303438; border-radius: 10px; background: #171a1d; align-items: center; }
.drawer-item-media { width: 48px; height: 48px; border-radius: 7px; overflow: hidden; background: #f3f3f0; }
.drawer-item-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drawer-item-media { display: grid; place-items: center; background: #1b2025; color: var(--orange); }
.drawer-product-icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.drawer-item-info { min-width: 0; }
.drawer-items strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-items small { display: block; color: var(--muted); margin-top: 2px; }
/* Contador +/- en vez de solo un <input number> pelado: mismo alto/ancho para
   los 3 elementos, número centrado y sin las flechitas nativas del browser
   (redundantes con los botones propios). */
.drawer-item-qty { display: flex; align-items: center; gap: 4px; }
.qty-btn { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #42494f; border-radius: 6px; background: #0d0f11; color: #fff; font-size: 15px; line-height: 1; transition: border-color .18s ease, color .18s ease; }
.qty-btn:hover { border-color: var(--orange); color: var(--orange); }
.drawer-item-qty .absa-qty { width: 36px; height: 26px; text-align: center; border: 1px solid #42494f; border-radius: 6px; background: #0d0f11; color: #fff; padding: 0 2px; -moz-appearance: textfield; }
.drawer-item-qty .absa-qty::-webkit-inner-spin-button, .drawer-item-qty .absa-qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.drawer-item-qty .absa-qty:focus { border-color: var(--orange); }
.drawer-remove { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); transition: color .18s ease, background-color .18s ease; }
.drawer-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.drawer-remove:hover { color: #ff9b6c; background: #241a11; }
.drawer-back { border: 0; background: transparent; color: #ff9b6c; padding: 3px 0; }
.drawer-next, .drawer-submit, .auth-submit { border: 0; border-radius: 4px; background: var(--orange); color: #fff; padding: 16px 20px; font-weight: bold; text-transform: uppercase; }
.drawer-next { display: block; flex: 0 0 auto; margin-left: auto; }
.drawer-next:disabled, .auth-submit:disabled { background: #3a3d40; color: #92979c; }
.drawer-file-shortcut { flex: 0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; padding:14px; border:1px dashed #75401f; border-radius:8px; background:#20140d; }
.drawer-file-shortcut strong, .drawer-file-shortcut span { display:block; }
.drawer-file-shortcut strong { color:#fff; font-size:14px; }
.drawer-file-shortcut span { margin-top:3px; color:#d3aa93; font-size:12px; line-height:1.35; }
.drawer-upload-shortcut { flex:0 0 auto; border:1px solid var(--orange); border-radius:4px; background:transparent; color:#fff; padding:10px 12px; font-size:12px; font-weight:bold; text-transform:uppercase; }
.drawer-upload-shortcut:hover { background:var(--orange); }
/* Con el modal a alto fijo, el segundo paso (formulario) puede fácilmente ser
   más largo que el espacio disponible — especialmente para un invitado, donde
   aparecen 6 campos extra. Se deja scrollear completo (a diferencia del carro,
   aquí no hay un botón que valga la pena fijar aparte: "Enviar solicitud" es
   apenas el último de varios campos, no una lista abierta). */
.drawer-form-step { flex: 1 1 auto; min-height: 0; overflow-y: auto; max-width: 680px; margin-inline: auto; }
.drawer-form-step h3 { font-size: 23px; margin: 8px 0 12px; text-transform: uppercase; }
.drawer-form-step textarea, .drawer-form-step select, .drawer-fields input { width: 100%; border: 1px solid #42494f; border-radius: 8px; background: #0d0f11; color: #fff; padding: 10px 12px; margin-bottom: 8px; }
.drawer-form-step textarea:focus, .drawer-form-step select:focus, .drawer-fields input:focus { border-color: var(--orange); }
.drawer-select { position:relative; margin-bottom:8px; }
.drawer-select > select { width:100%; margin:0; }
.drawer-select.is-enhanced > select { position:absolute; inline-size:1px; block-size:1px; overflow:hidden; clip-path:inset(50%); opacity:0; pointer-events:none; }
.drawer-select-toggle { width:100%; min-height:43px; display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid #42494f; border-radius:8px; background:#0d0f11; color:#f7f5f0; padding:10px 12px; text-align:left; font:inherit; }
.drawer-select-toggle:hover, .drawer-select-toggle[aria-expanded="true"] { border-color:var(--orange); box-shadow:0 0 0 1px var(--orange); }
.drawer-select-toggle svg { width:18px; height:18px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:2; transition:transform .18s ease; }
.drawer-select-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
/* Abre hacia abajo, no hacia arriba: este campo va bastante arriba del
   formulario (bajo "Es urgente", sobre Nombre/Apellido/...), así que al
   scrollear el drawer hacia abajo un menú hacia arriba quedaba por encima
   del área visible, con las opciones fuera de pantalla. */
.drawer-select-menu { position:absolute; z-index:3; top:calc(100% + 6px); left:0; right:0; overflow:hidden; border:1px solid #464b50; border-radius:8px; background:#121416; box-shadow:0 16px 32px #000a; }
.drawer-select-menu button { display:block; width:100%; border:0; border-bottom:1px solid #272b2f; background:transparent; color:#f7f5f0; padding:10px 12px; font:inherit; text-align:left; }
.drawer-select-menu button:last-child { border-bottom:0; }
.drawer-select-menu button:hover, .drawer-select-menu button[aria-selected="true"] { background:#24372d; color:#fff; }
.drawer-select-menu button[aria-selected="true"] { color:#9ce1b4; }
.drawer-form-step textarea { min-height: 70px; resize: vertical; }
.drawer-back { margin: 10px 0; }
.drawer-check { display: block; margin: 2px 0 10px; color: #ddd; }
.drawer-upload { margin: 0 0 12px; }
.drawer-upload-title { margin: 0 0 8px; color: #ddd; font-size: 13px; line-height: 1.35; }
.drawer-dropzone { display: grid; place-items: center; min-height: 116px; padding: 16px; border: 1px dashed #86502d; border-radius: 8px; background: linear-gradient(135deg,#17120f,#101214); color: #fff; cursor: pointer; text-align: center; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.drawer-dropzone:hover, .drawer-dropzone:focus-within { border-color: var(--orange); background: #21160f; transform: translateY(-1px); }
.drawer-dropzone svg { width: 27px; height: 27px; margin-bottom: 7px; fill: none; stroke: var(--orange); stroke-width: 1.7; }
.drawer-dropzone strong, .drawer-dropzone span, .drawer-dropzone em { display: block; }
.drawer-dropzone strong { font-size: 14px; }
.drawer-dropzone span { margin-top: 3px; color: #d3aa93; font-size: 12px; }
.drawer-dropzone em { margin-top: 8px; color: var(--muted); font-size: 11px; font-style: normal; }
.drawer-adjunto-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.drawer-adjunto-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #ddd; background: #171a1d; border: 1px solid #303438; border-radius: 6px; padding: 8px 10px; }
.drawer-adjunto-remove { border: 0; background: transparent; color: #ff9b6c; font-size: 12px; text-transform: uppercase; font-weight: bold; margin-left: auto; }
.drawer-adjunto-remove:hover { color: #ff6a20; }
.file-drop-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(3,4,5,.84); backdrop-filter: blur(3px); pointer-events: none; }
.file-drop-overlay > div { width: min(460px,100%); padding: 36px 24px; border: 2px dashed var(--orange); border-radius: 14px; background: #15191d; color: #fff; text-align: center; box-shadow: 0 20px 55px #000a; }
.file-drop-overlay svg { display: block; width: 48px; height: 48px; margin: 0 auto 14px; fill: none; stroke: var(--orange); stroke-width: 1.5; }
.file-drop-overlay strong, .file-drop-overlay span { display: block; }
.file-drop-overlay strong { font-size: 20px; }
.file-drop-overlay span { margin-top: 8px; color: var(--muted); font-size: 14px; }
.drawer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.account-note { grid-column: 1 / -1; margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.drawer-submit, .auth-submit { width: 100%; margin-top: 4px; padding: 13px 16px; }
.logged-in .drawer-form-step { overflow-y: hidden; }
/* Paso del formulario: ventana más ancha; primero los datos, al final el archivo. */
.cart-drawer:has(.drawer-form-step:not([hidden])) { width: min(820px,calc(100vw - 32px)); height: min(700px,calc(100vh - 32px)); }
.drawer-form-step { max-width: none; width: auto; margin-inline: -36px; padding-inline: 36px 28px; }
.drawer-topline { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; margin-bottom: 8px; }
.drawer-topline .drawer-check { margin: 0; padding: 11px 14px; border: 1px solid #42494f; border-radius: 8px; background: #0d0f11; white-space: nowrap; cursor: pointer; }
.drawer-topline .drawer-check:has(input:checked) { border-color: var(--orange); color: #fff; }
.drawer-topline .drawer-check input { accent-color: var(--orange); margin-right: 6px; }
.drawer-fields { gap: 0 14px; }
.drawer-fields input { min-height: 46px; margin-bottom: 12px; }
.drawer-fields ~ textarea { margin-top: 4px; }
.drawer-upload { margin: 4px 0 16px; padding-top: 16px; border-top: 1px solid #303438; }
.drawer-dropzone { min-height: 104px; }
.drawer-submit:disabled, .auth-submit:disabled { opacity: .7; }
.drawer-result, .auth-result { line-height: 1.5; color: #ffd0bb; min-height: 1.5em; }

/* Modal de acceso — mismo lenguaje visual que .cart-drawer (backdrop + caja
   centrada), pero como diálogo propio: son dos ventanas independientes que
   nunca se abren a la vez, no vale la pena compartir una sola infraestructura
   genérica de "modal" para una sola reutilización más. */
.auth-modal {
  position: fixed; z-index: 41; top: 50%; left: 50%;
  width: min(420px,calc(100vw - 32px)); max-height: min(90vh,calc(100vh - 32px));
  padding: 32px 36px; border: 1px solid #454a4e; border-radius: 14px; overflow-y: auto;
  transform: translate(-50%,-46%) scale(.97); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  background: #101214; box-shadow: 0 25px 80px #000a;
}
.auth-modal.is-open { transform: translate(-50%,-50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.auth-modal > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #303438; padding-bottom: 16px; margin-bottom: 20px; }
.auth-modal h2 { text-transform: uppercase; margin: 4px 0 0; font-size: 24px; }
.auth-close { border: 0; background: transparent; color: #fff; font-size: 32px; }
/* Ventana flotante de búsqueda: más ancha y anclada cerca del tope de la
   pantalla (no centrada como los otros modales) para que lea como un
   "spotlight" — el buscador es lo primero que se ve al abrirla. */
.search-modal-backdrop {
  position: fixed; inset: 0; z-index: 42; background: #000c; backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease;
}
.search-modal-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-modal {
  position: fixed; z-index: 43; top: 5%; left: 50%;
  /* Alto fijo (no max-height): antes la caja se achicaba con pocos resultados
     y crecía con muchos, saltando de tamaño en cada tecleo. Con altura fija,
     .search-modal-results (flex:1, overflow-y:auto) es quien absorbe esa
     diferencia con scroll interno — la caja en sí no se mueve. */
  width: min(760px,calc(100vw - 32px)); height: min(620px,calc(100vh - 32px));
  display: flex; flex-direction: column; border: 1px solid #454a4e; border-radius: 14px; overflow: hidden;
  transform: translate(-50%,-4%) scale(.95); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1), visibility .3s;
  background: #101214; box-shadow: 0 25px 80px #000a;
}
.search-modal.is-open { transform: translate(-50%,0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
.search-modal-close { position: absolute; top: 14px; right: 16px; z-index: 1; border: 0; background: transparent; color: #fff; font-size: 28px; }
.search-modal-form { display: flex; align-items: center; gap: 12px; margin: 24px 50px 20px 24px; padding: 0 18px; height: 56px; background: #fff; border-radius: 8px; flex: 0 0 auto; }
.search-modal-form button { flex: 0 0 auto; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
.search-modal-form svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: #6b7075; stroke-width: 1.8; }
.search-modal-form button:hover svg { stroke: var(--orange); }
.search-modal-form input[type="search"] { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: #111; font-size: 17px; }
.search-modal-form input[type="search"]::placeholder { color: #767b80; }
.search-modal-form input[type="search"]:focus-visible { outline: none; }
.search-modal-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-modal-results { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.search-modal-results .search-suggest-item { padding: 14px 24px; border-radius: 0; }
/* margin-top:auto empuja este bloque (y el hint que le sigue) al fondo fijo
   del modal SIEMPRE, tanto si .search-modal-results tiene pocos resultados
   (deja hueco) como si queda con el atributo hidden (sin alto, ni gap que
   crear) — a diferencia de flex:1 en .search-modal-results, que solo llena
   el hueco cuando ese elemento participa del layout. */
.search-modal-cart-preview { flex: 0 0 auto; margin-top: auto; padding: 18px 24px 20px; border-top: 1px solid #2a2e31; background: #15181a; }
.search-modal-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.search-modal-cart-heading strong { color: #f3f0e9; }
.search-modal-cart-open { border: 0; background: transparent; color: var(--orange); padding: 0; font-size: 12px; font-weight: bold; text-transform: uppercase; }
.search-modal-cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 10px; }
.search-modal-cart-items { display: flex; align-items: center; gap: 8px; min-height: 62px; overflow-x: auto; padding: 2px 0; scrollbar-width: thin; scrollbar-color: #555 #15181a; }
.search-modal-cart-item { position: relative; flex: 0 0 70px; min-width: 0; min-height: 60px; display: grid; align-content: center; justify-items: center; gap: 4px; color: #d9dcde; }
.search-modal-cart-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 7px; background: #20252a; color: var(--orange); }
.search-modal-cart-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search-modal-cart-item small { width: 100%; overflow: hidden; color: #c9cdd0; font-size: 10px; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.search-modal-cart-item b { position: absolute; top: 0; right: 4px; min-width: 17px; padding: 2px 4px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 9px; line-height: 1; }
.search-modal-hint { flex: 0 0 auto; margin: 0; padding: 9px 20px 11px; border-top: 1px solid #26292c; color: var(--muted); font-size: 12px; line-height: 1.35; text-align: center; }
.search-modal-hint span { display: block; margin-top: 2px; color: #f3f0e9; font-weight: 700; }
.search-modal-upload-open { margin-top: 5px; border: 1px solid var(--orange); border-radius: 4px; background: transparent; color: #fff; padding: 6px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.search-modal-upload-open:hover, .search-modal-upload-open:focus-visible { background: var(--orange); color: #fff; }
/* .drawer-fields input ya cubre el grid de 2 columnas del registro (reuso
   directo). Esto cubre lo que queda fuera de esa grilla: los dos campos del
   login y la contraseña suelta del registro. */
.auth-modal input:not(.absa-honeypot) { display: block; width: 100%; border: 1px solid #42494f; border-radius: 8px; background: #0d0f11; color: #fff; padding: 12px 14px; }
.auth-modal input:focus { border-color: var(--orange); }
.auth-login-step input + input { margin-top: 12px; }
.auth-register-step .drawer-fields + input { margin-top: 4px; margin-bottom: 12px; }
.auth-reset-step input + input { margin-top: 12px; }
.auth-reset-intro { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-switch { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.auth-switch a, .auth-switch button { color: var(--orange); background: none; border: 0; padding: 0; font-size: inherit; text-decoration: underline; cursor: pointer; }
.absa-honeypot { position: absolute !important; left: -9999px !important; }
.catalog-image, .product-media { background: #f3f3f0; }
.catalog-image img { object-fit: cover; }
.catalog-image:not(:has(img)), .product-media:not(:has(img)) { color: var(--orange); background: #1b2025; align-content: center; gap: 12px; }
.demo-photo-note { margin: 14px 0 0; padding: 12px 16px; color: var(--muted); background: transparent; border: 1px solid #30363a; border-radius: 10px; font-size: 12px; line-height: 1.6; }
.demo-photo-note a { color: var(--orange); text-decoration: underline; }
.photo-credits > p { max-width: 80ch; line-height: 1.7; color: var(--muted); }
.photo-credits-list article { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid #333; }
.photo-credits-list img { width: 120px; height: 120px; object-fit: contain; background: #fff; }
.photo-credits-list article > div { min-width: 0; }
.photo-credits-list img { flex: 0 0 120px; }
.photo-credits-list h2 { font-size: 18px; overflow-wrap: anywhere; }
.photo-credits-list a { text-decoration: underline; }
@media (max-width: 1050px) {
  .home-product-track { grid-auto-columns: calc((100% - 42px) / 4); }
  .header-inner { grid-template-columns: 140px minmax(0,1fr); gap: 16px; padding-block: 12px; }
  /* Bajo 1050px los 4 ítems de nav + buscador + acciones ya no caben en una línea.
     Antes la nav bajaba a una segunda fila; ahora se pliega tras el hamburguesa.
     El buscador NO se esconde: el punto 8 del PDF exige barra principal visible. */
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    display: none; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 4px var(--site-gutter) 12px; font-size: 13px;
    background: #171a1d; border-top: 1px solid #303438; box-shadow: 0 16px 30px #0007;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 12px; border-bottom: 1px solid #303438; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a:hover { background: #202428; }
  /* En vertical la barra inferior no lee como "activo": pasa a marca lateral. */
  .site-nav a.is-active::after { left: 0; right: auto; top: 50%; bottom: auto; width: 3px; height: 20px; transform: translateY(-50%); }
  .absa-hero h1 { font-size: 44px; }
  /* .absa-protegin-block ya se oculta desde 1350px (ver regla junto a .absa-hero-inner);
     este rango de 700-1050px queda cubierto por esa misma media query. */
  .rubro-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-layout { grid-template-columns: 260px minmax(0,1fr); gap: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
@media (max-width: 700px) {
  .absa-about { flex-direction: column; text-align: center; gap: 28px; padding-block: 40px; }
  .absa-mid-banner-protegin .absa-mid-banner-inner { flex-direction: column; align-items: center; text-align: center; }
  .absa-mid-banner-copy { padding-block: 40px 0; text-align: center; }
  .absa-mid-banner-photo { height: 200px; margin: 0 auto 16px; }
  .about-photo { width: 220px; height: 220px; }
  .absa-mission-vision { grid-template-columns: 1fr; }
  .absa-contact { flex-direction: column; text-align: center; gap: 20px; }
  .contact-photo { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-submit { justify-self: stretch; }
  .account-view-grid { grid-template-columns: 1fr; }
  .account-details-grid { grid-template-columns: 1fr; }
  .account-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .account-layout { grid-template-columns: 1fr; }
  .quote-detail-meta, .quote-detail-solicitante { grid-template-columns: 1fr; }
  .home-product-track { grid-auto-columns: calc((100% - 14px) / 2); }
  /* A los 40px del botón circular no les alcanza el gutter de 16px de acá: se
     montaban sobre el texto de la primera/última tarjeta. El swipe táctil nativo
     ya cubre la navegación del carrusel en pantallas chicas, así que se ocultan. */
  .home-product-track-wrap .product-row-arrow { display: none; }
  .product-row-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-product-row h2 { font-size: 34px; }
  :root { --site-gutter: 16px; }
  .header-inner { grid-template-columns: 120px minmax(0,1fr); gap: 12px; }
  .brand { width: 120px; height: 54px; }
  .header-actions { justify-content: flex-end; }
  /* Bajo 700px la barra completa (input + botón) ya no cabe junto a carro/cuenta/
     menú sin apretar todo. En vez de bajarla a su propia fila (se comía media
     pantalla en un catálogo con SKU y varios rubros), se reemplaza por un ícono
     de lupa que despliega la misma barra debajo del header — mismo patrón que
     el menú hamburguesa (position:absolute sobre .site-header, que ya es
     position:relative). */
  .search-toggle { display: grid; }
  .header-search {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    margin: 0; padding: 14px var(--site-gutter) 18px; height: auto; flex-basis: auto;
    background: #030303; border-top: 1px solid #26292c; box-shadow: 0 16px 30px #0007;
  }
  .header-search.is-open { display: flex; }
  .header-search input { height: 46px; }
  /* 520px de piso era más de lo que el contenido (~460px) llegaba a usar —
     quedaba con aire de más arriba y abajo. Se ajusta el piso y el padding al
     tamaño real del contenido en vez de a un alto fijo heredado del desktop. */
  .absa-hero { height: auto; min-height: 163px; background: linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.25)),url('assets/images/banner.jpg') center/cover; }
  .absa-hero-inner { display: flex; flex-direction: column; justify-content: center; padding-block: 14px; padding-inline: 10px; }
  .absa-hero-copy { flex: none; max-width: 100%; margin-left: 0; text-align: center; }
  .absa-hero .eyebrow { font-size: 11px; letter-spacing: .4px; }
  .absa-hero h1 { font-size: clamp(21px,6vw,26px); line-height: 1.15; margin: 6px 0 9px; max-width: none; }
  .absa-hero-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.4; margin: 0 0 11px; }
  .absa-hero-copy .absa-outline { display: none; }
  .absa-rubros > header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .mobile-swipe-hint { display: flex; align-items: center; gap: 9px; margin: -2px 0 10px; color: var(--muted); font-size: 12px; }
  .mobile-swipe-hint span { color: var(--orange); font-size: 17px; line-height: 1; animation: swipe-hint-pulse 1.4s ease-in-out infinite; }
  .product-swipe-hint { margin: -4px 0 12px; }
  /* En 2 columnas, icono + texto en línea (como en desktop) quedaba desalineado:
     algunos textos envuelven a 2 líneas y otros no, así que el ícono de cada
     fila terminaba a una altura distinta y sin relación clara con su texto.
     Ícono arriba y texto centrado abajo evita ese problema — cada celda se
     ve pareja sin importar cuántas líneas ocupe su texto. */
  .absa-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .absa-benefits > div { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding-block: 18px; min-height: 92px; }
  /* div+div (la regla de desktop) pone borde a la izquierda de CADA fila desde
     la 2ª en adelante, incluida la primera celda de la fila 2 — ahí se ve como
     una línea suelta pegada al borde izquierdo. Con 2 columnas el borde debe ir
     solo en la columna derecha (pares) y arriba desde la 2ª fila (nth-child 3+). */
  .absa-benefits > div + div { border-left: 0; }
  .absa-benefits > div:nth-child(even) { border-left: 1px solid #26292c; }
  .absa-benefits > div:nth-child(n+3) { border-top: 1px solid #26292c; }
  /* Bajo 700px la grilla 2x2 obligaba a mostrar los 5 rubros a puro scroll
     vertical antes de llegar al resto de la home. Se convierte en carrusel
     horizontal — mismo patrón que .home-product-track: scroll-snap + swipe
     nativo, sin flechas (en pantallas chicas el swipe ya cubre la navegación,
     igual que en los carruseles de productos). */
  .rubro-grid {
    /* grid-template-columns:none es necesario: sin esto, el repeat(3,...) del
       breakpoint de 1050px (que sigue activo, los max-width no se excluyen
       entre sí) define 3 columnas EXPLÍCITAS de 1fr. Con grid-auto-flow:column
       los 2 rubros restantes arman columnas implícitas nuevas junto a esas 3,
       y el 1fr de las explícitas colapsa a 0 (sin espacio sobrante que repartir
       una vez que las columnas de 82% ya ocupan más del 100% del ancho). */
    grid-template-columns: none;
    display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .rubro-grid::-webkit-scrollbar { display: none; }
  .rubro-grid > .rubro-card { scroll-snap-align: start; }
  .catalog-layout, .absa-product-detail > article { grid-template-columns: minmax(0,1fr); }
  .product-media-col { position: static; }
  .catalog-mobile-filter-toggle { display: inline-flex; align-items: center; gap: 9px; margin: -12px 0 20px; border: 1px solid #4a5055; border-radius: 6px; background: #171a1d; color: #fff; padding: 11px 15px; font-weight: bold; text-transform: uppercase; }
  .catalog-mobile-filter-toggle svg { width: 19px; height: 19px; color: var(--orange); }
  .catalog-mobile-filter-toggle.is-open { border-color: var(--orange); background: #26170f; }
  .catalog-filter-backdrop { position: fixed; z-index: 60; inset: 0; background: #000a; backdrop-filter: blur(2px); }
  .catalog-filter-backdrop:not([hidden]) { display: block; }
  body.catalog-filters-open { overflow: hidden; }
  .catalog-sidebar { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(390px, calc(100vw - 28px)); max-height: none; display: block; overflow-y: auto; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 14px 0 0 14px; transform: translateX(105%); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: -16px 0 36px #0009; }
  .catalog-sidebar.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .catalog-sidebar form { display: block; flex: none; min-height: auto; }
  .catalog-sidebar .filter-heading { padding-bottom: 4px; }
  .catalog-sidebar .filter-heading > div { display: flex; align-items: center; gap: 13px; }
  .catalog-filter-close { display: grid; place-items: center; width: 32px !important; height: 32px; padding: 0 !important; border: 1px solid #4a5055 !important; border-radius: 50% !important; background: transparent !important; color: #fff; font-size: 24px; line-height: 1; }
  .catalog-filter-close:hover { border-color: var(--orange) !important; color: var(--orange); }
  .filter-groups { flex: none; min-height: auto; overflow: visible; padding-right: 0; margin-right: 0; }
  /* En desktop el sidebar sticky ya cabe entero con scroll interno, así que
     los grupos se dejan siempre abiertos (ver pointer-events:none arriba).
     En móvil, con el sidebar convertido en una lista larga y fija de altura
     (ver .catalog-sidebar arriba y .filter-apply más abajo), cada grupo se
     vuelve desplegable para no obligar a scrollear entre rubro/categoría/
     especialidad para llegar a "Aplicar filtros". */
  .catalog-sidebar .filter-group > summary {
    cursor: pointer; pointer-events: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding-block: 8px;
  }
  .catalog-sidebar .filter-group > summary::after { content: '+'; font-size: 18px; color: var(--muted); line-height: 1; }
  .catalog-sidebar .filter-group[open] > summary::after { content: '−'; }
  .catalog-sidebar .filter-apply {
    position: sticky; bottom: 0; z-index: 1; width: 100%; margin: 18px 0 0; border-radius: 5px;
    padding: 15px; box-shadow: 0 -10px 24px #101214;
  }
  .catalog-result { flex-wrap: wrap; }
  .catalog-page, .account-quotes, .absa-product-detail > article { padding-block: 32px; }
  .catalog-page { padding-bottom: 32px; }
  .cart-drawer { padding: 20px; }
  .drawer-form-step { margin-inline: -20px; padding-inline: 20px 12px; }
  .quotes-list article { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@keyframes swipe-hint-pulse { 50% { transform: translateX(5px); } }
@media (max-width: 420px) {
  .home-product-track { grid-auto-columns: 80%; }
  .product-track-tools > span { max-width: 210px; line-height: 1.5; }
  .drawer-fields { grid-template-columns: minmax(0,1fr); }
  .rubro-grid { grid-auto-columns: 75%; }
  .cart-drawer h2 { font-size: 22px; }
  /* A 48+64px de columnas fijas + gaps no le queda casi nada al nombre en una
     pantalla de ~340px de ancho útil: se veía cortado a la mitad y el SKU
     envolvía a 2 líneas, justo lo que se quería evitar al aplanar la fila. */
  .drawer-items article { grid-template-columns: 40px minmax(0,1fr) auto auto; gap: 8px; padding: 8px 10px; }
  .drawer-item-media { width: 40px; height: 40px; }
  .drawer-items small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .qty-btn { width: 22px; height: 22px; font-size: 13px; }
  .drawer-item-qty .absa-qty { width: 30px; height: 22px; }
  .drawer-remove { width: 26px; height: 26px; }
  .drawer-remove svg { width: 15px; height: 15px; }
  .drawer-file-shortcut { align-items: stretch; flex-direction: column; }
  .drawer-upload-shortcut { width: 100%; }
}
/* Secciones que aparecen con un fade + desplazamiento al entrar al viewport
   (ver IntersectionObserver en cart.js). El modificador "stagger" anima a los
   hijos directos uno por uno en vez de al contenedor completo. */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"] { opacity: 1; transform: none; }
[data-reveal="stagger"] > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal="stagger"].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"].is-visible > *:nth-child(2) { transition-delay: .06s; }
[data-reveal="stagger"].is-visible > *:nth-child(3) { transition-delay: .12s; }
[data-reveal="stagger"].is-visible > *:nth-child(4) { transition-delay: .18s; }
[data-reveal="stagger"].is-visible > *:nth-child(5) { transition-delay: .24s; }
[data-reveal="stagger"].is-visible > *:nth-child(n+6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .nav-toggle-bars span,
  [data-reveal], [data-reveal] > * { transition: none; }
  [data-reveal], [data-reveal] > * { opacity: 1; transform: none; }
}

/* ── Tarjetas de producto: estilo industrial (placa oscura, destellos naranja, insignia de estado) ── */
.catalog-card { border-radius: 14px; border: 1px solid #2f3337; background: #0f1113; box-shadow: 0 14px 30px #0006, inset 0 1px 0 #ffffff12; }
.catalog-card:hover { border-color: #fa5a0b80; box-shadow: 0 18px 36px #0008, 0 0 0 1px #fa5a0b33, 0 0 22px #fa5a0b22; }
.catalog-card .catalog-image, .catalog-card .catalog-image:not(:has(img)) {
  aspect-ratio: 4/3.2; color: var(--orange); align-content: center; gap: 0; border-radius: 0;
  background:
    linear-gradient(150deg, transparent 0 16%, #fa5a0b00 16%, #fa5a0b4d 17.2%, #fa5a0b00 18.4%, transparent 18.4% 76%, #fa5a0b00 76%, #fa5a0bcc 77.4%, #fa5a0b00 78.8%, transparent 78.8%),
    linear-gradient(150deg, transparent 0 62%, #ffffff0d 62% 62.3%, #00000040 62.3% 100%),
    radial-gradient(circle at 1px 1px, #ffffff14 1px, transparent 1.5px) 0 0 / 7px 7px,
    linear-gradient(160deg, #23262a, #121416 70%);
}
.catalog-card .demo-product-illustration { width: min(124px,60%); height: auto; aspect-ratio: 1; margin-top: 14px; filter: drop-shadow(0 0 10px #fa5a0b55); transition: transform .3s ease, filter .3s ease; }
.catalog-card:hover .demo-product-illustration { transform: scale(1.06); filter: drop-shadow(0 0 16px #fa5a0b99); }
.catalog-card .demo-image-label { display: none; }
.card-status { position: absolute; z-index: 1; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border: 1px solid #39d96f; border-radius: 999px; background: #08150d99; color: #5ef28f; font-size: 11px; font-weight: bold; line-height: 1.2; }
.card-status i { width: 7px; height: 7px; border-radius: 50%; background: #39d96f; box-shadow: 0 0 6px #39d96f; }
.card-status.is-special { border-color: #fa5a0b; background: #1a0d0599; color: #ffb085; }
.card-status svg { width: 12px; height: 12px; fill: var(--orange); }
.catalog-card-body { padding: 14px; background: linear-gradient(160deg,#171b1ef2,#0e1012f2); }
.card-chip { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 7px 10px; border: 1px solid #343a3f; border-radius: 7px; background: #1a1d20; color: #c5cacf; font-size: 10.5px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-chip-icon { flex: 0 0 auto; width: 18px; height: 18px; color: #e3e6e8; }
.catalog-card .sku { font-size: 12px; letter-spacing: .6px; }
.catalog-card h2 { font-family: var(--heading-font); font-size: 22px; letter-spacing: .3px; min-height: 46px; margin: 4px 0 8px; color: #fff; line-height: 1.05; }
.catalog-description { font-size: 12.5px; color: #b3bac0; margin-bottom: 12px; }
.special-tag { padding: 4px 9px; border: 1px solid var(--orange); border-radius: 6px; }
.card-cta, .catalog-card-actions button { height: 40px; border-radius: 8px; font-size: 12.5px; letter-spacing: .4px; background: linear-gradient(180deg,#ff6a1a,#f25a0b); box-shadow: 0 6px 14px #fa5a0b33; }
.card-cta { display: flex; align-items: center; justify-content: center; gap: 8px; }
.card-cta::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.card-cta:hover, .catalog-card-actions button:hover { background: linear-gradient(180deg,#ff7a2e,#ff6a1a); }

/* Indicador del carrusel (lo genera cart.js bajo cada .home-product-track). */
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.carousel-dots button { width: 46px; height: 5px; padding: 0; border: 0; border-radius: 999px; background: #3a3f44; transition: background-color .25s ease, box-shadow .25s ease; }
.carousel-dots button:hover { background: #5a6066; }
.carousel-dots button[aria-current="true"] { background: var(--orange); box-shadow: 0 0 8px #fa5a0b99; }
@media (max-width: 700px) { .carousel-dots button { width: 22px; } .carousel-dots { gap: 7px; } }

/* ── Header: logo | (menú + buscador) | (Cotizador, Webmail, WhatsApp) ── */
.header-main { min-width: 0; display: grid; gap: 12px; align-content: center; }
.nav-chevron { width: 14px; height: 14px; margin-left: 5px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .2s ease; }
.cart-toggle-label { font-weight: normal; }
@media (min-width: 1050.02px) {
  .header-inner { grid-template-columns: 140px minmax(0,1fr) 300px; gap: 22px; padding-block: 10px; }
  .site-nav { justify-content: flex-start; gap: 18px; align-self: auto; min-height: 34px; font-size: 13.5px; letter-spacing: .1px; }
  .site-nav a.is-active::after { bottom: -6px; }
  /* Desplegables: se abren con el mouse o con el teclado (focus-within). */
  .nav-drop { position: relative; display: flex; align-items: center; align-self: stretch; }
  .nav-drop:hover > .nav-drop-link, .nav-drop:focus-within > .nav-drop-link { color: var(--orange); }
  .nav-drop:hover .nav-chevron, .nav-drop:focus-within .nav-chevron { transform: rotate(180deg); }
  .nav-menu { position: absolute; z-index: 30; top: 100%; left: -14px; min-width: 230px; max-height: 70vh; overflow-y: auto; margin-top: 4px; padding: 6px; border: 1px solid #3a3f44; border-radius: 10px; background: #14171a; box-shadow: 0 18px 36px #000a; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 12.5px; letter-spacing: .3px; color: #e8e8e8; }
  .nav-menu a:hover { background: #2a1b12; color: var(--orange); }
  .nav-menu a::after { display: none; }

  .header-search { height: 46px; background: transparent; border-radius: 8px; }
  .header-search-cat { flex: 0 0 210px; width: 210px; height: 100%; border: 0; border-radius: 8px 0 0 8px; padding: 0 34px 0 16px; background: #9b9b9d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; color: #151515; font: bold 14px/1 Arial, sans-serif; appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
  .header-search-cat:hover { background-color: #a6a6a8; }
  .header-search input[type="search"] { background: #cfcfd1; color: #151515; border-radius: 0; padding: 0 16px; font-size: 14px; }
  .header-search input[type="search"]::placeholder { color: #55575a; opacity: 1; }
  .header-search:not(:has(.header-search-cat)) input[type="search"] { border-radius: 8px 0 0 8px; }
  .header-search > button { flex: 0 0 62px; border-radius: 0 8px 8px 0; font-size: 0; }
  .header-search-icon { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; }

  .header-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px; gap: 10px; align-content: center; }
  .cart-toggle { grid-column: 1; width: auto; flex: none; height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 0; border-radius: 8px; background: linear-gradient(180deg,#f2610f,#d94f08); font-family: var(--heading-font); font-size: 19px; letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 4px 14px #fa5a0b40; }
  .cart-toggle:hover { background: linear-gradient(180deg,#ff7326,#e65a0d); }
  .cart-toggle svg { width: 22px; height: 22px; }
  .cart-toggle span { top: -8px; right: -6px; background: #fff; color: #111; font-family: Arial, sans-serif; font-weight: bold; box-shadow: 0 2px 6px #0006; }
  .header-webmail { grid-column: 2 / 4; height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #8b9095; border-radius: 8px; color: #fff; font-family: var(--heading-font); font-size: 19px; letter-spacing: .4px; text-transform: uppercase; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
  .header-webmail:hover { border-color: var(--orange); color: var(--orange); background: #ffffff08; }
  .header-webmail svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .header-whatsapp { grid-column: 1 / 3; min-width: 0; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 8px; border: 1px solid #2e8f50; border-radius: 8px; background: #08120c; color: #fff; transition: border-color .2s ease, background-color .2s ease; }
  .header-whatsapp:hover { border-color: #43d675; background: #0d1d13; }
  .header-whatsapp-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #25d366; }
  .header-whatsapp-icon svg { width: 20px; height: 20px; fill: #fff; }
  .header-whatsapp-text { min-width: 0; flex: 1; display: grid; line-height: 1.15; }
  .header-whatsapp-text small { color: #c9ced2; font-size: 12px; white-space: nowrap; }
  .header-whatsapp-text strong { font-size: 15px; }
  .header-whatsapp-arrow { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: #43d675; stroke-width: 2.2; }
  .account-menu { grid-column: 3; align-self: center; }
  .account-toggle { height: 46px; width: 44px; }
}
/* Bajo 1050px el menú se pliega tras el hamburguesa y el buscador pasa a la lupa:
   el contenedor del centro "desaparece" para que nav y buscador sigan siendo hijos directos del header. */
@media (max-width: 1050px) {
  .header-main { display: contents; }
  .header-webmail, .header-whatsapp, .header-search-cat, .cart-toggle-label, .nav-chevron { display: none; }
  .nav-drop { display: contents; }
  .nav-menu { display: none; }
  .header-search-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
  .header-search > button { font-size: 0; }
}

/* Franja de ventajas: ícono de línea + título + descripción. */
.absa-benefits { text-transform: none; font-weight: normal; padding-block: 22px; }
.absa-benefits > div { gap: 10px; padding-inline: 10px; }
.absa-benefits svg { flex: 0 0 auto; width: 38px; height: 38px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px #fa5a0b33); }
.absa-benefits p { margin: 0; min-width: 0; }
.absa-benefits strong { display: block; color: #fff; font-family: var(--heading-font); font-size: 17px; font-weight: 700; letter-spacing: .3px; line-height: 1.1; text-transform: uppercase; }
.absa-benefits span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.35; }
@media (max-width: 1100px) { .absa-benefits svg { width: 34px; height: 34px; } .absa-benefits strong { font-size: 16px; } .absa-benefits span { font-size: 11.5px; } }
@media (max-width: 700px) { .absa-benefits > div p { text-align: center; } .absa-benefits > div { padding-inline: 8px; } .absa-benefits strong { font-size: 15px; } }

/* Header (escritorio): columna derecha más compacta y logo más grande. */
@media (min-width: 1050.02px) {
  :root { --header-h: 142px; }
  .header-inner { grid-template-columns: 232px minmax(0,1fr) 262px; gap: 18px; min-height: 142px; }
  .brand { width: 232px; height: 128px; }
  .site-nav { gap: 14px; }
  .header-actions { grid-template-columns: 1.2fr 1fr 40px; gap: 8px; }
  .cart-toggle, .header-webmail { height: 42px; font-size: 16px; gap: 6px; padding: 0 8px; border-radius: 7px; }
  .cart-toggle svg, .header-webmail svg { width: 19px; height: 19px; }
  .cart-toggle span { min-width: 17px; height: 17px; font-size: 10px; top: -7px; right: -5px; }
  .header-whatsapp { height: 44px; gap: 8px; padding: 0 8px 0 6px; border-radius: 7px; }
  .header-whatsapp-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .header-whatsapp-icon svg { width: 17px; height: 17px; }
  .header-whatsapp-text small { font-size: 11px; }
  .header-whatsapp-text strong { font-size: 14px; }
  .header-whatsapp-arrow { flex-basis: 15px; width: 15px; height: 15px; }
  .account-toggle { width: 40px; height: 44px; }
  .account-menu { flex-basis: 40px; }
}

/* ── Entrada del catálogo (rubros) y página de rubro con filtro por categoría ── */
.catalog-subtitle { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 62ch; }
.catalog-title .eyebrow a { color: inherit; }
.catalog-title .eyebrow a:hover { text-decoration: underline; }
.catalog-landing .rubro-grid { margin-top: 8px; }
.catalog-landing .rubro-card { min-height: 340px; }
.catalog-all-link { margin: 28px 0 0; text-align: center; }
.catalog-all-link a { display: inline-block; padding: 12px 22px; border: 1px solid #4a5056; border-radius: 6px; background: #000a; font-weight: bold; text-transform: uppercase; font-size: 13px; letter-spacing: .4px; transition: border-color .2s ease, color .2s ease; }
.catalog-all-link a:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 760px) { .catalog-landing .rubro-card { min-height: 240px; } }

/* ── Panel de filtros: buscador, filas con ícono, selección naranja ── */
.catalog-sidebar { border-radius: 16px; padding: 22px 18px; background: linear-gradient(160deg,#171a1dee,#0d0f11ee); box-shadow: 0 18px 40px #0008, inset 0 1px 0 #ffffff12; }
.catalog-sidebar h2 { font-family: var(--heading-font); font-size: 34px; letter-spacing: .5px; line-height: 1; }
.filter-heading a.filter-clear { display: inline-flex; align-items: center; gap: 6px; color: #d4d7da; font-size: 14px; text-decoration: none; transition: color .2s ease; }
.filter-heading a.filter-clear:hover { color: var(--orange); }
.filter-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.filter-search { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; padding: 0 14px; height: 44px; border: 1px solid #3b4146; border-radius: 10px; background: #0b0d0f; color: #aeb3b8; transition: border-color .2s ease; }
.filter-search:focus-within { border-color: var(--orange); }
.filter-search svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.filter-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.filter-search input::placeholder { color: #8e949a; }
.catalog-sidebar .filter-group { border-top: 0; margin-top: 12px; padding-top: 4px; }
.catalog-sidebar .filter-group > summary { display: flex; align-items: center; justify-content: space-between; font-size: 14px; letter-spacing: .6px; padding: 8px 2px; cursor: pointer; pointer-events: auto; }
.catalog-sidebar .filter-group > summary::after, .catalog-sidebar .filter-group[open] > summary::after { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); font-size: 0; transform: rotate(45deg) translate(3px,3px); transition: transform .2s ease; }
.catalog-sidebar .filter-group:not([open]) > summary::after { transform: rotate(225deg) translate(3px,3px); }
.filter-options { gap: 8px; margin-top: 8px; }
.filter-option { grid-template-columns: 28px minmax(0,1fr) auto 10px; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid #2d3236; border-radius: 10px; background: linear-gradient(180deg,#1c2023,#14171a); color: #e6e8ea; font-size: 14px; transition: border-color .18s ease, background .18s ease; }
.filter-option:hover { border-color: #4b5258; background: linear-gradient(180deg,#22272b,#181b1f); }
.filter-option:focus-within { outline: 2px solid #fa5a0b80; outline-offset: 1px; }
.filter-icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--orange); font-style: normal; }
.filter-icon svg { width: 26px; height: 26px; }
.filter-glyph { font-size: 20px; line-height: 1; }
.filter-option b { font-weight: normal; line-height: 1.2; }
.filter-option small { min-width: 30px; padding: 3px 8px; border-radius: 999px; background: #2a2f33; color: #d0d4d7; font-size: 12px; font-weight: bold; }
.filter-check { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s ease; }
.filter-option:has(input:checked) { border-color: var(--orange); background: linear-gradient(180deg,#4a2512,#2e170b); box-shadow: 0 0 0 1px #fa5a0b55, 0 6px 16px #fa5a0b22; }
.filter-option:has(input:checked) small { background: #0000004d; color: #fff; }
.filter-option:has(input:checked) .filter-check { opacity: 1; }
.filter-empty { margin: 18px 0; color: var(--muted); text-align: center; font-size: 14px; }
.catalog-sidebar .filter-apply { display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; padding: 15px 16px; font-size: 15px; letter-spacing: .5px; background: linear-gradient(180deg,#ff6a1a,#f25a0b); box-shadow: 0 8px 20px #fa5a0b44; }
.filter-apply svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.filter-apply:hover svg { transform: translateX(4px); }

/* Entrada del catálogo: rejilla de 3×2 con borde naranja luminoso (5 rubros + "Ver todos"). */
.catalog-landing .rubro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-landing .rubro-card { min-height: 280px; border: 1px solid #fa5a0bb3; border-radius: 12px; box-shadow: 0 0 0 1px #fa5a0b26, 0 0 18px #fa5a0b40, 0 14px 30px #0008; }
.catalog-landing .rubro-card:hover { border-color: #ff7a2e; box-shadow: 0 0 0 1px #fa5a0b66, 0 0 26px #fa5a0b77, 0 18px 36px #000a; }
.catalog-landing .rubro-todos .rubro-icon svg { width: 28px; height: 28px; }
.catalog-landing .rubro-todos { background-position: right center; }
@media (max-width: 1000px) { .catalog-landing .rubro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .catalog-landing .rubro-grid { grid-template-columns: minmax(0, 1fr); } .catalog-landing .rubro-card { min-height: 230px; } }

/* Entrada del catálogo: las 6 tarjetas caben juntas en la primera pantalla. Se compacta el título y la
   altura de cada tarjeta se reparte según lo que queda de ventana (con un mínimo para que no se aplasten). */
.catalog-landing { padding-block: 18px 22px; }
.catalog-landing .catalog-title { padding-bottom: 8px; margin-bottom: 14px; }
.catalog-landing .catalog-title h1 { font-size: clamp(32px, 3.4vw, 44px); }
.catalog-landing .catalog-subtitle { margin-top: 4px; font-size: 14px; }
.catalog-landing .rubro-grid { margin-top: 0; gap: 16px; }
.catalog-landing .rubro-card { min-height: clamp(208px, calc((100vh - var(--header-h) - 160px) / 2), 370px); }
.catalog-landing .rubro-icon { top: 14px; left: 16px; width: 42px; height: 42px; font-size: 21px; }
.catalog-landing .rubro-todos .rubro-icon svg { width: 22px; height: 22px; }
.catalog-landing .rubro-copy { padding: 14px 18px; }
.catalog-landing .rubro-grid h3 { margin-bottom: 4px; font-size: clamp(18px, 1.6vw, 24px); }
.catalog-landing .rubro-grid p { min-height: 0; margin-bottom: 10px; font-size: 12.5px; line-height: 1.35; }
.catalog-landing .rubro-grid b { padding: 7px 10px; font-size: 11.5px; }
@media (max-width: 1000px) { .catalog-landing .rubro-card { min-height: 220px; } }
@media (max-width: 640px) { .catalog-landing .rubro-card { min-height: 210px; } }

/* Entrada del catálogo: encuadre de cada foto para que se vea el sujeto (camión, operario, grúa, motosierra)
   y velo oscuro solo en la franja del texto, en vez de oscurecer toda la tarjeta. */
.catalog-landing .rubro-card::before { background: linear-gradient(180deg, #0000 0%, #0000 32%, #050607b3 62%, #050607ee 100%); }
.catalog-landing .rubro-mineria { background-position: 50% 50%; }
.catalog-landing .rubro-industria-mantenimiento { background-position: 50% 42%; }
.catalog-landing .rubro-construccion-electricidad { background-position: 50% 14%; }
.catalog-landing .rubro-forestal { background-position: 50% 25%; }
.catalog-landing .rubro-proteccion-equipos-especializados, .catalog-landing .rubro-todos { background-position: 100% 30%; }

/* Encabezado de página unificado (mismos márgenes que la entrada del catálogo): catálogo, rubros,
   búsqueda, cuenta, legales y créditos. Poco aire arriba, título de 32–44 px y subtítulo discreto. */
.catalog-page, .account-quotes, .legal-page { padding-top: 18px; }
.catalog-title { padding-bottom: 8px; margin-bottom: 14px; }
.catalog-title h1:not(.is-search), .account-header h1, .legal-content h1, .photo-credits h1 { font-size: clamp(32px, 3.4vw, 44px); }
.legal-content h1 { margin: 4px 0 10px; }
.legal-intro { margin-bottom: 26px; font-size: 16px; }
.account-header { margin-bottom: 14px; }
.catalog-subtitle, .account-header-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.photo-credits h1 { margin: 6px 0 12px; font-family: var(--heading-font); text-transform: uppercase; }

/* Arreglo: al hacer clic en una opción con la lista de filtros desplazada, el navegador "enfocaba" la casilla
   oculta (position:absolute) que quedaba fuera de la lista y movía todo el panel, dejándolo vacío.
   La casilla ahora vive dentro de su fila (position:relative) y el panel no puede desplazarse por foco (overflow:clip). */
.filter-option { position: relative; }
.catalog-sidebar { overflow: clip; }
@media (max-width: 1050px) { .catalog-sidebar { overflow-y: auto; } }

/* ── Ficha de producto: panel visual a la izquierda, datos y cotización a la derecha ── */
.absa-product-detail > article { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; padding-block: 22px 30px; align-items: start; }
.product-media-col { position: sticky; top: calc(var(--header-h) + 20px); }
.product-media { position: relative; aspect-ratio: 16 / 10; border: 1px solid #fa5a0b80; border-radius: 16px; overflow: hidden; color: var(--orange); box-shadow: 0 0 0 1px #fa5a0b22, 0 0 24px #fa5a0b33, 0 18px 40px #0008; gap: 0; align-content: center;
  background:
    linear-gradient(150deg, transparent 0 14%, #fa5a0b00 14%, #fa5a0b4d 15.2%, #fa5a0b00 16.4%, transparent 16.4% 78%, #fa5a0b00 78%, #fa5a0bcc 79.4%, #fa5a0b00 80.8%, transparent 80.8%),
    linear-gradient(150deg, transparent 0 62%, #ffffff0d 62% 62.3%, #00000040 62.3% 100%),
    radial-gradient(circle at 1px 1px, #ffffff14 1px, transparent 1.5px) 0 0 / 8px 8px,
    linear-gradient(160deg, #23262a, #101214 72%); }
.product-media:not(:has(img)) { background:
    linear-gradient(150deg, transparent 0 14%, #fa5a0b00 14%, #fa5a0b4d 15.2%, #fa5a0b00 16.4%, transparent 16.4% 78%, #fa5a0b00 78%, #fa5a0bcc 79.4%, #fa5a0b00 80.8%, transparent 80.8%),
    linear-gradient(150deg, transparent 0 62%, #ffffff0d 62% 62.3%, #00000040 62.3% 100%),
    radial-gradient(circle at 1px 1px, #ffffff14 1px, transparent 1.5px) 0 0 / 8px 8px,
    linear-gradient(160deg, #23262a, #101214 72%); }
.product-media .demo-product-illustration { width: min(46%, 240px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 0 18px #fa5a0b66); }
.product-media .demo-image-label { display: none; }
.product-media .card-status { top: 16px; left: auto; right: 16px; font-size: 12px; }
.product-media-chip { position: absolute; z-index: 1; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 210px); padding: 9px 14px; border: 1px solid #fa5a0b66; border-radius: 10px; background: #0b0d0fcc; color: #fff; font-family: var(--heading-font); font-size: 17px; letter-spacing: .4px; text-transform: uppercase; line-height: 1.1; }
.product-media-chip .card-chip-icon { flex: 0 0 auto; width: 24px; height: 24px; color: var(--orange); }
.product-info { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.product-info .eyebrow { font-size: 14px; letter-spacing: .4px; }
.product-info h1 { font-family: var(--heading-font); font-size: clamp(34px, 3.8vw, 52px); letter-spacing: .4px; line-height: 1; margin: 4px 0 16px; text-shadow: 0 2px 10px #0009; }
.product-meta-row { gap: 10px; margin-bottom: 18px; }
.product-sku-badge, .product-rubro-chip { display: inline-flex; align-items: center; padding: 7px 16px; border: 1px solid var(--orange); border-radius: 999px; background: #0b0d0f99; color: #ff8a4a; font-size: 12px; font-weight: bold; letter-spacing: .4px; text-transform: uppercase; }
.product-rubro-chip { transition: background-color .2s ease, color .2s ease; }
.product-rubro-chip:hover { background: var(--orange); color: #fff; }
.product-description { margin: 0 0 24px; padding: 0; border: 0; color: #e2e4e6; font-size: 16px; line-height: 1.6; max-width: 60ch; }
.product-description p { margin: 0 0 10px; }
.quote-controls { gap: 18px; padding-top: 22px; border-top: 1px solid #ffffff1f; }
.quote-controls-fields { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: start; }
.quote-controls label { font-size: 12px; letter-spacing: .5px; color: #cfd3d6; margin-bottom: 6px; }
.qty-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; height: 52px; border: 1px solid #484f55; border-radius: 10px; background: #0b0d0f; overflow: hidden; }
.qty-stepper button { border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; transition: background-color .15s ease, color .15s ease; }
.qty-stepper button:hover { background: #2a1b12; color: var(--orange); }
.qty-stepper input { margin: 0; padding: 0; border: 0; border-inline: 1px solid #2d3236; border-radius: 0; background: transparent; text-align: center; font-size: 16px; font-weight: bold; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quote-note textarea { height: 78px; min-height: 78px; margin-top: 0; border-radius: 10px; font-size: 14px; }
.quote-actions { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; }
.absa-product-detail .quote-controls .quote-actions > * { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: 10px; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; font-weight: bold; text-align: center; }
.absa-product-detail .quote-controls button.button { border: 0; background: linear-gradient(180deg, #ff6a1a, #f25a0b); color: #fff; box-shadow: 0 8px 20px #fa5a0b44; }
.absa-product-detail .quote-controls button.button:hover { background: linear-gradient(180deg, #ff7a2e, #ff6a1a); }
.absa-product-detail .quote-controls .whatsapp-link { border: 1px solid #2e8f50; background: #08120c; color: #fff; }
.absa-product-detail .quote-controls .whatsapp-link:hover { border-color: #43d675; background: #0d1d13; }
.quote-actions svg { flex: 0 0 auto; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote-actions .whatsapp-link svg { fill: #25d366; stroke: none; }
.ficha-tecnica-link { align-self: start; color: #d4d7da; text-decoration: underline; font-size: 14px; }
.related-products { padding-block: 10px 40px; border-top: 1px solid #ffffff1f; }
.related-products h2 { margin: 18px 0 16px; font-family: var(--heading-font); font-size: 30px; letter-spacing: .4px; text-transform: uppercase; }
.related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1250px) { .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .related-grid .catalog-card:nth-child(5) { display: none; } }
@media (max-width: 1050px) { .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .related-grid .catalog-card:nth-child(n+4) { display: none; } }
@media (max-width: 700px) {
  .product-media { aspect-ratio: 4 / 3; }
  .product-media-chip { max-width: calc(100% - 32px); top: 12px; left: 12px; font-size: 15px; }
  .product-media .card-status { top: auto; bottom: 12px; right: 12px; }
  .quote-controls-fields, .quote-actions { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid .catalog-card:nth-child(n+3) { display: none; }
}

/* Opciones del panel como enlaces (página de rubro): mismo aspecto que la casilla marcada. */
a.filter-option { text-decoration: none; color: #e6e8ea; }
a.filter-option.is-active { border-color: var(--orange); background: linear-gradient(180deg,#4a2512,#2e170b); box-shadow: 0 0 0 1px #fa5a0b55, 0 6px 16px #fa5a0b22; }
a.filter-option.is-active small { background: #0000004d; color: #fff; }
a.filter-option.is-active .filter-check { opacity: 1; }
a.filter-option:focus-visible { outline: 2px solid #fa5a0b80; outline-offset: 1px; }
#resultados { scroll-margin-top: calc(var(--header-h) + 14px); }
#resultados { transition: opacity .15s ease; } #resultados.is-loading { opacity: .45; pointer-events: none; }

/* Header en móvil angosto: si no caben el logo y los 4 botones, los botones se encogen en vez de montarse sobre el logo. */
@media (max-width: 1050px) {
  .header-actions { min-width: 0; gap: 6px; }
  .cart-toggle, .account-toggle, .nav-toggle, .search-toggle, .account-menu { flex: 0 1 44px; min-width: 30px; }
  .account-toggle { width: 100%; }
}
@media (max-width: 400px) {
  .header-inner { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
  .brand { width: 96px; height: 44px; }
  .cart-toggle, .account-toggle, .nav-toggle, .search-toggle { height: 40px; }
}

/* Ficha de producto en tablet/móvil: una sola columna (la regla de dos columnas de arriba pisaba la de abajo de 1050px). */
@media (max-width: 1050px) {
  .absa-product-detail > article { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .product-media-col { position: static; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-controls-fields { grid-template-columns: minmax(0, 1fr); }
  .product-info h1 { font-size: clamp(30px, 9vw, 40px); }
  .product-media { aspect-ratio: 1 / 1; }
  .product-media .demo-product-illustration { width: 52%; margin-top: 24px; }
}

/* Menú móvil: Rubros muestra sus 5 opciones anidadas; los demás desplegables (listas largas) quedan como un solo enlace. */
@media (max-width: 1050px) {
  .nav-drop-rubros { display: block; }
  .nav-drop-rubros .nav-menu { display: block; }
  .nav-drop-rubros .nav-menu a { padding: 11px 12px 11px 28px; font-size: 12px; font-weight: normal; letter-spacing: .2px; color: #cfd3d6; border-bottom: 1px solid #25292c; text-transform: none; }
}

/* Formulario de cotización en móvil: el rubro y "Es urgente" van uno bajo el otro (en una fila no cabían). */
@media (max-width: 560px) {
  .drawer-topline { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .drawer-topline .drawer-check { white-space: normal; }
}

/* Móvil: los rubros ya no son un carrusel; van como tarjetas horizontales (anchas y bajas), una sobre otra,
   con el texto a la izquierda sobre un degradado y la foto visible a la derecha. */
@media (max-width: 700px) {
  .absa-rubros .mobile-swipe-hint { display: none; }
  .rubro-grid, .catalog-landing .rubro-grid { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding: 0; gap: 12px; }
  .rubro-grid > .rubro-card, .catalog-landing .rubro-grid > .rubro-card { min-height: 128px; justify-content: center; background-position: right center; border-radius: 12px; }
  .rubro-grid > .rubro-card::before, .catalog-landing .rubro-grid > .rubro-card::before { background: linear-gradient(90deg, #050607f2 0%, #050607d9 46%, #05060833 100%); }
  .rubro-grid .rubro-copy, .catalog-landing .rubro-grid .rubro-copy { max-width: 74%; padding: 14px 16px; }
  .rubro-grid h3 { margin-bottom: 4px; font-size: 21px; }
  .rubro-grid p, .catalog-landing .rubro-grid p { min-height: 0; margin-bottom: 8px; font-size: 12px; line-height: 1.3; }
  .rubro-grid b { padding: 6px 10px; font-size: 11px; }
  .rubro-grid .rubro-icon, .catalog-landing .rubro-grid .rubro-icon { top: 50%; left: auto; right: 14px; width: 40px; height: 40px; font-size: 20px; transform: translateY(-50%); }
  .rubro-card:hover { transform: none; }
}

/* Logo del header un poco más grande también en móvil/tablet y menú algo más compacto en escritorio angosto. */
@media (max-width: 1050px) { .brand { width: 176px; height: 97px; } .header-inner { grid-template-columns: 176px minmax(0, 1fr); } }
@media (max-width: 400px) { .brand { width: 150px; height: 83px; } .header-inner { grid-template-columns: 150px minmax(0, 1fr); } .cart-toggle, .account-toggle, .nav-toggle, .search-toggle { height: 38px; } }
@media (max-width: 330px) { .brand { width: 108px; height: 60px; } .header-inner { grid-template-columns: 108px minmax(0, 1fr); } }
@media (min-width: 1050.02px) and (max-width: 1280px) { .site-nav { gap: 9px; font-size: 12.5px; } .nav-chevron { margin-left: 3px; } }
@media (max-width: 1050px) { :root { --header-h: 125px; } }

/* Móvil: menos aire entre el banner de Protegín y el título de "Nuestros rubros" (antes ~70 px de hueco). */
@media (max-width: 700px) {
  .absa-protegin-mobile-banner { margin-bottom: 0; }
  .absa-rubros { padding-block: 22px 14px; }
  .absa-rubros > header { gap: 6px; margin-bottom: 12px; }
}

/* Móvil: "Ver catálogo" queda como un botón con ícono a la derecha del título (no en una línea aparte debajo). */
@media (max-width: 700px) {
  .product-row-heading { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .product-row-heading > div { min-width: 0; flex: 1; }
  .product-row-heading .row-catalog-link { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; margin-top: 4px; border: 1px solid var(--orange); border-radius: 50%; background: #0b0d0f99; font-size: 0; padding: 0; }
  .product-row-heading .row-catalog-link svg { width: 18px; height: 18px; margin: 0; vertical-align: 0; stroke: var(--orange); }
}

/* ── Footer: Rubros y Enlaces como <details> (siempre abiertos en escritorio, acordeón en móvil) ── */
.footer-acc > summary { list-style: none; margin: 0 0 14px; color: var(--cream); font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: .4px; pointer-events: none; cursor: default; }
.footer-acc > summary::-webkit-details-marker { display: none; }
.footer-acc > summary::marker { content: ''; }

@media (max-width: 700px) {
  .site-footer { padding-block: 8px calc(22px + env(safe-area-inset-bottom)); }
  .footer-top { display: flex; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .footer-top > * { padding-block: 22px; border-top: 1px solid #ffffff14; }
  .footer-top > :first-child { border-top: 0; }

  /* 1 · Marca: logo + frase, y el WhatsApp como llamada a la acción a todo el ancho. */
  .footer-brand { order: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding-top: 16px; }
  .footer-brand img { width: 128px; margin: 0; }
  .footer-brand p { max-width: none; font-size: 13px; line-height: 1.5; }

  /* 2 · Contacto: filas con ícono, cada una cómoda de tocar. */
  .footer-contact { order: 2; }
  .footer-contact h3 { margin-bottom: 8px; color: var(--orange); font-size: 12px; letter-spacing: 1px; }
  .footer-contact ul { gap: 0; margin-bottom: 16px; font-size: 14px; }
  .footer-contact li { position: relative; min-height: 44px; display: flex; align-items: center; padding-left: 32px; border-bottom: 1px solid #ffffff0f; line-height: 1.4; }
  .footer-contact li::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--orange); -webkit-mask: var(--fc-icon) center / contain no-repeat; mask: var(--fc-icon) center / contain no-repeat; }
  .fc-address { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.500C5 14.800 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.500' r='2.500'/%3E%3C/svg%3E"); }
  .fc-phone { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.500 1.500a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
  .fc-mail { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.500 6.500 8.500 6.500 8.500-6.500'/%3E%3C/svg%3E"); }
  .fc-web { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
  .fc-hours { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
  .footer-contact li a { display: block; width: 100%; padding-block: 12px; color: #e3e5e7; }
  .footer-contact .footer-whatsapp { display: flex; width: 100%; min-height: 50px; border-radius: 10px; font-size: 14px; letter-spacing: .4px; }

  /* 3 · Rubros y Enlaces: acordeón (cerrado al cargar, lo abre footer JS en cart.js). */
  .footer-col:not(.footer-contact) { padding-block: 0; }
  .footer-col .footer-acc { border: 0; }
  .footer-acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin: 0; font-size: 14px; letter-spacing: .6px; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .footer-acc > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
  .footer-acc[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
  .footer-acc ul { gap: 0; padding-bottom: 10px; font-size: 14px; }
  .footer-acc li a { display: block; padding: 11px 0 11px 4px; color: #cfd3d6; border-top: 1px solid #ffffff0d; }
  .footer-top > .footer-col:nth-of-type(1), .footer-top > nav[aria-label="Rubros"] { order: 3; }
  .footer-top > nav[aria-label="Enlaces"] { order: 4; }

  /* 4 · Barra legal centrada. */
  .footer-bottom { flex-direction: column; align-items: center; gap: 10px; padding-top: 18px; text-align: center; }
  .footer-legal { justify-content: center; gap: 6px 20px; }
}

/* Móvil · Quiénes somos: la foto ocupa todo el ancho útil (antes quedaba como un cuadro de 220 px con márgenes enormes) y el texto se lee alineado a la izquierda. */
@media (max-width: 700px) {
  .absa-about { gap: 20px; padding-block: 22px; }
  .about-photo { width: 100%; height: 190px; border-radius: 16px; }
  .about-copy { text-align: left; }
  .about-copy h2 { text-align: left; margin-bottom: 12px; }
}

/* Móvil · páginas internas: sin alturas mínimas ni márgenes de escritorio. */
@media (max-width: 700px) {
  .account-shell { min-height: 0; padding-block: 18px 28px; }
  .absa-confirmation { margin: 22px var(--site-gutter); padding: 28px 18px; border-radius: 16px; }
  .legal-page { padding-bottom: 32px; }
  .catalog-page { padding-bottom: 24px; }
}

/* Menú del header a todo el ancho de la barra de búsqueda; Rubros con submenú de categorías a la derecha. */
@media (min-width: 1050.02px) {
  .site-nav { justify-content: space-between; gap: 8px; font-size: 14px; }
  .nav-sub { position: relative; }
  .nav-sub > .nav-sub-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .nav-sub-arrow { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .nav-sub:hover > .nav-sub-link, .nav-sub:focus-within > .nav-sub-link { background: #2a1b12; color: var(--orange); }
  .nav-flyout { position: absolute; z-index: 31; top: -7px; left: calc(100% + 2px); min-width: 260px; max-height: 70vh; overflow-y: auto; padding: 6px; border: 1px solid #3a3f44; border-radius: 10px; background: #14171a; box-shadow: 0 18px 36px #000a; opacity: 0; visibility: hidden; transform: translateX(-4px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
  .nav-flyout::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
  .nav-sub:hover > .nav-flyout, .nav-sub:focus-within > .nav-flyout { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-flyout a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 6px; font-size: 12.5px; letter-spacing: .3px; color: #e8e8e8; }
  .nav-flyout a:hover { background: #2a1b12; color: var(--orange); }
  .nav-flyout small { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #262a2e; color: #aeb3b8; font-size: 11px; text-align: center; }
  .nav-menu { overflow: visible; }
  .nav-menu .nav-sub > a::after { display: none; }
}
/* En móvil el submenú no se muestra (Rubros lista solo los rubros). */
@media (max-width: 1050px) { .nav-sub { display: contents; } .nav-flyout, .nav-sub-arrow { display: none; } }

/* Desplegables del menú centrados bajo su enlace (el submenú de categorías sigue saliendo a la derecha). */
@media (min-width: 1050.02px) {
  .nav-menu { left: 50%; transform: translate(-50%, -4px); }
  .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { transform: translate(-50%, 0); }
}

/* Submenú de categorías sin scroll: más compacto, para que las 15 filas entren completas. */
@media (min-width: 1050.02px) {
  .nav-flyout { max-height: none; overflow: visible; padding: 5px; }
  .nav-flyout a { padding: 6px 12px; font-size: 12px; }
}
@media (min-width: 1050.02px) { .nav-flyout a { white-space: nowrap; } }

/* Íconos en el desplegable: símbolo del rubro y pictograma de cada categoría (mismos que los filtros). */
@media (min-width: 1050.02px) {
  .nav-sub > .nav-sub-link { justify-content: flex-start; gap: 12px; }
  .nav-sub > .nav-sub-link .nav-label { flex: 1; }
  .nav-glyph { flex: 0 0 22px; width: 22px; text-align: center; font-size: 17px; line-height: 1; color: var(--orange); }
  .nav-flyout a { justify-content: flex-start; gap: 12px; }
  .nav-flyout a .nav-label { flex: 1; }
  .nav-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--orange); }
}
@media (max-width: 1050px) { .nav-glyph { display: none; } }

/* Banner principal fluido (1051 px en adelante): el texto, el alto y la foto de Protegín escalan juntos con el ancho,
   así el título no choca con la mascota al reducir la ventana ni se ve perdido al ampliarla. */
@media (min-width: 1050.02px) {
  .absa-hero { height: clamp(390px, 34vw, 500px); }
  .absa-hero-inner { gap: clamp(8px, 1.6vw, 24px); }
  .absa-hero-copy { flex: 1 1 0; min-width: 0; max-width: 650px; }
  .absa-hero h1 { font-size: clamp(34px, 3.55vw, 64px); max-width: none; margin: 8px 0 clamp(8px, 1.1vw, 16px); }
  .absa-hero .eyebrow { font-size: clamp(11px, 1vw, 16px); }
  .absa-hero-copy > p:not(.eyebrow) { font-size: clamp(13px, 1.05vw, 17px); }
  .absa-hero .absa-outline { padding: clamp(8px, .75vw, 11px) clamp(12px, 1.1vw, 16px); font-size: clamp(12px, .9vw, 14px); }
  .absa-protegin-photo { width: clamp(430px, 52vw, 806px); }
}

/* Header en tablet (701–1050 px): logo | buscador | botones, todo en una sola fila (antes los botones bajaban a una segunda línea). */
@media (min-width: 700.02px) and (max-width: 1050px) {
  .header-inner { grid-template-columns: 150px minmax(0, 1fr) max-content; gap: 14px; padding-block: 10px; min-height: 0; align-items: center; }
  .header-actions, .cart-toggle, .account-toggle, .nav-toggle, .account-menu { min-width: 44px; }
  .header-actions { flex-shrink: 0; }
  .brand { width: 150px; height: 83px; }
  .header-actions { justify-content: flex-end; flex-wrap: nowrap; }
  .header-search { margin: 0; }
  :root { --header-h: 103px; }
}

/* Submenú de Forestal: encabezado por área. */
@media (min-width: 1050.02px) {
  .nav-flyout .nav-flyout-head { display: block; margin-top: 4px; padding: 7px 12px 4px; font-size: 11px; letter-spacing: .8px; color: var(--orange); border-radius: 0; }
  .nav-flyout .nav-flyout-head:first-child { margin-top: 0; }
  .nav-flyout .nav-flyout-head:hover { background: none; text-decoration: underline; }
}

/* Rendimiento al hacer scroll: las tarjetas fuera de pantalla no se pintan hasta que se acercan. */
.catalog-grid > .catalog-card { content-visibility: auto; contain-intrinsic-size: auto 440px; }

/* ── Menú de Rubros horizontal: una barra con los 5 rubros bajo el menú; las categorías de cada rubro caen hacia abajo ── */
@media (min-width: 1050.02px) {
  .site-nav { position: relative; }
  .nav-drop-rubros { position: static; }
  .nav-drop-rubros > .nav-menu { left: 0; right: 0; top: 100%; min-width: 0; max-height: none; transform: translateY(-4px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 6px; overflow: visible; }
  .nav-drop-rubros:hover > .nav-menu, .nav-drop-rubros:focus-within > .nav-menu { transform: none; }
  .nav-drop-rubros .nav-sub { position: relative; min-width: 0; }
  .nav-drop-rubros .nav-sub > .nav-sub-link { height: 100%; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px; padding: 10px 8px; line-height: 1.2; font-size: 11.5px; white-space: normal; }
  .nav-drop-rubros .nav-sub > .nav-sub-link .nav-label { flex: 0 1 auto; }
  .nav-drop-rubros .nav-sub-arrow { width: 12px; height: 12px; transform: rotate(90deg); }
  .nav-drop-rubros .nav-glyph { flex-basis: auto; font-size: 20px; }
  /* Categorías hacia abajo, bajo cada rubro (los dos últimos se alinean a la derecha para no salirse de la pantalla). */
  .nav-drop-rubros .nav-flyout { top: calc(100% + 6px); left: 0; min-width: 270px; transform: translateY(-4px); }
  .nav-drop-rubros .nav-sub:nth-last-child(-n+2) > .nav-flyout { left: auto; right: 0; }
  .nav-drop-rubros .nav-sub:hover > .nav-flyout, .nav-drop-rubros .nav-sub:focus-within > .nav-flyout { transform: none; }
  .nav-drop-rubros .nav-flyout::before { top: -8px; bottom: auto; left: 0; right: 0; width: auto; height: 8px; }
  /* Forestal: sus 3 áreas lado a lado. */
  .nav-flyout:has(.nav-flyout-group) { display: flex; gap: 6px; min-width: 0; }
  .nav-flyout-group { min-width: 230px; }
  .nav-flyout .nav-flyout-head { margin-top: 0; }
  .nav-drop-rubros .nav-sub:nth-last-child(-n+2) > .nav-flyout:has(.nav-flyout-group) { right: 0; }
}

/* Forestal: el desplegable ocupa todo el ancho de la barra de rubros y muestra sus 3 áreas en 3 columnas. */
@media (min-width: 1050.02px) {
  .nav-drop-rubros .nav-sub:has(> .nav-flyout > .nav-flyout-group) { position: static; }
  .nav-drop-rubros .nav-sub:has(> .nav-flyout > .nav-flyout-group) > .nav-flyout { left: 0; right: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  .nav-drop-rubros .nav-flyout-group { min-width: 0; }
  .nav-drop-rubros .nav-flyout-group > a:not(.nav-flyout-head) { white-space: normal; }
  .nav-drop-rubros .nav-flyout-head { padding-bottom: 8px; margin-bottom: 2px; border-bottom: 1px solid #ffffff14; }
}

/* ── Animación del banner principal ──
   · La foto de fondo hace un zoom lento y suave (Ken Burns) en bucle.
   · El texto entra escalonado (eyebrow, título, párrafo, botón) y Protegín desliza desde la derecha.
   Solo transform/opacity (baratas para la GPU); se desactiva con "reducir movimiento". */
.absa-hero { position: relative; isolation: isolate; --hero-shade: linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.28) 32%,rgba(0,0,0,0) 52%); background: #0b0b0c; }
.absa-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-shade), url('assets/images/banner.jpg') center/cover; transform-origin: 62% 50%; animation: hero-zoom 22s ease-in-out infinite alternate; will-change: transform; }
.absa-hero-inner { position: relative; z-index: 1; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-slide { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.absa-hero-copy > * { opacity: 0; animation: hero-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.absa-hero-copy > :nth-child(1) { animation-delay: .1s; }
.absa-hero-copy > :nth-child(2) { animation-delay: .25s; }
.absa-hero-copy > :nth-child(3) { animation-delay: .45s; }
.absa-hero-copy > :nth-child(4) { animation-delay: .6s; }
.absa-protegin-block { opacity: 0; animation: hero-slide 1s cubic-bezier(.2,.7,.2,1) .35s forwards; }
.absa-protegin-mobile-banner { animation: hero-rise .8s ease .2s both; }
@media (max-width: 700px) { .absa-hero { --hero-shade: linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.25)); } }
@media (prefers-reduced-motion: reduce) {
  .absa-hero::before, .absa-hero-copy > *, .absa-protegin-block, .absa-protegin-mobile-banner { animation: none; opacity: 1; transform: none; }
}

/* Banners intermedios: velo más claro (se ve más la foto) y sombra en el texto para que siga leyéndose. */
.absa-mid-banner-inner .eyebrow { text-shadow: 0 1px 3px #000e, 0 2px 12px #000c; }
.absa-mid-banner-inner h2 { text-shadow: 0 2px 4px #000d, 0 4px 20px #000c, 0 0 40px #0009; }
.absa-mid-banner-inner p:not(.eyebrow) { text-shadow: 0 1px 3px #000d, 0 2px 12px #000b; }

/* Barra de rubros más ancha (hasta 1120 px, centrada bajo el menú) para que ningún nombre pase de 2 líneas. */
@media (min-width: 1050.02px) {
  .nav-drop-rubros > .nav-menu { left: 50%; right: auto; width: min(1120px, calc(100vw - 32px)); transform: translate(-50%, -4px); }
  .nav-drop-rubros:hover > .nav-menu, .nav-drop-rubros:focus-within > .nav-menu { transform: translate(-50%, 0); }
  .nav-drop-rubros .nav-sub > .nav-sub-link { padding-inline: 12px; }
}

/* Barra de rubros más baja: ícono · nombre · flecha en una sola fila (la flecha a la derecha del texto). */
@media (min-width: 1050.02px) {
  .nav-drop-rubros .nav-sub > .nav-sub-link { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 10px; padding: 9px 12px; }
  .nav-drop-rubros .nav-sub > .nav-sub-link .nav-label { flex: 1 1 auto; min-width: 0; }
  .nav-drop-rubros .nav-glyph { flex: 0 0 22px; font-size: 18px; }
  .nav-drop-rubros .nav-sub-arrow { flex: 0 0 auto; margin-left: auto; }
}

/* ── Especialidades: menú en dos columnas y página con tarjetas ── */
@media (min-width: 1050.02px) {
  .nav-drop-especialidades > .nav-menu { display: grid; grid-auto-flow: column; grid-template-rows: repeat(9, auto); column-gap: 6px; min-width: 0; width: max-content; max-height: none; overflow: visible; }
  .nav-drop-especialidades > .nav-menu > a { display: flex; align-items: center; gap: 12px; white-space: nowrap; padding: 7px 12px; }
  .nav-drop-especialidades > .nav-menu > a .nav-label { flex: 1; }
  .nav-drop-especialidades > .nav-menu > a small { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #262a2e; color: #aeb3b8; font-size: 11px; text-align: center; }
}
.specialty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.specialty-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 14px; grid-template-areas: "icon name arrow" "icon count arrow"; column-gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #2f3337; border-radius: 12px; background: linear-gradient(180deg,#1c2023ee,#12151aee); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.specialty-card:hover { border-color: var(--orange); background: linear-gradient(180deg,#3a2012,#241208); transform: translateY(-2px); }
.specialty-icon { grid-area: icon; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #0b0d0f; color: var(--orange); }
.specialty-icon svg { width: 28px; height: 28px; }
.specialty-name { grid-area: name; color: #fff; font-family: var(--heading-font); font-size: 21px; letter-spacing: .3px; line-height: 1.05; text-transform: uppercase; }
.specialty-card small { grid-area: count; color: var(--muted); font-size: 12.5px; }
.specialty-arrow { grid-area: arrow; width: 14px; height: 14px; fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .specialty-grid { grid-template-columns: minmax(0, 1fr); } }
.specialties-page .catalog-subtitle { max-width: none; font-size: 16px; color: #c3c8cc; text-shadow: 0 1px 3px #000c; }
.specialties-page .catalog-title { padding-bottom: 14px; margin-bottom: 20px; }

/* Logo final de ABSA (proporción 2,4:1): se redimensionan los contenedores del header para que se vea grande. */
@media (min-width: 1050.02px) {
  .header-inner { grid-template-columns: 262px minmax(0,1fr) 262px; }
  .brand { width: 262px; height: 110px; }
}
@media (min-width: 700.02px) and (max-width: 1050px) { .header-inner { grid-template-columns: 170px minmax(0, 1fr) max-content; } .brand { width: 170px; height: 71px; } }
@media (max-width: 700px) { .header-inner { grid-template-columns: 176px minmax(0, 1fr); } .brand { width: 176px; height: 74px; } }
@media (max-width: 400px) { .header-inner { grid-template-columns: 150px minmax(0, 1fr); } .brand { width: 150px; height: 63px; } }
@media (max-width: 330px) { .header-inner { grid-template-columns: 112px minmax(0, 1fr); } .brand { width: 112px; height: 47px; } }
.about-photo-logo { width: 70%; }

/* Quiénes somos: lema, y bloque de datos de contacto (dirección solo texto; teléfonos a WhatsApp; llamada directa solo en móvil). */
.about-slogan { margin-top: 18px; color: #fff; font-family: var(--heading-font); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .4px; text-transform: uppercase; }
.about-slogan em { color: var(--orange); font-style: normal; }
.absa-contact-info { padding-block: 40px 8px; border-top: 1px solid #26292c; }
.absa-contact-info h2 { margin: 0 0 20px; color: var(--orange); font-family: var(--heading-font); font-size: clamp(28px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: .4px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.contact-info-card { padding: 18px 18px 20px; border: 1px solid #2f3337; border-radius: 12px; background: linear-gradient(180deg,#1c2023ee,#12151aee); }
.contact-info-card > svg { width: 28px; height: 28px; margin-bottom: 10px; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-card h3 { margin: 0 0 8px; color: #fff; font-family: var(--heading-font); font-size: 21px; letter-spacing: .3px; text-transform: uppercase; }
.contact-info-card p { margin: 0; color: #d3d7da; font-size: 14px; line-height: 1.55; }
.contact-info-card a { color: #fff; }
.contact-info-card p a:hover { color: var(--orange); }
.contact-phones { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.contact-phones li { display: flex; gap: 8px; }
.contact-wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid #2e8f50; border-radius: 8px; background: #08120c; font-weight: bold; font-size: 14px; transition: border-color .2s ease, background-color .2s ease; }
.contact-wa::before { content: ""; width: 18px; height: 18px; background: #25d366; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5A11.8 11.8 0 0 0 12.1 0C5.6 0 .3 5.2.3 11.7c0 2.1.6 4.1 1.7 5.9L.2 24l6.6-1.7a11.8 11.8 0 0 0 5.3 1.3h.1c6.5 0 11.8-5.2 11.8-11.7 0-3.1-1.2-6-3.5-8.4ZM12.1 21.6a9.8 9.8 0 0 1-5-1.4l-.4-.2-3.9 1 1-3.8-.3-.4a9.7 9.7 0 0 1-1.5-5.1c0-5.4 4.4-9.7 9.8-9.7 2.6 0 5 1 6.9 2.8a9.6 9.6 0 0 1 2.8 6.9c0 5.4-4.4 9.8-9.8 9.8h.4Zm5.4-7.3c-.3-.2-1.8-.9-2.1-1s-.5-.2-.7.2-.8 1-.9 1.2-.3.2-.6.1a7.9 7.9 0 0 1-2.3-1.4 8.8 8.8 0 0 1-1.6-2c-.2-.3 0-.4.1-.6l.5-.5c.1-.1.2-.3.3-.5s0-.4 0-.5l-1-2.3c-.3-.7-.6-.6-.8-.6h-.7c-.2 0-.5.1-.8.4s-1 1-1 2.5 1 2.9 1.1 3.1c.2.2 2 3 4.8 4.2.7.3 1.2.5 1.7.6.7.2 1.3.2 1.8.1.6-.1 1.8-.7 2-1.4s.3-1.3.2-1.4-.2-.2-.5-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5A11.8 11.8 0 0 0 12.1 0C5.6 0 .3 5.2.3 11.7c0 2.1.6 4.1 1.7 5.9L.2 24l6.6-1.7a11.8 11.8 0 0 0 5.3 1.3h.1c6.5 0 11.8-5.2 11.8-11.7 0-3.1-1.2-6-3.5-8.4ZM12.1 21.6a9.8 9.8 0 0 1-5-1.4l-.4-.2-3.9 1 1-3.8-.3-.4a9.7 9.7 0 0 1-1.5-5.1c0-5.4 4.4-9.7 9.8-9.7 2.6 0 5 1 6.9 2.8a9.6 9.6 0 0 1 2.8 6.9c0 5.4-4.4 9.8-9.8 9.8h.4Zm5.4-7.3c-.3-.2-1.8-.9-2.1-1s-.5-.2-.7.2-.8 1-.9 1.2-.3.2-.6.1a7.9 7.9 0 0 1-2.3-1.4 8.8 8.8 0 0 1-1.6-2c-.2-.3 0-.4.1-.6l.5-.5c.1-.1.2-.3.3-.5s0-.4 0-.5l-1-2.3c-.3-.7-.6-.6-.8-.6h-.7c-.2 0-.5.1-.8.4s-1 1-1 2.5 1 2.9 1.1 3.1c.2.2 2 3 4.8 4.2.7.3 1.2.5 1.7.6.7.2 1.3.2 1.8.1.6-.1 1.8-.7 2-1.4s.3-1.3.2-1.4-.2-.2-.5-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.contact-wa:hover { border-color: #43d675; background: #0d1d13; }
.contact-call { display: none; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--orange); border-radius: 8px; font-weight: bold; font-size: 13px; text-transform: uppercase; }
@media (max-width: 1000px) { .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .contact-info-grid { grid-template-columns: minmax(0, 1fr); } .contact-call { display: inline-flex; } }
@media (hover: none) and (pointer: coarse) { .contact-call { display: inline-flex; } }

/* Footer · contacto: dos WhatsApp como botones (con "Llamar" solo en móvil), correo clickeable, dirección solo texto y horario completo. */
.footer-contact .fc-wa { display: flex; gap: 8px; align-items: center; }
.footer-contact .fc-wa-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 7px 12px; border: 1px solid #2e8f50; border-radius: 8px; background: #08120c; color: #fff; font-weight: bold; font-size: 13px; white-space: nowrap; transition: border-color .2s ease, background-color .2s ease; }
.footer-contact .fc-wa-btn:hover { border-color: #43d675; background: #0d1d13; color: #fff; }
.fc-wa-btn svg { width: 17px; height: 17px; flex: 0 0 auto; fill: #25d366; }
.footer-contact .fc-call { display: none; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--orange); border-radius: 8px; color: #fff; font-weight: bold; font-size: 12.5px; text-transform: uppercase; }
.footer-contact .fc-hours span { line-height: 1.55; }
/* Sucursales: segunda línea bajo la dirección de Santiago, más tenue. */
.footer-contact .fc-branches { display: block; margin-top: 3px; color: var(--muted); font-size: .92em; line-height: 1.4; }
@media (max-width: 700px) { .footer-contact li.fc-address { padding-block: 10px; } }
.footer-contact ul { gap: 10px; }
@media (hover: none) and (pointer: coarse) { .footer-contact .fc-call { display: inline-flex; } }
@media (max-width: 700px) {
  .footer-contact .fc-call { display: inline-flex; }
  .footer-contact li.fc-wa { padding-left: 0; border-bottom: 0; min-height: 0; }
  .footer-contact li.fc-wa::before { display: none; }
  .footer-contact .fc-wa a.fc-wa-btn { width: auto; padding-block: 8px; color: #fff; }
  .footer-contact li.fc-hours { align-items: flex-start; padding-block: 10px; }
  .footer-contact li.fc-hours::before { margin-top: 0; top: 18px; }
}

/* ── Footer (escritorio y tablet): panel metálico con filo naranja, títulos con acento, enlaces con detalle y contacto con íconos ── */
@media (min-width: 701px) {
  .fc-address { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.500C5 14.800 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.500' r='2.500'/%3E%3C/svg%3E"); }
  .fc-phone { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.500 1.500a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
  .fc-mail { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.500 6.500 8.500 6.500 8.500-6.500'/%3E%3C/svg%3E"); }
  .fc-web { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
  .fc-hours { --fc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
  .site-footer { position: relative; padding-block: 48px 18px; border-top: 1px solid #f26c0fb3; background: linear-gradient(180deg, #0b0c0ecc, #060708e6); box-shadow: 0 -1px 8px #f26c0f55, 0 -14px 40px #00000066; }
  .footer-top { grid-template-columns: 1.35fr 1fr 1fr 1.45fr; gap: 40px; padding-bottom: 36px; }
  .footer-brand img { width: 200px; margin-bottom: 16px; }
  .footer-brand p { color: #c3c8cc; font-size: 14px; line-height: 1.65; }
  .footer-slogan { margin-top: 14px !important; color: #fff !important; font-family: var(--heading-font); font-size: 20px !important; letter-spacing: .4px; text-transform: uppercase; }
  .footer-slogan em { color: var(--orange); font-style: normal; }
  .footer-col h3, .footer-acc > summary { position: relative; margin: 0 0 20px; padding-bottom: 12px; color: #fff; font-family: var(--heading-font); font-size: 22px; font-weight: 400; letter-spacing: .6px; text-transform: uppercase; }
  .footer-col h3::after, .footer-acc > summary::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border: 0; border-radius: 2px; background: var(--orange); box-shadow: 0 0 8px #fa5a0b99; transform: none; }
  .footer-col ul { gap: 11px; font-size: 14px; }
  .footer-col li a { position: relative; display: inline-block; color: #c3c8cc; transition: color .18s ease, transform .18s ease; }
  .footer-acc li a::before { content: "›"; margin-right: 8px; color: var(--orange); }
  .footer-col li a:hover { color: var(--orange); transform: translateX(3px); }
  .footer-contact li { position: relative; display: flex; align-items: flex-start; padding-left: 30px; color: #d3d7da; line-height: 1.5; }
  .footer-contact li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--orange); -webkit-mask: var(--fc-icon) center / contain no-repeat; mask: var(--fc-icon) center / contain no-repeat; }
  .footer-contact li.fc-wa { padding-left: 0; }
  .footer-contact li.fc-wa::before { display: none; }
  .footer-contact li a:not(.fc-wa-btn):not(.fc-call) { transform: none; }
  .footer-bottom { padding-top: 20px; border-top: 1px solid #ffffff14; color: #9aa0a5; font-size: 12.5px; }
  .footer-legal a { color: #b5babe; }
}

/* Footer a todo el ancho: el fondo y el filo naranja llegan de borde a borde; el contenido sigue alineado con el ancho del sitio. */
.site-footer { max-width: none; width: 100%; margin: 0; padding-inline: max(var(--site-gutter), calc((100% - var(--site-width)) / 2 + var(--site-gutter))); }
.about-slogan-brand { display: block; margin-bottom: 4px; color: #c3c8cc; font-size: .62em; letter-spacing: 1.4px; }
/* Lema en una sola línea: «ABSA Seguridad Industrial: Equipando personas, resguardando vidas.» */
.about-slogan-brand { display: inline; margin: 0; color: #fff; font-size: inherit; letter-spacing: inherit; }
.about-slogan { text-wrap: balance; }

/* Footer · los dos WhatsApp lado a lado (en celular y pantallas táctiles quedan apilados, porque llevan el botón "Llamar"). */
.footer-contact .fc-wa-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-left: 0; }
.footer-contact .fc-wa-row::before { display: none; }
.footer-contact .fc-wa { display: flex; gap: 8px; align-items: center; min-width: 0; }
.footer-contact .fc-wa-btn { padding-inline: 8px; font-size: 12.5px; gap: 6px; }
@media (hover: none) and (pointer: coarse), (max-width: 700px) {
  .footer-contact .fc-wa-row { grid-template-columns: minmax(0, 1fr); }
  .footer-contact .fc-wa-btn { font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 700px) { .footer-contact li.fc-wa-row { padding-left: 0; border-bottom: 0; min-height: 0; } }

/* Footer · tres WhatsApp: el número principal (nuevo) a todo el ancho y los otros dos lado a lado debajo. */
.footer-contact .fc-wa-row .fc-wa:first-child { grid-column: 1 / -1; }

/* Alternativa al formulario: un solo enlace a WhatsApp, con texto que aclara que es una cosa o la otra. */
.contact-alt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; padding-top: 16px; border-top: 1px solid #ffffff1a; }
.contact-alt p { margin: 0; flex: 1 1 280px; color: #c3c8cc; font-size: 14px; line-height: 1.5; }
.contact-alt strong { color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.contact-whatsapp-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid #2e8f50; border-radius: 8px; background: #08120c; color: #fff; font-weight: bold; font-size: 14px; text-transform: uppercase; letter-spacing: .3px; transition: border-color .2s ease, background-color .2s ease; }
.contact-whatsapp-link:hover { border-color: #43d675; background: #0d1d13; color: #fff; }
.contact-whatsapp-link svg { width: 19px; height: 19px; flex: 0 0 auto; fill: #25d366; }
.drawer-alt { margin-top: 14px; }
.drawer-alt .contact-whatsapp-link { width: 100%; }
.contact-alt strong { text-transform: none; letter-spacing: 0; font-style: italic; }

/* WhatsApp en la misma fila que «Enviar solicitud». */
.contact-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.contact-actions .contact-submit { grid-column: auto; }
.contact-or { color: #c3c8cc; font-size: 14px; }
.contact-actions .contact-whatsapp-link, .drawer-actions-row .contact-whatsapp-link { padding: 13px 20px; }
.drawer-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 4px; }
.drawer-actions-row .drawer-submit { width: auto; flex: 1 1 150px; margin-top: 0; }
.drawer-actions-row .contact-or { font-size: 13px; }
.drawer-actions-row .contact-whatsapp-link { flex: 0 1 auto; padding: 13px 16px; }
@media (max-width: 560px) { .drawer-actions-row .contact-or { flex: 1 0 100%; text-align: center; order: 2; } .drawer-actions-row .contact-whatsapp-link { flex: 1 0 100%; order: 3; } }

/* Formulario de contacto: una sola fila — «Enviar solicitud», el texto completo en dos líneas y el botón de WhatsApp a la derecha. El cotizador no cambia. */
.contact-form .contact-actions { flex-wrap: nowrap; align-items: center; gap: 24px; }
.contact-form .contact-actions .contact-or { flex: 0 1 380px; max-width: 380px; margin-left: 8px; color: #c3c8cc; font-size: 14px; line-height: 1.5; text-align: left; }
.contact-form .contact-actions .contact-or strong { color: #fff; font-style: italic; }
.contact-form .contact-actions .contact-whatsapp-link { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.contact-form .contact-actions .contact-submit { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 860px) { .contact-form .contact-actions { flex-wrap: wrap; } .contact-form .contact-actions .contact-or { flex: 1 1 100%; max-width: none; margin-left: 0; order: 2; } .contact-form .contact-actions .contact-whatsapp-link { order: 3; width: 100%; margin-left: 0; } }

/* Fotos reales de producto (fondo claro, sin recortar) */
.catalog-image img.product-photo, .product-media img.product-photo { object-fit: contain; background: #fff; padding: 6px; box-sizing: border-box; }
.catalog-card:not(:has(.demo-product-illustration)) .catalog-image { background: #fff; }

/* Galería y variantes de la ficha de producto */
.product-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.product-thumb { width: 64px; height: 64px; padding: 3px; border: 1px solid #fa5a0b44; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.product-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-thumb:hover, .product-thumb:focus-visible { border-color: var(--orange); }
.product-thumb.is-active { border-color: var(--orange); box-shadow: 0 0 0 2px #fa5a0b66; }
.product-sku-badge b { font-weight: 800; letter-spacing: .02em; }
.product-variations { margin: 18px 0 6px; display: grid; gap: 14px; }
.variation-group { display: grid; gap: 8px; }
.variation-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.variation-values { display: flex; flex-wrap: wrap; gap: 8px; }
.variation-value { min-width: 46px; padding: 9px 14px; border: 1px solid #fa5a0b80; border-radius: 999px; background: #151a1e; color: #f2f2ef; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.variation-value:hover, .variation-value:focus-visible { border-color: var(--orange); background: #fa5a0b22; }
.variation-value.is-selected { background: var(--orange); border-color: var(--orange); color: #111; }
.variation-value.is-unavailable { opacity: .38; text-decoration: line-through; }
.variation-hint { margin: 0; font-size: .9rem; color: #c9ccc8; }
.variation-hint.is-warning { color: #ffb27a; font-weight: 700; }
.search-suggest-choose { align-self: center; padding: 7px 12px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange); font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Flechas de la galería de la ficha */
.product-media { position: relative; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid #fa5a0bb0; border-radius: 50%; background: #11161ccc; color: #fff; cursor: pointer; backdrop-filter: none; transition: background .2s, transform .2s, border-color .2s; }
.gallery-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--orange); border-color: var(--orange); color: #111; transform: translateY(-50%) scale(1.07); }
.gallery-counter { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; padding: 4px 12px; border-radius: 999px; background: #11161ccc; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 700px) { .gallery-arrow { width: 40px; height: 40px; } .gallery-prev { left: 8px; } .gallery-next { right: 8px; } }

/* Foto de la ficha: siempre cuadrada y a todo el ancho de su columna */
.absa-product-detail .product-media { aspect-ratio: 1 / 1; width: 100%; max-width: 720px; margin-inline: auto; }
.absa-product-detail .product-media img.product-photo { padding: 18px; }
@media (max-width: 1050px) { .absa-product-detail .product-media { width: min(100%, 560px); } }

/* Ventana de áreas de Forestal (tarjeta del rubro en el catálogo y la portada) */
.areas-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid #fa5a0bb3; border-radius: 16px; background: #000; color: #f2f2ef; box-shadow: 0 0 0 1px #fa5a0b26, 0 0 32px #fa5a0b44, 0 24px 60px #000c; overflow: auto; }
.areas-dialog::backdrop { background: #05060acc; backdrop-filter: blur(3px); }
.areas-dialog[open] { animation: areas-dialog-in .18s ease-out; }
@keyframes areas-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.areas-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 8px; }
.areas-dialog-head .eyebrow { margin: 0; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.areas-dialog-head h2 { margin: 2px 0 0; font-family: var(--heading-font); font-size: 34px; letter-spacing: .02em; text-transform: uppercase; }
.areas-dialog-close { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid #fa5a0b80; border-radius: 50%; background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.areas-dialog-close:hover, .areas-dialog-close:focus-visible { background: var(--orange); color: #111; }
.areas-dialog-list { list-style: none; margin: 0; padding: 8px 22px; display: grid; gap: 10px; }
.areas-dialog-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #fa5a0b55; border-radius: 12px; background: #000; color: inherit; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.areas-dialog-item:hover, .areas-dialog-item:focus-visible { border-color: var(--orange); background: #101010; transform: translateX(3px); }
.areas-dialog-icon { width: 44px; height: 44px; color: var(--orange); }
.areas-dialog-copy { display: grid; gap: 3px; }
.areas-dialog-copy strong { font-size: 1.02rem; }
.areas-dialog-copy small { color: #b9bcb8; font-size: .86rem; line-height: 1.35; }
.areas-dialog-count { color: var(--orange); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.areas-dialog-all { display: block; margin: 8px 22px 22px; padding: 13px 16px; border-radius: 10px; background: var(--orange); color: #111; font-weight: 800; text-align: center; text-decoration: none; }
.areas-dialog-all:hover, .areas-dialog-all:focus-visible { background: #ff7a2e; }
@media (max-width: 520px) { .areas-dialog-item { grid-template-columns: 38px minmax(0, 1fr); } .areas-dialog-icon { width: 36px; height: 36px; } .areas-dialog-count { grid-column: 2; } }

/* Cotización del cliente: aprobación, orden de pago y estado de pago */
.quote-notice { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; border: 1px solid #fa5a0b66; background: #fa5a0b14; font-weight: 600; }
.quote-notice-success { border-color: #1a8f6e88; background: #1a8f6e22; }
.quote-notice-error { border-color: #d63638aa; background: #d6363822; }
.quote-detail-link { display: inline-block; text-decoration: none; }
.quote-pago-pendiente, .quote-pago-en_verificacion { background: #e8590c33; color: #ffb27a; }
.quote-pago-pagado { background: #1a8f6e44; color: #7ee2bd; }
.quote-pago-fallido, .quote-pago-cancelado, .quote-pago-reembolsado { background: #d6363833; color: #ff9b9d; }
.quote-status-enviada { background: #8c5ec944; color: #d8bcff; }
.quote-status-aprobada, .quote-status-pagada, .quote-status-completada { background: #1a8f6e44; color: #7ee2bd; }
.quote-status-rechazada, .quote-status-vencida { background: #d6363833; color: #ff9b9d; }
.quote-status-pendiente_pago { background: #e8590c33; color: #ffb27a; }
.quote-view { display: grid; gap: 18px; }
.quote-view-back a { color: var(--orange); font-weight: 700; text-decoration: none; }
.quote-view-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.quote-view-head h2 { margin: 2px 0 0; font-family: var(--heading-font); font-size: 36px; text-transform: uppercase; }
.quote-view-sub { margin: 4px 0 0; color: #b9bcb8; }
.quote-view-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-view-block { padding: 18px 20px; border: 1px solid #fa5a0b55; border-radius: 12px; background: #14181c99; }
.quote-view-block h3 { margin: 0 0 10px; font-family: var(--heading-font); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.quote-view-scroll { overflow-x: auto; }
.quote-view-table { width: 100%; border-collapse: collapse; }
.quote-view-table th, .quote-view-table td { padding: 9px 10px; border-bottom: 1px solid #ffffff1f; text-align: left; vertical-align: top; }
.quote-view-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #b9bcb8; }
.quote-view-table .num { text-align: right; white-space: nowrap; }
.quote-view-table small { color: #b9bcb8; }
.quote-view-totals { margin: 14px 0 0 auto; max-width: 320px; display: grid; gap: 6px; }
.quote-view-totals > div { display: flex; justify-content: space-between; gap: 18px; }
.quote-view-totals dt { color: #b9bcb8; } .quote-view-totals dd { margin: 0; font-weight: 700; }
.quote-view-totals .total { padding-top: 8px; border-top: 1px solid #fa5a0b88; font-size: 1.2rem; }
.quote-view-totals .total dt { color: #fff; } .quote-view-totals .total dd { color: var(--orange); }
.quote-view-vence { margin: 12px 0 0; color: #d8bcff; }
.quote-view-vence.is-expired { color: #ff9b9d; }
.quote-view-link { color: var(--orange); font-weight: 700; }
.quote-view-list { margin: 0 0 10px; padding-left: 20px; } .quote-view-list span { color: var(--orange); font-weight: 700; }
.quote-view-note { color: #b9bcb8; }
.qv-inline { margin: 12px 0; }
.qv-btn { display: inline-block; padding: 12px 22px; border: 1px solid #fa5a0bb0; border-radius: 10px; background: transparent; color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.qv-btn:hover, .qv-btn:focus-visible { border-color: var(--orange); background: #fa5a0b22; }
.qv-btn-primary { background: var(--orange); border-color: var(--orange); color: #111; }
.qv-btn-primary:hover, .qv-btn-primary:focus-visible { background: #ff7a2e; }
.qv-reject { margin-top: 12px; } .qv-reject summary { cursor: pointer; color: #b9bcb8; }
.qv-reject label, .qv-proof label { display: grid; gap: 6px; margin: 10px 0; font-size: .9rem; color: #d7d9d5; }
.qv-reject textarea { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ffffff33; background: #0c0f12; color: #fff; font: inherit; }
.qv-methods fieldset { border: 0; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.qv-methods legend { margin-bottom: 8px; font-weight: 800; }
.qv-method { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid #fa5a0b55; border-radius: 10px; cursor: pointer; background: #1b2025; }
.qv-method:has(input:checked) { border-color: var(--orange); background: #241a12; }
.qv-method span { display: grid; gap: 2px; } .qv-method small { color: #b9bcb8; }
.qv-transfer { margin: 10px 0; padding: 12px 16px; border-radius: 10px; background: #0c0f12; border: 1px solid #ffffff22; }
.qv-proof { margin-top: 14px; }
.quote-view-paid { border-color: #1a8f6e99; }

/* Grupo "Rubros" del panel de filtros: solo en móvil (en escritorio ya están el menú y las tarjetas). */
@media (min-width: 701px) { .catalog-sidebar .filter-group-rubros { display: none; } }

/* Título y botón "Filtros" en una misma fila (móvil). */
.catalog-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.catalog-title-row h1 { min-width: 0; }
.catalog-title-row .catalog-mobile-filter-toggle { flex: none; margin: 0; }

/* Instagram: icono discreto al final del menú del header y enlace en el pie de página. */
.site-nav .nav-social { color: var(--muted); opacity: .8; }
.site-nav .nav-social svg { width: 17px; height: 17px; }
.site-nav .nav-social span { display: none; }
.site-nav .nav-social:hover { color: var(--orange); opacity: 1; }
@media (max-width: 1050px) {
  .site-nav .nav-social { gap: 10px; opacity: 1; }
  .site-nav .nav-social span { display: inline; }
}
@media (max-width: 700px) {
}

/* Tipos de producto (subcategorías): tercer nivel del menú de rubros; en móvil se ven como filtro dentro del rubro. */
.nav-types { display: none; }
@media (min-width: 1050.02px) {
  .nav-cat { position: relative; }
  .nav-types { display: block; position: absolute; z-index: 32; top: -7px; left: calc(100% + 2px); min-width: 240px; max-height: 70vh; overflow-y: auto; padding: 6px; border: 1px solid #3a3f44; border-radius: 10px; background: #14171a; box-shadow: 0 18px 36px #000a; opacity: 0; visibility: hidden; transition: opacity .15s ease; }
  .nav-types::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
  .nav-cat:hover > .nav-types, .nav-cat:focus-within > .nav-types { opacity: 1; visibility: visible; }
  .nav-cat > a { position: relative; padding-right: 26px; }
  .nav-cat > a::after { display: block !important; content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin-top: -4px; border-top: 2px solid #8b9095; border-right: 2px solid #8b9095; transform: rotate(45deg); }
  .nav-cat:hover > a, .nav-cat:focus-within > a { background: #2a1b12; color: var(--orange); }
  .nav-types a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 12px; border-radius: 6px; font-size: 12.5px; letter-spacing: .3px; color: #e8e8e8; white-space: nowrap; }
  .nav-types a:hover { background: #2a1b12; color: var(--orange); }
  .nav-types small { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #262a2e; color: #aeb3b8; font-size: 11px; text-align: center; }
  .nav-drop-rubros .nav-sub:nth-last-child(-n+2) .nav-types, .nav-flyout-group:last-child .nav-types { left: auto; right: calc(100% + 2px); }
}

/* Categorías sin productos: se ven, atenuadas, con el 0 en su contador. */
.filter-option.is-empty, .nav-flyout a.is-empty { opacity: .55; }
.filter-option.is-empty:hover, .nav-flyout a.is-empty:hover { opacity: .9; }

/* Tipos de producto: se despliegan debajo de su categoría en el panel de filtros. */
.catalog-sidebar .filter-types { display: grid; gap: 6px; margin: -2px 0 8px 16px; padding: 4px 0 2px 12px; border-left: 2px solid #fa5a0b66; }
.catalog-sidebar .filter-types[hidden] { display: none; }
.catalog-sidebar .filter-option.filter-type { min-height: 0; padding-block: 8px; font-size: .92em; background: #101315; }
.catalog-sidebar .filter-option.filter-type .filter-dot { flex: none; width: 7px; height: 7px; margin: 0 4px; border-radius: 50%; background: var(--orange); }
.catalog-sidebar .filter-option.filter-type.is-active { border-color: var(--orange); }

/* Categorías con subcategorías (tipos): flecha hacia abajo; hacia arriba cuando están desplegadas. */
.catalog-sidebar .filter-option.has-types .filter-check { opacity: 1; transform: rotate(90deg); stroke: #aeb3b8; transition: transform .2s ease, opacity .15s ease; }
.catalog-sidebar .filter-option.has-types.is-active .filter-check, .catalog-sidebar .filter-option.has-types:has(input:checked) .filter-check { transform: rotate(-90deg); stroke: #fff; }

/* Redes sociales en la columna izquierda del pie de página. */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { --c: var(--orange); display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--c) 45%, #2a2f33); border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #111416); transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.footer-social a:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, #111416); transform: translateY(-2px); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 30%, transparent); }
.footer-social .is-ig { --c: #E4405F; }
.footer-social .is-ig svg { stroke: url(#absa-ig-grad); }
.footer-social .is-fb { --c: #1877F2; }
.footer-social .is-wa { --c: #25D366; }
.footer-social svg { width: 19px; height: 19px; }
@media (max-width: 700px) { .footer-social { grid-column: 1 / -1; margin-top: 12px; } }

/* Dirección en la columna izquierda del pie de página. */

/* WhatsApp flotante (abajo a la derecha): abre un panel con los tres números. */
.wa-float { position: fixed; z-index: 55; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float-toggle { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(160deg, #2fe074, #1ba655); color: #fff; box-shadow: 0 8px 22px #0009, 0 0 0 0 #25d36680; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; animation: wa-pulse 2.8s ease-out 1.2s 3; }
.wa-float-toggle:hover { transform: scale(1.06); }
.wa-float-toggle svg { width: 30px; height: 30px; }
.wa-float.is-open .wa-float-toggle { animation: none; background: linear-gradient(160deg, #3a3f44, #1c1f22); }
.wa-float-panel { width: min(300px, calc(100vw - 36px)); padding: 14px; border: 1px solid #25d36666; border-radius: 14px; background: #0f1214f2; box-shadow: 0 18px 40px #000b; backdrop-filter: blur(6px); }
.wa-float-panel[hidden] { display: none; }
.wa-float-title { margin: 0 0 10px; color: #aeb3b8; font-size: 12px; letter-spacing: .7px; text-transform: uppercase; }
.wa-float-panel a { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border: 1px solid #25d36655; border-radius: 10px; background: #0b1a11; color: #fff; font-weight: bold; font-size: 15px; transition: border-color .2s ease, background-color .2s ease; }
.wa-float-panel a:hover { border-color: #25d366; background: #0f2a1a; }
.wa-float-panel a svg { flex: none; width: 22px; height: 22px; color: #25d366; }
@keyframes wa-pulse { 0% { box-shadow: 0 8px 22px #0009, 0 0 0 0 #25d36699; } 70% { box-shadow: 0 8px 22px #0009, 0 0 0 16px #25d36600; } 100% { box-shadow: 0 8px 22px #0009, 0 0 0 0 #25d36600; } }
@media (prefers-reduced-motion: reduce) { .wa-float-toggle { animation: none; } }

/* Entrada directa al cotizador: usa el mismo panel que el resto del sitio. */
.absa-quote-page { padding-block: 48px; min-height: 360px; }
.absa-quote-entry { max-width: 760px; }
.absa-quote-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
