/* ==========================================================================
   BOREMEX — Sistema de diseño alineado a boremex.com
   Catálogo digital de Bombas de Dirección Hidráulica y Cremalleras
   ========================================================================== */

:root {
  /* --- Color: paleta BOREMEX web / logo oficial --- */
  --brand-blue: #39a0da;
  --brand-blue-strong: #56b9f0;
  --brand-blue-deep: #0876ae;
  --brand-blue-soft: rgba(55, 160, 220, 0.15);
  --brand-blue-line: rgba(55, 160, 220, 0.34);
  --brand-red: #e5272f;

  --ink-900: #070a0f; /* fondo base */
  --ink-850: #0b1118;
  --ink-800: #101922; /* paneles / tarjetas */
  --ink-750: #14202b;
  --ink-700: #203142; /* bordes, divisores */
  --ink-600: #2d465b; /* bordes hover / activos */
  --blueprint: var(--brand-blue);
  --blueprint-soft: var(--brand-blue-soft);
  --blueprint-line: var(--brand-blue-line);
  --hydraulic: var(--brand-blue-deep);
  --hydraulic-strong: var(--brand-blue-strong);
  --hydraulic-soft: var(--brand-blue-soft);
  --hydraulic-line: var(--brand-blue-line);
  --ok: #25d366;
  --ok-soft: rgba(37, 211, 102, 0.14);
  --paper: #ffffff; /* texto alto contraste */
  --steel-mist: #cbd6e2; /* texto secundario */
  --steel-mist-dim: #7f91a3;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 20px 48px rgba(1, 9, 16, 0.34);
  --shadow-pop: 0 28px 70px rgba(1, 9, 16, 0.48);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-mono: "Roboto Mono", monospace;

  --maxw: 1320px;
  --ease: cubic-bezier(0.16, 0.84, 0.36, 1);
}

@media (prefers-color-scheme: light) {
  :root {
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}
input,
select {
  font-family: inherit;
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--brand-blue);
  color: #001421;
}

:focus-visible {
  outline: 2px solid var(--hydraulic-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Textura de fondo: plano técnico (blueprint grid + ticks) --- */
.blueprint-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ink-700) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-700) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}
.noise-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(55, 160, 220, 0.3),
      transparent 38%
    ),
    radial-gradient(
      circle at 86% 78%,
      rgba(255, 255, 255, 0.08),
      transparent 42%
    );
}

/* ==========================================================================
   Tipografía
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hydraulic-strong);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--hydraulic-strong);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.05;
}
h3 {
  font-size: 1.3rem;
}
p {
  color: var(--steel-mist);
  margin: 0;
}
.lede {
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 560px;
}
.accent {
  color: var(--hydraulic-strong);
}
.accent-blue {
  color: var(--blueprint);
}
mark {
  background: var(--hydraulic-soft);
  color: var(--hydraulic-strong);
  padding: 0 0.15em;
  border-radius: 3px;
}

/* ==========================================================================
   Botones / chips
   ========================================================================== */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 24px;
  border-radius: 999px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.96);
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand-blue-strong),
    var(--brand-blue-deep)
  );
  color: #fff;
  box-shadow: 0 14px 30px rgba(55, 160, 220, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(55, 160, 220, 0.42);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--ink-600);
  color: var(--paper);
}
.btn-outline:hover {
  border-color: var(--blueprint);
  color: var(--blueprint);
  background: var(--blueprint-soft);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-700);
  color: var(--steel-mist);
}
.btn-ghost:hover {
  color: var(--paper);
  border-color: var(--ink-600);
}
.btn-wa {
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid rgba(95, 191, 139, 0.35);
}
.btn-wa:hover {
  transform: translateY(-2px);
  background: rgba(95, 191, 139, 0.22);
}
.btn-icon {
  padding: 11px;
  border-radius: 50%;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink-700);
  background: var(--ink-800);
  color: var(--steel-mist);
  cursor: pointer;
  transition: 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip:hover {
  border-color: var(--blueprint-line);
  color: var(--paper);
}
.chip.active {
  background: var(--hydraulic-soft);
  border-color: var(--hydraulic-line);
  color: var(--hydraulic-strong);
}
.chip .count {
  opacity: 0.6;
  font-size: 0.72rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--blueprint-soft);
  color: var(--blueprint);
  border: 1px solid var(--blueprint-line);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 15, 0.74);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--ink-700);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(7, 10, 15, 0.94);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.brand-copy small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--steel-mist-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 6px;
  margin-right: auto;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel-mist);
  transition: 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover {
  color: var(--paper);
}
.nav-links a.active {
  color: var(--paper);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--hydraulic-strong);
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--steel-mist-dim);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.search-trigger:hover {
  border-color: var(--blueprint-line);
  color: var(--steel-mist);
}
.kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  border: 1px solid var(--ink-600);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--steel-mist-dim);
}
.nav-burger {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .brand-copy {
    display: none;
  }
  .nav-burger {
    display: block;
  }
  .search-trigger span:last-child {
    display: none;
  }
}

/* ==========================================================================
   Home — Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 60px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-copy h1 {
  margin-bottom: 20px;
}
.hero-copy h1 .line {
  display: block;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.finder {
  margin-top: 8px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.finder svg {
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--steel-mist-dim);
}
.finder input {
  flex: 1;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 1rem;
  padding: 14px 4px;
  outline: none;
}
.finder input::placeholder {
  color: var(--steel-mist-dim);
}
.finder .finder-scan {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hydraulic-strong);
  opacity: 0;
  transition: opacity 0.2s;
}
.finder.is-scanning .finder-scan {
  opacity: 1;
  animation: scan 1.1s linear infinite;
}
@keyframes scan {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

.finder-results {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 4px;
}
.finder-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  transition: 0.2s var(--ease);
  opacity: 0;
  transform: translateY(6px);
  animation: popIn 0.4s var(--ease) forwards;
}
@keyframes popIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.finder-result:hover {
  border-color: var(--hydraulic-line);
  background: var(--hydraulic-soft);
}
.finder-result img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #10141a;
  border-radius: 6px;
  padding: 3px;
}
.finder-result .code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--hydraulic-strong);
}
.finder-result .fit {
  font-size: 0.82rem;
  color: var(--steel-mist);
}
.finder-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--steel-mist-dim);
  min-height: 16px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--paper);
}
.hero-stat span {
  font-size: 0.8rem;
  color: var(--steel-mist-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* hero technical illustration */
.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.part-drift {
  animation: drift 7s ease-in-out infinite;
}
.part-drift-2 {
  animation: drift 8.5s ease-in-out infinite reverse;
}
.part-drift-3 {
  animation: drift 6s ease-in-out infinite;
}
@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
.dim-line {
  stroke: var(--blueprint);
  stroke-opacity: 0.55;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.dim-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--blueprint);
  opacity: 0.8;
}

/* ==========================================================================
   Marquee de armadoras
   ========================================================================== */
.marquee-wrap {
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
  background: var(--ink-850);
  overflow: hidden;
  padding: 18px 0;
}
.marquee {
  display: flex;
  gap: 46px;
  white-space: nowrap;
  animation: scrollx 38s linear infinite;
}
.marquee span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-mist-dim);
}
.marquee span b {
  color: var(--hydraulic-strong);
  margin: 0 10px;
  font-weight: 400;
}
@keyframes scrollx {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section {
  padding: 88px 0;
}
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.stagger > * {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* Value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--hydraulic-line);
  box-shadow: var(--shadow-card);
}
.value-card .vi {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blueprint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blueprint);
  margin-bottom: 18px;
}
.value-card h3 {
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.95rem;
}

/* Catálogo entry cards */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.entry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  padding: 38px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.4s var(--ease);
}
.entry-card:hover {
  transform: translateY(-6px);
  border-color: var(--hydraulic-line);
}
.entry-card .entry-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transition: 0.5s var(--ease);
  filter: grayscale(0.3) contrast(1.1);
}
.entry-card:hover .entry-bg {
  opacity: 0.32;
  transform: scale(1.05);
}
.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--ink-800) 78%);
}
.entry-card .tag {
  align-self: flex-start;
  margin-bottom: auto;
  position: relative;
  z-index: 2;
}
.entry-card .entry-body {
  position: relative;
  z-index: 2;
}
.entry-card h2 {
  margin-bottom: 10px;
}
.entry-card p {
  margin-bottom: 20px;
}
.entry-stat-row {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel-mist);
}
.entry-stat-row b {
  color: var(--hydraulic-strong);
  font-size: 1.1rem;
  display: block;
  font-family: var(--font-display);
}

/* Proceso */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink-600) 0 8px,
    transparent 8px 16px
  );
  z-index: 0;
}
.proc-step {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  text-align: center;
}
.proc-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 1px solid var(--hydraulic-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--font-mono);
  color: var(--hydraulic-strong);
  font-size: 1.1rem;
}
.proc-step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.proc-step p {
  font-size: 0.92rem;
  max-width: 260px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink-700);
  padding: 56px 0 28px;
  background: var(--ink-850);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-mist-dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--steel-mist);
  padding: 5px 0;
  transition: 0.2s;
}
.footer-col a:hover {
  color: var(--hydraulic-strong);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ink-700);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--steel-mist-dim);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Catálogo (listado)
   ========================================================================== */
.catalog-hero {
  padding: 50px 0 38px;
  border-bottom: 1px solid var(--ink-700);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-mist-dim);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a:hover {
  color: var(--blueprint);
}
.catalog-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.catalog-hero h1 {
  max-width: 600px;
}
.catalog-stats-mini {
  display: flex;
  gap: 26px;
}
.catalog-stats-mini .hero-stat strong {
  font-size: 1.5rem;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  padding: 42px 0 100px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 90px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.filters h3 {
  font-size: 0.95rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel-mist);
}
.filter-block label {
  display: block;
  font-size: 0.78rem;
  color: var(--steel-mist-dim);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.filter-input {
  width: 100%;
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--paper);
  font-size: 0.92rem;
  outline: none;
  transition: 0.2s;
}
.filter-input:focus {
  border-color: var(--hydraulic-line);
}
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-divider {
  height: 1px;
  background: var(--ink-700);
}
.filters .btn-ghost {
  width: 100%;
  justify-content: center;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.active-filters .chip {
  background: var(--hydraulic-soft);
  border-color: var(--hydraulic-line);
  color: var(--hydraulic-strong);
}
.active-filters .chip svg {
  width: 11px;
  height: 11px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.toolbar .count {
  font-size: 0.95rem;
}
.toolbar .count strong {
  color: var(--hydraulic-strong);
  font-family: var(--font-display);
}
.toolbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sort-select {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  color: var(--paper);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px);
  animation: cardIn 0.5s var(--ease) forwards;
}
@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--hydraulic-line);
  box-shadow: var(--shadow-card);
}
.card-media {
  position: relative;
  background: #0e1117;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-700) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-700) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.12;
}
.card-media img {
  position: relative;
  z-index: 1;
  max-height: 100%;
  object-fit: contain;
  transition: 0.4s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.06);
}
.card-maker {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-code {
  font-family: var(--font-mono);
  color: var(--hydraulic-strong);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.fit-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fit-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--steel-mist);
  border-top: 1px dashed var(--ink-700);
  padding-top: 5px;
}
.fit-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.fit-more {
  font-size: 0.76rem;
  color: var(--steel-mist-dim);
  font-family: var(--font-mono);
}
.card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--blueprint);
  font-weight: 600;
  padding-top: 6px;
}
.card-cta svg {
  transition: 0.25s var(--ease);
}
.card:hover .card-cta svg {
  transform: translateX(4px);
}

.skeleton {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.skeleton .sk-media {
  aspect-ratio: 4/3;
  background: linear-gradient(
    110deg,
    var(--ink-800) 8%,
    var(--ink-750) 18%,
    var(--ink-800) 33%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.skeleton .sk-line {
  height: 12px;
  margin: 14px 18px;
  border-radius: 6px;
  background: linear-gradient(
    110deg,
    var(--ink-800) 8%,
    var(--ink-750) 18%,
    var(--ink-800) 33%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.sentinel {
  height: 1px;
}
.loading-row {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  color: var(--steel-mist-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  gap: 10px;
  align-items: center;
}
.spin {
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink-700);
  border-top-color: var(--hydraulic-strong);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--ink-700);
  border-radius: var(--radius-lg);
}
.empty-state svg {
  margin-bottom: 18px;
  color: var(--steel-mist-dim);
}
.empty-state h3 {
  margin-bottom: 8px;
}
.empty-state p {
  max-width: 380px;
  margin: 0 auto 22px;
}

/* ==========================================================================
   Drawer de ficha técnica
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 13, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.scrim.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  background: var(--ink-850);
  border-left: 1px solid var(--ink-700);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ink-700);
  position: sticky;
  top: 0;
  background: var(--ink-850);
  z-index: 2;
}
.drawer-head .tag {
  font-size: 0.7rem;
}
.drawer-close {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--paper);
  transition: 0.2s;
}
.drawer-close:hover {
  border-color: var(--hydraulic-line);
  color: var(--hydraulic-strong);
}

.gallery {
  padding: 22px;
}
.gallery-main {
  background: #0e1117;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-700) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-700) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.1;
}
.gallery-main img {
  position: relative;
  z-index: 1;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-thumbs img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #0e1117;
  border-radius: 8px;
  padding: 6px;
  border: 1px solid var(--ink-700);
  cursor: pointer;
  transition: 0.2s;
}
.gallery-thumbs img.active {
  border-color: var(--hydraulic-strong);
}

.drawer-body {
  padding: 0 22px 28px;
}
.drawer-code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--hydraulic-strong);
  margin-bottom: 4px;
}
.drawer-maker {
  font-size: 0.95rem;
  color: var(--steel-mist);
  margin-bottom: 22px;
}
.fit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.fit-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel-mist-dim);
  padding: 8px 10px;
  border-bottom: 1px solid var(--ink-700);
}
.fit-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--ink-700);
  color: var(--paper);
}
.fit-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.fit-table td.yr {
  font-family: var(--font-mono);
  color: var(--blueprint);
}

.drawer-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.drawer-actions .btn {
  flex: 1;
}
.copy-toast {
  font-size: 0.78rem;
  color: var(--ok);
  margin-top: 8px;
  opacity: 0;
  transition: 0.2s;
}
.copy-toast.show {
  opacity: 1;
}

/* ==========================================================================
   Buscador global (overlay)
   ========================================================================== */
.cmdk-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 13, 0.78);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.cmdk-scrim.open {
  opacity: 1;
  pointer-events: auto;
}
.cmdk {
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -12px);
  width: min(640px, 90vw);
  background: var(--ink-850);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  z-index: 301;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
}
.cmdk-scrim.open .cmdk {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.cmdk-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ink-700);
}
.cmdk-input-row svg {
  color: var(--steel-mist-dim);
  flex-shrink: 0;
}
.cmdk-input-row input {
  flex: 1;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 1.05rem;
  outline: none;
}
.cmdk-input-row .kbd {
  flex-shrink: 0;
}
.cmdk-results {
  overflow-y: auto;
  padding: 10px;
}
.cmdk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.15s;
}
.cmdk-item:hover,
.cmdk-item.sel {
  background: var(--hydraulic-soft);
}
.cmdk-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: #0e1117;
  border-radius: 6px;
  padding: 3px;
}
.cmdk-item .code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--hydraulic-strong);
}
.cmdk-item .fit {
  font-size: 0.8rem;
  color: var(--steel-mist);
}
.cmdk-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--steel-mist-dim);
  font-size: 0.9rem;
}
.cmdk-hint {
  padding: 12px 20px;
  border-top: 1px solid var(--ink-700);
  font-size: 0.74rem;
  color: var(--steel-mist-dim);
  font-family: var(--font-mono);
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   Toast / floating actions
   ========================================================================== */
.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 250;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.3s var(--ease);
  pointer-events: none;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.fab-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  background: var(--ok);
  color: #0c1f16;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(95, 191, 139, 0.35);
  transition: 0.25s var(--ease);
}
.fab-wa:hover {
  transform: scale(1.08);
}
.fab-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ok);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink-900);
  z-index: 400;
  transform: translateX(100%);
  transition: 0.35s var(--ease);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav a {
  padding: 16px 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--ink-700);
}
.mobile-nav-close {
  align-self: flex-end;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-shell {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .process::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0;
  }
  .section {
    padding: 60px 0;
  }
  .drawer {
    width: 100%;
  }
  .catalog-hero-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Ajuste visual BOREMEX web — menos industrial, más marca oficial
   ========================================================================== */
body {
  background:
    radial-gradient(circle at 15% 0%, rgba(55, 160, 220, 0.2), transparent 34%),
    radial-gradient(
      circle at 85% 8%,
      rgba(255, 255, 255, 0.07),
      transparent 28%
    ),
    var(--ink-900);
}
.brand img {
  width: 156px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.brand-copy {
  display: none;
}
.site-nav {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.nav-row {
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-links a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
}
.nav-links a.active::after {
  background: var(--brand-blue-strong);
}
.search-trigger,
.finder,
.filters,
.card,
.value-card,
.entry-card,
.cmdk,
.drawer,
.toast {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}
.search-trigger,
.finder,
.filters,
.value-card,
.entry-card,
.card,
.cmdk,
.drawer,
.finder-result,
.skeleton,
.login-card,
.admin-table-wrap,
.modal-box {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    ),
    var(--ink-800);
  border-color: rgba(55, 160, 220, 0.18);
}
.hero {
  padding: 88px 0 70px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 10, 15, 0.96) 0%,
      rgba(7, 10, 15, 0.82) 54%,
      rgba(7, 10, 15, 0.38) 100%
    ),
    url("../images/boremex-bg-prc.png") right center/auto 100% no-repeat;
}
.blueprint-field {
  background-image:
    linear-gradient(rgba(55, 160, 220, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 160, 220, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.55;
}
.hero-art {
  min-height: 390px;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.32));
}
.hero-art svg {
  display: none;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/boremex-car-banner.png") center/contain no-repeat;
  animation: floatHero 6s ease-in-out infinite;
}
.hero-art::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8%;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(55, 160, 220, 0.3),
    transparent 70%
  );
  filter: blur(8px);
}
@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.eyebrow {
  color: var(--brand-blue-strong);
  font-weight: 700;
}
.eyebrow::before {
  background: var(--brand-blue-strong);
}
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero-copy h1 {
  font-weight: 900;
  text-transform: none;
}
.lede {
  color: #dce6ef;
}
.accent,
.accent-blue {
  color: var(--brand-blue-strong);
}
.card-media {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(239, 248, 255, 0.88)
  );
}
.card-media::before,
.gallery-main::after {
  background-image:
    linear-gradient(rgba(55, 160, 220, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 160, 220, 0.13) 1px, transparent 1px);
}
.card-code,
.drawer-code,
.admin-code,
.cmdk-item .code,
.finder-result .code {
  color: var(--brand-blue-strong);
  font-weight: 700;
}
.tag {
  background: rgba(55, 160, 220, 0.14);
  color: #7ed3ff;
  border-color: rgba(55, 160, 220, 0.28);
  font-weight: 700;
}
.chip.active,
.active-filters .chip,
.admin-tab.active {
  background: rgba(55, 160, 220, 0.16);
  border-color: rgba(55, 160, 220, 0.36);
  color: var(--brand-blue-strong);
}
.value-card:hover,
.entry-card:hover,
.card:hover {
  border-color: rgba(55, 160, 220, 0.42);
}
.entry-card::before {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(7, 10, 15, 0.38) 35%,
    var(--ink-800) 86%
  );
}
.site-footer {
  background: #05070b;
}
.footer-brand img {
  width: 158px;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.gallery-main,
.gallery-thumbs img,
.cmdk-item img,
.finder-result img,
.admin-table img,
.photo-thumb {
  background: #eef7fd;
}
.filter-input {
  background: #07111a;
  border-color: rgba(55, 160, 220, 0.18);
}
.filter-input:focus {
  border-color: rgba(55, 160, 220, 0.55);
  box-shadow: 0 0 0 3px rgba(55, 160, 220, 0.1);
}
.mobile-nav {
  background: #05070b;
}
@media (max-width: 980px) {
  .brand img {
    width: 138px;
    max-height: 42px;
  }
  .search-trigger span:first-of-type {
    display: none;
  }
}
@media (max-width: 1080px) {
  .hero {
    background:
      radial-gradient(
        circle at 20% 0%,
        rgba(55, 160, 220, 0.22),
        transparent 42%
      ),
      var(--ink-900);
  }
}

/* ==========================================================================
   BOREMEX v3 — identidad azul, catálogo premium y sin acentos amarillos
   ========================================================================== */
:root {
  --brand-blue: #39a0da;
  --brand-blue-strong: #56b9f0;
  --brand-blue-deep: #0876ae;
  --brand-blue-ink: #041420;
  --brand-blue-soft: rgba(57, 160, 218, 0.15);
  --brand-blue-line: rgba(57, 160, 218, 0.34);
}
body {
  background:
    radial-gradient(
      circle at 10% -8%,
      rgba(57, 160, 218, 0.28),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(57, 160, 218, 0.16),
      transparent 28%
    ),
    linear-gradient(180deg, #05080d 0%, #07111a 46%, #05070b 100%);
}
.btn-primary,
.btn-wa {
  background: linear-gradient(
    135deg,
    var(--brand-blue-strong),
    var(--brand-blue-deep)
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(57, 160, 218, 0.24);
}
.btn-primary:hover,
.btn-wa:hover {
  box-shadow: 0 18px 42px rgba(57, 160, 218, 0.38);
}
.fab-wa {
  background: linear-gradient(
    135deg,
    var(--brand-blue-strong),
    var(--brand-blue-deep)
  );
  color: #fff;
  box-shadow: 0 16px 36px rgba(57, 160, 218, 0.36);
}
.fab-wa::before {
  border-color: var(--brand-blue-strong);
}
.card {
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    ),
    #0b121b;
  border-color: rgba(57, 160, 218, 0.18);
  position: relative;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-blue-strong),
    rgba(255, 255, 255, 0.72),
    var(--brand-blue-deep)
  );
  opacity: 0.78;
  z-index: 2;
}
.card:hover {
  border-color: rgba(57, 160, 218, 0.58);
  box-shadow:
    0 24px 54px rgba(1, 12, 22, 0.42),
    0 0 0 1px rgba(57, 160, 218, 0.08) inset;
}
.card-media {
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(57, 160, 218, 0.2),
      transparent 45%
    ),
    linear-gradient(180deg, #ffffff 0%, #f3fafe 100%);
  margin: 12px 12px 0;
  border-radius: 18px;
  aspect-ratio: 1.18/1;
  border: 1px solid rgba(57, 160, 218, 0.18);
}
.card-media::after {
  background-image:
    linear-gradient(rgba(57, 160, 218, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 160, 218, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.45;
}
.card-maker {
  top: 14px;
  left: 14px;
  box-shadow: 0 8px 20px rgba(7, 30, 48, 0.14);
  backdrop-filter: blur(6px);
}
.card-body {
  padding: 18px 20px 20px;
  gap: 12px;
}
.card-code {
  font-size: 1.05rem;
  color: #7ed3ff;
  letter-spacing: 0.03em;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #bfeaff;
  background: rgba(57, 160, 218, 0.1);
  border: 1px solid rgba(57, 160, 218, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
}
.fit-list {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(57, 160, 218, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
}
.fit-row {
  border-top: 1px solid rgba(57, 160, 218, 0.13);
  font-size: 0.84rem;
}
.fit-more {
  color: #8fb3cc;
}
.card-cta {
  color: #9cddff;
  border-top: 1px solid rgba(57, 160, 218, 0.14);
  padding-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
}
.catalog-hero {
  background:
    radial-gradient(
      circle at 82% 0%,
      rgba(57, 160, 218, 0.22),
      transparent 32%
    ),
    linear-gradient(180deg, rgba(57, 160, 218, 0.055), rgba(255, 255, 255, 0));
}
.filters {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.025)
    ),
    #08111a;
  border-color: rgba(57, 160, 218, 0.18);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}
.filter-input,
.sort-select {
  background: #06101a;
  border-color: rgba(57, 160, 218, 0.2);
}
.filter-input:focus,
.sort-select:focus {
  border-color: rgba(57, 160, 218, 0.6);
  box-shadow: 0 0 0 3px rgba(57, 160, 218, 0.12);
}
.chip {
  background: #09141f;
  border-color: rgba(57, 160, 218, 0.16);
}
.chip:hover {
  border-color: rgba(57, 160, 218, 0.42);
  color: #fff;
}
.drawer {
  background: linear-gradient(180deg, #07111a, #05080d);
  border-left-color: rgba(57, 160, 218, 0.28);
}
.drawer-head {
  background: rgba(5, 8, 13, 0.92);
  border-bottom-color: rgba(57, 160, 218, 0.18);
  backdrop-filter: blur(14px);
}
.drawer-code {
  font-size: 1.8rem;
  color: #8ed9ff;
}
.drawer-maker {
  background: rgba(57, 160, 218, 0.1);
  border: 1px solid rgba(57, 160, 218, 0.18);
  padding: 10px 12px;
  border-radius: 12px;
  color: #dceeff;
}
.gallery-main {
  background: linear-gradient(180deg, #fff, #eff8fe);
  border: 1px solid rgba(57, 160, 218, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}
.gallery-thumbs img {
  border-color: rgba(57, 160, 218, 0.16);
}
.fit-table {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(57, 160, 218, 0.16);
}
.fit-table th {
  background: rgba(57, 160, 218, 0.08);
  color: #beeaff;
  border-bottom-color: rgba(57, 160, 218, 0.16);
}
.fit-table td {
  border-bottom-color: rgba(57, 160, 218, 0.1);
}
.fit-table tr:nth-child(even) td {
  background: rgba(57, 160, 218, 0.035);
}
.fit-table td.yr {
  color: #9dddff;
}
.entry-card {
  border-color: rgba(57, 160, 218, 0.2);
}
.entry-card:hover {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}
.value-card .vi,
.proc-num {
  background: rgba(57, 160, 218, 0.12);
  color: #8ed9ff;
  border-color: rgba(57, 160, 218, 0.22);
}
mark,
.tag {
  background: rgba(57, 160, 218, 0.14) !important;
  color: #8ed9ff !important;
  border-color: rgba(57, 160, 218, 0.28) !important;
}
/* Bloque preventivo: cualquier componente heredado de advertencia se mantiene azul, no amarillo */
.warning,
.alert-warning,
.badge-warning,
.yellow,
.amarillo {
  background: rgba(57, 160, 218, 0.12) !important;
  border-color: rgba(57, 160, 218, 0.28) !important;
  color: #8ed9ff !important;
}
@media (max-width: 680px) {
  .card-media {
    aspect-ratio: 1.35/1;
  }
  .toolbar-actions {
    width: 100%;
  }
  .toolbar-actions .btn {
    width: 100%;
  }
}
.drawer-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(57, 160, 218, 0.1);
  border: 1px solid rgba(57, 160, 218, 0.18);
  color: #bfeaff;
  font-size: 0.86rem;
}

/* ==========================================================================
   BOREMEX v3.3 — catálogo premium automotriz con animaciones
   Aplicado a catalogo_sp.html y catalogo_cremalleras.html
   ========================================================================== */
:root {
  --maxw: 1460px;
  --electric-blue: #0a84ff;
  --electric-blue-2: #1cb7ff;
  --deep-panel: #07101a;
  --deep-panel-2: #0b1622;
  --line-blue: rgba(28, 183, 255, 0.34);
  --glass-blue: rgba(28, 183, 255, 0.1);
}

body {
  background:
    radial-gradient(
      circle at 10% -12%,
      rgba(12, 132, 255, 0.28),
      transparent 28%
    ),
    radial-gradient(
      circle at 86% 4%,
      rgba(28, 183, 255, 0.18),
      transparent 32%
    ),
    linear-gradient(180deg, #03070d 0%, #07111b 42%, #05080e 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(28, 183, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 183, 255, 0.055) 1px, transparent 1px),
    radial-gradient(
      circle at 20% 20%,
      rgba(28, 183, 255, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 78% 12%,
      rgba(10, 132, 255, 0.14),
      transparent 26%
    );
  background-size:
    56px 56px,
    56px 56px,
    100% 100%,
    100% 100%;
  opacity: 0.72;
}
body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 55vw;
  height: 40vh;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(28, 183, 255, 0.05) 45%,
    rgba(28, 183, 255, 0.28) 49%,
    rgba(28, 183, 255, 0.04) 54%,
    transparent 100%
  );
  filter: blur(0.2px);
  transform: rotate(-9deg);
  animation: bgSweep 10s linear infinite;
}
@keyframes bgSweep {
  0% {
    transform: translateX(30vw) rotate(-9deg);
    opacity: 0.15;
  }
  40% {
    opacity: 0.55;
  }
  100% {
    transform: translateX(-85vw) rotate(-9deg);
    opacity: 0.12;
  }
}

.site-nav {
  background: rgba(2, 6, 12, 0.88);
  border-bottom: 1px solid rgba(28, 183, 255, 0.16);
  backdrop-filter: blur(18px);
}
.site-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(28, 183, 255, 0.72),
    transparent
  );
  opacity: 0.7;
}
.nav-links a {
  position: relative;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.nav-links a.active {
  color: #fff;
  text-shadow: 0 0 18px rgba(28, 183, 255, 0.44);
}
.nav-links a.active::after {
  height: 3px;
  box-shadow: 0 0 18px rgba(28, 183, 255, 0.75);
}
.search-trigger {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(28, 183, 255, 0.24);
}
.search-trigger:hover {
  border-color: rgba(28, 183, 255, 0.54);
  box-shadow:
    0 0 0 4px rgba(28, 183, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.3);
}

.catalog-hero-premium {
  position: relative;
  overflow: hidden;
  padding: 34px 0 0;
  border-bottom: 1px solid rgba(28, 183, 255, 0.12);
  background: linear-gradient(
    90deg,
    rgba(3, 7, 13, 0.98) 0%,
    rgba(5, 13, 22, 0.92) 48%,
    rgba(7, 22, 37, 0.74) 100%
  );
}
.catalog-hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28, 183, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(28, 183, 255, 0.055) 1px, transparent 1px),
    radial-gradient(
      circle at 84% 45%,
      rgba(28, 183, 255, 0.22),
      transparent 28%
    );
  background-size:
    52px 52px,
    52px 52px,
    100% 100%;
  opacity: 0.58;
}
.catalog-hero-premium::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 12%;
  width: 55%;
  height: 80%;
  pointer-events: none;
  background:
    linear-gradient(
      130deg,
      transparent 10%,
      rgba(28, 183, 255, 0.08) 43%,
      rgba(28, 183, 255, 0.65) 46%,
      rgba(28, 183, 255, 0.08) 50%,
      transparent 70%
    ),
    linear-gradient(
      132deg,
      transparent 38%,
      rgba(10, 132, 255, 0.38) 40%,
      transparent 45%
    );
  transform: skewX(-12deg);
  filter: drop-shadow(0 0 26px rgba(28, 183, 255, 0.42));
  animation: heroStreak 6.8s ease-in-out infinite alternate;
}
@keyframes heroStreak {
  0% {
    transform: translateX(2%) skewX(-12deg);
    opacity: 0.55;
  }
  100% {
    transform: translateX(-3%) skewX(-12deg);
    opacity: 0.95;
  }
}
.catalog-breadcrumb {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  color: rgba(204, 220, 236, 0.68);
}
.catalog-breadcrumb strong {
  color: #38b7ff;
  font-weight: 700;
}
.catalog-breadcrumb a {
  color: #7fcfff;
}
.catalog-hero-premium .catalog-hero-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(400px, 0.84fr) minmax(460px, 1.16fr);
  align-items: center;
  gap: 34px;
  min-height: 370px;
}
.catalog-hero-copy {
  padding: 10px 0 44px;
}
.catalog-hero-copy .eyebrow {
  margin-bottom: 16px;
  color: #79d8ff;
  text-shadow: 0 0 18px rgba(28, 183, 255, 0.45);
  letter-spacing: 0.1em;
}
.catalog-hero-copy .eyebrow::before {
  box-shadow: 0 0 16px rgba(28, 183, 255, 0.8);
}
.catalog-hero-copy h1 {
  margin: 0 0 18px;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 790px;
}
.catalog-hero-copy h1 span {
  display: block;
  color: #fff;
  font-size: clamp(2.6rem, 4.8vw, 5.65rem);
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.46);
}
.catalog-hero-copy h1 strong {
  display: block;
  font-size: clamp(2.35rem, 4.65vw, 5.35rem);
  font-weight: 900;
  background: linear-gradient(180deg, #42c5ff 0%, #0a84ff 58%, #055cb7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(10, 132, 255, 0.22);
}
.catalog-hero-copy h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #21c3ff, #0a84ff, transparent);
  box-shadow: 0 0 20px rgba(28, 183, 255, 0.72);
}
.catalog-hero-copy .lede {
  max-width: 620px;
  color: #bccbdd;
  font-size: 1.02rem;
  line-height: 1.68;
  margin-bottom: 22px;
}
.catalog-stats-mini {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.catalog-stats-mini .hero-stat {
  min-width: 168px;
  display: grid;
  grid-template-columns: 42px auto;
  column-gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.025)
  );
  border: 1px solid rgba(28, 183, 255, 0.22);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.catalog-stats-mini .hero-stat .stat-icon {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #26bfff;
  background: rgba(28, 183, 255, 0.1);
  border: 1px solid rgba(28, 183, 255, 0.25);
  box-shadow: inset 0 0 18px rgba(28, 183, 255, 0.12);
}
.catalog-stats-mini .hero-stat svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.catalog-stats-mini .hero-stat strong {
  font-size: 1.78rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(28, 183, 255, 0.26);
}
.catalog-stats-mini .hero-stat span:last-child {
  font-size: 0.76rem;
  color: #b3c0cf;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-hero-visual {
  position: relative;
  height: 370px;
  min-width: 0;
  isolation: isolate;
}
.catalog-hero-visual .tech-grid {
  position: absolute;
  inset: 5% 4% 10% 0;
  background-image:
    linear-gradient(rgba(28, 183, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 183, 255, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 72%);
  opacity: 0.78;
  animation: techDrift 9s linear infinite;
}
@keyframes techDrift {
  to {
    background-position: 34px 34px;
  }
}
.hero-product {
  position: absolute;
  z-index: 4;
  right: 5%;
  bottom: 17%;
  object-fit: contain;
  filter: drop-shadow(0 30px 32px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 18px rgba(28, 183, 255, 0.18));
  animation: productFloat 5.5s ease-in-out infinite;
}
.hero-product-pump {
  max-height: 320px;
  max-width: 48%;
}
.hero-product-rack {
  max-width: 88%;
  right: 2%;
  bottom: 35%;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 14px rgba(28, 183, 255, 0.16));
}
@keyframes productFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0.001deg);
  }
  50% {
    transform: translateY(-11px) rotate(0.001deg);
  }
}
.orbit {
  position: absolute;
  z-index: 1;
  right: 6%;
  bottom: 7%;
  border-radius: 50%;
  border: 1px solid rgba(28, 183, 255, 0.34);
  box-shadow:
    0 0 28px rgba(28, 183, 255, 0.28),
    inset 0 0 18px rgba(28, 183, 255, 0.12);
  transform: perspective(360px) rotateX(68deg);
}
.orbit-a {
  width: 410px;
  height: 148px;
  animation: orbitPulse 3.8s ease-in-out infinite;
}
.orbit-b {
  width: 280px;
  height: 94px;
  right: 12%;
  bottom: 13%;
  animation: orbitPulse 3.8s ease-in-out infinite reverse;
}
.line-cr .orbit-a {
  width: 620px;
  right: 1%;
}
.line-cr .orbit-b {
  width: 470px;
  right: 7%;
}
@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.55;
    filter: blur(0);
  }
  50% {
    opacity: 1;
    filter: blur(0.4px);
  }
}
.speed-line {
  position: absolute;
  z-index: 0;
  right: -8%;
  width: 52%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #18bdff, transparent);
  box-shadow: 0 0 20px rgba(28, 183, 255, 0.9);
  transform: rotate(-34deg);
  opacity: 0.88;
}
.speed-line-a {
  top: 22%;
  animation: speedA 4.4s ease-in-out infinite;
}
.speed-line-b {
  top: 44%;
  right: -1%;
  width: 38%;
  animation: speedA 5.3s ease-in-out infinite 0.45s;
}
@keyframes speedA {
  0%,
  100% {
    transform: translateX(0) rotate(-34deg);
    opacity: 0.38;
  }
  50% {
    transform: translateX(-32px) rotate(-34deg);
    opacity: 0.95;
  }
}

.catalog-shell {
  grid-template-columns: 340px 1fr;
  gap: 30px;
  padding: 24px 0 90px;
}
.filters {
  position: sticky;
  top: 94px;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(7, 16, 26, 0.86);
  border: 1px solid rgba(28, 183, 255, 0.2);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}
.filters::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #1cb7ff, transparent);
  box-shadow: 0 0 22px rgba(28, 183, 255, 0.78);
  animation: edgeGlow 3.8s ease-in-out infinite;
}
.filters::after {
  content: "";
  position: absolute;
  inset: -20% -60% auto auto;
  width: 80%;
  height: 44%;
  background: linear-gradient(
    130deg,
    transparent,
    rgba(28, 183, 255, 0.12),
    transparent
  );
  transform: rotate(20deg);
  animation: panelSweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes edgeGlow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
@keyframes panelSweep {
  0%,
  100% {
    transform: translateX(0) rotate(20deg);
    opacity: 0.2;
  }
  50% {
    transform: translateX(-18%) rotate(20deg);
    opacity: 0.6;
  }
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.filter-head h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
}
.filter-head h3::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: linear-gradient(180deg, #62d7ff, #0a84ff);
  clip-path: polygon(8% 10%, 92% 10%, 60% 50%, 60% 88%, 40% 88%, 40% 50%);
  filter: drop-shadow(0 0 10px rgba(28, 183, 255, 0.7));
}
.filter-clear-link {
  border: 0;
  background: transparent;
  color: #52c8ff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 5px 0;
}
.filter-clear-link:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(28, 183, 255, 0.65);
}
.filter-block {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.filter-block label {
  color: #bfcbda;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.filter-divider {
  position: relative;
  z-index: 1;
  border-color: rgba(28, 183, 255, 0.1);
  margin: 18px 0;
}
.filter-input,
.sort-select {
  height: 42px;
  border-radius: 10px;
  background: rgba(2, 8, 15, 0.72);
  border: 1px solid rgba(28, 183, 255, 0.2);
  color: #e8f5ff;
  transition: 0.25s var(--ease);
}
.filter-input::placeholder {
  color: #71849b;
}
.filter-input:hover,
.sort-select:hover {
  border-color: rgba(28, 183, 255, 0.38);
}
.chip-cloud {
  gap: 8px;
}
.chip {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(28, 183, 255, 0.16);
  color: #ddebfa;
  min-height: 33px;
  transition: 0.25s var(--ease);
}
.chip .count {
  background: rgba(28, 183, 255, 0.12);
  color: #7ed6ff;
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 3px;
}
.chip:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(28, 183, 255, 0.06);
}
.chip.active {
  background: linear-gradient(
    135deg,
    rgba(28, 183, 255, 0.24),
    rgba(10, 132, 255, 0.12)
  );
  border-color: rgba(28, 183, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(28, 183, 255, 0.08),
    inset 0 0 18px rgba(28, 183, 255, 0.08);
}

.product-results {
  min-width: 0;
}
.toolbar {
  margin-bottom: 18px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(28, 183, 255, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(7, 16, 26, 0.7);
  backdrop-filter: blur(12px);
}
.toolbar .count {
  color: #c4d3e4;
}
.toolbar .count strong {
  font-size: 1.12rem;
  color: #1cb7ff;
  text-shadow: 0 0 16px rgba(28, 183, 255, 0.42);
}
.toolbar-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #9aabbd;
}
.toolbar-sort .sort-select {
  min-width: 170px;
  height: 38px;
  padding: 0 12px;
}
.grid {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.product-card {
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(8, 17, 27, 0.96);
  border: 1px solid rgba(28, 183, 255, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition:
    transform 0.38s var(--ease),
    border-color 0.38s var(--ease),
    box-shadow 0.38s var(--ease);
  will-change: transform;
}
.product-card::before {
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(28, 183, 255, 0.95),
    rgba(255, 255, 255, 0.58),
    rgba(10, 132, 255, 0.42)
  );
  opacity: 0.84;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(28, 183, 255, 0.2),
    transparent 32%
  );
  opacity: 0;
  transition: 0.35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.product-card:hover {
  transform: translateY(-9px);
  border-color: rgba(28, 183, 255, 0.58);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(28, 183, 255, 0.16),
    0 0 34px rgba(28, 183, 255, 0.18);
}
.product-card:hover::after {
  opacity: 1;
}
.card-media {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 1.35/1;
  background: linear-gradient(180deg, #f7fbff, #eaf6ff);
  border: 0;
  border-bottom: 1px solid rgba(28, 183, 255, 0.18);
  padding: 24px 18px 18px;
  position: relative;
}
.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 48%,
    rgba(28, 183, 255, 0.18),
    transparent 48%
  );
  opacity: 0.65;
  z-index: 0;
}
.card-media::after {
  background-size: 22px 22px;
  opacity: 0.32;
  z-index: 0;
}
.card-media img {
  z-index: 2;
  max-width: 96%;
  max-height: 92%;
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.18));
}
.product-card:hover .card-media img {
  transform: scale(1.07) translateY(-3px);
}
.card-scan {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0) 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}
.product-card:hover .card-scan {
  animation: cardScan 1.15s ease-out;
  opacity: 0.8;
}
@keyframes cardScan {
  to {
    transform: translateX(120%);
  }
}
.card-maker {
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 9px;
  background: linear-gradient(
    135deg,
    rgba(9, 80, 160, 0.92),
    rgba(5, 43, 86, 0.84)
  ) !important;
  border-color: rgba(112, 204, 255, 0.42) !important;
  color: #eaf8ff !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(28, 183, 255, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.maker-emblem {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.62rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
}
.card-favorite {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #73869b;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 52, 72, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: 0.25s var(--ease);
}
.product-card:hover .card-favorite {
  color: #0a84ff;
  transform: scale(1.06);
  background: #fff;
}
.card-body {
  position: relative;
  z-index: 1;
  padding: 17px 18px 18px;
  gap: 8px;
}
.card-code {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 0 14px rgba(28, 183, 255, 0.16);
}
.card-subtitle {
  margin-top: -5px;
  color: #1cb7ff;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
}
.card-meta {
  margin-top: 2px;
}
.card-badge {
  font-size: 0.66rem;
  padding: 4px 8px;
  background: rgba(28, 183, 255, 0.12);
  border-color: rgba(28, 183, 255, 0.24);
  color: #cfefff;
}
.fit-list {
  margin-top: 2px;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 48px;
}
.fit-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  padding: 2px 0;
  color: #c4d2e1;
  font-size: 0.78rem;
}
.fit-row em {
  font-style: normal;
  color: #91a5b9;
  white-space: nowrap;
}
.fit-more {
  font-size: 0.76rem;
  color: #77cfff;
  margin-top: 3px;
}
.card-cta {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(28, 183, 255, 0.22);
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    rgba(10, 132, 255, 0.3),
    rgba(10, 132, 255, 0.07)
  );
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 18px rgba(28, 183, 255, 0.07);
  transition: 0.28s var(--ease);
}
.product-card:hover .card-cta {
  background: linear-gradient(
    135deg,
    rgba(10, 132, 255, 0.58),
    rgba(28, 183, 255, 0.18)
  );
  border-color: rgba(28, 183, 255, 0.55);
  box-shadow:
    0 10px 25px rgba(10, 132, 255, 0.18),
    inset 0 0 20px rgba(28, 183, 255, 0.12);
}

.drawer {
  width: min(620px, 96vw);
  box-shadow: -22px 0 70px rgba(0, 0, 0, 0.5);
}
.drawer-head {
  padding: 18px 24px;
}
.drawer-body {
  padding: 0 24px 30px;
}
.gallery-main {
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fcff, #eaf7ff);
}
.fit-table {
  font-size: 0.86rem;
}

@media (max-width: 1120px) {
  .catalog-hero-premium .catalog-hero-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .catalog-hero-copy {
    padding-bottom: 10px;
  }
  .catalog-hero-visual {
    height: 280px;
  }
  .hero-product-pump {
    max-width: 36%;
    right: 30%;
  }
  .hero-product-rack {
    max-width: 86%;
    bottom: 38%;
    right: 7%;
  }
  .catalog-shell {
    grid-template-columns: 1fr;
  }
  .filters {
    position: relative;
    top: auto;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
@media (max-width: 760px) {
  .catalog-hero-premium {
    padding-top: 24px;
  }
  .catalog-hero-copy h1 span {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
  .catalog-hero-copy h1 strong {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
  }
  .catalog-hero-visual {
    height: 220px;
  }
  .hero-product-pump {
    max-width: 52%;
    right: 23%;
    bottom: 18%;
  }
  .hero-product-rack {
    max-width: 100%;
    right: 0;
    bottom: 40%;
  }
  .orbit-a {
    width: 300px;
  }
  .orbit-b {
    width: 210px;
  }
  .catalog-stats-mini .hero-stat {
    min-width: 145px;
  }
  .toolbar {
    align-items: flex-start;
  }
  .toolbar-sort {
    width: 100%;
    justify-content: space-between;
  }
  .toolbar-sort .sort-select {
    min-width: 190px;
  }
  .filters {
    padding: 16px;
  }
  .catalog-shell {
    padding-top: 18px;
  }
  .grid {
    gap: 16px;
  }
  .card-media {
    aspect-ratio: 1.42/1;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .catalog-stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .catalog-stats-mini .hero-stat {
    min-width: 0;
    padding: 13px;
  }
  .catalog-stats-mini .hero-stat strong {
    font-size: 1.35rem;
  }
  .catalog-hero-visual {
    height: 180px;
  }
  .hero-product-pump {
    max-width: 60%;
    right: 19%;
  }
  .catalog-shell {
    gap: 18px;
  }
  .filter-head {
    align-items: flex-start;
  }
  .toolbar-sort {
    display: block;
  }
  .toolbar-sort .sort-select {
    width: 100%;
    margin-top: 8px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card-code {
    font-size: 1.08rem;
  }
  .fit-row {
    font-size: 0.76rem;
  }
}

/* ========================================================================== 
   BOREMEX v3.4 — vista minimalista premium
   Estilo más limpio inspirado en el ejemplo enviado: menos brillo, más logo.
   ========================================================================== */
:root {
  --maxw: 1360px;
  --brand-blue: #2d9de0;
  --brand-blue-strong: #3ba9ed;
  --brand-blue-deep: #0b74b8;
  --brand-blue-soft: rgba(45, 157, 224, 0.12);
  --brand-blue-line: rgba(45, 157, 224, 0.28);
  --ink-900: #05080d;
  --ink-850: #080d14;
  --ink-800: #0c131c;
  --ink-750: #121b26;
  --ink-700: #1e2a37;
  --steel-mist: #d5dee8;
  --steel-mist-dim: #8d9aaa;
  --paper: #ffffff;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.26);
}

html,
body {
  background: #05080d !important;
}
body {
  background:
    radial-gradient(
      circle at 8% -10%,
      rgba(45, 157, 224, 0.16),
      transparent 31%
    ),
    radial-gradient(
      circle at 90% 0%,
      rgba(45, 157, 224, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, #05080d 0%, #08101a 46%, #05080d 100%) !important;
  color: var(--paper);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(45, 157, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 157, 224, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.42;
}
body::after {
  display: none !important;
}

/* Navegación sobria */
.site-nav {
  background: rgba(4, 7, 12, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px);
}
.site-nav::after {
  opacity: 0.28 !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 157, 224, 0.55),
    transparent
  ) !important;
}
.nav-row {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  gap: 30px;
}
.brand img {
  width: 146px !important;
  max-height: 46px !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}
.nav-links {
  gap: 12px;
}
.nav-links a {
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.045em !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 0 !important;
  padding: 11px 9px !important;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff !important;
}
.nav-links a.active::after {
  left: 9px !important;
  right: 9px !important;
  bottom: -14px !important;
  height: 2px !important;
  background: var(--brand-blue-strong) !important;
  box-shadow: 0 0 12px rgba(45, 157, 224, 0.45) !important;
}
.search-trigger {
  min-width: 250px;
  height: 40px;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  color: #b7c0cc !important;
  box-shadow: none !important;
}
.search-trigger:hover {
  border-color: rgba(45, 157, 224, 0.42) !important;
  box-shadow: none !important;
  color: #fff !important;
}
.search-trigger .kbd {
  display: none;
}
.btn-primary,
.btn-wa,
.fab-wa {
  background: linear-gradient(135deg, #3ba9ed, #0b74b8) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(45, 157, 224, 0.24) !important;
}
.btn-primary:hover,
.btn-wa:hover {
  box-shadow: 0 16px 34px rgba(45, 157, 224, 0.34) !important;
  transform: translateY(-1px) !important;
}

/* Home minimalista */
.hero {
  padding: 72px 0 66px !important;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 13, 0.98) 0%,
      rgba(8, 16, 26, 0.88) 50%,
      rgba(8, 16, 26, 0.54) 100%
    ),
    radial-gradient(
      circle at 79% 43%,
      rgba(45, 157, 224, 0.11),
      transparent 34%
    ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hero .blueprint-field {
  opacity: 0.18 !important;
  background-size: 64px 64px !important;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}
.hero .noise-veil {
  opacity: 0.45 !important;
  background: radial-gradient(
    circle at 82% 44%,
    rgba(45, 157, 224, 0.13),
    transparent 34%
  ) !important;
}
.hero-grid {
  grid-template-columns: minmax(420px, 0.86fr) minmax(420px, 1.14fr) !important;
  gap: 46px !important;
}
.hero-copy .eyebrow {
  color: var(--brand-blue-strong) !important;
  text-shadow: none !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 14px !important;
}
.hero-copy .eyebrow::before {
  background: var(--brand-blue-strong) !important;
  box-shadow: none !important;
}
.hero-copy h1 {
  font-size: clamp(3rem, 5.2vw, 5.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  margin-bottom: 18px !important;
  color: #fff !important;
  text-transform: none !important;
}
.hero-copy h1 .accent {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}
.hero-copy .lede {
  font-size: 1.05rem !important;
  line-height: 1.72 !important;
  color: #d5dee8 !important;
  max-width: 560px !important;
}
.finder {
  max-width: 560px;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}
.finder input {
  padding: 13px 4px !important;
  font-size: 0.95rem !important;
}
.finder-results {
  max-width: 560px;
}
.hero-actions {
  margin: 26px 0 24px !important;
}
.hero-actions .btn {
  border-radius: 7px !important;
  padding: 13px 18px !important;
  font-size: 0.9rem !important;
}
.hero-stats {
  gap: 0 !important;
  margin-top: 30px !important;
}
.hero-stats .hero-stat {
  min-width: 148px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stats .hero-stat:last-child {
  border-right: 0;
  margin-right: 0;
}
.hero-stats strong {
  color: var(--brand-blue-strong) !important;
  font-size: 1.85rem !important;
}
.hero-stats span {
  color: #bac5d1 !important;
  font-size: 0.72rem !important;
}
.hero-art {
  min-height: 380px !important;
  aspect-ratio: auto !important;
  filter: none !important;
}
.hero-art::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 56% 72%,
    rgba(45, 157, 224, 0.18),
    transparent 34%
  );
  animation: heroHalo 7s ease-in-out infinite !important;
}
.hero-art::after {
  content: "" !important;
  left: 16% !important;
  right: 16% !important;
  bottom: 13% !important;
  height: 34px !important;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.58),
    transparent 72%
  ) !important;
  filter: blur(10px) !important;
}
.hero-art svg {
  display: none !important;
}
.index-hero-product {
  position: absolute;
  right: 3%;
  top: 8%;
  width: min(560px, 96%);
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.52));
  animation: minimalFloat 6s ease-in-out infinite;
}
@keyframes minimalFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes heroHalo {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}
.marquee-wrap {
  background: #060b12 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  padding: 14px 0 !important;
}
.section {
  padding: 70px 0 !important;
}
.value-card,
.entry-card {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: none !important;
}
.value-card:hover,
.entry-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(45, 157, 224, 0.32) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
}
.entry-card {
  min-height: 360px !important;
}
.entry-card::before {
  background: linear-gradient(
    180deg,
    rgba(5, 8, 13, 0.12) 0%,
    rgba(5, 8, 13, 0.62) 42%,
    #08101a 100%
  ) !important;
}
.entry-card .entry-bg {
  opacity: 0.24 !important;
  filter: saturate(0.92) contrast(1.05) !important;
}

/* Hero de líneas: minimalista, cercano al ejemplo */
.catalog-hero-premium {
  padding: 34px 0 0 !important;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 13, 0.99) 0%,
      rgba(7, 12, 19, 0.92) 52%,
      rgba(22, 27, 33, 0.56) 100%
    ),
    radial-gradient(
      circle at 78% 54%,
      rgba(45, 157, 224, 0.11),
      transparent 30%
    ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
}
.catalog-hero-premium::before {
  opacity: 0.2 !important;
  background-image:
    linear-gradient(rgba(45, 157, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 157, 224, 0.07) 1px, transparent 1px) !important;
  background-size: 58px 58px !important;
  mask-image: linear-gradient(
    90deg,
    transparent 10%,
    #000 55%,
    transparent 100%
  );
}
.catalog-hero-premium::after {
  display: none !important;
}
.catalog-breadcrumb {
  margin-bottom: 22px !important;
  color: rgba(213, 222, 232, 0.7) !important;
  font-size: 0.82rem !important;
}
.catalog-breadcrumb a {
  color: #91a1b2 !important;
}
.catalog-breadcrumb strong {
  color: #9facba !important;
  font-weight: 500 !important;
}
.catalog-hero-premium .catalog-hero-row {
  grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1.1fr) !important;
  min-height: 338px !important;
  align-items: center !important;
  gap: 42px !important;
}
.catalog-hero-copy {
  padding: 8px 0 46px !important;
}
.catalog-hero-copy .eyebrow {
  display: none !important;
}
.catalog-hero-copy h1 {
  margin: 0 0 18px !important;
  text-transform: none !important;
  letter-spacing: -0.055em !important;
  line-height: 1.05 !important;
  max-width: 680px !important;
}
.catalog-hero-copy h1 span,
.catalog-hero-copy h1 strong {
  display: block !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: clamp(2.8rem, 4.75vw, 5rem) !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}
.catalog-hero-copy h1::after {
  width: 48px !important;
  height: 2px !important;
  margin-top: 18px !important;
  background: var(--brand-blue-strong) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.catalog-hero-copy .lede {
  max-width: 520px !important;
  color: #cad5df !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
  margin-bottom: 20px !important;
}
.catalog-stats-mini {
  gap: 0 !important;
  margin-top: 24px !important;
}
.catalog-stats-mini .hero-stat {
  min-width: 118px !important;
  display: block !important;
  padding: 0 28px 0 0 !important;
  margin-right: 28px !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.catalog-stats-mini .hero-stat:last-child {
  border-right: 0 !important;
  margin-right: 0 !important;
}
.catalog-stats-mini .hero-stat .stat-icon {
  display: none !important;
}
.catalog-stats-mini .hero-stat strong {
  display: block !important;
  color: var(--brand-blue-strong) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}
.catalog-stats-mini .hero-stat span:last-child {
  display: block !important;
  color: #b5c1ce !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.05em !important;
}
.catalog-hero-visual {
  height: 338px !important;
}
.catalog-hero-visual .tech-grid {
  opacity: 0.22 !important;
  background-size: 56px 56px !important;
  animation: none !important;
}
.speed-line,
.orbit {
  display: none !important;
}
.hero-product {
  animation: minimalFloat 6s ease-in-out infinite !important;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55)) !important;
}
.hero-product-pump {
  right: 9% !important;
  bottom: 11% !important;
  max-height: 305px !important;
  max-width: 52% !important;
}
.hero-product-rack {
  right: 3% !important;
  bottom: 30% !important;
  max-width: 92% !important;
}

/* Catálogo: filtros y tarjetas limpias */
.catalog-shell {
  grid-template-columns: 286px 1fr !important;
  gap: 40px !important;
  padding: 22px 0 88px !important;
}
.filters {
  top: 92px !important;
  border-radius: 6px !important;
  padding: 23px 22px !important;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.048),
      rgba(255, 255, 255, 0.022)
    ),
    #0a1119 !important;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.filters::before,
.filters::after {
  display: none !important;
}
.filter-head {
  margin-bottom: 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  padding-bottom: 18px;
}
.filter-head h3 {
  font-size: 0.86rem !important;
  letter-spacing: 0.05em !important;
  color: #fff !important;
}
.filter-head h3::before {
  width: 22px !important;
  height: 2px !important;
  background: var(--brand-blue-strong) !important;
  clip-path: none !important;
  filter: none !important;
  position: absolute;
  left: 0;
  bottom: -1px;
}
.filter-clear-link {
  color: var(--brand-blue-strong) !important;
  font-size: 0.76rem !important;
}
.filter-block {
  margin-bottom: 18px !important;
}
.filter-block label {
  font-size: 0.7rem !important;
  letter-spacing: 0.055em !important;
  color: #a7b3c0 !important;
}
.filter-input,
.sort-select {
  height: 40px !important;
  border-radius: 5px !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  color: #dde7f0 !important;
  box-shadow: none !important;
}
.filter-input:focus,
.sort-select:focus {
  border-color: rgba(45, 157, 224, 0.58) !important;
  box-shadow: 0 0 0 3px rgba(45, 157, 224, 0.1) !important;
}
.filter-divider {
  border-color: rgba(255, 255, 255, 0.075) !important;
  margin: 18px 0 !important;
}
.chip-cloud {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.chip {
  width: 100%;
  justify-content: space-between;
  min-height: 31px !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #d4dee8 !important;
  box-shadow: none !important;
  transform: none !important;
}
.chip:hover {
  transform: none !important;
  border-color: rgba(45, 157, 224, 0.38) !important;
  background: rgba(45, 157, 224, 0.07) !important;
}
.chip.active {
  background: rgba(45, 157, 224, 0.14) !important;
  border-color: rgba(45, 157, 224, 0.42) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.chip .count {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #b9c7d5 !important;
  border-radius: 999px !important;
  padding: 1px 8px !important;
  opacity: 1 !important;
}
.toolbar {
  padding: 0 !important;
  margin: 0 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.toolbar .count {
  font-size: 0.92rem !important;
  color: #d5dee8 !important;
}
.toolbar .count strong {
  font-size: 1rem !important;
  color: var(--brand-blue-strong) !important;
  text-shadow: none !important;
}
.toolbar-sort {
  font-size: 0.78rem !important;
  color: #a4b0be !important;
}
.toolbar-sort .sort-select {
  min-width: 180px !important;
  background: #0a1119 !important;
}
.grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 22px !important;
}
.product-card,
.card {
  border-radius: 8px !important;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.022)
    ),
    #0b1118 !important;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition:
    transform 0.26s var(--ease),
    border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease) !important;
}
.product-card::before,
.card::before {
  display: none !important;
}
.product-card::after {
  display: none !important;
}
.product-card:hover,
.card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(45, 157, 224, 0.4) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28) !important;
}
.card-media {
  margin: 8px !important;
  border-radius: 6px !important;
  aspect-ratio: 1.55/1 !important;
  background: linear-gradient(180deg, #fff, #f4f8fb) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 18px !important;
  overflow: hidden !important;
}
.card-media::before,
.card-media::after {
  display: none !important;
}
.card-media img {
  max-width: 94% !important;
  max-height: 94% !important;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.14)) !important;
  transition: transform 0.28s var(--ease) !important;
}
.product-card:hover .card-media img {
  transform: scale(1.035) !important;
}
.card-scan,
.card-favorite {
  display: none !important;
}
.card-maker {
  top: 16px !important;
  left: 16px !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.045em !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(45, 157, 224, 0.26) !important;
  color: var(--brand-blue-deep) !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px) !important;
}
.maker-emblem {
  display: none !important;
}
.card-body {
  padding: 4px 16px 16px !important;
  gap: 6px !important;
}
.card-code {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.01em !important;
  text-shadow: none !important;
}
.card-subtitle {
  margin-top: -3px !important;
  color: #aeb9c6 !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}
.card-meta {
  margin-top: 8px !important;
}
.card-badge {
  border-radius: 4px !important;
  padding: 3px 8px !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.025em !important;
  color: var(--brand-blue-strong) !important;
  background: rgba(45, 157, 224, 0.09) !important;
  border: 1px solid rgba(45, 157, 224, 0.28) !important;
}
.fit-list {
  min-height: 52px !important;
  margin-top: 10px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.fit-row {
  padding: 1px 0 !important;
  color: #c5d0da !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
}
.fit-row em {
  color: #8e9cad !important;
}
.fit-more {
  font-size: 0.73rem !important;
  color: var(--brand-blue-strong) !important;
}
.card-cta {
  margin-top: 12px !important;
  padding: 10px 12px !important;
  border-radius: 5px !important;
  border: 1px solid rgba(45, 157, 224, 0.28) !important;
  background: transparent !important;
  color: #ddeaf6 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.product-card:hover .card-cta {
  background: rgba(45, 157, 224, 0.1) !important;
  border-color: rgba(45, 157, 224, 0.48) !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* Drawer más sobrio para que combine con la nueva vista */
.drawer {
  background: #070d14 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: -22px 0 60px rgba(0, 0, 0, 0.45) !important;
}
.drawer-head {
  background: rgba(7, 13, 20, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.drawer-code {
  color: #fff !important;
  font-weight: 800 !important;
}
.gallery-main {
  background: linear-gradient(180deg, #fff, #f4f8fb) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}
.fit-table {
  border-radius: 8px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.fit-table th {
  background: rgba(45, 157, 224, 0.1) !important;
  color: #ddeeff !important;
}

@media (max-width: 1120px) {
  .hero-grid,
  .catalog-hero-premium .catalog-hero-row {
    grid-template-columns: 1fr !important;
  }
  .catalog-hero-copy {
    padding-bottom: 10px !important;
  }
  .catalog-hero-visual,
  .hero-art {
    height: 260px !important;
    min-height: 260px !important;
  }
  .hero-product-pump {
    max-width: 42% !important;
    right: 28% !important;
  }
  .hero-product-rack {
    max-width: 88% !important;
    right: 6% !important;
  }
  .index-hero-product {
    right: 22%;
    width: min(470px, 58%);
    height: 86%;
  }
  .catalog-shell {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .filters {
    position: relative !important;
    top: auto !important;
  }
  .chip-cloud {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .brand img {
    width: 132px !important;
  }
  .search-trigger {
    min-width: 44px !important;
    width: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .catalog-hero-premium {
    min-height: 0 !important;
    padding-top: 26px !important;
  }
  .catalog-hero-copy h1 span,
  .catalog-hero-copy h1 strong,
  .hero-copy h1 {
    font-size: clamp(2.15rem, 10vw, 3.3rem) !important;
  }
  .catalog-hero-visual {
    height: 210px !important;
  }
  .hero-product-pump {
    max-width: 58% !important;
    right: 20% !important;
    bottom: 13% !important;
  }
  .hero-product-rack {
    max-width: 105% !important;
    right: -2% !important;
    bottom: 34% !important;
  }
  .catalog-stats-mini,
  .hero-stats {
    display: flex !important;
  }
  .catalog-stats-mini .hero-stat,
  .hero-stats .hero-stat {
    min-width: auto !important;
    margin-right: 18px !important;
    padding-right: 18px !important;
  }
  .toolbar {
    align-items: flex-start !important;
  }
  .toolbar-sort {
    width: 100%;
    display: block !important;
  }
  .toolbar-sort .sort-select {
    width: 100% !important;
    margin-top: 8px !important;
  }
  .grid {
    grid-template-columns: 1fr !important;
  }
  .card-media {
    aspect-ratio: 1.45/1 !important;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 16px !important;
  }
  .hero {
    padding: 50px 0 46px !important;
  }
  .hero-art {
    height: 190px !important;
    min-height: 190px !important;
  }
  .index-hero-product {
    right: 12%;
    width: 76%;
  }
  .hero-stats .hero-stat,
  .catalog-stats-mini .hero-stat {
    border-right: 0 !important;
    margin: 0 18px 12px 0 !important;
    padding: 0 !important;
  }
  .chip-cloud {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================================== 
   BOREMEX v3.5 — Rediseño minimalista basado en referencia del usuario
   Assets: /assets/images/boremex-web/
   ========================================================================== */
:root {
  --bmx-blue: #159beb;
  --bmx-blue-2: #35b7ff;
  --bmx-navy: #03101a;
  --bmx-panel: #07131e;
  --bmx-panel-2: #0a1723;
  --bmx-line: rgba(53, 183, 255, 0.22);
  --bmx-line-soft: rgba(255, 255, 255, 0.08);
  --bmx-text: #f5f8fb;
  --bmx-muted: #9daaba;
}
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(21, 155, 235, 0.1), transparent 44%),
    linear-gradient(180deg, #03080d 0%, #05101a 42%, #02070c 100%) !important;
}
.site-nav {
  background: rgba(3, 8, 13, 0.86) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px);
}
.nav-row {
  height: 84px !important;
  max-width: 1360px !important;
}
.nav-links a {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #d8e1ea !important;
}
.nav-links a.active,
.nav-links a:hover {
  color: #fff !important;
}
.nav-links a.active::after {
  height: 2px !important;
  background: var(--bmx-blue-2) !important;
  box-shadow: 0 0 12px rgba(53, 183, 255, 0.45) !important;
}
.brand-copy {
  display: none !important;
}
.brand img {
  width: 145px !important;
  max-height: 50px !important;
}
.search-trigger {
  height: 46px !important;
  border-radius: 8px !important;
  background: #060c13 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  color: #cdd8e4 !important;
  min-width: 330px !important;
}
.search-trigger .kbd {
  display: none !important;
}
.btn-primary,
.btn.btn-primary {
  background: linear-gradient(180deg, #28afff, #0b87dd) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(4, 102, 178, 0.26) !important;
  border-radius: 8px !important;
}
.btn-outline,
.btn.btn-outline {
  background: rgba(3, 10, 17, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
.btn:hover {
  transform: translateY(-2px) !important;
}
.fab-wa {
  background: #168fe7 !important;
}

/* Home / index */
.hero.hero-home-v35 {
  position: relative;
  min-height: 710px;
  padding: 78px 0 48px !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.98) 0%,
      rgba(2, 7, 12, 0.88) 32%,
      rgba(2, 7, 12, 0.38) 62%,
      rgba(2, 7, 12, 0.2) 100%
    ),
    url("../images/boremex-web/hero-catalogo-boremex-1920x920.webp");
  background-size: cover;
  background-position: center right;
}
.hero-home-v35::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 72% 44%,
      rgba(27, 157, 238, 0.24),
      transparent 28%
    ),
    linear-gradient(180deg, transparent 68%, rgba(2, 7, 12, 0.92));
  pointer-events: none;
}
.hero-home-v35 .hero-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(53, 183, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 88%);
}
.hero-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 580px) 1fr;
  min-height: 560px;
  align-items: center !important;
}
.hero-home-v35 .hero-art-v35 {
  display: block !important;
  min-height: 450px;
}
.hero-home-v35 .hero-copy {
  max-width: 560px;
}
.hero-home-v35 .eyebrow {
  margin-bottom: 22px;
  color: #2db4ff !important;
  letter-spacing: 0.18em !important;
}
.hero-home-v35 .eyebrow::before {
  width: 28px;
  height: 2px;
  background: #2db4ff !important;
}
.hero-home-v35 h1 {
  font-size: clamp(3.2rem, 6.2vw, 6rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;
  text-transform: none !important;
  margin: 0 0 22px !important;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}
.hero-home-v35 h1 .accent {
  color: #fff !important;
}
.hero-home-v35 h1 .accent::after {
  content: ".";
  color: #159beb;
}
.hero-home-v35 .lede {
  font-size: 1.03rem !important;
  max-width: 510px;
  color: #b6c3d2 !important;
  line-height: 1.72 !important;
  margin-bottom: 24px !important;
}
.finder-minimal {
  width: min(100%, 515px);
  height: 64px;
  border-radius: 8px !important;
  background: rgba(5, 14, 23, 0.76) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28) !important;
}
.finder-minimal input {
  font-size: 0.98rem !important;
  color: #fff !important;
}
.finder-minimal svg {
  color: #d5e0ec !important;
}
.hero-home-v35 .hero-actions {
  margin: 28px 0 30px !important;
  gap: 16px !important;
}
.hero-home-v35 .hero-actions .btn {
  min-height: 56px !important;
  border-radius: 8px !important;
  padding: 0 26px !important;
}
.hero-stats-v35 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0 !important;
  max-width: 620px;
  margin-top: 26px !important;
}
.hero-stats-v35 .hero-stat {
  position: relative;
  padding: 0 28px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}
.hero-stats-v35 .hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.hero-stats-v35 .mini-icon {
  grid-row: 1/3;
  color: #ced8e5;
  font-size: 1.55rem;
  opacity: 0.85;
}
.hero-stats-v35 .hero-stat strong {
  font-size: 1.9rem !important;
  color: #35afff !important;
  line-height: 1 !important;
}
.hero-stats-v35 .hero-stat span:last-child {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.02em !important;
  color: #a4b2c2 !important;
  text-transform: none !important;
}
.brand-strip-v35 {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-image:
    linear-gradient(90deg, rgba(3, 10, 16, 0.94), rgba(6, 17, 28, 0.84)),
    url("../images/boremex-web/fondo-barra-armadoras-1920x180.webp");
  background-size: cover;
  background-position: center;
}
.brand-strip-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}
.brand-strip-label,
.brand-strip-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #798899;
  white-space: nowrap;
}
.brand-strip-link {
  color: #2aaaf8;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
}
.brand-strip-v35 .marquee-wrap {
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow: hidden;
}
.brand-strip-v35 .marquee {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  color: #d5dfeb !important;
  opacity: 0.7;
}
.brand-strip-v35 .marquee span {
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.brand-strip-v35 .marquee b {
  color: #2aaaf8;
  opacity: 0.55;
}
.section {
  padding: 76px 0 !important;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(21, 155, 235, 0.06),
    transparent 45%
  );
}
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px !important;
}
.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem) !important;
  letter-spacing: -0.04em !important;
}
.value-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.value-card {
  min-height: 250px;
  border-radius: 12px !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.015)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  padding: 34px !important;
}
.value-card:hover {
  border-color: rgba(53, 183, 255, 0.35) !important;
  transform: translateY(-3px) !important;
}
.value-card .vi {
  color: #2eafff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 46px !important;
  height: 46px !important;
}
.value-card h3 {
  font-size: 1.18rem !important;
  margin-top: 20px !important;
}
.value-card p {
  font-size: 0.94rem !important;
  color: #9fadbc !important;
}
.entry-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}
.entry-card {
  height: 390px !important;
  border-radius: 12px !important;
  background: #07111b !important;
  border: 1px solid rgba(53, 183, 255, 0.36) !important;
  box-shadow: none !important;
  padding: 38px !important;
}
.entry-card.line-card-bombas .entry-bg {
  background-image:
    linear-gradient(90deg, rgba(3, 10, 16, 0.86), rgba(3, 10, 16, 0.28)),
    url("../images/boremex-web/card-bombas-sp-bg-1200x560.webp") !important;
  opacity: 1 !important;
  filter: none !important;
  background-position: center !important;
  background-size: cover !important;
}
.entry-card.line-card-cremalleras .entry-bg {
  background-image:
    linear-gradient(90deg, rgba(3, 10, 16, 0.88), rgba(3, 10, 16, 0.2)),
    url("../images/boremex-web/card-cremalleras-cr-bg-1200x560.webp") !important;
  opacity: 1 !important;
  filter: none !important;
  background-position: center !important;
  background-size: cover !important;
}
.entry-card::before {
  background: linear-gradient(
    90deg,
    rgba(3, 10, 16, 0.9),
    rgba(3, 10, 16, 0.38) 56%,
    rgba(3, 10, 16, 0.12)
  ) !important;
}
.entry-card:hover .entry-bg {
  transform: scale(1.025) !important;
  opacity: 1 !important;
}
.entry-card .tag {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.15em !important;
  background: transparent !important;
  border: 0 !important;
  color: #2db4ff !important;
  padding: 0 !important;
  text-transform: uppercase !important;
}
.entry-card h2 {
  font-size: 2.35rem !important;
  letter-spacing: -0.04em !important;
}
.entry-card p {
  max-width: 330px;
  color: #b7c4d1 !important;
}
.entry-stat-row {
  gap: 24px !important;
  margin: 22px 0 !important;
}
.entry-stat-row div {
  font-size: 0.78rem;
  color: #99a7b7 !important;
  text-transform: none !important;
}
.entry-stat-row b {
  color: #35afff !important;
  font-size: 1.35rem !important;
}
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 35px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.proc-step {
  text-align: center;
  position: relative;
}
.proc-num {
  width: 68px !important;
  height: 68px !important;
  border-radius: 999px !important;
  margin: 0 auto 22px !important;
  background: #07131e !important;
  border: 1px solid rgba(53, 183, 255, 0.48) !important;
  box-shadow: 0 0 0 8px rgba(53, 183, 255, 0.06) !important;
  color: #fff !important;
  font-family: var(--font-display) !important;
}
.site-footer {
  background: #02070c !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.footer-grid {
  padding: 58px 0 !important;
}

/* Category/catalog pages */
.catalog-hero.catalog-hero-premium {
  min-height: 470px;
  padding: 60px 0 34px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden;
  background: #070c12 !important;
}
.catalog-hero-premium.line-sp {
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.98) 0%,
      rgba(2, 7, 12, 0.84) 38%,
      rgba(2, 7, 12, 0.35) 68%
    ),
    url("../images/boremex-web/hero-catalogo-boremex-1920x920.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
}
.catalog-hero-premium.line-cr {
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.98) 0%,
      rgba(2, 7, 12, 0.82) 45%,
      rgba(2, 7, 12, 0.24) 78%
    ),
    url("../images/boremex-web/fondo-tecnico-blueprint-1920x1080.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}
.catalog-hero-premium::before,
.catalog-hero-premium::after,
.speed-line,
.orbit {
  display: none !important;
}
.catalog-hero-premium .catalog-hero-row {
  display: grid !important;
  grid-template-columns: minmax(420px, 620px) 1fr !important;
  align-items: center !important;
  min-height: 360px !important;
}
.catalog-breadcrumb {
  font-size: 0.83rem !important;
  color: #91a1b3 !important;
  margin-bottom: 30px !important;
}
.catalog-breadcrumb strong {
  color: #d9e4ef !important;
  font-weight: 500 !important;
}
.catalog-hero-copy {
  padding: 0 !important;
}
.catalog-hero-copy .eyebrow {
  letter-spacing: 0.14em !important;
  color: #2db4ff !important;
  margin-bottom: 18px !important;
}
.catalog-hero-copy h1 {
  text-transform: none !important;
  line-height: 1.02 !important;
  letter-spacing: -0.06em !important;
  margin-bottom: 18px !important;
  max-width: 630px !important;
}
.catalog-hero-copy h1 span,
.catalog-hero-copy h1 strong {
  font-size: clamp(2.8rem, 5.2vw, 5.1rem) !important;
  color: #fff !important;
  display: block !important;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.44) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}
.catalog-hero-copy h1::after {
  width: 68px !important;
  height: 2px !important;
  margin-top: 20px !important;
  background: #2db4ff !important;
  box-shadow: none !important;
}
.catalog-hero-copy .lede {
  max-width: 520px !important;
  font-size: 1rem !important;
  line-height: 1.68 !important;
  color: #b6c2cf !important;
  margin-bottom: 26px !important;
}
.catalog-stats-mini {
  display: flex !important;
  gap: 0 !important;
  margin-top: 24px !important;
}
.catalog-stats-mini .hero-stat {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 34px 0 0 !important;
  min-width: 120px !important;
  display: block !important;
  position: relative;
}
.catalog-stats-mini .hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.catalog-stats-mini .hero-stat .stat-icon {
  display: none !important;
}
.catalog-stats-mini .hero-stat strong {
  font-size: 1.8rem !important;
  color: #35afff !important;
  text-shadow: none !important;
}
.catalog-stats-mini .hero-stat span:last-child {
  display: block;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  color: #b0bdca !important;
  text-transform: uppercase !important;
}
.catalog-hero-visual {
  height: 330px !important;
}
.catalog-hero-visual .tech-grid {
  opacity: 0.28 !important;
}
.hero-product {
  animation: softFloat 5s ease-in-out infinite !important;
}
.hero-product-pump {
  display: none !important;
}
.line-sp .catalog-hero-visual {
  display: block !important;
}
.line-cr .hero-product-rack {
  max-width: 105% !important;
  right: -5% !important;
  bottom: 28% !important;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.62)) !important;
}
@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.catalog-shell {
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 56px !important;
  padding: 36px 0 96px !important;
}
.filters {
  border-radius: 8px !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.018)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  padding: 28px !important;
  top: 104px !important;
}
.filters::before,
.filters::after {
  display: none !important;
}
.filter-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
  margin-bottom: 20px !important;
}
.filter-head h3 {
  font-size: 0.88rem !important;
  letter-spacing: 0.03em !important;
  color: #fff !important;
}
.filter-head h3::before {
  display: none !important;
}
.filter-clear-link {
  color: #2dafff !important;
}
.filter-block {
  margin-bottom: 18px !important;
}
.filter-block label {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  color: #8f9eae !important;
  letter-spacing: 0.04em !important;
}
.filter-input,
.sort-select {
  height: 44px !important;
  border-radius: 6px !important;
  background: #060c13 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #dce6f2 !important;
  box-shadow: none !important;
}
.filter-input:focus,
.sort-select:focus {
  border-color: rgba(53, 183, 255, 0.54) !important;
  box-shadow: 0 0 0 3px rgba(53, 183, 255, 0.1) !important;
}
.filter-divider {
  background: rgba(255, 255, 255, 0.075) !important;
  margin: 18px 0 !important;
}
.chip-cloud {
  gap: 8px !important;
}
.chip {
  height: 34px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  color: #d8e2ed !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.82rem !important;
}
.chip .count-pill {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #b9c7d6 !important;
}
.chip.active {
  background: rgba(21, 155, 235, 0.12) !important;
  border-color: rgba(53, 183, 255, 0.46) !important;
  color: #fff !important;
}
.toolbar {
  margin-bottom: 22px !important;
  align-items: center !important;
}
.count {
  font-size: 0.98rem !important;
  color: #dce6f2 !important;
}
.count strong {
  color: #2dafff !important;
}
.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}
.card.product-card {
  border-radius: 8px !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.105) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.card.product-card::before,
.card.product-card::after,
.card-scan {
  display: none !important;
}
.card.product-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(53, 183, 255, 0.34) !important;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24) !important;
}
.card-media {
  aspect-ratio: 1.68/1 !important;
  background: #f5f7f9 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.card-media::after {
  display: none !important;
}
.card-media img {
  max-width: 90% !important;
  max-height: 88% !important;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.18)) !important;
  transition: 0.35s var(--ease) !important;
}
.card:hover .card-media img {
  transform: scale(1.04) !important;
}
.card-maker {
  top: 12px !important;
  left: 12px !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  border: 1px solid rgba(12, 38, 61, 0.12) !important;
  color: #168be0 !important;
  box-shadow: none !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
}
.maker-emblem {
  display: none !important;
}
.card-favorite {
  display: none !important;
}
.card-body {
  padding: 18px 18px 14px !important;
}
.card-code {
  font-size: 1.15rem !important;
  letter-spacing: 0.01em !important;
  color: #fff !important;
}
.card-subtitle {
  font-family: var(--font-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #a6b4c3 !important;
  font-size: 0.82rem !important;
}
.card-meta {
  margin: 12px 0 !important;
}
.card-badge {
  border-radius: 4px !important;
  border-color: rgba(53, 183, 255, 0.44) !important;
  color: #2eafff !important;
  background: rgba(21, 155, 235, 0.08) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}
.fit-list {
  min-height: 48px !important;
  color: #b2becc !important;
}
.fit-row {
  font-size: 0.78rem !important;
}
.fit-row span {
  color: #d0dae5 !important;
}
.fit-row em {
  color: #a0afbe !important;
}
.card-cta {
  height: 48px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  color: #dde8f4 !important;
  margin-top: 16px !important;
  box-shadow: none !important;
}
.card-cta:hover,
.card:hover .card-cta {
  border-color: rgba(53, 183, 255, 0.5) !important;
  color: #fff !important;
  background: rgba(21, 155, 235, 0.08) !important;
}
.drawer {
  background: #050c13 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.drawer-media {
  background: #f7f9fa !important;
}

@media (max-width: 1100px) {
  .hero-home-grid,
  .catalog-hero-premium .catalog-hero-row {
    grid-template-columns: 1fr !important;
  }
  .hero-home-v35 {
    background-position: 58% center !important;
  }
  .hero-home-v35 .hero-art-v35 {
    display: none !important;
  }
  .catalog-shell {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .filters {
    position: relative !important;
    top: auto !important;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .value-grid,
  .entry-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .nav-row {
    height: 72px !important;
  }
  .search-trigger {
    display: none !important;
  }
  .hero.hero-home-v35 {
    min-height: auto;
    padding: 52px 0 38px !important;
    background-position: 63% center !important;
  }
  .hero-home-v35 h1 {
    font-size: clamp(2.55rem, 13vw, 4rem) !important;
  }
  .hero-stats-v35 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .hero-stats-v35 .hero-stat::after {
    display: none !important;
  }
  .brand-strip-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .value-card,
  .entry-card {
    padding: 24px !important;
  }
  .entry-card {
    height: 330px !important;
  }
  .process {
    grid-template-columns: 1fr !important;
  }
  .process::before {
    display: none !important;
  }
  .catalog-hero-premium {
    min-height: auto !important;
    padding: 34px 0 30px !important;
  }
  .catalog-hero-copy h1 span,
  .catalog-hero-copy h1 strong {
    font-size: clamp(2.2rem, 12vw, 3.5rem) !important;
  }
  .catalog-hero-visual {
    display: none !important;
  }
  .grid {
    grid-template-columns: 1fr !important;
  }
  .card-media {
    aspect-ratio: 1.5/1 !important;
  }
}

/* ==========================================================================
   BOREMEX v3.6 — filtro fijo compacto para catálogos
   Corrige panel cortado en Bombas SP y Cremalleras CR manteniendo sticky.
   ========================================================================== */
@media (min-width: 1101px) {
  .catalog-filter-sticky {
    position: sticky !important;
    top: 92px !important;
    max-height: calc(100vh - 108px) !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 18px 18px !important;
  }
  .catalog-filter-sticky .filter-head {
    flex: 0 0 auto !important;
    align-items: center !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
  }
  .catalog-filter-sticky .filter-head h3 {
    font-size: 0.82rem !important;
  }
  .catalog-filter-sticky .filter-clear-link {
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }
  .catalog-filter-sticky .filter-block {
    margin-bottom: 11px !important;
  }
  .catalog-filter-sticky .filter-block label {
    margin-bottom: 6px !important;
    font-size: 0.64rem !important;
    line-height: 1.1 !important;
  }
  .catalog-filter-sticky .filter-input {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 11px !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
  }
  .catalog-filter-sticky .filter-divider {
    flex: 0 0 auto !important;
    margin: 9px 0 !important;
  }
  .catalog-filter-sticky .filter-block-makers {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
  }
  .catalog-filter-sticky .maker-scroll {
    flex: 1 1 auto !important;
    min-height: 86px !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 5px !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(45, 175, 255, 0.58) rgba(255, 255, 255, 0.06) !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0,
      #000 calc(100% - 18px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0,
      #000 calc(100% - 18px),
      transparent 100%
    );
  }
  .catalog-filter-sticky .maker-scroll::-webkit-scrollbar {
    width: 6px !important;
  }
  .catalog-filter-sticky .maker-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.045) !important;
    border-radius: 999px !important;
  }
  .catalog-filter-sticky .maker-scroll::-webkit-scrollbar-thumb {
    background: rgba(45, 175, 255, 0.58) !important;
    border-radius: 999px !important;
  }
  .catalog-filter-sticky .chip-cloud {
    gap: 5px !important;
  }
  .catalog-filter-sticky .chip {
    width: 100% !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    font-size: 0.73rem !important;
    line-height: 1 !important;
  }
  .catalog-filter-sticky .chip span:first-child {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .catalog-filter-sticky .chip .count,
  .catalog-filter-sticky .chip .count-pill {
    min-width: 28px !important;
    height: 19px !important;
    padding: 0 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.085) !important;
    color: #b9c7d6 !important;
  }
  .catalog-filter-sticky .filter-block-cyl {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .catalog-filter-sticky .cyl-compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    overflow: visible !important;
    max-height: none !important;
  }
  .catalog-filter-sticky .cyl-compact .chip {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 1100px) {
  .catalog-filter-sticky {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .catalog-filter-sticky .maker-scroll {
    max-height: none !important;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

/* ========================================================================== 
   BOREMEX v3.7 — búsqueda inteligente + tarjetas de imagen limpias
   ========================================================================== */
.card-media {
  background: #fff !important;
  isolation: isolate !important;
}
.card-media img {
  filter: none !important;
  box-shadow: none !important;
  background: #fff !important;
  mix-blend-mode: normal !important;
  z-index: 1 !important;
}
.product-card:hover .card-media img {
  transform: scale(1.025) !important;
  filter: none !important;
}
.card-maker {
  z-index: 8 !important;
  background: linear-gradient(
    135deg,
    var(--brand-blue-strong),
    var(--brand-blue-deep)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(45, 157, 224, 0.22) !important;
  text-shadow: none !important;
  pointer-events: none !important;
  font-weight: 800 !important;
}
.card-maker * {
  color: #fff !important;
}
.card-media .tag.card-maker {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 8 !important;
}
.card-badge {
  background: rgba(45, 157, 224, 0.12) !important;
  border-color: rgba(45, 157, 224, 0.34) !important;
}
.filter-block-search .filter-input::placeholder {
  color: #6f8194 !important;
}
.cmdk-item img {
  filter: none !important;
  box-shadow: none !important;
  background: #fff !important;
}
.gallery-main img {
  filter: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Home Hero v3.8 — icon, right art and copy fix
   ========================================================================== */
.hero-home-v35 .hero-copy {
  position: relative;
  z-index: 2;
}
.hero-home-v35 h1 .accent {
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
}
.hero-home-v35 .lede {
  margin-bottom: 18px !important;
}
.hero-inline-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 530px);
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(14, 26, 38, 0.78),
    rgba(8, 18, 28, 0.64)
  );
  border: 1px solid rgba(53, 183, 255, 0.18);
  backdrop-filter: blur(8px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}
.hero-inline-feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(53, 183, 255, 0.16),
    transparent
  );
  transform: translateX(-100%);
  animation: heroShimmer 4.8s ease-in-out infinite;
}
.hero-inline-icon {
  position: relative;
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #35b7ff;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(33, 130, 218, 0.28),
    rgba(6, 16, 26, 0.96) 70%
  );
  border: 1px solid rgba(53, 183, 255, 0.28);
  box-shadow:
    inset 0 0 22px rgba(53, 183, 255, 0.16),
    0 0 22px rgba(21, 155, 235, 0.1);
  animation: heroFloatSmall 4.2s ease-in-out infinite;
}
.hero-inline-icon::before,
.hero-inline-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: -7px;
  border: 1px solid rgba(53, 183, 255, 0.16);
  animation: heroPulseRing 4s ease-out infinite;
}
.hero-inline-icon::after {
  inset: -16px;
  opacity: 0.5;
  animation-delay: 1.2s;
}
.hero-inline-icon svg {
  width: 66px;
  height: 66px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(53, 183, 255, 0.18));
}
.hero-inline-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.hero-inline-copy strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: #f4f8fc;
}
.hero-inline-copy span {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9eb0c2;
}
.hero-home-v35 .hero-art-v35 {
  position: relative;
  display: block !important;
  min-height: 500px !important;
  background:
    radial-gradient(
      circle at 52% 54%,
      rgba(35, 134, 219, 0.2),
      transparent 26%
    ),
    radial-gradient(
      circle at 58% 52%,
      rgba(60, 181, 255, 0.1),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}
.hero-home-v35 .hero-art-v35::before {
  content: "";
  position: absolute;
  inset: 8% 8% 7% 8%;
  background: url("../images/hero-pump.png") center/contain no-repeat;
  animation: heroFloatMain 5.5s ease-in-out infinite;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.42));
}
.hero-home-v35 .hero-art-v35::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 10%;
  height: 20%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(53, 183, 255, 0.34),
      rgba(53, 183, 255, 0.12) 28%,
      transparent 58%
    ),
    radial-gradient(
      circle at center,
      rgba(3, 10, 16, 0.9) 0,
      rgba(3, 10, 16, 0.86) 48%,
      transparent 70%
    );
  box-shadow:
    0 0 0 1px rgba(53, 183, 255, 0.14),
    0 0 34px rgba(53, 183, 255, 0.16);
  animation: heroPulseDisk 5.5s ease-in-out infinite;
}
.hero-art-v35 .hero-orbit,
.hero-art-v35 .hero-beam,
.hero-art-v35 .hero-dot {
  position: absolute;
  pointer-events: none;
}
.hero-orbit {
  border: 1px solid rgba(53, 183, 255, 0.14);
  border-radius: 50%;
}
.hero-orbit.orbit-1 {
  width: 72%;
  height: 72%;
  right: 8%;
  top: 8%;
  animation: heroRotate 26s linear infinite;
}
.hero-orbit.orbit-2 {
  width: 54%;
  height: 54%;
  right: 17%;
  top: 18%;
  animation: heroRotate 18s linear infinite reverse;
}
.hero-beam {
  width: 180px;
  height: 180px;
  right: 16%;
  top: 10%;
  background: radial-gradient(
    circle,
    rgba(53, 183, 255, 0.18),
    transparent 68%
  );
  filter: blur(8px);
  animation: heroGlowDrift 7s ease-in-out infinite;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3bc2ff;
  box-shadow:
    0 0 16px rgba(59, 194, 255, 0.85),
    0 0 32px rgba(59, 194, 255, 0.42);
  right: 25%;
  bottom: 28%;
  animation: heroPulseDot 2.8s ease-in-out infinite;
}
@keyframes heroFloatSmall {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes heroPulseRing {
  0% {
    transform: scale(0.88);
    opacity: 0.45;
  }
  70% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}
@keyframes heroShimmer {
  0% {
    transform: translateX(-110%);
  }
  42%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes heroFloatMain {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes heroPulseDisk {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.035);
    opacity: 1;
  }
}
@keyframes heroRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes heroGlowDrift {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(-14px, 10px);
    opacity: 0.75;
  }
}
@keyframes heroPulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}
@media (max-width: 1180px) {
  .hero-home-grid {
    grid-template-columns: minmax(390px, 540px) 1fr;
    gap: 30px !important;
  }
  .hero-home-v35 h1 {
    font-size: clamp(2.9rem, 5.4vw, 5.1rem) !important;
  }
  .hero-inline-feature {
    width: min(100%, 500px);
  }
}
@media (max-width: 980px) {
  .hero-inline-feature {
    padding: 12px 14px;
    gap: 14px;
  }
  .hero-inline-icon {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
  }
  .hero-inline-icon svg {
    width: 54px;
    height: 54px;
  }
  .hero-inline-copy strong {
    font-size: 0.96rem;
  }
  .hero-inline-copy span {
    font-size: 0.88rem;
  }
}
@media (max-width: 760px) {
  .hero-home-v35 h1 .accent {
    white-space: normal;
  }
  .hero-inline-feature {
    width: 100%;
  }
}

/* ==========================================================================
   Home Hero v3.9 — vector industrial icon system
   ========================================================================== */
.hero-home-v35 .hero-stats .mini-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #35afff;
  background: linear-gradient(
    180deg,
    rgba(53, 183, 255, 0.16),
    rgba(53, 183, 255, 0.04)
  );
  border: 1px solid rgba(53, 183, 255, 0.2);
  box-shadow: inset 0 0 12px rgba(53, 183, 255, 0.08);
}
.hero-home-v35 .hero-stats .mini-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.hero-home-v35 .hero-stats .hero-stat {
  column-gap: 12px;
}
.hero-home-v35 .hero-art-v39 {
  position: relative;
  min-height: 520px !important;
  color: #dceeff;
  background: none;
}
.hero-home-v35 .hero-art-v39::before {
  content: none !important;
}
.hero-home-v35 .hero-art-v39::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 11%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(53, 183, 255, 0.3),
    rgba(53, 183, 255, 0.12) 26%,
    rgba(4, 14, 22, 0.95) 61%,
    transparent 72%
  );
  box-shadow:
    0 0 0 1px rgba(53, 183, 255, 0.14),
    0 0 32px rgba(53, 183, 255, 0.12);
  animation: heroPulseDisk39 6s ease-in-out infinite;
}
.hero-grid-ring,
.hero-gear,
.hero-float-tag,
.pump-visual-shell,
.pump-core-pulse {
  position: absolute;
  pointer-events: none;
}
.hero-grid-ring {
  border-radius: 50%;
  border: 1px solid rgba(53, 183, 255, 0.14);
}
.hero-grid-ring.ring-a {
  width: 74%;
  height: 74%;
  right: 8%;
  top: 10%;
  animation: heroRotate39 24s linear infinite;
}
.hero-grid-ring.ring-b {
  width: 54%;
  height: 54%;
  right: 18%;
  top: 20%;
  animation: heroRotate39 18s linear infinite reverse;
  opacity: 0.8;
}
.hero-gear {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(53, 183, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(53, 183, 255, 0.03);
  opacity: 0.7;
}
.hero-gear::before,
.hero-gear::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 2px solid rgba(53, 183, 255, 0.28);
}
.hero-gear::after {
  inset: -8px;
  border-style: dashed;
  opacity: 0.45;
}
.hero-gear.gear-a {
  right: 9%;
  top: 8%;
  animation: heroRotate39 12s linear infinite;
}
.hero-gear.gear-b {
  left: 8%;
  bottom: 26%;
  width: 34px;
  height: 34px;
  animation: heroRotate39 10s linear infinite reverse;
}
.pump-visual-shell {
  inset: 10% 13% 16% 13%;
  display: grid;
  place-items: center;
  color: #ecf6ff;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(44, 155, 238, 0.12),
    rgba(2, 9, 15, 0) 54%
  );
  animation: heroFloatPump39 5.8s ease-in-out infinite;
}
.pump-visual-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.4));
}
.pump-visual-svg .pump-stroke {
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.pump-visual-svg .accent-stroke {
  stroke: #2db4ff;
}
.pump-core-pulse {
  left: 50%;
  top: 44%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 183, 255, 0.65),
    rgba(53, 183, 255, 0.16) 45%,
    transparent 66%
  );
  animation: heroCorePulse39 2.8s ease-in-out infinite;
}
.hero-float-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(6, 16, 26, 0.82);
  border: 1px solid rgba(53, 183, 255, 0.2);
  color: #ddeaf6;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 0.88rem;
  white-space: nowrap;
}
.hero-float-tag .tag-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(53, 183, 255, 0.16);
  color: #35afff;
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-float-tag.tag-top {
  left: 8%;
  top: 16%;
  animation: heroTagBob39 4s ease-in-out infinite;
}
.hero-float-tag.tag-right {
  right: 2%;
  top: 46%;
  animation: heroTagBob39 4.6s ease-in-out infinite 0.4s;
}
.hero-float-tag.tag-bottom {
  left: 16%;
  bottom: 12%;
  animation: heroTagBob39 5s ease-in-out infinite 0.8s;
}
@keyframes heroRotate39 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes heroFloatPump39 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes heroCorePulse39 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.28);
    opacity: 0.55;
  }
}
@keyframes heroTagBob39 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes heroPulseDisk39 {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@media (max-width: 1180px) {
  .hero-home-v35 .hero-art-v39 {
    min-height: 480px !important;
  }
  .pump-visual-svg {
    max-width: 360px;
  }
  .hero-float-tag {
    font-size: 0.82rem;
    padding: 9px 12px;
  }
}
@media (max-width: 980px) {
  .hero-home-v35 .hero-art-v39 {
    display: none !important;
  }
  .hero-home-v35 .hero-stats .mini-icon {
    width: 38px;
    height: 38px;
  }
  .hero-home-v35 .hero-stats .mini-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   BOREMEX v4.0 — Nueva línea Bombas de Agua
   ========================================================================== */
@media (min-width: 981px) {
  .nav-row {
    gap: 18px !important;
  }
  .nav-links {
    gap: 2px !important;
  }
  .nav-links a {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 0.86rem !important;
  }
}
.entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.entry-card.line-card-agua .entry-bg {
  background:
    radial-gradient(
      circle at 76% 38%,
      rgba(53, 183, 255, 0.24),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(3, 10, 16, 0.9),
      rgba(3, 10, 16, 0.38) 56%,
      rgba(3, 10, 16, 0.1)
    ),
    url("../images/hero-water-pump.svg") center right 10%/58% auto no-repeat !important;
  opacity: 1 !important;
  filter: none !important;
}
.entry-card.line-card-agua::before {
  background: linear-gradient(
    90deg,
    rgba(3, 10, 16, 0.94),
    rgba(3, 10, 16, 0.52) 58%,
    rgba(3, 10, 16, 0.15)
  ) !important;
}
.catalog-hero-premium.line-agua {
  background-image:
    radial-gradient(
      circle at 74% 42%,
      rgba(53, 183, 255, 0.22),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.98) 0%,
      rgba(2, 7, 12, 0.84) 45%,
      rgba(2, 7, 12, 0.3) 76%
    ),
    url("../images/boremex-web/fondo-tecnico-blueprint-1920x1080.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}
.line-agua .catalog-hero-visual {
  display: block !important;
}
.hero-product-water-pump {
  max-width: 82% !important;
  right: 7% !important;
  bottom: 8% !important;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.52)) !important;
  animation: floatPart 5.7s ease-in-out infinite !important;
}
.line-agua .orbit-a {
  width: 520px !important;
  right: 6% !important;
  bottom: 8% !important;
}
.line-agua .orbit-b {
  width: 360px !important;
  right: 16% !important;
  bottom: 14% !important;
}
body[data-type="agua"] .card-subtitle {
  color: #a8dfff !important;
}
body[data-type="agua"] .catalog-filter-sticky .filter-block-makers {
  margin-bottom: 0 !important;
}
@media (max-width: 1180px) {
  .entry-grid {
    grid-template-columns: 1fr !important;
  }
  .entry-card {
    height: 340px !important;
  }
  .hero-product-water-pump {
    max-width: 72% !important;
    right: 14% !important;
  }
}
@media (max-width: 680px) {
  .entry-card.line-card-agua .entry-bg {
    background-size: 78% auto !important;
    background-position: right -20px center !important;
  }
}

/* ===========================================================================
   BOREMEX v4.2 — Nueva línea Bombas de Aceite
   =========================================================================== */
@media (min-width: 981px) {
  .nav-row {
    gap: 14px !important;
  }
  .nav-links {
    gap: 1px !important;
  }
  .nav-links a {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 0.8rem !important;
  }
  .search-trigger {
    min-width: 230px !important;
  }
}
.entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.entry-card.line-card-aceite .entry-bg {
  background:
    radial-gradient(
      circle at 76% 38%,
      rgba(53, 183, 255, 0.22),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(3, 10, 16, 0.92),
      rgba(3, 10, 16, 0.42) 58%,
      rgba(3, 10, 16, 0.1)
    ),
    url("../images/hero-oil-pump.svg") center right 8%/58% auto no-repeat !important;
  opacity: 1 !important;
  filter: none !important;
}
.entry-card.line-card-aceite::before {
  background: linear-gradient(
    90deg,
    rgba(3, 10, 16, 0.95),
    rgba(3, 10, 16, 0.54) 58%,
    rgba(3, 10, 16, 0.16)
  ) !important;
}
.catalog-hero-premium.line-aceite {
  background-image:
    radial-gradient(
      circle at 74% 42%,
      rgba(53, 183, 255, 0.21),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.98) 0%,
      rgba(2, 7, 12, 0.84) 45%,
      rgba(2, 7, 12, 0.3) 76%
    ),
    url("../images/boremex-web/fondo-tecnico-blueprint-1920x1080.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}
.line-aceite .catalog-hero-visual {
  display: block !important;
}
.hero-product-oil-pump {
  max-width: 84% !important;
  right: 6% !important;
  bottom: 8% !important;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.52)) !important;
  animation: floatPart 5.4s ease-in-out infinite !important;
}
.line-aceite .orbit-a {
  width: 520px !important;
  right: 6% !important;
  bottom: 8% !important;
}
.line-aceite .orbit-b {
  width: 360px !important;
  right: 16% !important;
  bottom: 14% !important;
}
body[data-type="aceite"] .card-subtitle {
  color: #a8dfff !important;
}
body[data-type="aceite"] .catalog-filter-sticky .filter-block-makers {
  margin-bottom: 0 !important;
}
@media (max-width: 1180px) {
  .entry-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-product-oil-pump {
    max-width: 72% !important;
    right: 14% !important;
  }
}
@media (max-width: 680px) {
  .entry-card.line-card-aceite .entry-bg {
    background-size: 78% auto !important;
    background-position: right -20px center !important;
  }
}

/* ==========================================================================
   Línea Cuerpos de Aceleración · v4.3
   ========================================================================== */
.entry-card.line-card-aceleracion .entry-bg {
  background:
    radial-gradient(
      circle at 74% 48%,
      rgba(53, 183, 255, 0.18),
      transparent 38%
    ),
    url("../images/hero-throttle-body.svg") center right 7%/58% auto no-repeat !important;
  opacity: 1 !important;
  filter: none !important;
}
.entry-card.line-card-aceleracion::before {
  background: linear-gradient(
    90deg,
    rgba(3, 10, 16, 0.95),
    rgba(3, 10, 16, 0.54) 58%,
    rgba(3, 10, 16, 0.14)
  ) !important;
}
.catalog-hero-premium.line-aceleracion {
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.98) 0%,
      rgba(2, 7, 12, 0.84) 45%,
      rgba(2, 7, 12, 0.24) 78%
    ),
    url("../images/boremex-web/fondo-tecnico-blueprint-1920x1080.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}
.line-aceleracion .catalog-hero-visual {
  display: block !important;
}
.line-aceleracion .hero-product-throttle {
  max-width: 78% !important;
  right: 5% !important;
  bottom: 18% !important;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.55)) !important;
  animation: floaty 5.8s ease-in-out infinite !important;
}
.line-aceleracion .orbit-a {
  width: 520px !important;
  right: 6% !important;
  bottom: 8% !important;
}
.line-aceleracion .orbit-b {
  width: 360px !important;
  right: 16% !important;
  bottom: 14% !important;
}
@media (max-width: 760px) {
  .entry-card.line-card-aceleracion .entry-bg {
    background-size: 78% auto !important;
    background-position: right -20px center !important;
  }
}
@media (max-width: 1320px) {
  .nav-links a {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 0.84rem !important;
  }
  .nav-row {
    gap: 18px !important;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   BOREMEX v4.4 — Menú superior simplificado + filtros móviles compactos
   ========================================================================== */
.nav-links {
  align-items: center !important;
  gap: 10px !important;
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--steel-mist);
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s var(--ease);
  position: relative;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
  color: var(--paper);
}
.nav-dropdown.active .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--hydraulic-strong);
  border-radius: 2px;
}
.nav-dropdown-toggle span {
  font-size: 0.82rem;
  color: #35b7ff;
  transition: transform 0.2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-toggle span,
.nav-dropdown:focus-within .nav-dropdown-toggle span {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(13, 24, 36, 0.98),
    rgba(5, 13, 22, 0.98)
  );
  border: 1px solid rgba(53, 183, 255, 0.2);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s var(--ease);
  z-index: 80;
  backdrop-filter: blur(14px);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px !important;
  border-radius: 10px;
  color: #d9e6f3 !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
  text-transform: none !important;
}
.nav-dropdown-menu a::after {
  content: "→";
  color: #35b7ff;
  opacity: 0.62;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
}
.nav-dropdown-menu a:hover {
  background: rgba(53, 183, 255, 0.11) !important;
  color: #fff !important;
}
.nav-dropdown-menu a:hover::after {
  opacity: 1;
}
@media (min-width: 981px) {
  .nav-row {
    gap: 26px !important;
  }
  .nav-links a {
    font-size: 0.92rem !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .search-trigger {
    min-width: 280px !important;
  }
}
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(53, 183, 255, 0.055);
  border: 1px solid rgba(53, 183, 255, 0.12);
}
.mobile-nav-group > span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #35b7ff;
  margin-bottom: 2px;
}
.mobile-nav-group a {
  padding: 9px 10px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav-group a:hover {
  background: rgba(53, 183, 255, 0.12) !important;
}
@media (max-width: 980px) {
  .nav-dropdown {
    display: none !important;
  }
}

/* Solo móvil/tablet: el escritorio permanece igual. */
@media (max-width: 1100px) {
  .catalog-filter-sticky {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }
  .catalog-filter-sticky .filter-head {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }
  .catalog-filter-sticky .filter-head h3 {
    font-size: 0.86rem !important;
  }
  .catalog-filter-sticky .filter-clear-link {
    font-size: 0.72rem !important;
  }
  .catalog-filter-sticky .filter-block {
    margin-bottom: 10px !important;
  }
  .catalog-filter-sticky .filter-block label {
    margin-bottom: 6px !important;
    font-size: 0.66rem !important;
  }
  .catalog-filter-sticky .filter-input {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }
  .catalog-filter-sticky .filter-divider {
    margin: 9px 0 !important;
  }
  .catalog-filter-sticky .filter-block-makers {
    margin-bottom: 0 !important;
    min-height: 0 !important;
  }
  .catalog-filter-sticky .maker-scroll {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    max-height: 166px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 5px !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(45, 175, 255, 0.58) rgba(255, 255, 255, 0.06) !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0,
      #000 calc(100% - 16px),
      transparent 100%
    ) !important;
    mask-image: linear-gradient(
      to bottom,
      #000 0,
      #000 calc(100% - 16px),
      transparent 100%
    ) !important;
  }
  .catalog-filter-sticky .maker-scroll::-webkit-scrollbar {
    width: 6px !important;
  }
  .catalog-filter-sticky .maker-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.045) !important;
    border-radius: 999px !important;
  }
  .catalog-filter-sticky .maker-scroll::-webkit-scrollbar-thumb {
    background: rgba(45, 175, 255, 0.62) !important;
    border-radius: 999px !important;
  }
  .catalog-filter-sticky .maker-scroll .chip {
    width: 100% !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
    line-height: 1 !important;
    justify-content: space-between !important;
  }
  .catalog-filter-sticky .maker-scroll .chip span:first-child {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .catalog-filter-sticky .maker-scroll .chip .count,
  .catalog-filter-sticky .maker-scroll .chip .count-pill {
    flex: 0 0 auto !important;
    min-width: 28px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
  }
  .catalog-filter-sticky .cyl-compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .catalog-filter-sticky .cyl-compact .chip {
    height: 30px !important;
    min-height: 30px !important;
    width: 100% !important;
    justify-content: center !important;
  }
}
@media (max-width: 560px) {
  .catalog-filter-sticky .maker-scroll {
    grid-template-columns: 1fr !important;
    max-height: 188px !important;
  }
  .catalog-filter-sticky .filter-block-search,
  .catalog-filter-sticky .filter-block-year {
    margin-bottom: 9px !important;
  }
}

/* ==========================================================================
   BOREMEX v4.6 — Correcciones móviles: hero compacto, filtro con pista scroll
   ========================================================================== */
@media (max-width: 980px) {
  /* Corrige el espacio vacío inferior en los héroes de las líneas de producto sin tocar escritorio. */
  .catalog-hero.catalog-hero-premium {
    min-height: 0 !important;
    padding: 28px 0 26px !important;
    background-position: center !important;
  }
  .catalog-hero.catalog-hero-premium .catalog-hero-row {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .catalog-hero.catalog-hero-premium .catalog-hero-copy {
    padding: 0 !important;
  }
  .catalog-hero.catalog-hero-premium .catalog-hero-visual,
  .catalog-hero.catalog-hero-premium.line-agua .catalog-hero-visual,
  .catalog-hero.catalog-hero-premium.line-aceite .catalog-hero-visual,
  .catalog-hero.catalog-hero-premium.line-aceleracion .catalog-hero-visual,
  .catalog-hero.catalog-hero-premium.line-cr .catalog-hero-visual,
  .catalog-hero.catalog-hero-premium.line-sp .catalog-hero-visual {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .catalog-hero.catalog-hero-premium::after {
    display: none !important;
  }
  .catalog-hero-copy h1 {
    margin-bottom: 16px !important;
  }
  .catalog-hero-copy .lede {
    margin-bottom: 18px !important;
  }
  .catalog-stats-mini {
    margin-top: 14px !important;
  }

  /* Filtro móvil/tablet: armadoras más cortas y con pista visual animada. */
  .catalog-filter-sticky .filter-block-makers {
    position: relative !important;
    padding-bottom: 26px !important;
  }
  .catalog-filter-sticky .maker-scroll {
    max-height: 142px !important;
  }
  .catalog-filter-sticky .filter-block-makers.has-maker-scroll::before {
    content: "Desliza para ver más armadoras";
    position: absolute;
    left: 0;
    right: 12px;
    bottom: 0;
    z-index: 8;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bdeaff;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(5, 13, 22, 0),
      rgba(5, 13, 22, 0.94) 34%,
      rgba(5, 13, 22, 0.98)
    );
    text-shadow: 0 0 12px rgba(53, 183, 255, 0.5);
  }
  .catalog-filter-sticky .filter-block-makers.has-maker-scroll::after {
    content: "⌄";
    position: absolute;
    right: 2px;
    bottom: 4px;
    z-index: 9;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #35b7ff, #0a84ff);
    box-shadow: 0 0 16px rgba(53, 183, 255, 0.48);
    pointer-events: none;
    animation: boremexScrollCue 1.35s ease-in-out infinite;
  }
}
@media (max-width: 560px) {
  .catalog-hero.catalog-hero-premium {
    padding: 24px 0 24px !important;
  }
  .catalog-hero-copy h1 span,
  .catalog-hero-copy h1 strong {
    font-size: clamp(2.15rem, 11vw, 3.35rem) !important;
  }
  .catalog-filter-sticky .maker-scroll {
    max-height: 132px !important;
  }
}
@keyframes boremexScrollCue {
  0%,
  100% {
    transform: translateY(-2px);
    opacity: 0.72;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

/* ========================================================================== 
   v5.1 · HERO premium interactivo con fondo fotográfico
   ========================================================================== */
.hero-home-v51 {
  --mx: 72%;
  --my: 26%;
  position: relative;
  overflow: hidden;
  min-height: 660px;
  padding: 86px 0 54px !important;
  background:
    linear-gradient(
      90deg,
      rgba(1, 8, 16, 0.96) 0%,
      rgba(1, 8, 16, 0.92) 26%,
      rgba(3, 12, 21, 0.7) 44%,
      rgba(5, 17, 28, 0.24) 64%,
      rgba(7, 22, 35, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(1, 6, 12, 0.12) 0%, rgba(1, 6, 12, 0.42) 100%),
    url("../images/index-hero/boremex-hero-bg-v51.webp") center center / cover
      no-repeat;
}
.hero-home-v51::before,
.hero-home-v51::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-home-v51::before {
  background:
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(45, 180, 255, 0.28),
      transparent 20%
    ),
    linear-gradient(rgba(53, 183, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.05) 1px, transparent 1px);
  background-size:
    auto,
    48px 48px,
    48px 48px;
  background-repeat: no-repeat, repeat, repeat;
  opacity: 0.58;
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
}
.hero-home-v51::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
}
.hero-tech-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.hero-tech-overlay::before,
.hero-tech-overlay::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(45, 180, 255, 0.26);
}
.hero-tech-overlay::before {
  width: min(620px, 54vw);
  height: 86%;
  left: 22px;
  top: 28px;
  border-right: none;
  border-bottom: none;
  clip-path: polygon(
    0 22px,
    22px 0,
    100% 0,
    100% 18px,
    42% 18px,
    39% 40px,
    0 40px
  );
  box-shadow:
    inset 0 0 0 1px rgba(45, 180, 255, 0.05),
    0 0 24px rgba(0, 153, 255, 0.1);
}
.hero-tech-overlay::after {
  width: 260px;
  height: 96px;
  left: 34px;
  bottom: 30px;
  border-right: none;
  border-top: none;
  clip-path: polygon(0 0, 100% 0, 100% 14px, 38px 14px, 14px 40px, 0 40px);
}
.hero-shell-v51 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 520px;
}
.hero-panel-v51 {
  width: min(100%, 760px);
  position: relative;
  padding: 10px 0 0;
}
.hero-panel-v51 .eyebrow {
  margin-bottom: 16px;
  color: #31b1ff !important;
  letter-spacing: 0.18em !important;
}
.hero-panel-v51 .eyebrow::before {
  background: #31b1ff !important;
}
.hero-panel-v51 h1 {
  margin: 0 0 20px !important;
  max-width: 760px;
  font-size: clamp(3.1rem, 6vw, 6.2rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.055em !important;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-panel-v51 h1 .line {
  display: block;
}
.hero-panel-v51 h1 .accent {
  color: #1eb8ff !important;
  text-shadow: 0 0 18px rgba(30, 184, 255, 0.14);
}
.hero-panel-v51 h1 .accent::after {
  content: none !important;
}
.hero-panel-v51 .lede {
  max-width: 640px;
  margin: 0 0 24px !important;
  color: #dce8f3 !important;
  font-size: 1.08rem !important;
  line-height: 1.68 !important;
}
.hero-search-panel-v51 {
  width: min(100%, 860px);
  padding: 14px 16px 16px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(3, 11, 18, 0.82),
    rgba(4, 12, 20, 0.74)
  );
  border: 1px solid rgba(41, 177, 255, 0.26);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(41, 177, 255, 0.06);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.hero-search-panel-v51::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.78;
  background:
    linear-gradient(
        90deg,
        transparent 0%,
        rgba(41, 177, 255, 0.12) 16%,
        transparent 24%
      )
      top left / 180px 2px no-repeat,
    linear-gradient(
        90deg,
        transparent 0%,
        rgba(41, 177, 255, 0.14) 20%,
        transparent 28%
      )
      bottom right / 220px 2px no-repeat;
}
.hero-search-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34b7ff;
}
.hero-search-label .dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #22b5ff;
  box-shadow:
    0 0 18px rgba(34, 181, 255, 0.9),
    0 0 0 6px rgba(34, 181, 255, 0.14);
  animation: heroDotPulse 2.4s ease-in-out infinite;
}
.finder-hero-v51 {
  width: 100% !important;
  height: 84px !important;
  padding: 0 12px 0 18px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 18px !important;
  background: linear-gradient(
    180deg,
    rgba(3, 11, 18, 0.96),
    rgba(6, 14, 22, 0.9)
  ) !important;
  border: 1px solid rgba(42, 180, 255, 0.34) !important;
  box-shadow:
    0 0 0 3px rgba(33, 172, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.24) !important;
  position: relative;
}
.finder-hero-v51 input {
  font-size: 1.06rem !important;
  color: #fff !important;
  font-weight: 500;
}
.finder-hero-v51 input::placeholder {
  color: #a8c1d5 !important;
}
.finder-hero-v51 svg {
  color: #f4faff !important;
  opacity: 0.95;
}
.hero-search-btn {
  height: 62px;
  border: none;
  border-radius: 16px;
  padding: 0 26px;
  background: linear-gradient(180deg, #2ab7ff, #0a86ff);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.14) inset,
    0 0 24px rgba(15, 141, 255, 0.42);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18) inset,
    0 0 34px rgba(15, 141, 255, 0.56);
  filter: brightness(1.04);
}
.hero-search-btn span {
  font-size: 1.15em;
}
.hero-search-panel-v51 .finder-meta {
  margin-top: 10px;
  min-height: 18px;
  color: #9db8cc;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.hero-search-panel-v51 .finder-results {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
}
.hero-search-panel-v51 .finder-result {
  background: rgba(7, 18, 28, 0.78) !important;
  border: 1px solid rgba(41, 177, 255, 0.14) !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  min-height: 72px;
}
.hero-search-panel-v51 .finder-result:hover {
  background: rgba(8, 23, 36, 0.96) !important;
  border-color: rgba(41, 177, 255, 0.32) !important;
  transform: translateY(-1px);
}
.hero-search-panel-v51 .finder-result img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 4px;
  background: #eef7fd;
}
.hero-line-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 18px;
  max-width: 860px;
}
.hero-line-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 22, 0.84),
    rgba(5, 14, 22, 0.6)
  );
  border: 1px solid rgba(41, 177, 255, 0.22);
  color: #e7f3fb;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.hero-line-pills span:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 177, 255, 0.42);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(41, 177, 255, 0.08) inset;
}
.hero-stats-v51 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 0 !important;
}
.hero-stats-v51 .hero-stat {
  background: linear-gradient(
    180deg,
    rgba(5, 14, 22, 0.78),
    rgba(5, 14, 22, 0.56)
  );
  border: 1px solid rgba(41, 177, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
}
.hero-stats-v51 .hero-stat strong {
  font-size: 2rem;
  line-height: 1;
}
.hero-actions-v51 {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px !important;
}
.hero-actions-v51 .btn {
  min-height: 54px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
}

@keyframes heroDotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.86;
  }
}

@media (max-width: 1199px) {
  .hero-home-v51 {
    background-position: 72% center;
  }
  .hero-shell-v51 {
    min-height: 500px;
  }
  .hero-panel-v51 {
    width: min(100%, 700px);
  }
  .hero-panel-v51 h1 {
    font-size: clamp(2.9rem, 6vw, 5.5rem) !important;
    max-width: 700px;
  }
}
@media (max-width: 860px) {
  .hero-home-v51 {
    min-height: unset;
    padding: 56px 0 36px !important;
    background-position: 70% center;
  }
  .hero-home-v51::before {
    mask-image: none;
    opacity: 0.52;
  }
  .hero-tech-overlay::before {
    width: 84vw;
    height: 40%;
    left: 12px;
    top: 16px;
    clip-path: polygon(
      0 16px,
      16px 0,
      100% 0,
      100% 14px,
      46% 14px,
      42% 28px,
      0 28px
    );
  }
  .hero-tech-overlay::after {
    width: 190px;
    height: 60px;
    left: 16px;
    bottom: 18px;
    clip-path: polygon(0 0, 100% 0, 100% 12px, 34px 12px, 12px 30px, 0 30px);
  }
  .hero-panel-v51 h1 {
    font-size: clamp(2.5rem, 10vw, 4.1rem) !important;
  }
  .hero-panel-v51 .lede {
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }
  .hero-search-panel-v51 {
    padding: 12px 12px 14px;
    border-radius: 18px;
  }
  .finder-hero-v51 {
    height: auto !important;
    min-height: 68px !important;
    padding: 10px 10px 10px 14px !important;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .finder-hero-v51 input {
    grid-column: 2/3;
    grid-row: 1/2;
    font-size: 1rem !important;
  }
  .hero-search-btn {
    grid-column: 1/-1;
    height: 54px;
    width: 100%;
    justify-content: center;
    border-radius: 14px;
  }
  .hero-search-panel-v51 .finder-results {
    grid-template-columns: 1fr;
  }
  .hero-stats-v51 {
    grid-template-columns: 1fr;
  }
  .hero-actions-v51 .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================================== 
   v5.2 · HERO refinado (altura menor, fondo visible, título en 3 líneas)
   ========================================================================== */
.hero-home-v51 {
  min-height: 540px !important;
  padding: 64px 0 30px !important;
  background:
    linear-gradient(
      90deg,
      rgba(1, 8, 16, 0.92) 0%,
      rgba(1, 8, 16, 0.88) 40%,
      rgba(3, 12, 21, 0.56) 55%,
      rgba(5, 17, 28, 0.18) 75%,
      rgba(7, 22, 35, 0.02) 100%
    ),
    linear-gradient(180deg, rgba(1, 6, 12, 0.08) 0%, rgba(1, 6, 12, 0.3) 100%),
    url("../images/index-hero/boremex-hero-bg-v52.webp") center center / cover
      no-repeat !important;
}
.hero-home-v51::before {
  opacity: 0.32 !important;
  background:
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(45, 180, 255, 0.18),
      transparent 18%
    ),
    linear-gradient(rgba(53, 183, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.04) 1px, transparent 1px) !important;
  background-size:
    auto,
    42px 42px,
    42px 42px !important;
}
.hero-tech-overlay::before {
  height: 78% !important;
  opacity: 0.8;
}
.hero-tech-overlay::after {
  opacity: 0.75;
}
.hero-shell-v51 {
  min-height: 460px !important;
  align-items: flex-start !important;
}
.hero-panel-v51 {
  width: min(100%, 690px) !important;
  max-width: 690px !important;
  padding-top: 8px !important;
}
.hero-panel-v51 h1 {
  max-width: 640px !important;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.05em !important;
  margin-bottom: 18px !important;
}
.hero-panel-v51 h1 .line {
  display: block !important;
  white-space: normal !important;
}
.hero-panel-v51 h1 .accent {
  display: block !important;
  max-width: 560px;
}
.hero-panel-v51 .lede {
  max-width: 560px !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
}
.hero-search-panel-v51 {
  max-width: 610px !important;
  padding: 12px 14px 14px !important;
  border-radius: 20px !important;
}
.hero-search-label {
  margin-bottom: 10px !important;
  font-size: 0.95rem !important;
}
.finder-hero-v51 {
  height: 72px !important;
  border-radius: 16px !important;
}
.finder-hero-v51 input {
  font-size: 1rem !important;
}
.hero-search-btn {
  height: 52px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  font-size: 0.98rem !important;
}
.hero-line-pills {
  max-width: 620px !important;
  margin: 14px 0 14px !important;
  gap: 8px !important;
}
.hero-line-pills span {
  padding: 9px 14px !important;
  border-radius: 10px !important;
  font-size: 0.84rem !important;
}
.hero-stats-v51 {
  max-width: 610px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.hero-stats-v51 .hero-stat {
  padding: 12px 14px !important;
  border-radius: 14px !important;
  display: grid !important;
  grid-template-columns: 38px 1fr !important;
  column-gap: 10px !important;
  align-items: center !important;
  min-height: 96px !important;
}
.hero-stats-v51 .hero-stat .mini-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  color: #59c4ff !important;
  background: linear-gradient(
    180deg,
    rgba(53, 183, 255, 0.15),
    rgba(53, 183, 255, 0.04)
  ) !important;
  border: 1px solid rgba(53, 183, 255, 0.18) !important;
  box-shadow:
    inset 0 0 10px rgba(53, 183, 255, 0.06),
    0 0 18px rgba(53, 183, 255, 0.08) !important;
  animation: heroStatIconFloat52 4.8s ease-in-out infinite;
}
.hero-stats-v51 .hero-stat:nth-child(2) .mini-icon {
  animation-delay: 0.5s;
}
.hero-stats-v51 .hero-stat:nth-child(3) .mini-icon {
  animation-delay: 1s;
}
.hero-stats-v51 .hero-stat .mini-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}
.hero-stats-v51 .hero-stat strong {
  font-size: 1.8rem !important;
  line-height: 1 !important;
  display: block;
  grid-column: 2/3;
}
.hero-stats-v51 .hero-stat span:last-child {
  display: block;
  grid-column: 2/3;
  font-size: 0.7rem !important;
  letter-spacing: 0.08em !important;
  color: #a6bccd !important;
  text-transform: uppercase !important;
  line-height: 1.45 !important;
  margin-top: 2px !important;
}
.hero-actions-v51 {
  margin-top: 14px !important;
  gap: 12px !important;
}
.hero-actions-v51 .btn {
  min-height: 50px !important;
  padding: 0 18px !important;
  font-size: 0.95rem !important;
}
@keyframes heroStatIconFloat52 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (min-width: 1200px) {
  .hero-home-v51 {
    background-position: center center !important;
  }
}
@media (max-width: 1024px) {
  .hero-home-v51 {
    min-height: 500px !important;
    padding: 56px 0 26px !important;
    background-position: 64% center !important;
  }
  .hero-shell-v51 {
    min-height: 420px !important;
  }
  .hero-panel-v51 {
    max-width: 640px !important;
  }
}
@media (max-width: 860px) {
  .hero-home-v51 {
    min-height: unset !important;
    padding: 48px 0 28px !important;
    background-position: 68% center !important;
  }
  .hero-tech-overlay::before {
    display: none !important;
  }
  .hero-tech-overlay::after {
    display: none !important;
  }
  .hero-panel-v51 {
    max-width: 100% !important;
  }
  .hero-panel-v51 h1 {
    font-size: clamp(2.35rem, 10.4vw, 3.9rem) !important;
    line-height: 0.96 !important;
    max-width: 100% !important;
  }
  .hero-panel-v51 .lede {
    max-width: 100% !important;
    font-size: 0.96rem !important;
  }
  .hero-search-panel-v51 {
    max-width: 100% !important;
  }
  .hero-line-pills,
  .hero-stats-v51 {
    max-width: 100% !important;
  }
  .hero-stats-v51 {
    grid-template-columns: 1fr !important;
  }
  .hero-stats-v51 .hero-stat {
    min-height: 84px !important;
  }
}

/* ========================================================================== 
   v5.3 · Ajustes responsive HERO móvil + buscador sin cortes
   ========================================================================== */
.hero-home-v51 {
  overflow: visible !important;
}
.hero-panel-v51 h1 .line {
  white-space: nowrap !important;
}
.hero-search-panel-v51 {
  overflow: visible !important;
}
.hero-search-panel-v51 .finder-results {
  position: relative;
  z-index: 6;
}
.hero-search-panel-v51 .finder-result {
  position: relative;
  z-index: 1;
}

.hero-home-v51 .hero-stats-v51 .hero-stat .mini-icon,
.hero-home-v51 .hero-stats-v51 .hero-stat .mini-icon * {
  box-sizing: border-box !important;
}
.hero-home-v51 .hero-stats-v51 .hero-stat .mini-icon {
  overflow: hidden !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  max-height: 38px !important;
}
.hero-home-v51 .hero-stats-v51 .hero-stat .mini-icon svg {
  width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  max-height: 18px !important;
  display: block !important;
}

@media (max-width: 860px) {
  .hero-home-v51 {
    padding: 36px 0 24px !important;
    background-position: 68% center !important;
    overflow: visible !important;
  }
  .hero-shell-v51 {
    min-height: auto !important;
    align-items: flex-start !important;
  }
  .hero-panel-v51 {
    padding-top: 0 !important;
  }
  .hero-panel-v51 .eyebrow {
    font-size: 0.64rem !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.14em !important;
  }
  .hero-panel-v51 h1 {
    font-size: clamp(2rem, 8.4vw, 3.15rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
    text-wrap: normal !important;
  }
  .hero-panel-v51 h1 .line {
    display: block !important;
    white-space: nowrap !important;
  }
  .hero-panel-v51 h1 .accent {
    max-width: none !important;
  }
  .hero-panel-v51 .lede {
    font-size: 0.94rem !important;
    line-height: 1.56 !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
  }
  .hero-search-panel-v51 {
    margin-top: 0 !important;
    padding: 12px 12px 12px !important;
    border-radius: 18px !important;
    max-width: 100% !important;
  }
  .hero-search-label {
    font-size: 0.88rem !important;
    margin-bottom: 9px !important;
  }
  .finder-hero-v51 {
    min-height: auto !important;
    height: auto !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    align-items: center !important;
    border-radius: 16px !important;
  }
  .finder-hero-v51 > svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 auto !important;
    grid-column: 1/2 !important;
    grid-row: 1/2 !important;
  }
  .finder-hero-v51 input {
    grid-column: 2/3 !important;
    grid-row: 1/2 !important;
    min-width: 0 !important;
    padding: 12px 4px !important;
    font-size: 0.96rem !important;
  }
  .hero-search-btn {
    grid-column: 1/-1 !important;
    grid-row: 2/3 !important;
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    padding: 0 18px !important;
  }
  .hero-search-panel-v51 .finder-meta {
    margin-top: 9px !important;
    line-height: 1.45 !important;
    min-height: auto !important;
    font-size: 0.7rem !important;
  }
  .hero-search-panel-v51 .finder-results {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    max-height: 236px !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    padding-right: 4px !important;
    margin-top: 10px !important;
  }
  .hero-search-panel-v51 .finder-results::-webkit-scrollbar {
    width: 5px;
  }
  .hero-search-panel-v51 .finder-results::-webkit-scrollbar-thumb {
    background: rgba(53, 183, 255, 0.34);
    border-radius: 999px;
  }
  .hero-search-panel-v51 .finder-result {
    min-height: 66px !important;
    padding: 9px 10px !important;
    border-radius: 13px !important;
  }
  .hero-search-panel-v51 .finder-result img {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }
  .hero-line-pills {
    margin: 12px 0 12px !important;
    gap: 8px !important;
  }
  .hero-line-pills span {
    padding: 8px 11px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }
  .hero-stats-v51 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-width: 100% !important;
    margin-top: 4px !important;
  }
  .hero-stats-v51 .hero-stat {
    min-height: 76px !important;
    padding: 8px !important;
    border-radius: 12px !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    column-gap: 7px !important;
    align-items: center !important;
  }
  .hero-home-v51 .hero-stats-v51 .hero-stat .mini-icon {
    width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    max-height: 28px !important;
    border-radius: 8px !important;
    grid-row: 1/3 !important;
  }
  .hero-home-v51 .hero-stats-v51 .hero-stat .mini-icon svg {
    width: 14px !important;
    max-width: 14px !important;
    height: 14px !important;
    max-height: 14px !important;
  }
  .hero-stats-v51 .hero-stat strong {
    font-size: 1.18rem !important;
    line-height: 1 !important;
    grid-column: 2/3 !important;
  }
  .hero-stats-v51 .hero-stat span:last-child {
    font-size: 0.54rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.06em !important;
    grid-column: 2/3 !important;
  }
  .hero-actions-v51 {
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  .hero-actions-v51 .btn {
    min-height: 46px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .hero-actions-v51 .btn-outline {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .hero-panel-v51 h1 {
    font-size: clamp(1.78rem, 8.1vw, 2.45rem) !important;
    letter-spacing: -0.035em !important;
  }
  .hero-stats-v51 .hero-stat strong {
    font-size: 1.05rem !important;
  }
  .hero-stats-v51 .hero-stat span:last-child {
    font-size: 0.5rem !important;
  }
  .hero-line-pills span {
    font-size: 0.72rem !important;
    padding: 7px 9px !important;
  }
}

/* ==========================================================================
   v5.5 · SISTEMA LIMPIO PARA TARJETAS DEL INDEX
   --------------------------------------------------------------------------
   Esta sección sustituye reglas anteriores de .entry-grid-v47 / .entry-card
   para evitar choques de CSS acumulado. Las imágenes de cada línea se editan en:
   assets/images/index-catalogos/
   ========================================================================== */
.catalog-line-hidden {
  display: none !important;
}
.section-subcopy {
  max-width: 780px;
  margin: 10px auto 0;
  color: #9db0c3;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}
.section-subcopy code {
  background: rgba(53, 183, 255, 0.1);
  border: 1px solid rgba(53, 183, 255, 0.14);
  padding: 2px 6px;
  border-radius: 8px;
  color: #dff4ff;
}
.finder-result .fit-linea {
  color: #58c5ff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 3px;
}

.entry-grid.entry-grid-v47 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
.entry-grid.entry-grid-v47 > .entry-card {
  position: relative !important;
  min-height: 370px !important;
  height: auto !important;
  padding: 28px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  background: #07111b !important;
  border: 1px solid rgba(53, 183, 255, 0.2) !important;
  box-shadow: none !important;
  isolation: isolate !important;
}
.entry-grid.entry-grid-v47 > .entry-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    rgba(4, 12, 20, 0.96) 0%,
    rgba(4, 12, 20, 0.76) 38%,
    rgba(4, 12, 20, 0.18) 72%,
    rgba(4, 12, 20, 0.04) 100%
  ) !important;
}
.entry-grid.entry-grid-v47 > .entry-card > .entry-bg {
  position: absolute !important;
  inset: 0 0 0 auto !important;
  left: auto !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 62% !important;
  height: 100% !important;
  opacity: 1 !important;
  z-index: 0 !important;
  transform: none !important;
  filter: none !important;
  background-repeat: no-repeat !important;
  background-position: center right 3% !important;
  background-size: 92% auto !important;
  background-color: transparent !important;
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease) !important;
}
.entry-grid.entry-grid-v47 > .entry-card:hover > .entry-bg {
  transform: scale(1.025) !important;
}
.entry-grid.entry-grid-v47 > .entry-card > .tag {
  position: relative !important;
  z-index: 3 !important;
  align-self: flex-start !important;
  margin: 0 0 14px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: rgba(11, 31, 48, 0.78) !important;
  border: 1px solid rgba(53, 183, 255, 0.18) !important;
  color: #d7edff !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}
.entry-grid.entry-grid-v47 > .entry-card > .entry-body {
  position: relative !important;
  z-index: 3 !important;
  max-width: min(54%, 370px) !important;
  padding: 18px !important;
  border-radius: 18px !important;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 22, 0.52),
    rgba(5, 14, 22, 0.86)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.055) !important;
  backdrop-filter: blur(7px) !important;
}
.entry-grid.entry-grid-v47 > .entry-card h2 {
  font-size: clamp(1.82rem, 2.45vw, 2.4rem) !important;
  line-height: 1.03 !important;
  margin: 0 0 12px !important;
}
.entry-grid.entry-grid-v47 > .entry-card p {
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
  color: #b7c9d8 !important;
}
.entry-grid.entry-grid-v47 > .entry-card .entry-stat-row {
  display: flex !important;
  gap: 22px !important;
  margin: 14px 0 !important;
}
.entry-grid.entry-grid-v47 > .entry-card .btn {
  min-height: 48px !important;
  border-radius: 12px !important;
  background: rgba(5, 15, 24, 0.62) !important;
  backdrop-filter: blur(8px) !important;
}

/* Rutas únicas de imágenes del index */
.entry-grid.entry-grid-v47 > .entry-card.line-card-bombas > .entry-bg {
  background-image: url("../images/index-catalogos/bombas-direccion.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-agua > .entry-bg {
  background-image: url("../images/index-catalogos/bombas-agua.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-gasolina > .entry-bg {
  background-image: url("../images/index-catalogos/bombas-gasolina.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-aceite > .entry-bg {
  background-image: url("../images/index-catalogos/bombas-aceite.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-bobinas > .entry-bg {
  background-image: url("../images/index-catalogos/bobinas-ignicion.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-aceleracion > .entry-bg {
  background-image: url("../images/index-catalogos/cuerpos-aceleracion.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-tapas > .entry-bg {
  background-image: url("../images/index-catalogos/tapas-distribuidor.png") !important;
}
.entry-grid.entry-grid-v47 > .entry-card.line-card-cremalleras > .entry-bg {
  background-image: url("../images/index-catalogos/cremalleras.png") !important;
}

@media (max-width: 1180px) {
  .entry-grid.entry-grid-v47 {
    grid-template-columns: 1fr !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card {
    min-height: 360px !important;
  }
}

@media (max-width: 767px) {
  .entry-grid.entry-grid-v47 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card {
    min-height: 0 !important;
    padding: 16px !important;
    border-radius: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card::before {
    background: linear-gradient(
      180deg,
      rgba(4, 12, 20, 0.04) 0%,
      rgba(4, 12, 20, 0.1) 42%,
      rgba(4, 12, 20, 0.78) 62%,
      rgba(4, 12, 20, 0.96) 100%
    ) !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card > .entry-bg {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    order: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: 0 0 220px !important;
    border-radius: 18px !important;
    opacity: 1 !important;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-color: #07111b !important;
    transform: none !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card:hover > .entry-bg {
    transform: none !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card > .tag {
    order: 1 !important;
    margin: 12px 0 10px !important;
    position: relative !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card > .entry-body {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    position: relative !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem) !important;
    line-height: 1.05 !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 420px) {
  .entry-grid.entry-grid-v47 > .entry-card > .entry-bg {
    height: 195px !important;
    flex-basis: 195px !important;
  }
}

/* ========================================================================== 
   v5.6 · Ajuste móvil para imágenes verticales en tarjetas del index
   --------------------------------------------------------------------------
   Mantiene escritorio intacto. En móvil las imágenes reemplazadas por el usuario
   llenan mejor el ancho del recuadro sin invadir el texto.
   ========================================================================== */
@media (max-width: 767px) {
  .entry-grid.entry-grid-v47 > .entry-card {
    padding: 14px !important;
    background: linear-gradient(
      180deg,
      rgba(7, 17, 27, 0.98),
      rgba(5, 13, 22, 0.98)
    ) !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card::before {
    background: linear-gradient(
      180deg,
      rgba(4, 12, 20, 0) 0%,
      rgba(4, 12, 20, 0.06) 46%,
      rgba(4, 12, 20, 0.78) 70%,
      rgba(4, 12, 20, 0.96) 100%
    ) !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card > .entry-bg {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    aspect-ratio: 16/10 !important;
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #07111b !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card:hover > .entry-bg {
    transform: none !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card > .tag {
    margin: 14px 0 10px !important;
  }
  .entry-grid.entry-grid-v47 > .entry-card > .entry-body {
    margin-top: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(5, 14, 22, 0.48),
      rgba(5, 14, 22, 0.86)
    ) !important;
  }
}
@media (max-width: 420px) {
  .entry-grid.entry-grid-v47 > .entry-card > .entry-bg {
    aspect-ratio: 4/3 !important;
  }
}

/* ========================================================================== 
   v5.9 · HERO de catálogos limpio: imagen de fondo + gradiente azul oscuro
   Limpieza final: este bloque reemplaza los estilos viejos de imagen lateral.
   ========================================================================== */
body .catalog-hero.catalog-hero-premium {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: 430px !important;
  padding: 58px 0 54px !important;
  background-color: #020912 !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
  background-position: center center, center center !important;
  border-bottom: 1px solid rgba(53, 183, 255, 0.18) !important;
}

/* El contenido debe quedar siempre arriba de la capa */
body .catalog-hero.catalog-hero-premium > .container,
body .catalog-hero.catalog-hero-premium .catalog-breadcrumb,
body .catalog-hero.catalog-hero-premium .catalog-hero-row,
body .catalog-hero.catalog-hero-premium .catalog-hero-copy,
body .catalog-hero.catalog-hero-premium .catalog-stats-mini {
  position: relative !important;
  z-index: 5 !important;
}

/* Se elimina definitivamente el visual lateral viejo para que no se encime. */
body .catalog-hero.catalog-hero-premium .catalog-hero-visual,
body .catalog-hero.catalog-hero-premium .hero-product,
body .catalog-hero.catalog-hero-premium .tech-grid,
body .catalog-hero.catalog-hero-premium .speed-line,
body .catalog-hero.catalog-hero-premium .orbit {
  display: none !important;
}

body .catalog-hero.catalog-hero-premium .catalog-hero-row {
  display: block !important;
  min-height: 0 !important;
  max-width: 740px !important;
}
body .catalog-hero.catalog-hero-premium .catalog-hero-copy {
  max-width: 740px !important;
  padding: 0 !important;
}

/* Capa real del lado izquierdo: azul oscuro sólido para lectura; derecha transparente. */
body .catalog-hero.catalog-hero-premium::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(1, 8, 16, 0.99) 0%,
      rgba(2, 14, 28, 0.98) 20%,
      rgba(3, 24, 47, 0.96) 40%,
      rgba(5, 37, 70, 0.82) 56%,
      rgba(5, 34, 64, 0.50) 72%,
      rgba(3, 20, 40, 0.24) 88%,
      rgba(2, 9, 18, 0.08) 100%
    ),
    radial-gradient(
      circle at 24% 42%,
      rgba(53, 183, 255, 0.20) 0%,
      rgba(53, 183, 255, 0.08) 26%,
      transparent 56%
    ) !important;
}

/* Textura técnica por encima del gradiente, sin opacar demasiado la foto. */
body .catalog-hero.catalog-hero-premium::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  opacity: 0.30 !important;
  background-image:
    linear-gradient(rgba(53, 183, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.07) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%) !important;
}

/* La capa también va incluida en background-image para evitar que CSS viejo pueda ocultarla. */
body .catalog-hero.catalog-hero-premium.line-sp {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/bombas-direccion.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-agua {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/bombas-agua.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-gasolina {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/bombas-gasolina.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-aceite {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/bombas-aceite.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-bobinas {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/bobinas-ignicion.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-aceleracion {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/cuerpos-aceleracion.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-tapas {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/tapas-distribuidor.png") !important;
}
body .catalog-hero.catalog-hero-premium.line-cr {
  background-image:
    linear-gradient(90deg, rgba(1,8,16,.82) 0%, rgba(3,24,47,.70) 42%, rgba(5,34,64,.32) 68%, rgba(2,9,18,.04) 100%),
    url("../images/index-catalogos/cremalleras.png") !important;
}

body .catalog-hero.catalog-hero-premium .catalog-breadcrumb {
  margin-bottom: 28px !important;
  color: rgba(217, 232, 245, 0.82) !important;
}
body .catalog-hero.catalog-hero-premium .catalog-breadcrumb a {
  color: rgba(153, 211, 246, 0.92) !important;
}
body .catalog-hero.catalog-hero-premium .catalog-breadcrumb strong {
  color: #ffffff !important;
  font-weight: 800 !important;
}
body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1,
body .catalog-hero.catalog-hero-premium .catalog-hero-copy .lede {
  max-width: 650px !important;
}
body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 span,
body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.58) !important;
}
body .catalog-hero.catalog-hero-premium .catalog-hero-copy .lede {
  color: #dbe8f4 !important;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.50) !important;
}
body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1::after {
  background: #35b7ff !important;
  box-shadow: 0 0 18px rgba(53, 183, 255, 0.50) !important;
}
body .catalog-hero.catalog-hero-premium .catalog-stats-mini .hero-stat strong {
  color: #35b7ff !important;
}
body .catalog-hero.catalog-hero-premium .catalog-stats-mini .hero-stat span:last-child {
  color: #dce6ef !important;
}

@media (max-width: 860px) {
  body .catalog-hero.catalog-hero-premium {
    min-height: 420px !important;
    padding: 42px 0 40px !important;
    background-size: 100% 100%, cover !important;
    background-position: center center, center center !important;
  }
  body .catalog-hero.catalog-hero-premium::before {
    background:
      linear-gradient(
        180deg,
        rgba(1, 8, 16, 0.92) 0%,
        rgba(3, 20, 38, 0.82) 35%,
        rgba(4, 27, 52, 0.74) 62%,
        rgba(1, 8, 16, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(1, 8, 16, 0.86) 0%,
        rgba(4, 29, 54, 0.68) 50%,
        rgba(3, 18, 34, 0.26) 100%
      ) !important;
  }
  body .catalog-hero.catalog-hero-premium::after {
    opacity: 0.20 !important;
    mask-image: none !important;
  }
  body .catalog-hero.catalog-hero-premium .catalog-hero-row,
  body .catalog-hero.catalog-hero-premium .catalog-hero-copy {
    max-width: 100% !important;
  }
  body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 span,
  body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 strong {
    font-size: clamp(2.35rem, 10.5vw, 3.7rem) !important;
  }
}

@media (max-width: 520px) {
  body .catalog-hero.catalog-hero-premium {
    min-height: 430px !important;
    padding: 34px 0 34px !important;
  }
  body .catalog-hero.catalog-hero-premium .catalog-breadcrumb {
    margin-bottom: 22px !important;
  }
}


/* ==========================================================================
   v6.0 · Corrección final gradientes + limpieza de chips del hero index
   ========================================================================== */

/* INDEX: el hero queda sin recuadros/chips debajo del buscador */
body .hero-home-v51 .hero-line-pills,
body .hero-home-v50 .hero-line-pills,
body .hero-home-v49 .hero-line-pills,
body .hero-home-v35 .hero-line-pills,
body #heroInicio .hero-line-pills {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* INDEX: gradiente más fuerte y corrido hacia la derecha */
body .hero-home-v51,
body #heroInicio.hero-home-v51 {
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 7, 14, 0.99) 0%,
      rgba(2, 12, 24, 0.98) 20%,
      rgba(3, 20, 39, 0.94) 38%,
      rgba(4, 31, 58, 0.80) 56%,
      rgba(5, 41, 78, 0.58) 70%,
      rgba(5, 34, 64, 0.34) 82%,
      rgba(2, 10, 20, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(1, 6, 12, 0.22) 0%,
      rgba(1, 6, 12, 0.52) 100%
    ),
    url("../images/index-hero/boremex-hero-bg-v52.webp") center center / cover no-repeat !important;
}

body .hero-home-v51::before,
body #heroInicio.hero-home-v51::before {
  display: block !important;
  background:
    radial-gradient(
      circle at 64% 34%,
      rgba(53, 183, 255, 0.30),
      transparent 23%
    ),
    linear-gradient(rgba(53, 183, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.055) 1px, transparent 1px) !important;
  background-size: auto, 44px 44px, 44px 44px !important;
  background-repeat: no-repeat, repeat, repeat !important;
  opacity: 0.54 !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%) !important;
}

/* CATÁLOGOS: gradiente aplicado con máxima prioridad para que sí se vea */
html body .catalog-hero.catalog-hero-premium {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Capa principal: azul oscuro fuerte del lado del texto y transparente al lado derecho */
html body .catalog-hero.catalog-hero-premium::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(1, 7, 14, 1) 0%,
      rgba(2, 12, 25, 0.99) 18%,
      rgba(3, 22, 43, 0.97) 34%,
      rgba(4, 34, 65, 0.90) 50%,
      rgba(5, 43, 81, 0.68) 64%,
      rgba(5, 35, 66, 0.42) 78%,
      rgba(3, 18, 34, 0.18) 90%,
      rgba(2, 8, 16, 0.04) 100%
    ),
    radial-gradient(
      circle at 28% 36%,
      rgba(53, 183, 255, 0.22) 0%,
      rgba(53, 183, 255, 0.10) 30%,
      transparent 58%
    ) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Textura encima del gradiente pero debajo del texto */
html body .catalog-hero.catalog-hero-premium::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: 0.24 !important;
  background-image:
    linear-gradient(rgba(53, 183, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.06) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%) !important;
}

html body .catalog-hero.catalog-hero-premium > .container,
html body .catalog-hero.catalog-hero-premium .catalog-breadcrumb,
html body .catalog-hero.catalog-hero-premium .catalog-hero-row,
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy,
html body .catalog-hero.catalog-hero-premium .catalog-stats-mini {
  position: relative !important;
  z-index: 5 !important;
}

/* Fondos de cada catálogo sin gradiente individual para que no compitan con la capa principal */
html body .catalog-hero.catalog-hero-premium.line-sp {
  background-image: url("../images/index-catalogos/bombas-direccion.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-agua {
  background-image: url("../images/index-catalogos/bombas-agua.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-gasolina {
  background-image: url("../images/index-catalogos/bombas-gasolina.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-aceite {
  background-image: url("../images/index-catalogos/bombas-aceite.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-bobinas {
  background-image: url("../images/index-catalogos/bobinas-ignicion.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-aceleracion {
  background-image: url("../images/index-catalogos/cuerpos-aceleracion.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-tapas {
  background-image: url("../images/index-catalogos/tapas-distribuidor.png") !important;
}
html body .catalog-hero.catalog-hero-premium.line-cr {
  background-image: url("../images/index-catalogos/cremalleras.png") !important;
}

/* Móvil: se mantiene oscuro alrededor del texto para evitar que se pierda */
@media (max-width: 860px) {
  body .hero-home-v51,
  body #heroInicio.hero-home-v51 {
    background-image:
      linear-gradient(
        180deg,
        rgba(1, 7, 14, 0.94) 0%,
        rgba(2, 13, 25, 0.82) 38%,
        rgba(2, 13, 25, 0.70) 62%,
        rgba(1, 7, 14, 0.92) 100%
      ),
      linear-gradient(
        90deg,
        rgba(1, 7, 14, 0.90) 0%,
        rgba(4, 30, 56, 0.62) 58%,
        rgba(3, 16, 30, 0.28) 100%
      ),
      url("../images/index-hero/boremex-hero-bg-v52.webp") center center / cover no-repeat !important;
  }

  html body .catalog-hero.catalog-hero-premium::before {
    background:
      linear-gradient(
        180deg,
        rgba(1, 7, 14, 0.94) 0%,
        rgba(2, 12, 25, 0.82) 42%,
        rgba(1, 7, 14, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(1, 7, 14, 0.86) 0%,
        rgba(4, 30, 56, 0.66) 55%,
        rgba(3, 16, 30, 0.28) 100%
      ),
      radial-gradient(
        circle at 34% 30%,
        rgba(53, 183, 255, 0.14),
        transparent 44%
      ) !important;
  }
}


/* ========================================================================== 
   v6.1 · Corrección visual: gradientes de catálogos + buscador hero index
   ========================================================================== */

/* INDEX: mantener eliminados los chips/recuadros bajo el buscador inteligente */
html body #heroInicio .hero-line-pills,
html body .hero-home-v51 .hero-line-pills,
html body .hero-panel-v51 > .hero-line-pills {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* INDEX: gradiente del hero más hacia la derecha y más fuerte */
html body #heroInicio.hero-home-v51,
html body .hero-home-v51 {
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 6, 12, 1) 0%,
      rgba(2, 11, 22, 0.99) 18%,
      rgba(3, 18, 35, 0.97) 36%,
      rgba(4, 30, 57, 0.90) 54%,
      rgba(5, 44, 84, 0.72) 68%,
      rgba(5, 42, 80, 0.48) 80%,
      rgba(3, 22, 43, 0.24) 91%,
      rgba(2, 9, 18, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(1, 6, 12, 0.22) 0%, rgba(1, 6, 12, 0.58) 100%),
    url("../images/index-hero/boremex-hero-bg-v52.webp") center center / cover no-repeat !important;
}

/* INDEX: buscador más profesional y con separación visual de los iconos/estadísticas */
html body .hero-search-panel-v51 {
  width: min(100%, 760px) !important;
  margin: 0 0 34px !important;
  padding: 18px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(6, 18, 30, 0.88), rgba(3, 10, 18, 0.78)) !important;
  border: 1px solid rgba(53, 183, 255, 0.24) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 34px rgba(53, 183, 255, 0.08) !important;
  backdrop-filter: blur(16px) saturate(1.15) !important;
}
html body .hero-search-panel-v51::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(53, 183, 255, 0.0), rgba(53, 183, 255, 0.28), rgba(53, 183, 255, 0.0)) top left / 100% 1px no-repeat,
    radial-gradient(circle at 10% 0%, rgba(53, 183, 255, 0.18), transparent 38%) !important;
  opacity: 1 !important;
}
html body .hero-search-label {
  margin-bottom: 14px !important;
  color: #41c1ff !important;
  letter-spacing: 0.10em !important;
}
html body .hero-search-label .dot {
  width: 10px !important;
  height: 10px !important;
  background: #35b7ff !important;
  box-shadow: 0 0 18px rgba(53, 183, 255, .85), 0 0 0 7px rgba(53, 183, 255, .12) !important;
}
html body .finder-hero-v51 {
  height: 76px !important;
  padding: 0 10px 0 20px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(120, 210, 255, 0.36) !important;
  background:
    linear-gradient(180deg, rgba(2, 8, 15, 0.98), rgba(5, 15, 26, 0.94)) !important;
  box-shadow:
    0 0 0 4px rgba(53, 183, 255, 0.07),
    0 18px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
html body .finder-hero-v51:focus-within {
  border-color: rgba(91, 203, 255, 0.72) !important;
  box-shadow:
    0 0 0 4px rgba(53, 183, 255, 0.12),
    0 0 32px rgba(53, 183, 255, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
html body .finder-hero-v51 input {
  font-size: 1.03rem !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
html body .finder-hero-v51 input::placeholder {
  color: rgba(210, 230, 246, 0.72) !important;
}
html body .hero-search-btn {
  min-width: 142px !important;
  height: 56px !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, #42c3ff 0%, #1195f5 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 26px rgba(17, 149, 245, 0.34),
    0 14px 24px rgba(0, 0, 0, 0.22) !important;
}
html body .hero-search-panel-v51 .finder-meta {
  margin-top: 14px !important;
}
html body .hero-search-panel-v51 .finder-results {
  margin-top: 16px !important;
}
html body .hero-stats-v51 {
  margin-top: 12px !important;
  padding-top: 6px !important;
}
html body .hero-actions-v51 {
  margin-top: 26px !important;
}

/* CATÁLOGOS: forzar una capa sólida, limpia y oscura detrás del texto */
html body .catalog-hero.catalog-hero-premium {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

html body .catalog-hero.catalog-hero-premium::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background:
    linear-gradient(
      90deg,
      rgba(1, 6, 12, 1) 0%,
      rgba(2, 10, 20, 1) 18%,
      rgba(3, 18, 35, 0.99) 34%,
      rgba(4, 29, 56, 0.96) 50%,
      rgba(5, 42, 79, 0.82) 64%,
      rgba(5, 40, 76, 0.58) 78%,
      rgba(3, 22, 43, 0.32) 90%,
      rgba(2, 9, 18, 0.14) 100%
    ),
    radial-gradient(circle at 24% 42%, rgba(53, 183, 255, 0.20) 0%, rgba(53, 183, 255, 0.08) 30%, transparent 58%) !important;
  mix-blend-mode: normal !important;
}

/* Panel suave de lectura: evita que el producto del fondo compita con el título */
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy {
  position: relative !important;
  z-index: 6 !important;
  max-width: 710px !important;
}
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy::before {
  content: "" !important;
  position: absolute !important;
  inset: -28px -42px -24px -30px !important;
  z-index: -1 !important;
  pointer-events: none !important;
  border-radius: 28px !important;
  background:
    linear-gradient(90deg, rgba(1, 7, 14, 0.76) 0%, rgba(3, 22, 43, 0.54) 60%, rgba(3, 22, 43, 0.0) 100%) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(2px) !important;
}

html body .catalog-hero.catalog-hero-premium::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: 0.22 !important;
  background-image:
    linear-gradient(rgba(53, 183, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.055) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 80%, transparent 100%) !important;
}

html body .catalog-hero.catalog-hero-premium > .container,
html body .catalog-hero.catalog-hero-premium .catalog-breadcrumb,
html body .catalog-hero.catalog-hero-premium .catalog-hero-row,
html body .catalog-hero.catalog-hero-premium .catalog-stats-mini {
  position: relative !important;
  z-index: 5 !important;
}
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 span,
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.44), 0 24px 58px rgba(0, 0, 0, 0.54) !important;
}
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy .lede {
  color: #e1ecf5 !important;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.44) !important;
}

@media (max-width: 860px) {
  html body .hero-search-panel-v51 {
    margin-bottom: 26px !important;
    padding: 15px !important;
    border-radius: 20px !important;
  }
  html body .finder-hero-v51 {
    min-height: 70px !important;
    height: auto !important;
  }
  html body .hero-search-btn {
    min-width: 0 !important;
    width: 100% !important;
    height: 54px !important;
  }
  html body .hero-stats-v51 {
    margin-top: 18px !important;
  }
  html body .catalog-hero.catalog-hero-premium::before {
    background:
      linear-gradient(180deg, rgba(1, 6, 12, 0.96) 0%, rgba(2, 12, 24, 0.84) 42%, rgba(1, 6, 12, 0.94) 100%),
      linear-gradient(90deg, rgba(1, 6, 12, 0.90) 0%, rgba(4, 28, 54, 0.74) 62%, rgba(3, 18, 35, 0.34) 100%),
      radial-gradient(circle at 28% 28%, rgba(53, 183, 255, 0.16), transparent 44%) !important;
  }
  html body .catalog-hero.catalog-hero-premium .catalog-hero-copy::before {
    inset: -20px -18px -20px -18px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(1, 7, 14, 0.68), rgba(3, 22, 43, 0.46)) !important;
  }
}



/* ==========================================================================
   v6.2 · Gradiente de catálogos final: izquierda a derecha, más oscuro
   ========================================================================== */
html body .catalog-hero.catalog-hero-premium {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Se elimina el panel interno y cualquier brillo radial anterior para que el degradado sea limpio */
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy::before {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Gradiente principal: empieza muy oscuro en el texto y se desvanece hacia la derecha */
html body .catalog-hero.catalog-hero-premium::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: linear-gradient(
    90deg,
    rgba(0, 5, 10, 1.00) 0%,
    rgba(1, 9, 18, 1.00) 18%,
    rgba(2, 16, 31, 0.98) 34%,
    rgba(3, 25, 48, 0.92) 49%,
    rgba(4, 31, 58, 0.72) 63%,
    rgba(4, 27, 52, 0.46) 76%,
    rgba(3, 18, 34, 0.24) 88%,
    rgba(2, 8, 16, 0.08) 100%
  ) !important;
}

/* Textura técnica muy sutil, sin manchas centrales */
html body .catalog-hero.catalog-hero-premium::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: 0.16 !important;
  background-image:
    linear-gradient(rgba(53, 183, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 74%, transparent 100%) !important;
}

html body .catalog-hero.catalog-hero-premium > .container,
html body .catalog-hero.catalog-hero-premium .catalog-breadcrumb,
html body .catalog-hero.catalog-hero-premium .catalog-hero-row,
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy,
html body .catalog-hero.catalog-hero-premium .catalog-stats-mini {
  position: relative !important;
  z-index: 5 !important;
}

html body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 span,
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy h1 strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.58), 0 28px 70px rgba(0, 0, 0, 0.62) !important;
}
html body .catalog-hero.catalog-hero-premium .catalog-hero-copy .lede {
  color: #e4eef7 !important;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.56) !important;
}

@media (max-width: 860px) {
  html body .catalog-hero.catalog-hero-premium::before {
    background: linear-gradient(
      90deg,
      rgba(0, 5, 10, 0.96) 0%,
      rgba(1, 9, 18, 0.92) 28%,
      rgba(3, 22, 43, 0.78) 55%,
      rgba(3, 18, 34, 0.50) 78%,
      rgba(2, 8, 16, 0.24) 100%
    ) !important;
  }
}


/* ==========================================================================
   v6.3 · Gradiente REAL para hero de catálogos
   Solución definitiva: ya no depende de ::before/::after viejos.
   ========================================================================== */

/* Base del hero */
html body section.catalog-hero.catalog-hero-premium {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-color: #02070e !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Se apagan pseudo-elementos anteriores para que no compitan con el nuevo gradiente */
html body section.catalog-hero.catalog-hero-premium::before,
html body section.catalog-hero.catalog-hero-premium::after,
html body section.catalog-hero.catalog-hero-premium .catalog-hero-copy::before {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Capa REAL insertada en el HTML: izquierda muy oscura, derecha transparente */
html body section.catalog-hero.catalog-hero-premium > .catalog-hero-gradient-layer {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(0, 5, 12, 1.00) 0%,
      rgba(0, 7, 16, 1.00) 20%,
      rgba(1, 12, 25, 0.99) 42%,
      rgba(2, 21, 43, 0.94) 58%,
      rgba(3, 28, 56, 0.76) 70%,
      rgba(3, 24, 48, 0.42) 84%,
      rgba(2, 12, 25, 0.10) 100%
    ) !important;
}

/* Sombra adicional para lectura, sin crear manchas en el centro */
html body section.catalog-hero.catalog-hero-premium > .catalog-hero-gradient-layer::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      180deg,
      rgba(0, 4, 10, 0.18) 0%,
      rgba(0, 4, 10, 0.06) 45%,
      rgba(0, 4, 10, 0.36) 100%
    ) !important;
}

/* El contenido siempre debe quedar por encima de la capa */
html body section.catalog-hero.catalog-hero-premium > .container,
html body section.catalog-hero.catalog-hero-premium .catalog-breadcrumb,
html body section.catalog-hero.catalog-hero-premium .catalog-hero-row,
html body section.catalog-hero.catalog-hero-premium .catalog-hero-copy,
html body section.catalog-hero.catalog-hero-premium .catalog-stats-mini {
  position: relative !important;
  z-index: 3 !important;
}

/* Se mantiene oculto el visual lateral viejo */
html body section.catalog-hero.catalog-hero-premium .catalog-hero-visual,
html body section.catalog-hero.catalog-hero-premium .hero-product,
html body section.catalog-hero.catalog-hero-premium .tech-grid,
html body section.catalog-hero.catalog-hero-premium .speed-line,
html body section.catalog-hero.catalog-hero-premium .orbit {
  display: none !important;
}

/* Fondos por línea, usando las mismas imágenes del index */
html body section.catalog-hero.catalog-hero-premium.line-sp {
  background-image: url("../images/index-catalogos/bombas-direccion.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-agua {
  background-image: url("../images/index-catalogos/bombas-agua.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-gasolina {
  background-image: url("../images/index-catalogos/bombas-gasolina.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-aceite {
  background-image: url("../images/index-catalogos/bombas-aceite.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-bobinas {
  background-image: url("../images/index-catalogos/bobinas-ignicion.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-aceleracion {
  background-image: url("../images/index-catalogos/cuerpos-aceleracion.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-tapas {
  background-image: url("../images/index-catalogos/tapas-distribuidor.png") !important;
}
html body section.catalog-hero.catalog-hero-premium.line-cr {
  background-image: url("../images/index-catalogos/cremalleras.png") !important;
}

/* Texto más limpio encima del gradiente */
html body section.catalog-hero.catalog-hero-premium .catalog-hero-copy h1,
html body section.catalog-hero.catalog-hero-premium .catalog-hero-copy h1 span,
html body section.catalog-hero.catalog-hero-premium .catalog-hero-copy h1 strong,
html body section.catalog-hero.catalog-hero-premium .catalog-hero-copy .lede {
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.56) !important;
}

/* Móvil: más oscuro para asegurar lectura */
@media (max-width: 860px) {
  html body section.catalog-hero.catalog-hero-premium {
    background-position: center center !important;
  }

  html body section.catalog-hero.catalog-hero-premium > .catalog-hero-gradient-layer {
    background:
      linear-gradient(
        90deg,
        rgba(0, 5, 12, 0.98) 0%,
        rgba(1, 10, 22, 0.96) 48%,
        rgba(2, 18, 38, 0.70) 78%,
        rgba(2, 10, 22, 0.30) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 5, 12, 0.40) 0%,
        rgba(0, 5, 12, 0.18) 45%,
        rgba(0, 5, 12, 0.72) 100%
      ) !important;
  }
}


/* ==========================================================================
   v6.4 · Gradiente del HERO del index con colores del hero de catálogos
   ========================================================================== */

/* Se usan los mismos tonos azul oscuro del gradiente aprobado en catálogos.
   El degradado se extiende más hacia la derecha para cubrir mejor el texto largo. */
html body #heroInicio.hero-home-v51,
html body .hero-home-v51 {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 5, 12, 1.00) 0%,
      rgba(0, 7, 16, 1.00) 24%,
      rgba(1, 12, 25, 0.99) 46%,
      rgba(2, 21, 43, 0.94) 64%,
      rgba(3, 28, 56, 0.76) 78%,
      rgba(3, 24, 48, 0.42) 91%,
      rgba(2, 12, 25, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 4, 10, 0.28) 0%,
      rgba(0, 4, 10, 0.10) 46%,
      rgba(0, 4, 10, 0.42) 100%
    ),
    url("../images/index-hero/boremex-hero-bg-v52.webp") center center / cover no-repeat !important;
}

/* Luz azul interactiva más controlada y desplazada a la derecha */
html body #heroInicio.hero-home-v51::before,
html body .hero-home-v51::before {
  display: block !important;
  background:
    radial-gradient(
      circle at 76% 34%,
      rgba(53, 183, 255, 0.24),
      transparent 22%
    ),
    linear-gradient(rgba(53, 183, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 183, 255, 0.045) 1px, transparent 1px) !important;
  background-size: auto, 44px 44px, 44px 44px !important;
  background-repeat: no-repeat, repeat, repeat !important;
  opacity: 0.48 !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%) !important;
}

/* El bloque del texto conserva mayor contraste sobre el nuevo gradiente */
html body .hero-panel-v51 {
  position: relative !important;
  z-index: 2 !important;
}

html body .hero-panel-v51 h1,
html body .hero-panel-v51 .lede {
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.55) !important;
}

/* Buscador con más separación visual sobre el nuevo fondo */
html body .hero-search-panel-v51 {
  background:
    linear-gradient(180deg, rgba(3, 11, 18, 0.92), rgba(4, 14, 25, 0.82)) !important;
  border-color: rgba(53, 183, 255, 0.28) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(53, 183, 255, 0.06) !important;
}

/* Móvil: mantener el texto legible sin ocultar demasiado la imagen */
@media (max-width: 860px) {
  html body #heroInicio.hero-home-v51,
  html body .hero-home-v51 {
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 5, 12, 0.96) 0%,
        rgba(1, 10, 22, 0.88) 38%,
        rgba(1, 10, 22, 0.78) 62%,
        rgba(0, 5, 12, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 5, 12, 0.94) 0%,
        rgba(1, 12, 25, 0.86) 54%,
        rgba(2, 21, 43, 0.54) 82%,
        rgba(2, 12, 25, 0.22) 100%
      ),
      url("../images/index-hero/boremex-hero-bg-v52.webp") center center / cover no-repeat !important;
  }
}


/* ========================================================================== 
   v6.5 · Visibilidad pública de catálogos
   ========================================================================== */
html body [hidden],
html body .catalog-line-hidden,
html body a.catalog-line-hidden,
html body .entry-card.catalog-line-hidden,
html body [data-catalog-type].catalog-line-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
