/* ==========================================================================
   M&F HERRAMIENTAS — site.css
   Hoja de estilos ÚNICA del sitio (todas las páginas cargan solo este archivo).
   Antes eran 11 archivos; se unieron en este orden, que importa (lo de abajo
   gana): base → animaciones → mapa → carrito → checkout → secciones →
   responsive → páginas → sistema visual → campaña Black Friday → guías.
   Al cambiar algo aquí, sube el ?v= en las páginas (y corre npm run fichas).
   ========================================================================== */

/* ---------- Tipografías de la marca (manual de imagen de M&F; alojadas en assets/fonts/, solo alfabeto latino) ----------
   Montserrat (títulos y botones: Bold 700 y SemiBold 600) e Inter (cuerpo: 400–700). Las dos son archivos variables: uno
   sirve todos los pesos. Licencia SIL Open Font License 1.1. Se precargan Inter y Montserrat en el <head> de cada página. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Flechas (← →) y ✓ de las mismas fuentes: el archivo latino no las trae y el navegador las tomaba de Arial o
   Segoe UI. Archivos de 4 KB que solo se descargan si la página usa esos caracteres. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-simbolos.woff2) format('woff2');
  unicode-range: U+2190-2193, U+2713;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(../fonts/montserrat-simbolos.woff2) format('woff2');
  unicode-range: U+2190-2193, U+2713;
}


/* ######################################################################## */
/* ##### main.css (antes archivo aparte) ################################ */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — main.css
   ========================================================================== */

:root {
  /* =====================================================================
     SISTEMA VISUAL M&F — todas las variables del sitio están AQUÍ.
     Para cambiar un color, un borde o una sombra en todo el sitio, se cambia
     en este bloque. Estilo: sobrio y técnico (plano, esquinas casi rectas,
     sin resplandores ni degradados decorativos).
     ===================================================================== */

  /* --- Marca --- */
  --c-blue: #036fd3;            /* azul M&F: botones, enlaces, acentos */
  --c-blue-rgb: 3 111 211;      /* el mismo azul para transparencias: rgb(var(--c-blue-rgb) / 0.1) */
  --c-blue-dim: #0459a8;        /* azul oscuro: hover y enlaces sobre fondo claro */
  --c-blue-light: #9ec0ff;      /* azul claro: etiquetas pequeñas sobre fondo negro */

  /* --- Fondos oscuros (negro y acero) --- */
  --c-black: #000000;
  --c-ink: #0a0b0d;
  --c-steel-900: #101215;
  --c-steel-800: #17191d;
  --c-steel-700: #202329;
  --c-steel-600: #34383f;
  --c-steel-400: #6b7078;

  /* --- Grises (fondos claros, textos y bordes) --- */
  --c-white: #ffffff;
  --c-paper: #f4f5f7;           /* fondo gris claro de secciones */
  --c-gray-50: #f8f9fa;
  --c-gray-100: #eef0f2;
  --c-gray-200: #e3e6ea;        /* borde normal */
  --c-gray-300: #cfd5dc;
  --c-gray-400: #9aa3ad;        /* borde al pasar el mouse */
  --c-gray-500: #6b7280;        /* texto secundario */
  --c-gray-600: #4b5563;
  --c-gray-700: #374151;
  --c-gray-800: #1f2937;
  --c-gray-900: #111827;        /* texto principal sobre fondo claro */

  /* --- Usos (alias) --- */
  --c-text: var(--c-gray-900);
  --c-text-2: var(--c-gray-700);
  --c-text-muted: var(--c-gray-500);
  --c-border: var(--c-gray-200);
  --c-border-soft: var(--c-gray-200);
  --c-border-strong: var(--c-gray-400);
  --c-on-dark: var(--c-white);
  --c-on-dark-2: rgba(255, 255, 255, 0.75);
  --c-on-dark-muted: rgba(255, 255, 255, 0.6);
  --c-line-dark: rgba(255, 255, 255, 0.08);

  /* --- Estados --- */
  --c-success: #16a34a;
  --c-error: #ef4444;
  --c-error-light: #f87171;     /* errores sobre fondo oscuro */
  --c-warning: #b45309;
  /* Botones de WhatsApp con letra blanca: verde oscuro para contraste 5:1 (decisión del dueño, 2 nov. 2026; el verde
     de la marca, #25d366, solo da 2:1 con blanco). El verde de la marca queda para íconos sobre fondo oscuro. */
  --c-whatsapp: #15803d;
  --c-whatsapp-hover: #116b33;
  --c-whatsapp-marca: #25d366;

  /* --- Horario de WhatsApp: sale junto a TODOS los botones de WhatsApp (encima de "Al escribirnos aceptas...").
         Para cambiarlo, edita solo el texto entre comillas y sube el ?v= de site.css. --- */
  --wa-horario: "Lunes a sábado, 9 a. m. – 7 p. m. · Respondemos en menos de 2 horas";

  /* --- Encabezado (blanco con el logo a color del manual; Fase 1, 29 oct. 2026) --- */
  --header-bg: var(--c-white);
  --header-text: var(--c-gray-700);         /* enlaces del menú */
  --header-text-strong: var(--c-gray-900);  /* enlace activo, al pasar el mouse, hamburguesa, íconos */
  --header-accent: var(--c-blue-dim);       /* texto del botón "Cotizar" (contraste AA sobre blanco) */
  --header-line: var(--c-gray-200);         /* línea inferior */
  --header-shadow: 0 1px 4px rgba(17, 24, 39, 0.08);   /* al hacer scroll */
  --header-field-bg: var(--c-gray-50);      /* buscador y botón de la lista */
  --header-field-border: var(--c-gray-300);
  --header-placeholder: var(--c-gray-500);

  /* --- Campaña Black Friday LEVEL UP (KING TONY) --- */
  --bf-blue: #0b63f6;
  --bf-black: #000;
  --bf-line: rgba(255, 255, 255, 0.12);

  /* --- Tipografías (solo estas dos) --- */
  --font-display: 'Montserrat', sans-serif;   /* títulos */
  --font-ui: 'Montserrat', sans-serif;        /* botones */
  --font-body: 'Inter', sans-serif;                      /* texto */

  /* --- Espaciado (escala base 4 px) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  /* --- Bordes redondeados (casi rectos) --- */
  --radius-xs: 2px;
  --radius-sm: 4px;             /* botones, campos, etiquetas */
  --radius-md: 6px;             /* tarjetas */
  --radius-lg: 8px;             /* ventanas (carrito, checkout, modales) */
  --radius-pill: 999px;         /* solo filtros tipo "pastilla" */

  /* --- Sombras: solo para separar capas, nunca de adorno --- */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);           /* carrito, checkout y avisos flotantes */
  --focus-ring: 0 0 0 3px rgb(var(--c-blue-rgb) / 0.25);
  --focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.2);

  /* --- Movimiento --- */
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --ease-soft: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

::selection { background: var(--c-blue); color: var(--c-white); }

:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1.5rem;
}

.section-eyebrow--light { color: var(--c-blue); }

.nav-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-xs);
  padding: 0.1rem 0.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s, color 0.35s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
}
.btn-primary:hover { background: var(--c-white); color: var(--c-black); }

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--c-white); }

.btn-nav {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  background: transparent;
  border-color: var(--c-blue);
  color: var(--c-white);
}
.btn-nav:hover { background: var(--c-blue); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.1rem 0;
  background: transparent;
  transition: background 0.4s var(--ease-in-out), padding 0.4s var(--ease-in-out);
}

.site-header.is-scrolled {
  background: var(--c-ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 30px; width: auto; }

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.main-nav a:hover { color: var(--c-white); }
.main-nav .nav-index { font-size: 0.65rem; color: var(--c-blue); border-color: rgb(var(--c-blue-rgb) / 0.5); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--c-white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */


/* ==========================================================================
   HERO — Nueva portada estilo inspiración
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vh, 2rem);
  padding: 4rem 0 0 0;
  overflow-x: hidden; /* prevent horizontal scroll from rotated image */
  overflow-y: visible;
  background: var(--c-black);
}


/* Título PRECI SIÓN masivo */
.hero-word-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.hero-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 13rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--c-white);
  display: block;
  /* Separar la linterna con un gap visual */
  text-shadow: none;
}


/* Linterna del hero: foto del producto, sin efectos */
.hero-flashlight-wrap {
  position: relative;
  width: clamp(400px, 85vw, 1100px);
  margin-top: -1rem;
  margin-bottom: -1rem;
  /* No aspect-ratio fijo: la imagen dicta su propia altura al 100% de ancho */
  z-index: 4;
  flex-shrink: 0;
  display: block; /* Fixed mobile squish bug */
  text-align: center;
  overflow: visible;
  pointer-events: none;
}


/* Contenido inferior (tagline + botones) */
.hero-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  pointer-events: all;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Stats en la base */
.hero-specs {
  position: relative; /* Eliminado absolute para que no colisione */
  width: 100%;
  margin-top: auto; /* Se empuja hacia abajo en el flex column */
  z-index: 5;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  flex-wrap: wrap;
}

.spec { display: flex; flex-direction: column; gap: 0.2rem; align-items: center; }
.spec-row { display: flex; align-items: baseline; gap: 0.1rem; }
.spec-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--c-white);
  display: inline;
  line-height: 1;
}
.spec-plus { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--c-blue); }
.spec-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  max-width: 140px;
  text-align: center;
}
.spec-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Scroll cue — esquina inferior */
.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  right: var(--gutter);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue-track {
  width: 2px;
  height: 46px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.scroll-cue-needle {
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--c-blue);
  animation: scrollNeedle 1.8s var(--ease-in-out) infinite;
}
.scroll-cue-label {
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   FRANJA DE CONFIANZA — en todas las páginas, debajo del encabezado
   ========================================================================== */
.trust-strip {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-4) var(--gutter);
}
.trust-strip-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
}
.trust-strip-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
}
.trust-strip-list .fas { color: var(--c-blue); font-size: 1rem; }
@media (max-width: 860px) {
  .trust-strip-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
  .trust-strip-list li { font-size: 0.8rem; align-items: flex-start; line-height: 1.3; }
  .trust-strip-list .fas { margin-top: 0.05em; }
}

/* ==========================================================================
   ASSEMBLY (Acto 2 — pin scroll)
   ========================================================================== */


/* ==========================================================================
   ABOUT (Sobre nosotros)
   ========================================================================== */
.about {
  background: var(--c-paper);
  color: var(--c-black);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  position: relative;
}
.about-inner { max-width: var(--container); margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-panel {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xs);
  position: relative;
}
.about-panel--dark { background: var(--c-black); color: var(--c-white); }
.about-panel--light { background: var(--c-white); color: var(--c-black); border: 1px solid rgba(0,0,0,0.08); }

.panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--c-blue);
}
.panel-placeholder {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.72;
  margin: 0;
  border-left: 2px solid var(--c-blue);
  padding-left: 1rem;
}

.panel-copy {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.85;
  margin: 0;
  border-left: 2px solid var(--c-blue);
  padding-left: 1rem;
}

.about-story {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--c-white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-xs);
}
.about-story-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin: 0 0 1.25rem;
}
.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.story-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.8;
}
.story-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--c-blue);
  transform: rotate(45deg);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.services-inner { max-width: var(--container); margin: 0 auto; }
.services-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.08;
  max-width: 900px;
  margin: 0 0 3.5rem;
  color: var(--c-ink);
}

.services-list { 
  display: flex; 
  flex-direction: column;
  gap: 1.25rem;
}
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 2rem;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.service-row:hover {
  border-color: rgb(var(--c-blue-rgb) / 0.35);
  box-shadow: none;
}

.service-body { flex: 1 1 auto; width: 100%; }
.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  color: var(--c-ink);
}
.service-body p {
  margin: 0;
  color: rgba(10, 11, 13, 0.78);
  max-width: 100%;
  font-size: 1.02rem;
  line-height: 1.65;
}
.service-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  background: rgb(var(--c-blue-rgb) / 0.08);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
}

/* ==========================================================================
   PRODUCTS / BRANDS
   ========================================================================== */
.products {
  background: var(--c-paper);
  color: var(--c-black);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
}
.products-inner { max-width: var(--container); margin: 0 auto; }
.products-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
  max-width: 780px;
}
.products-sub {
  max-width: 560px;
  color: rgba(0,0,0,0.6);
  margin: 0 0 3.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}
.brands-grid--five {
  grid-template-columns: repeat(6, 1fr);
}
.brands-grid--five .brand-plate {
  grid-column: span 2;
}
.brands-grid--five .brand-plate:nth-child(4) { grid-column: 2 / span 2; }
.brands-grid--five .brand-plate:nth-child(5) { grid-column: 4 / span 2; }

.brands-grid--ten {
  grid-template-columns: repeat(5, 1fr);
}

.brand-plate {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--c-white);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.brand-plate::before, .brand-plate::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
}
.brand-plate::before { top: 10px; left: 10px; }
.brand-plate::after { bottom: 10px; right: 10px; }
.brand-plate:hover { box-shadow: var(--shadow-md); }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 1rem;
}
.brand-plate--pending {
  background: var(--c-gray-50);
  flex-direction: column;
  gap: 0.4rem;
}
.brand-plate--pending .brand-name { color: rgba(0,0,0,0.4); }
.brand-pending-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  border: 1px solid var(--c-blue);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
}

.categories-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin: 0 0 1.5rem;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.category-card p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.category-thumb {
  aspect-ratio: 4/3;
  background: var(--c-steel-800);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.category-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}
.category-thumb span {
  position: relative;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-xs);
}
.categories-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.45);
  font-style: italic;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter) 5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-inner { max-width: var(--container); margin: 0 auto; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin: 0 0 3.5rem;
  max-width: 700px;
  color: var(--c-ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-channels { display: flex; flex-direction: column; gap: 1rem; }
.channel-switch {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.4rem;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.channel-switch:hover {
  border-color: var(--c-blue);
  background: rgb(var(--c-blue-rgb) / 0.04);
  transform: translateX(4px);
}
.channel-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgb(var(--c-blue-rgb) / 0.1);
  color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-text { display: flex; flex-direction: column; gap: 0.15rem; }
.channel-text strong { font-size: 1rem; color: var(--c-ink); }
.channel-text span { font-size: 0.85rem; color: rgba(10, 11, 13, 0.65); }
.channel-arrow { margin-left: auto; color: var(--c-blue); font-size: 1.1rem; }

/* Social media links within contact */
.social-links {
  margin-top: 0.5rem;
  padding: 1.3rem 1.4rem;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.social-links-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(10, 11, 13, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgb(var(--c-blue-rgb) / 0.1);
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.social-link:hover {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: none;
}
/* Instagram hover gradient */
.social-link#social-instagram:hover {
  background: var(--c-blue);
}
/* Facebook hover */
.social-link#social-facebook:hover {
  background: #1877f2;
}
/* Google hover */
.social-link#social-google:hover {
  background: #4285f4;
}
/* WhatsApp hover */
.social-link#social-whatsapp:hover {
  background: var(--c-whatsapp);
}
/* Reserved / coming soon links */
.social-link--soon {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: var(--radius-md);
}
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 11, 13, 0.75);
}
.form-row .optional { text-transform: none; letter-spacing: 0; opacity: 0.6; }
.form-row input, .form-row textarea {
  background: var(--c-gray-50);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  padding: 0.75rem 0.9rem;
  font-size: 0.98rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  background: var(--c-white);
  border-color: var(--c-blue);
  box-shadow: var(--focus-ring);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.btn-form { margin-top: 0.5rem; width: 100%; }
.form-status { font-size: 0.85rem; min-height: 1.2em; margin: 0; }
.form-status.is-success { color: #3ddc84; }
.form-status.is-error { color: #ff6161; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ============ FOOTER ============ */
.site-footer {
  background-color: var(--c-steel-900);
  color: var(--c-paper);
  padding: 4rem var(--gutter) 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1.2rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-white);
  margin-bottom: 1.5rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-contact-link:hover {
  color: var(--c-blue);
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: none;
}

.footer-social-link--soon {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.footer-meta {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   FLASHLIGHT — Imagen real del producto
   ========================================================================== */
.flashlight-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}


/* ==========================================================================
   BRAND PLATES — clickeables con señal visual
   ========================================================================== */
.brand-plate {
  cursor: pointer;
  background: var(--c-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-xs);
  font-family: inherit;
  padding: 0;
  text-align: center;
  position: relative;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, outline 0.2s;
}

.brand-plate .brand-cta {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  margin-top: 0.4rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}

.brand-plate:hover .brand-cta,
.brand-plate:focus-visible .brand-cta {
  opacity: 1;
  transform: translateY(0);
}

.brand-plate:hover,
.brand-plate:focus-visible {
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

.brand-plate::before, .brand-plate::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
}
.brand-plate::before { top: 10px; left: 10px; }
.brand-plate::after  { bottom: 10px; right: 10px; }

/* Brand logo images inside grid cards */
.brand-logo {
  display: block;
  max-width: 70%;
  max-height: 55%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out);
}
.brand-plate:hover .brand-logo,
.brand-plate:focus-visible .brand-logo {
}

/* Brand logo inside modals (detail view) */
.modal-brand-logo {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
}

/* Translucent/transparent background style specifically for Racing Tools modal logo */
#modal-racing-tools .modal-brand-logo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   BRAND MODALS
   ========================================================================== */
body.modal-open { overflow: hidden; }

.brand-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-in-out);
}
.brand-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.brand-modal {
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: min(680px, 100vw);
  z-index: 900;
  background: var(--c-steel-900);
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.45s var(--ease-out);
  overflow: hidden;
  pointer-events: none;
}
.brand-modal.is-visible {
  transform: translateX(0);
  pointer-events: all;
}

.brand-modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem) 2.5rem;
  gap: 1.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.modal-close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--c-white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.3s;
  flex-shrink: 0;
  z-index: 10;
  margin-bottom: -0.5rem;
}
.modal-close:hover {
  background: rgba(255,255,255,0.14);
  transform: rotate(90deg);
}

.modal-header { display: flex; flex-direction: column; gap: 0.85rem; }

.modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  color: var(--c-white);
  letter-spacing: -0.01em;
}

.modal-desc {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  margin: 0;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.modal-tag {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-blue-dim);   /* ficha de fondo blanco (nov. 2026) */
  border: 1px solid rgb(var(--c-blue-rgb) / 0.4);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-xs);
  background: rgb(var(--c-blue-rgb) / 0.06);
}

.modal-header::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 0.25rem;
}

.modal-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--c-steel-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgb(var(--c-blue-rgb) / 0.35);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1rem;
  background: var(--c-white);
}
.product-card .product-caption {
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.product-card--placeholder {
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card--placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}
.product-card--placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  border: 1px dashed rgba(255,255,255,0.12);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-xs);
  position: relative;
}

.modal-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: auto;
  padding-bottom: 0.5rem;
}
.modal-contact-btn {
  width: 100%;
  justify-content: center;
}

/* Modal en móvil — se abre desde abajo */
@media (max-width: 720px) {
  .brand-modal {
    width: 100vw;
    height: 92svh;
    top: auto;
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(102%);
  }
  .brand-modal.is-visible { transform: translateY(0); }
  .modal-products-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-title { font-size: 2.2rem; }
}

/* ==========================================================================
   FOOTER NAV
   ========================================================================== */
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s;
}
.footer-nav a:hover {
  color: var(--c-blue);
}

/* ==========================================================================
   DISTRIBUTORS
   ========================================================================== */
.distributors {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.distributors-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.distributors-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
  max-width: 800px;
  color: var(--c-ink);
}
.distributors-lead {
  max-width: 680px;
  color: rgba(10, 11, 13, 0.78);
  font-size: 1.05rem;
  margin: 0 0 3.5rem;
  line-height: 1.7;
}

.distributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.distributor-card {
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.distributor-card:hover {
  border-color: var(--c-blue);
  box-shadow: none;
}
.distributor-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgb(var(--c-blue-rgb) / 0.1);
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.distributor-icon svg {
  width: 24px;
  height: 24px;
}
.distributor-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  color: var(--c-ink);
}
.distributor-card p {
  font-size: 0.94rem;
  color: rgba(10, 11, 13, 0.72);
  margin: 0;
  line-height: 1.6;
}

.distributor-cta-box {
  background: var(--c-white);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.25);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.distributor-cta-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--c-ink);
}
.distributor-cta-content p {
  margin: 0;
  color: rgba(10, 11, 13, 0.75);
  font-size: 0.98rem;
  max-width: 600px;
}

/* ==========================================================================
   NEWS
   ========================================================================== */
.news {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.news-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.news-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  margin: 0 0 1rem;
  color: var(--c-ink);
}
.news-sub {
  max-width: 600px;
  color: rgba(10, 11, 13, 0.7);
  margin: 0 0 3.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.news-card {
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  border-color: rgb(var(--c-blue-rgb) / 0.4);
  box-shadow: none;
}

.news-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  background: rgb(var(--c-blue-rgb) / 0.08);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.news-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.78rem;
  color: rgba(10, 11, 13, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.news-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.8rem;
  color: var(--c-ink);
}

.news-card-excerpt {
  font-size: 0.92rem;
  color: rgba(10, 11, 13, 0.72);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.news-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, transform 0.2s;
  margin-top: auto;
}
.news-link:hover {
  color: #2b8df1;
  transform: translateX(4px);
}

/* ==========================================================================
   STORE CATALOG / TIENDA DE PRODUCTOS
   ========================================================================== */
.store-catalog {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.store-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.store-main-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--c-ink);
}

.store-main-subtitle {
  margin: 0;
  color: rgba(10, 11, 13, 0.72);
  font-size: 0.95rem;
  max-width: 580px;
}

.store-search-box {
  position: relative;
  width: min(420px, 100%);
}

.store-search-box .search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--c-gray-500);
  pointer-events: none;
  transition: color 0.3s;
}

.store-search-box input {
  width: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-gray-300);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 3rem;
  color: var(--c-gray-900);
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.store-search-box input::placeholder {
  color: var(--c-gray-400);
}

.store-search-box input:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: var(--focus-ring);
}

.store-search-box input:focus + .search-icon,
.store-search-box input:not(:placeholder-shown) + .search-icon {
  color: var(--c-blue);
}

/* Category & Subcategory Filters */
.store-filters-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.category-pills-scroll,
.subcategory-chips-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.category-pill {
  white-space: nowrap;
  background: #e2e5eb;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #242830;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.25s;
  cursor: pointer;
}

.category-pill:hover {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}

.category-pill.is-active {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
  font-weight: 600;
  box-shadow: none;
}

.subcategory-chips-scroll {
  padding-left: 0.2rem;
}

.subcategory-chip {
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.05);
  border: 1px dashed rgba(0, 0, 0, 0.25);
  color: var(--c-steel-600);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.25s;
  cursor: pointer;
}

.subcategory-chip:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: rgb(var(--c-blue-rgb) / 0.08);
}

.subcategory-chip.is-active {
  background: var(--c-blue);
  border: 1px solid var(--c-blue);
  color: var(--c-white);
}

.store-status-bar {
  margin-bottom: 2rem;
}

.store-results-count {
  font-size: 0.84rem;
  color: rgba(10, 11, 13, 0.65);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Products Grid & 3-Row Limit Wrapper */
.store-products-grid-wrapper {
  position: relative;
  max-height: 1120px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-products-grid-wrapper.is-expanded {
  max-height: 30000px;
}

.store-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1rem;
}

.btn-load-more-products {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-white) !important;
  color: var(--c-blue) !important;
  border: 2px solid var(--c-blue) !important;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: none;
}

.btn-load-more-products:hover {
  background: var(--c-blue) !important;
  color: var(--c-white) !important;
  border-color: var(--c-blue) !important;
  box-shadow: none;
}

.store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-family-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-family-card:hover {
  border-color: var(--c-blue);
  box-shadow: none;
}

.product-family-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  background: var(--c-gray-50);
  border-bottom: 1px solid var(--c-gray-100);
}

.card-badge-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-gray-900);
  background: var(--c-gray-100);
  border: 1px solid var(--c-gray-300);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-badge-variants {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-gray-600);
  background: var(--c-gray-100);
  border: 1px solid var(--c-gray-300);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.card-placeholder-img {
  aspect-ratio: 16 / 9;
  background: var(--c-gray-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  border-bottom: 1px solid var(--c-gray-100);
}

.card-placeholder-img .placeholder-icon {
  width: 36px;
  height: 36px;
  color: var(--c-blue);
  opacity: 0.8;
  transition: transform 0.3s;
}

.product-family-card:hover .card-placeholder-img .placeholder-icon {
  transform: scale(1.15) rotate(-5deg);
  opacity: 1;
}

.card-placeholder-img .placeholder-tag {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--c-gray-400);
  font-weight: 700;
}

.product-family-card .card-body {
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.product-family-card .card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
  color: var(--c-gray-900);
}

.product-family-card .card-subcategory {
  font-size: 0.82rem;
  color: var(--c-gray-500);
  margin: 0;
  font-weight: 500;
}

.card-sample-refs {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--c-gray-600);
  line-height: 1.4;
}

.card-sample-refs code {
  background: var(--c-gray-100);
  color: var(--c-gray-900);
  border: 1px solid var(--c-gray-200);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
}

.product-family-card .card-footer {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--c-gray-100);
  background: var(--c-gray-50);
}

.btn-card-action {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--c-blue);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
  padding: 0;
  transition: color 0.2s, transform 0.2s;
}

.product-family-card:hover .btn-card-action {
  color: var(--c-blue-dim);
  transform: translateX(4px);
}

.store-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--c-steel-900);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
}

.store-empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.store-empty-state h3 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.store-empty-state p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ==========================================================================
   FICHA DE PRODUCTO (producto.html) — antes era un modal
   ========================================================================== */
.product-modal-inner {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gray-300) transparent;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.product-modal-header {
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1.25rem;
}

.modal-product-breadcrumb {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue-dim);
  margin-bottom: 0.4rem;
}

.modal-product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--c-text);
}

.modal-product-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-tag--sub {
  border-color: var(--c-border);
  color: var(--c-text-2);
  background: var(--c-gray-50);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
}

.family-image-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--c-gray-50);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.family-image-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--c-blue);
  margin-bottom: 0.6rem;
}

.family-image-placeholder .placeholder-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--c-text);
}

.family-image-placeholder .placeholder-subtext {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  margin-top: 0.2rem;
}

/* Future Commerce Box */
.future-commerce-box {
  background: var(--c-gray-50);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.commerce-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

.commerce-label {
  color: var(--c-gray-600);
}

.commerce-value--quote {
  font-weight: 700;
  color: var(--c-blue-dim);
  letter-spacing: 0.02em;
}

.commerce-badge--stock {
  font-size: 0.78rem;
  color: var(--c-success-dark);
  font-weight: 600;
}

.selected-ref-code {
  background: rgb(var(--c-blue-rgb) / 0.08);
  color: var(--c-text);
  border: 1px solid var(--c-blue);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-body); font-variant-numeric: tabular-nums;
}

.btn-modal-quote {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
}

/* Variants Table */
.variants-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
  color: var(--c-text);
}

.variants-section-desc {
  font-size: 0.86rem;
  color: var(--c-gray-600);
  margin: 0 0 1rem;
}

.variants-table-container {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--c-gray-300) transparent;
}

.variants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.variants-table th {
  background: var(--c-gray-50);
  color: var(--c-blue-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--c-border);
}

.variants-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-gray-100);
  color: var(--c-text-2);
  vertical-align: middle;
  word-break: break-word;
  overflow-wrap: break-word;
}

.variant-row {
  cursor: pointer;
  transition: background 0.2s;
}

.variant-row:hover {
  background: rgb(var(--c-blue-rgb) / 0.06);
}

.variant-row.is-selected-row {
  background: rgb(var(--c-blue-rgb) / 0.12);
}

.variant-code {
  color: var(--c-text);
  font-family: var(--font-body); font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

.variant-row input[type="radio"] {
  accent-color: var(--c-blue);
  cursor: pointer;
}

.text-center {
  text-align: center;
}

/* ============ FOOTER ============ */

/* ============ FLOATING WHATSAPP BUTTON ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--c-whatsapp);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: none;
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: none;
  color: var(--c-white);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}


/* ######################################################################## */
/* ##### animations.css (antes archivo aparte) ########################## */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — animations.css  (v2)
   ========================================================================== */


@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ---- Scroll-cue needle ---- */
@keyframes scrollNeedle {
  0%   { top: -30%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}


/* ---- Mobile nav open state ---- */
.main-nav.is-open {
  display: flex;
}


/* ######################################################################## */
/* ##### coverage-map.css (antes archivo aparte) ######################## */
/* ######################################################################## */

/* ============================================================
   COBERTURA NACIONAL — Coverage Map Section
   ============================================================ */

/* Section Wrapper */
.coverage {
  position: relative;
  padding: 120px 0;
  background: var(--c-paper, var(--c-paper));
  color: var(--c-ink, var(--c-ink));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}


.coverage-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gap, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Column — Text & City List */
.coverage-content {}

.coverage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui, 'Montserrat', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent, var(--c-blue));
  margin-bottom: 20px;
}

.coverage-title {
  font-family: var(--font-display, 'Montserrat', sans-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--c-ink, var(--c-ink));
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.coverage-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(10, 11, 13, 0.78);
  margin-bottom: 40px;
  max-width: 440px;
}

/* Stats Row */
.coverage-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

.coverage-stat {}

.coverage-stat-num {
  display: block;
  font-family: var(--font-display, 'Montserrat', sans-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-accent, var(--c-blue));
  line-height: 1;
}

.coverage-stat-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 11, 13, 0.6);
  margin-top: 4px;
}

/* City List */
.coverage-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.coverage-city-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  color: rgba(10, 11, 13, 0.8);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.coverage-city-btn::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent, var(--c-blue));
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.coverage-city-btn:hover,
.coverage-city-btn.is-active {
  background: rgb(var(--c-blue-rgb) / 0.08);
  border-color: var(--color-accent, var(--c-blue));
  color: var(--color-accent, var(--c-blue));
  transform: translateX(4px);
  box-shadow: none;
}

.coverage-city-btn.is-active::before {
  background: var(--c-blue);
  box-shadow: none;
  transform: scale(1.4);
}

/* Right Column — Map Graphic */
.coverage-map {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 720;
  max-width: 520px;
  margin: 0 auto;
}

.coverage-map-bg {
  position: absolute;
  inset: -20%;
  background: none;
  pointer-events: none;
}

.coverage-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Department paths */
.co-dept {
  fill: rgb(var(--c-blue-rgb) / 0.08);
  stroke: rgb(var(--c-blue-rgb) / 0.25);
  stroke-width: 0.6;
  transition: fill 0.3s;
}

.co-dept:hover {
  fill: rgb(var(--c-blue-rgb) / 0.18);
}

/* Network lines */
.net-line {
  fill: none;
  stroke: rgb(var(--c-blue-rgb) / 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 6 4;
  stroke-dashoffset: 0;
}


/* City Nodes */
.city-node-outer {
  fill: none;
  stroke: rgb(var(--c-blue-rgb) / 0.4);
  stroke-width: 1;
  opacity: 0.6;
}


.city-node-inner {
  fill: var(--c-blue);
  cursor: pointer;
  transition: r 0.2s;
}

.city-node-inner:hover {
  r: 6;
}

.city-node-inner.is-active {
  fill: var(--c-ink);
}

/* Tooltip */
.coverage-tooltip {
  position: fixed;
  pointer-events: none;
  background: var(--c-white);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.3);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  min-width: 180px;
  max-width: 240px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

.coverage-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.coverage-tooltip-name {
  font-family: var(--font-display, 'Montserrat', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.coverage-tooltip-desc {
  font-size: 0.78rem;
  color: rgba(10, 11, 13, 0.72);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .coverage-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .coverage-map {
    max-width: 380px;
    order: -1;
  }
  .coverage-stats {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .coverage {
    padding: 80px 0;
  }
  .coverage-cities {
    grid-template-columns: 1fr;
  }
  .coverage-map {
    max-width: 300px;
  }
}


/* ######################################################################## */
/* ##### cart.css (antes archivo aparte) ################################ */
/* ######################################################################## */

/* ==========================================================================
   CART SYSTEM STYLES — M&F HERRAMIENTAS
   Aesthetic: Dark Tech Industrial matching M&F site identity
   Primary Color: Celeste vívido (var(--c-blue))
   Secondary Color: Negro (var(--c-black) / var(--c-ink) / var(--c-steel-900))
   Primary Typography: Montserrat Bold
   Secondary Typography: Inter
   ========================================================================== */

/* Cart Header Trigger & Badge */
.header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-steel-800, var(--c-steel-800));
    color: var(--c-white, var(--c-white));
    font-size: 1.1rem;
    border: 1px solid var(--c-steel-600, var(--c-steel-600));
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 12px;
    text-decoration: none;
}

.header-cart-btn:hover {
    background: var(--c-blue);
    color: var(--c-white);
    border-color: var(--c-blue);
    box-shadow: none;
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--c-blue);
    color: var(--c-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--c-ink);
    box-shadow: none;
    animation: badgePulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePulse {
    0% { transform: scale(0.5); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Backdrop Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Sliding Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    background: #0c0e12;
    color: var(--c-white);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
}

.cart-drawer.is-open {
    transform: translateX(-460px);
}

@media (max-width: 480px) {
    .cart-drawer {
        right: -100%;
        max-width: 100%;
    }
    .cart-drawer.is-open {
        transform: translateX(-100%);
    }
}

/* Drawer Header */
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #1a1d24;
    background: var(--c-ink);
}

.cart-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer-title-wrap i {
    font-size: 1.3rem;
    color: var(--c-blue);
}

.cart-drawer-header h3 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: -0.01em;
}

.cart-drawer-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--c-gray-400);
    font-weight: 500;
}

.cart-drawer-close {
    background: #15181e;
    border: 1px solid var(--c-steel-700);
    color: var(--c-gray-400);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-drawer-close:hover {
    background: var(--c-blue);
    color: var(--c-white);
    border-color: var(--c-blue);
    transform: rotate(90deg);
}

/* Drawer Body & Items */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-drawer-body::-webkit-scrollbar {
    width: 4px;
}
.cart-drawer-body::-webkit-scrollbar-thumb {
    background: var(--c-steel-700);
    border-radius: var(--radius-sm);
}

.cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 14px;
    background: #14171d;
    border: 1px solid #20242d;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: rgb(var(--c-blue-rgb) / 0.4);
    box-shadow: var(--shadow-md);
}

.cart-item-info {
    flex: 1;
    padding-right: 12px;
}

.cart-item-ref {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-blue);
    background: rgb(var(--c-blue-rgb) / 0.12);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgb(var(--c-blue-rgb) / 0.25);
}

.cart-item-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.cart-item-cat {
    font-size: 0.78rem;
    color: var(--c-gray-500);
    display: block;
}

.cart-item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-blue);
    margin-top: 6px;
}

/* Quantity & Remove Controls */
.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-qty-picker {
    display: flex;
    align-items: center;
    background: var(--c-ink);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.btn-qty {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gray-400);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s ease;
}

.btn-qty:hover {
    background: var(--c-blue);
    color: var(--c-white);
}

.qty-display {
    padding: 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-white);
    min-width: 24px;
    text-align: center;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: var(--c-gray-500);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    transition: color 0.2s ease;
}

.btn-remove-item:hover {
    color: var(--c-error);
}

/* Empty State */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-state .empty-icon {
    font-size: 3.5rem;
    color: var(--c-steel-700);
    margin-bottom: 16px;
}

.cart-empty-state h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 8px;
}

.cart-empty-state p {
    font-size: 0.88rem;
    color: var(--c-gray-400);
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-explore {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    background: var(--c-blue);
    color: var(--c-white);
    border: none;
}

/* Drawer Footer */
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #1a1d24;
    background: var(--c-ink);
}

.cart-drawer-total {
    font-family: 'Montserrat', sans-serif;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-checkout-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--c-blue);
    color: var(--c-white);
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: none;
    letter-spacing: 0.02em;
}

.btn-checkout-start:hover {
    background: #025ab0;
    box-shadow: none;
}

.btn-whatsapp-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #14171d;
    color: var(--c-white);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-whatsapp-quote:hover {
    background: #1c2029;
    border-color: var(--c-blue);
    color: var(--c-white);
}

.btn-clear-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--c-gray-500);
    border: 1px dashed var(--c-steel-700);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-cart:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--c-error);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Toast Notifications */
.cart-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.cart-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0e1117;
    color: var(--c-white);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    border: 1px solid #20242d;
    border-left: 4px solid var(--c-blue);
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cart-toast i {
    color: var(--c-blue);
    font-size: 1.1rem;
}


/* ===== Estilos que antes estaban escritos en el HTML / cart.js ===== */
.cart-count-badge[hidden],
.cart-drawer-footer[hidden],
.cart-drawer-total[hidden] { display: none; }
.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-white);
}
.btn-whatsapp-quote .fa-whatsapp { font-size: 1.3rem; }


/* ######################################################################## */
/* ##### checkout.css (antes archivo aparte) ############################ */
/* ######################################################################## */

/* ==========================================================================
   CHECKOUT FLOW STYLES — M&F HERRAMIENTAS
   Aesthetic: Dark Tech Industrial matching M&F site identity
   Primary Color: Celeste vívido (var(--c-blue))
   Secondary Color: Negro (var(--c-black) / var(--c-ink) / var(--c-steel-900))
   Primary Typography: Montserrat Bold
   Secondary Typography: Inter
   ========================================================================== */

/* ===== Checkout Modal (Fullscreen Overlay) ===== */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.checkout-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ===== Checkout Container ===== */
.checkout-container {
    width: 100%;
    max-width: 740px;
    max-height: 92vh;
    background: var(--c-ink);
    color: var(--c-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-steel-800);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-overlay.is-open .checkout-container {
    transform: translateY(0) scale(1);
}

/* ===== Checkout Header ===== */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--c-steel-800);
    background: #07080b;
    flex-shrink: 0;
}

.checkout-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-header-title i {
    font-size: 1.3rem;
    color: var(--c-blue);
}

.checkout-header-title h3 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: -0.01em;
}

.checkout-close-btn {
    background: var(--c-steel-900);
    border: 1px solid var(--c-steel-700);
    color: var(--c-gray-400);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-close-btn:hover {
    background: var(--c-blue);
    color: var(--c-white);
    border-color: var(--c-blue);
    transform: rotate(90deg);
}

/* ===== Progress Bar ===== */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px 16px;
    background: #0f1118;
    border-bottom: 1px solid var(--c-steel-800);
    gap: 0;
    flex-shrink: 0;
}

.checkout-step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.checkout-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--c-steel-800);
    color: var(--c-gray-500);
    border: 2px solid var(--c-steel-700);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.checkout-step-dot.is-active {
    background: var(--c-blue);
    color: var(--c-white);
    border-color: var(--c-blue);
    box-shadow: var(--focus-ring);
    transform: scale(1.1);
}

.checkout-step-dot.is-completed {
    background: var(--c-blue);
    color: var(--c-white);
    border-color: var(--c-blue);
}

.checkout-step-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.checkout-step-indicator.is-active .checkout-step-label {
    color: var(--c-blue);
}

.checkout-step-indicator.is-completed .checkout-step-label {
    color: var(--c-white);
}

.checkout-step-connector {
    width: 40px;
    height: 2px;
    background: var(--c-steel-700);
    margin: 0 6px;
    flex-shrink: 0;
    transition: background 0.3s ease;
    align-self: center;
    margin-bottom: 16px;
}

.checkout-step-connector.is-completed {
    background: var(--c-blue);
}

/* ===== Checkout Body (scrollable) ===== */
.checkout-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    scroll-behavior: smooth;
    background: var(--c-ink);
}

.checkout-body::-webkit-scrollbar {
    width: 5px;
}

.checkout-body::-webkit-scrollbar-track {
    background: transparent;
}

.checkout-body::-webkit-scrollbar-thumb {
    background: var(--c-steel-700);
    border-radius: var(--radius-lg);
}

/* ===== Step Titles ===== */
.checkout-step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--c-white);
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.checkout-step-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--c-gray-400);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* ===== Form Styles (Step 1: Customer Data) ===== */
.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-gray-300);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.checkout-form-group label .required-mark {
    color: var(--c-blue);
    margin-left: 2px;
    font-weight: 700;
}

.checkout-form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: var(--c-white);
    background: var(--c-steel-900);
    border: 1.5px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.checkout-form-input::placeholder {
    color: var(--c-gray-600);
}

.checkout-form-input:focus {
    border-color: var(--c-blue);
    background: var(--c-steel-800);
    box-shadow: var(--focus-ring);
}

.checkout-form-input.is-invalid {
    border-color: var(--c-error);
    background: rgba(239, 68, 68, 0.08);
}

.checkout-form-input.is-invalid:focus {
    box-shadow: var(--focus-ring-error);
}

.checkout-form-input.is-valid {
    border-color: var(--c-blue);
}

.checkout-form-error {
    font-size: 0.78rem;
    color: var(--c-error-light);
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 6px;
}

.checkout-form-error.is-visible {
    display: flex;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

textarea.checkout-form-input {
    resize: vertical;
    min-height: 80px;
}

/* ===== Summary Table (Step 2) ===== */
.checkout-summary-section {
    margin-bottom: 24px;
}

.checkout-summary-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-summary-label i {
    color: var(--c-blue);
    font-size: 0.9rem;
}

.checkout-products-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 16px;
    background: var(--c-steel-900);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.checkout-products-table thead th {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--c-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    background: var(--c-ink);
    text-align: left;
    border-bottom: 1px solid var(--c-steel-700);
}

.checkout-products-table thead th:last-child {
    text-align: right;
}

.checkout-products-table tbody td {
    padding: 12px 14px;
    font-size: 0.88rem;
    color: var(--c-gray-300);
    border-bottom: 1px solid var(--c-steel-800);
    vertical-align: middle;
}

.checkout-products-table tbody tr:last-child td {
    border-bottom: none;
}

.checkout-products-table .product-ref {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-blue);
    background: rgb(var(--c-blue-rgb) / 0.12);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid rgb(var(--c-blue-rgb) / 0.25);
}

.checkout-products-table .product-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--c-white);
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
}

.checkout-products-table .product-qty {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--c-white);
}

.checkout-products-table .product-price {
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--c-blue);
    white-space: nowrap;
}

/* Summary Totals Row */
.checkout-totals {
    background: var(--c-steel-900);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--c-gray-400);
}

.checkout-totals-row.is-total {
    border-top: 1px solid var(--c-steel-700);
    margin-top: 8px;
    padding-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-white);
}

.checkout-totals-row .price-tag {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--c-blue);
}

/* Payment Methods Selector */
.checkout-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--c-steel-900);
    border: 1.5px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.payment-method-card:hover:not(.is-disabled) {
    border-color: var(--c-blue-light);
    background: var(--c-steel-800);
}

.payment-method-card.is-active {
    border-color: var(--c-blue);
    background: rgb(var(--c-blue-rgb) / 0.08);
}

.payment-method-card.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #0f1118;
}

.payment-method-card input[type="radio"] {
    display: none;
}

.pm-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-steel-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gray-400);
    font-size: 1.2rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.payment-method-card.is-active .pm-icon {
    background: var(--c-blue);
    color: var(--c-white);
    box-shadow: none;
}

.pm-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-white);
}

.pm-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--c-gray-400);
}

/* Customer Data Review Card */
.checkout-customer-review {
    background: var(--c-steel-900);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.checkout-customer-review-row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-steel-800);
}

.checkout-customer-review-row:last-child {
    border-bottom: none;
}

.checkout-customer-review-row .review-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--c-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 110px;
    flex-shrink: 0;
}

.checkout-customer-review-row .review-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--c-white);
    font-weight: 500;
}

/* ===== Confirmation (Step 3) ===== */
.checkout-confirmation {
    text-align: center;
    padding: 30px 10px;
}

.checkout-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--c-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: none;
    animation: checkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.checkout-success-icon i {
    font-size: 2.4rem;
    color: var(--c-white);
    animation: checkFade 0.4s 0.3s ease forwards;
    opacity: 0;
}

@keyframes checkFade {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

.checkout-confirmation h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-white);
    margin: 0 0 8px 0;
}

.checkout-confirmation .order-id-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0a1b2e;
    border: 1px solid rgb(var(--c-blue-rgb) / 0.35);
    color: var(--c-blue);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body); font-variant-numeric: tabular-nums;
    font-size: 1rem;
    font-weight: 700;
    margin: 14px 0 18px;
    letter-spacing: 0.04em;
    box-shadow: none;
}

.checkout-confirmation p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--c-gray-400);
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto;
}

/* ===== Transfer Info (Step 4) ===== */
.checkout-transfer-section {
    margin-bottom: 24px;
}

.checkout-transfer-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 18px 20px;
    background: var(--c-steel-900);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    color: var(--c-white);
}

.checkout-transfer-header i {
    font-size: 1.6rem;
    color: var(--c-blue);
}

.checkout-transfer-header-text h4 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.checkout-transfer-header-text p {
    margin: 2px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--c-gray-400);
}

.checkout-bank-card {
    background: var(--c-steel-900);
    border: 1px solid var(--c-steel-700);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.checkout-bank-card-header {
    background: #07080b;
    padding: 14px 20px;
    border-bottom: 1px solid var(--c-steel-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-bank-card-header i {
    color: var(--c-blue);
    font-size: 1.1rem;
}

.checkout-bank-card-header h5 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-white);
}

.checkout-bank-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid var(--c-steel-800);
    transition: background 0.15s ease;
}

.checkout-bank-row:last-child {
    border-bottom: none;
}

.checkout-bank-row:hover {
    background: var(--c-steel-800);
}

.checkout-bank-row .bank-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--c-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 140px;
    flex-shrink: 0;
}

.checkout-bank-row .bank-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--c-white);
    font-weight: 500;
    flex: 1;
}

.checkout-bank-row .bank-value.is-pending {
    color: var(--c-blue-light);
    font-style: italic;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-bank-row .bank-value.is-pending i {
    font-size: 0.75rem;
}

/* Transfer Instructions Notice */
.checkout-transfer-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #091728;
    border: 1px solid rgb(var(--c-blue-rgb) / 0.3);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-top: 20px;
}

.checkout-transfer-notice i {
    color: var(--c-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkout-transfer-notice p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #93c5fd;
    line-height: 1.55;
}

.checkout-transfer-notice strong {
    color: var(--c-white);
    font-family: 'Montserrat', sans-serif;
}

/* Order Reference Mini-Card on Transfer Step */
.checkout-order-ref-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a1b2e;
    border: 1px solid rgb(var(--c-blue-rgb) / 0.3);
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    margin-bottom: 20px;
}

.checkout-order-ref-mini .ref-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--c-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-order-ref-mini .ref-value {
    font-family: var(--font-body); font-variant-numeric: tabular-nums;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-blue);
}

/* ===== Checkout Footer (Navigation Buttons) ===== */
.checkout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-top: 1px solid var(--c-steel-800);
    background: #07080b;
    flex-shrink: 0;
    gap: 12px;
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.checkout-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

.checkout-btn-back {
    background: var(--c-steel-900);
    color: var(--c-gray-400);
    border: 1px solid var(--c-steel-700);
}

.checkout-btn-back:hover:not(:disabled) {
    background: #1c202b;
    color: var(--c-white);
    border-color: var(--c-blue);
}

.checkout-btn-continue,
.checkout-btn-confirm,
.checkout-btn-home {
    background: var(--c-blue);
    color: var(--c-white);
    box-shadow: none;
}

.checkout-btn-continue:hover:not(:disabled),
.checkout-btn-confirm:hover:not(:disabled),
.checkout-btn-home:hover:not(:disabled) {
    background: #025ab0;
    box-shadow: none;
}

.checkout-btn-print {
    background: var(--c-steel-900);
    color: var(--c-white);
    border: 1px solid var(--c-steel-700);
}

.checkout-btn-print:hover:not(:disabled) {
    background: #1c202b;
    border-color: var(--c-blue);
}

/* ===== Edit Cart Link (in Summary step) ===== */
.checkout-edit-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--c-blue);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.checkout-edit-cart:hover {
    color: var(--c-blue-light);
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .checkout-overlay {
        padding: 0;
        align-items: stretch;
    }

    .checkout-container {
        max-width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .checkout-header {
        padding: 16px 20px;
    }

    .checkout-progress {
        padding: 14px 12px 10px;
        gap: 0;
    }

    .checkout-step-label {
        display: none;
    }

    .checkout-step-connector {
        width: 24px;
        margin-bottom: 0;
    }

    .checkout-body {
        padding: 20px;
    }

    .checkout-form-row {
        grid-template-columns: 1fr;
    }

    .checkout-footer {
        padding: 14px 20px;
    }

    .checkout-btn {
        padding: 11px 16px;
        font-size: 0.85rem;
    }

    .checkout-products-table {
        font-size: 0.82rem;
    }

    .checkout-products-table thead th,
    .checkout-products-table tbody td {
        padding: 8px;
    }

    .checkout-customer-review-row {
        flex-direction: column;
        gap: 2px;
    }

    .checkout-customer-review-row .review-label {
        min-width: unset;
    }

    .checkout-bank-row {
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px;
    }

    .checkout-bank-row .bank-label {
        min-width: unset;
    }

    .checkout-order-ref-mini {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

@media (max-width: 400px) {
    .checkout-step-dot {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .checkout-step-connector {
        width: 16px;
    }

    .checkout-step-title {
        font-size: 1.15rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .checkout-overlay {
        position: static;
        background: none;
        backdrop-filter: none;
    }

    .checkout-container {
        max-height: none;
        box-shadow: none;
        border: 1px solid #ccc;
        background: var(--c-white);
        color: var(--c-black);
    }

    .checkout-header,
    .checkout-footer,
    .checkout-progress {
        display: none;
    }

    .checkout-body {
        overflow: visible;
        padding: 20px;
        background: var(--c-white);
        color: var(--c-black);
    }

    .checkout-btn {
        display: none;
    }
}


/* ===== Estilos que antes estaban escritos dentro de checkout.js ===== */
.checkout-optional { color: var(--c-gray-400); font-weight: 400; }
.checkout-products-table .is-right { text-align: right; }
.checkout-products-table .is-center { text-align: center; }
.product-price--quote { color: var(--c-gray-400); }
.price-tag--quote { color: var(--c-blue); }
.pm-warning { margin-top: 10px; font-size: 0.8rem; color: var(--c-error-light); }
.pm-error {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--c-error-light);
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: var(--radius-md);
}
.pm-error[hidden] { display: none; }
.checkout-bank-card { margin-bottom: 14px; }
.checkout-nit {
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--c-gray-400);
    letter-spacing: 0.03em;
}
.checkout-success-icon--pending {
    background: #f5a623;
    box-shadow: none;
}

/* Casilla de la Política de datos personales sobre el fondo oscuro del checkout */
.checkout-container .consent-check { margin: 4px 0 8px; }
.checkout-container .consent-check label { color: var(--c-gray-300); font-size: 0.86rem; }
.checkout-container .consent-check label a { color: #60a5fa; }
.checkout-container .consent-check label .required-mark { color: var(--c-blue); font-weight: 700; }
.checkout-container .consent-check-error { color: var(--c-error-light); }


/* ######################################################################## */
/* ##### sections.css (antes archivo aparte) ############################ */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — sections.css
   Estilos mejorados para Distribuidores (Red) y Novedades
   Paleta: Azul var(--c-blue) · Negro var(--c-black) · Inter / Montserrat
   ========================================================================== */

/* ==========================================================================
   DISTRIBUIDORES — RED DE DISTRIBUIDORES
   ========================================================================== */

/* Sub-sección encabezado de red */
.distributors-net-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.distributors-net-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--c-ink);
  margin: 0;
  letter-spacing: -0.01em;
}

#distributors-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-blue);
  background: rgb(var(--c-blue-rgb) / 0.08);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* City filter pills */
#distributors-city-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.dist-city-pill {
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--c-ink);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.dist-city-pill:hover {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}

.dist-city-pill.is-active {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
  box-shadow: none;
}

/* Distributor grid */
#distributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Distributor card */
.dist-card {
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
  transition: transform 0.3s cubic-bezier(.16,.84,.44,1),
              border-color 0.3s,
              box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 1 !important;
  transform: none;
}

.dist-card:hover {
  border-color: rgb(var(--c-blue-rgb) / 0.4);
  box-shadow: none;
}

.dist-card--featured {
  border-color: rgb(var(--c-blue-rgb) / 0.3);
  background: var(--c-white);
}

/* Card header: avatar + meta */
.dist-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
}

/* Logo image */
.dist-card-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fb;
  flex-shrink: 0;
}

/* Initials avatar (when no logo) */
.dist-card-initials {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--c-blue);
  color: var(--c-white);
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* City + department labels */
.dist-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dist-card-city {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-blue);
}

.dist-card-city svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.dist-card-dept {
  font-size: 0.76rem;
  color: rgba(10, 11, 13, 0.5);
}

/* Card name */
.dist-card-name {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.3;
}

/* Type badge */
.dist-card-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(10, 11, 13, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dist-type-icon {
  display: flex;
  align-items: center;
}

.dist-type-icon svg {
  width: 14px;
  height: 14px;
  color: var(--c-blue);
}

/* Description */
.dist-card-desc {
  font-size: 0.88rem;
  color: rgba(10, 11, 13, 0.7);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Featured badge */
.dist-card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  background: rgb(var(--c-blue-rgb) / 0.1);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: 0.3rem;
}

/* Empty state */
.dist-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(10, 11, 13, 0.5);
}

/* Separator between net and CTA */
.distributors-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 3rem;
}


/* ==========================================================================
   NOVEDADES — SECCIÓN MEJORADA
   ========================================================================== */

/* Category filter pills */
#news-category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.news-cat-pill {
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--c-ink);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.news-cat-pill:hover {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}

.news-cat-pill.is-active {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
  box-shadow: none;
}

/* Featured card */
#news-featured-container {
  margin-bottom: 2rem;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  background: var(--c-white);
  border: 1px solid rgb(var(--c-blue-rgb) / 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(.16,.84,.44,1),
              border-color 0.3s,
              box-shadow 0.3s;
  opacity: 1 !important;
}

.news-featured-card:hover {
  border-color: var(--c-blue);
  box-shadow: none;
}

.news-featured-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  overflow: hidden;
  background: var(--c-steel-800);
}

.news-featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.news-featured-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  z-index: 2;
}

.news-featured-icon svg {
  width: 100px;
  height: 100px;
  color: var(--c-white);
}

.news-featured-badge {
  position: relative;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-blue);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
}

.news-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-white);
}

.news-featured-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--c-black);
  margin: 0.5rem 0 1rem;
  line-height: 1.25;
}

.news-featured-excerpt {
  font-size: 0.98rem;
  color: var(--c-gray-600);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

.news-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-white);
  background: var(--c-blue);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  align-self: flex-start;
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
}

.news-featured-link:hover {
  background: #0256a5;
  transform: translateX(3px);
}

/* Improved news cards */
.news-card {
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(.16,.84,.44,1),
              border-color 0.3s,
              box-shadow 0.3s;
  opacity: 1 !important;
}

.news-card:hover {
  border-color: var(--c-blue);
  box-shadow: none;
}

/* Visual area (image or gradient) inside each card */
.news-card-visual {
  position: relative;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-card-visual-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.news-card-visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  z-index: 2;
}

.news-card-visual-icon svg {
  width: 56px;
  height: 56px;
  color: var(--c-white);
}

.news-card .news-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  /* Inherit existing badge styles */
}

.news-card .news-body {
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-title {
  color: var(--c-black) !important;
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.4rem 0 0.6rem;
  line-height: 1.35;
}

.news-card-excerpt {
  color: var(--c-gray-600) !important;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.news-card .news-date {
  color: var(--c-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-link {
  color: var(--c-blue) !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  margin-top: auto;
  transition: transform 0.2s ease;
}

.news-link:hover {
  transform: translateX(4px);
}

/* Empty state */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--c-gray-500);
}

/* Responsive: featured card stacks on tablet */
@media (max-width: 860px) {
  .news-featured-card {
    grid-template-columns: 1fr;
  }
  .news-featured-visual {
    min-height: 200px;
  }
}

/* Responsive: distributor grid */
@media (max-width: 600px) {
  #distributors-grid {
    grid-template-columns: 1fr;
  }

  .dist-city-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
  }

  #news-category-filter {
    gap: 0.4rem;
  }
}


/* ===== Estilos que antes estaban escritos en distributors-app.js / news-app.js ===== */
.dist-card-contact,
.dist-card-web {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--c-blue);
  font-size: 0.85rem;
  text-decoration: none;
}
.dist-card-web { margin-top: 4px; }
.dist-card-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  color: #5b6472; /* antes blanco: no se leía sobre la tarjeta clara */
  font-size: 0.8rem;
}
.dist-card-icon { width: 14px; height: 14px; flex-shrink: 0; }
.dist-card-icon--top { margin-top: 2px; }
/* Cuerpo de la novedad (texto de Supabase con párrafos y listas).
   Antes era blanco sobre la tarjeta blanca y no se leía. */
.news-content {
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.news-featured-content { margin: -0.75rem 0 1.75rem; }
.news-content p { margin: 0 0 0.85em; color: inherit; }
.news-content ul {
  margin: 0 0 0.95em;
  padding-left: 1.15rem;
  list-style: disc;
}
.news-content li { margin: 0 0 0.3em; color: inherit; }
.news-content li::marker { color: var(--c-blue); }
.news-content > :last-child { margin-bottom: 0; }
.news-card-detail { margin: -0.4rem 0 1rem; }
.news-more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  margin: -0.4rem 0 1rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-gray-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.news-more:hover { color: var(--c-blue); }

/* Imagen de la novedad y fondo de marca cuando no tiene foto */
.news-featured-visual, .news-card-visual {
  background-color: var(--c-steel-800);
  background-size: cover;
  background-position: center;
}
.news-visual-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.news-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 55%);
  z-index: 1;
}
.news-visual--brand {
  background-color: var(--c-steel-800);
  background-image: none;
  border-bottom: 3px solid var(--c-blue);
}
.news-featured-card .news-visual--brand { border-bottom: 0; border-right: 3px solid var(--c-blue); }
.news-visual-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(46%, 190px);
  height: auto;
  opacity: 0.92;
  z-index: 2;
}
.news-card .news-visual-logo { width: min(40%, 130px); }
@media (max-width: 860px) {
  .news-featured-card .news-visual--brand { border-right: 0; border-bottom: 3px solid var(--c-blue); }
}
/* Etiqueta de categoría legible sobre la foto o el fondo oscuro */
.news-card .news-badge {
  color: var(--c-white);
  background: var(--c-blue);
  border-color: var(--c-blue);
  margin: 0;
}
.news-card .news-visual-logo { top: 42%; }


/* ######################################################################## */
/* ##### responsive.css (antes archivo aparte) ########################## */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — responsive.css
   Mobile-first overrides. main.css ya es razonablemente fluido con clamp();
   aquí ajustamos layout estructural por breakpoint.
   ========================================================================== */

/* ---------- Mobile base adjustments (<720px) ---------- */
@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(78vw, 320px);
    background: var(--c-steel-900);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-in-out);
    z-index: 400;
    display: flex;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }

  .btn-nav { display: none; }
  .nav-toggle { display: flex; z-index: 410; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero nuevo — ajustes móvil */
  .hero { cursor: auto; padding: 4rem 0 6rem 0; gap: 1rem; overflow: hidden; }
  .hero-word { font-size: clamp(3.5rem, 20vw, 7rem); letter-spacing: -0.01em; }
  .hero-bottom { gap: 1rem; margin-top: 0; }
  .hero-tagline { font-size: clamp(0.9rem, 4vw, 1.1rem); padding: 0 1rem; }
  .hero-cta-row { gap: 0.75rem; }
  /* Linterna: tamaño controlado en móvil, sin rotación */
  .hero-flashlight-wrap {
    width: clamp(320px, 95vw, 550px);
    transform: none;
  }

  .hero-specs { gap: 1rem; padding: 1rem var(--gutter); }
  .spec-label { max-width: 100px; font-size: 0.68rem; }
  .spec-divider { display: none; }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
  .service-tag { align-self: flex-start; }

  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid--five { grid-template-columns: repeat(2, 1fr); }
  .brands-grid--five .brand-plate,
  .brands-grid--five .brand-plate:nth-child(4),
  .brands-grid--five .brand-plate:nth-child(5) { grid-column: auto; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }


}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .hero-word { font-size: 19vw; }
}

/* ---------- Tablet ---------- */
@media (min-width: 721px) and (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-grid--five { grid-template-columns: repeat(6, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Laptop (769px–1280px) ---------- */
@media (min-width: 721px) and (max-width: 1280px) {
  .hero { gap: 0.75rem; }
  .hero-word { font-size: clamp(3.5rem, 9vw, 8rem); }
  .hero-flashlight-wrap {
    width: clamp(450px, 80vw, 950px);
    transform: none;
  }
}

/* ---------- Large desktop refinement ---------- */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
}


/* ######################################################################## */
/* ##### pages.css (antes archivo aparte) ############################### */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — pages.css
   Estilos del sitio de varias páginas: encabezado de páginas internas,
   buscador del header, ficha de producto, tarjetas como enlace, etc.
   Usa las mismas variables de color y fuentes de main.css.
   ========================================================================== */

/* El atributo hidden siempre gana (algunos componentes tienen display propio) */
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Saltar al contenido (teclado) ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header: estado activo y fondo sólido en páginas internas ---------- */
.main-nav a[aria-current="page"] { color: var(--c-white); }
.main-nav a[aria-current="page"]::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--c-blue);
}
.main-nav a { position: relative; }

.page-inner .site-header {
  background: var(--c-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Buscador del header ---------- */
.header-search,
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input,
.nav-search input {
  width: 190px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  color: var(--c-white);
  font-size: 0.82rem;
  padding: 0.5rem 2.4rem 0.5rem 1rem;
  transition: border-color 0.25s, width 0.3s var(--ease-out), background 0.25s;
}
.header-search input::placeholder,
.nav-search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.header-search input:focus,
.nav-search input:focus {
  outline: none;
  border-color: var(--c-blue);
  background: rgba(255, 255, 255, 0.12);
}
.header-search input:focus { width: 240px; }
.header-search button,
.nav-search button {
  position: absolute;
  right: 0.35rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}
.header-search button svg,
.nav-search button svg { width: 16px; height: 16px; }
.header-search button:hover,
.nav-search button:hover { color: var(--c-white); background: var(--c-blue); }

/* El buscador dentro del menú solo se ve en el menú móvil */
.nav-search { display: none; }

@media (max-width: 1320px) {
  .header-search { display: none; }
  .main-nav { gap: 1.4rem; }
}
@media (max-width: 720px) {
  .nav-search { display: flex; width: 100%; }
  .nav-search input { width: 100%; font-size: 1rem; padding: 0.75rem 2.6rem 0.75rem 1rem; }
  .main-nav a[aria-current="page"]::after { bottom: -4px; right: auto; width: 2rem; }
  /* el menú móvil puede tener más alto que la pantalla en teléfonos pequeños */
  .main-nav { overflow-y: auto; justify-content: flex-start; padding-top: 5.5rem; gap: 1.6rem; }
}

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  background: var(--c-ink);
  color: var(--c-white);
  padding: calc(6.5rem + 2vw) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero-inner { max-width: var(--container); margin: 0 auto; }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0.6rem 0 0.8rem;
  letter-spacing: 0.01em;
}
.page-hero-sub {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a { color: var(--c-blue); }
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.85); }

/* En páginas internas la primera sección no necesita tanto aire arriba */
.page-inner .page-hero + section:not(.trust-strip),
.page-inner .page-hero + .trust-strip + section { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Botón de acción al final de una sección ---------- */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* ---------- Placas de marca como enlace (inicio) ---------- */
a.brand-plate { color: inherit; }

/* ---------- Buscador del inicio (acceso a la tienda) ---------- */
.home-store-search {
  display: flex;
  gap: 0.6rem;
  width: min(640px, 100%);
}
.home-store-search input { flex: 1; min-width: 0; }
.home-store-search .search-icon { left: 1.1rem; }
.home-store-search .btn { padding: 0.85rem 1.4rem; border-radius: var(--radius-md); }
.home-store-search + .section-cta { justify-content: flex-start; }

/* ---------- Tienda ---------- */
.products--store { padding-bottom: clamp(3rem, 7vw, 6rem); }

/* Tarjeta de producto (ahora es un enlace <a>) */
a.product-family-card { color: inherit; text-decoration: none; }
a.product-family-card:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; }
.card-product-img--photo {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  padding: 15px;
}
.card-product-img--photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.card-price {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--c-gray-900);
}
.card-price--quote { color: var(--c-blue); }

/* ---------- Ficha de producto ---------- */
.product-page {
  background: var(--c-white);
  color: var(--c-text);
  padding: calc(5.5rem + 2vw) var(--gutter) clamp(3rem, 7vw, 6rem);
}
.product-page-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product-page-card {
  background: var(--c-white);
  border: 0;
  border-radius: var(--radius-md);
  overflow: visible;
  padding: 0;
}
.product-page-status {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--c-gray-600);
}
.product-page-status a:not(.btn) { color: var(--c-blue); text-decoration: underline; }
.product-page-status .btn { margin-left: 0.5rem; }

.product-page h1.modal-product-title { margin-top: 0.25rem; }
/* Ficha de fondo blanco (pedido del dueño, nov. 2026): piezas compartidas con bloques oscuros, aquí en claro */
.product-page .breadcrumb { color: var(--c-gray-600); }
.product-page .breadcrumb a { color: var(--c-blue-dim); }
.product-page .breadcrumb a:hover { color: var(--c-text); }
.product-page .breadcrumb [aria-current="page"] { color: var(--c-gray-600); }
.product-page .cart-qty-picker { background: var(--c-white); border-color: var(--c-gray-300); }
.product-page .btn-qty { color: var(--c-gray-600); }
.product-page .btn-qty:hover { color: var(--c-white); }
.product-page .qty-display { color: var(--c-text); }
.product-intro { margin: 0.75rem 0 0; max-width: 72ch; font-size: 0.95rem; line-height: 1.55; color: var(--c-text-2); }
/* "Aprende a elegir…": enlace de la ficha a su guía técnica */
.product-guide-link { display: inline-flex; align-items: baseline; gap: 0.45rem; margin-top: 0.8rem; font-size: 0.92rem; font-weight: 600; line-height: 1.4; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; }
.product-guide-link:hover { color: var(--c-text); }
.product-guide-link[hidden] { display: none; }
.product-guide-link + .product-guide-link { margin-left: 1.25rem; }
/* Código de cada variante = enlace a la página propia de esa referencia */
a.variant-code { font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-gray-400); text-underline-offset: 3px; }
a.variant-code:hover { color: var(--c-blue-dim); }

/* Ficha técnica y video vertical de la referencia elegida (Item.ficha_tecnica / Item.video_url) */
.product-extra { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--c-border); }
.product-extra:not(:has(> :not([hidden]))) { display: none; }
.product-specs { flex: 1 1 420px; min-width: 0; }
.product-specs[hidden], .product-video[hidden] { display: none; }
.product-specs-ref { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; text-transform: none; color: var(--c-text-muted); margin-left: 0.4rem; }
.specs-table { width: 100%; max-width: 640px; border-collapse: collapse; margin-top: var(--space-3); font-size: 0.92rem; }
.specs-table th, .specs-table td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--c-border); }
.specs-table th { width: 40%; font-weight: 600; color: var(--c-gray-600); }
.specs-table td { color: var(--c-text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.specs-subtitle { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--c-text); margin: var(--space-5) 0 var(--space-2); }
.specs-list { margin: 0; padding-left: 1.2rem; color: var(--c-text-2); font-size: 0.92rem; line-height: 1.55; max-width: 72ch; }
.specs-text { margin: 0; color: var(--c-text-2); font-size: 0.92rem; line-height: 1.55; max-width: 72ch; }
.product-video { flex: 0 1 320px; }
.product-video-frame { position: relative; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; background: var(--c-black); border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.product-video-frame iframe, .product-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) {
  .product-video { flex-basis: 100%; }
  .product-video-frame { margin: 0 auto; }
  .specs-table th { width: 45%; }
}

.family-image-placeholder.has-photo { background: var(--c-white); padding: 1rem; }
.family-image-placeholder.has-photo img { width: 100%; height: 100%; object-fit: contain; }

.commerce-actions { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.modal-qty-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-gray-50);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-gray-200);
}
.modal-qty-label { font-weight: 600; font-size: 0.88rem; color: #334155; }
.btn-add-to-cart {
  width: 100%;
  background: var(--c-blue);
  color: var(--c-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 12px;
}
.btn-add-to-cart:hover { background: var(--c-blue-dim); }
.btn-modal-quote {
  background: var(--c-whatsapp);
  color: var(--c-white);
  border-radius: var(--radius-md);
  font-weight: 700;
  margin-top: 0;
}
.btn-modal-quote:hover { background: var(--c-whatsapp-hover); color: var(--c-white); }

.commerce-badge--stock.is-on-request { color: var(--c-warning); }

.variants-table-container { max-height: 520px; }
.variants-table .col-select { width: 40px; }
.variants-table .col-action { width: 110px; text-align: center; }
.variants-table .variant-name { white-space: normal; min-width: 150px; }
.variants-table .variant-price { white-space: nowrap; font-weight: 600; }
.variants-table label { cursor: pointer; }
.btn-row-add-cart {
  background: var(--c-blue);
  color: var(--c-white);
  border: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  width: 100%;
  white-space: nowrap;
}
.btn-row-add-cart:hover { background: var(--c-blue-dim); }

.related-products { margin-top: 1rem; }
.related-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 1.25rem;
}

/* ---------- 404 ---------- */
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* La tienda ya tiene su encabezado de página: sin margen ni borde extra arriba */
.products--store .store-catalog { margin-top: 0; padding-top: 0; border-top: 0; }

/* Las columnas de la ficha no deben crecer por el ancho mínimo de la tabla */
.product-modal-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.product-modal-grid > * { min-width: 0; }
@media (max-width: 768px) {
  .product-modal-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Contacto: el correo largo no debe ensanchar la página en celulares */
.contact-grid > * { min-width: 0; }
@media (max-width: 480px) {
  .channel-text span, .footer-contact-link { overflow-wrap: anywhere; }
}

/* Carrito cerrado: oculto del todo (sin sombra asomando, sin foco de teclado) */
.cart-drawer {
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
}
.cart-drawer.is-open {
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

/* ---------- Variantes como tarjetas en celular (#29) ---------- */
@media (max-width: 600px) {
  .variants-table-container { max-height: none; overflow: visible; border: 0; }
  .variants-table, .variants-table tbody { display: block; }
  .variants-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  }
  .variants-table .variant-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "sel ref   price"
      "sel name  name"
      "sel action action";
    gap: 0.35rem 0.75rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.6rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    background: var(--c-white);
  }
  .variants-table .variant-row.is-selected-row {
    border-color: var(--c-blue);
    background: rgb(var(--c-blue-rgb) / 0.08);
  }
  .variants-table td { padding: 0; border: 0; }
  .variants-table td:nth-child(1) { grid-area: sel; align-self: start; padding-top: 0.15rem; }
  .variants-table td:nth-child(2) { grid-area: ref; }
  .variants-table td:nth-child(3) { grid-area: name; min-width: 0; font-size: 0.85rem; color: var(--c-gray-600); }
  .variants-table td:nth-child(4) { grid-area: price; text-align: right; }
  .variants-table td:nth-child(5) { grid-area: action; text-align: left; }
  .variants-table .btn-row-add-cart { width: auto; padding: 8px 14px; font-size: 0.8rem; }
  .variants-table input[type="radio"] { width: 20px; height: 20px; }
}

/* Nota pequeña dentro de un botón (p. ej. peso del PDF) */
.btn-note { font-size: 0.72em; font-weight: 500; opacity: 0.75; margin-left: 0.35rem; }

/* La linterna del hero ahora va dentro de <picture> (WebP con respaldo PNG) */
.hero-flashlight-wrap picture { display: contents; }
/* Los atributos width/height evitan saltos; el tamaño visible lo sigue dando el CSS
   (mismas medidas que tenía el logo antes de optimizar la imagen) */
.site-header .brand-logo { height: 39px; width: auto; max-width: none; max-height: none; }
.footer-logo { width: auto; }
@media (max-width: 720px) {
  .site-header .brand-logo { height: 44px; }
}

/* ---------- Política de datos personales (privacidad.html) ---------- */
.legal { background: var(--c-paper); color: var(--c-gray-800); padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 7vw, 5rem); }
.legal-inner { max-width: 760px; margin: 0 auto; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; }
.legal-updated { margin: 0 0 1.25rem; font-size: 0.85rem; color: var(--c-gray-500); }
.legal-lead { margin: 0 0 2rem; font-size: 1.04rem; color: var(--c-gray-900); overflow-wrap: anywhere; }
.legal a { color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--c-blue); }
.legal-toc { background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); padding: 1.1rem 1.4rem; margin: 0 0 2.5rem; }
.legal-toc-title { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gray-500); margin: 0 0 0.6rem; }
.legal-toc ol { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; font-size: 0.93rem; line-height: 1.5; }
.legal-toc li { break-inside: avoid; padding: 0.2rem 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-section { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--c-gray-200); scroll-margin-top: 90px; }
.legal-section h2 {
  font-family: var(--font-ui); font-weight: 700; color: var(--c-gray-900);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.3; margin: 0 0 0.8rem;
}
.legal-num { color: var(--c-blue); margin-right: 0.15rem; }
.legal-section p { margin: 0 0 0.9rem; }
.legal-section ul, .legal-section ol { margin: 0 0 0.9rem; padding-left: 1.3rem; }
.legal-section li { margin-bottom: 0.45rem; }
.legal-section li::marker { color: var(--c-gray-500); }
.legal-facts { margin: 0; background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); }
.legal-facts div { display: grid; grid-template-columns: 210px 1fr; gap: 1rem; padding: 0.7rem 1.1rem; border-top: 1px solid var(--c-gray-100); }
.legal-facts div:first-child { border-top: 0; }
.legal-facts dt { font-weight: 600; color: var(--c-gray-600); font-size: 0.9rem; }
.legal-facts dd { margin: 0; color: var(--c-gray-900); }
@media (max-width: 600px) {
  .legal-inner { font-size: 0.97rem; }
  .legal-toc ol { columns: 1; }
  .legal-facts div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* Enlaces legales en la línea final del pie */
.footer-meta a,
.footer-meta .footer-meta-link { color: rgba(255, 255, 255, 0.6); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover,
.footer-meta .footer-meta-link:hover { color: var(--c-white); }

/* ---------- Casilla "Acepto la Política de datos personales" (contacto y checkout) ---------- */
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.65rem; align-items: start; }
.consent-check input[type="checkbox"] { width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--c-blue); cursor: pointer; }
.consent-check label { font-size: 0.9rem; line-height: 1.45; color: var(--c-gray-700); cursor: pointer; }
.consent-check label a { color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 2px; }
.consent-check-error { grid-column: 2; margin: 0; font-size: 0.82rem; color: #dc2626; }
.consent-check input[aria-invalid="true"] { outline: 2px solid #dc2626; outline-offset: 2px; }

/* ---------- Aviso de cookies (lo crea analytics.js) ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  background: var(--c-steel-900); color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem var(--gutter);
  font-family: var(--font-body);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 1rem 1.5rem; }
.cookie-banner-text { margin: 0; flex: 1; font-size: 0.85rem; line-height: 1.5; }
.cookie-banner-text a { color: var(--c-white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-state { color: rgba(255, 255, 255, 0.6); }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  min-width: 112px; padding: 0.6rem 1.1rem;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600;
  color: var(--c-white); background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-xs); cursor: pointer;
}
.cookie-btn:hover { border-color: var(--c-white); }
.cookie-btn--accept { background: var(--c-blue); border-color: var(--c-blue); }
.cookie-btn--accept:hover { background: var(--c-blue-dim); border-color: var(--c-blue-dim); }
body.has-cookie-banner .floating-whatsapp,
body.has-cookie-banner .cart-toast-container { bottom: calc(var(--cookie-banner-h, 0px) + 16px); }
@media (max-width: 720px) {
  .cookie-banner { padding: 0.8rem 16px calc(0.8rem + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .cookie-banner-text { font-size: 0.8rem; }
  .cookie-btn { flex: 1; min-width: 0; }
}

/* "Preferencias de cookies": botón con aspecto de enlace */
.footer-meta-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legal-cookie-btn {
  padding: 0.6rem 1.1rem; font: 600 0.88rem var(--font-body); color: var(--c-gray-900);
  background: var(--c-white); border: 1px solid #c9ced4; border-radius: var(--radius-xs); cursor: pointer;
}
.legal-cookie-btn:hover { border-color: var(--c-gray-900); }

/* ---------- "Al escribirnos aceptas nuestra Política de datos" junto a los botones de WhatsApp ---------- */
.wa-consent { margin: 0; font-family: var(--font-body); font-size: 0.76rem; line-height: 1.4; color: rgba(255, 255, 255, 0.58); }
.wa-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Horario de atención (texto en --wa-horario, arriba en :root) */
.wa-consent::before { content: var(--wa-horario); display: block; margin-bottom: 0.15rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.wa-consent--channel::before, .wa-consent--store::before, .wa-consent--product::before { color: var(--c-text-2); }
.wa-consent a:hover { color: var(--c-white); }
.cta-band-actions .wa-consent { flex-basis: 100%; }
.wa-consent--hero { margin-top: -0.95rem; text-align: center; }
.wa-consent--cart { margin-top: -4px; text-align: center; }
/* Sobre fondo claro */
.wa-consent--channel, .wa-consent--store, .wa-consent--product { color: var(--c-gray-600); }
.wa-consent--channel a:hover, .wa-consent--store a:hover, .wa-consent--product a:hover { color: var(--c-blue-dim); }
.wa-consent--channel { margin: -0.5rem 0 0.4rem; }
.wa-consent--product { flex-basis: 100%; text-align: center; }


/* ######################################################################## */
/* ##### visual.css (antes archivo aparte) ############################## */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — visual.css
   Fase de mejoras visuales: sistema de diseño (variables) y componentes
   nuevos. Se carga después de pages.css en todas las páginas.
   ========================================================================== */

/* ---------- Sistema de diseño: variables comunes ---------- */


/* ---------- 1. Hero: mensaje claro para talleres y distribuidores ---------- */
.hero-tagline { max-width: 760px; padding: 0 1rem; line-height: 1.35; }
.hero-tagline strong { color: var(--c-white); font-weight: 700; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: -0.5rem 0 0;
  padding: 0 1rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
  box-shadow: none;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-sm); }
.hero-cta-row .btn-ghost .fa-whatsapp { color: var(--c-whatsapp-marca); font-size: 1.15rem; }
.hero-catalog-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: -0.4rem;
}
.hero-catalog-link:hover { color: var(--c-white); }
.hero-catalog-link small { opacity: 0.7; }
@media (max-width: 720px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .hero-cta-row .btn { width: 100%; }
  .hero-points { font-size: 0.8rem; gap: 0.4rem 0.9rem; }
}
/* En escritorio el mensaje debe verse sin bajar: título y linterna más contenidos */
@media (min-width: 721px) {
  .hero { padding-top: 5.5rem; }
  .hero-word { font-size: clamp(3.5rem, 9vw, 8.5rem); }
  .hero-flashlight-wrap { width: clamp(380px, 52vw, 720px); margin-top: -0.5rem; margin-bottom: -0.5rem; }
  .hero-bottom { gap: 1.2rem; margin-bottom: 1.5rem; }
}

/* ---------- 2. Tarjetas de producto más limpias ---------- */
.product-family-card {
  border-radius: var(--radius-lg);
  border-color: var(--c-border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s, border-color 0.3s;
}
.product-family-card:hover { box-shadow: var(--shadow-md); }
.product-family-card .card-header { gap: 0.5rem; align-items: flex-start; }
.product-family-card .card-badge-category {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  line-height: 1.3;
  border-radius: var(--radius-pill);
  background: rgb(var(--c-blue-rgb) / 0.08);
  border-color: rgb(var(--c-blue-rgb) / 0.2);
  color: var(--c-blue-dim);
  letter-spacing: 0.04em;
}
.product-family-card .card-badge-variants {
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
/* Imagen uniforme: misma proporción con o sin foto */
.product-family-card .card-product-img--photo,
.product-family-card .card-placeholder-img {
  aspect-ratio: 4 / 3;
  height: auto;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-soft);
}
.product-family-card .card-product-img--photo img { transition: transform 0.4s var(--ease-soft); }
.product-family-card:hover .card-product-img--photo img { }
.card-placeholder-img--soon {
  background: var(--c-gray-50) !important;
}
.card-placeholder-img--soon .placeholder-icon { color: var(--c-blue); opacity: 0.55; width: 42px; height: 42px; }
.card-placeholder-img--soon .placeholder-tag {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-muted);
}
/* Pie de la tarjeta: precio a la izquierda, acción a la derecha */
.product-family-card .card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  margin-top: auto;
  border-top: 1px solid var(--c-border-soft);
  background: #fbfcfe;
}
.product-family-card .card-price { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--c-gray-900); }
.product-family-card .card-price small { font-size: 0.7rem; font-weight: 600; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.product-family-card .card-price--quote {
  font-size: 0.78rem; font-weight: 700; color: #b45309;
  background: #fef3c7; border: 1px solid #fde68a;
  padding: 0.25rem 0.6rem; border-radius: var(--radius-pill);
}
.product-family-card .btn-card-action {
  width: auto;
  text-align: center;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
}
.btn-card-action--buy { background: var(--c-blue); color: var(--c-white); }
.btn-card-action--quote { background: transparent; color: var(--c-blue); border: 1px solid rgb(var(--c-blue-rgb) / 0.35); }
.product-family-card:hover .btn-card-action--buy { background: var(--c-blue-dim); }
.product-family-card:hover .btn-card-action--quote { background: var(--c-blue); color: var(--c-white); }
.product-family-card .card-product-img--photo { position: relative; padding: 0; overflow: hidden; }
.product-family-card .card-product-img--photo img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.product-family-card .card-body { flex: 1; }
.product-family-card .card-header { min-height: 62px; }

/* ---------- 3. Esqueletos de carga (en vez de pantallas vacías) ---------- */
.sk {
  background: linear-gradient(90deg, #e8edf3 0%, #f4f7fa 40%, #e8edf3 80%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: sk-shimmer 1.3s ease-in-out infinite;
}
.sk-img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
.sk-line { height: 12px; margin-top: 0.7rem; }
.sk-title { height: 34px; width: 60%; margin-top: 0.8rem; }
.sk-w40 { width: 40%; } .sk-w70 { width: 70%; } .sk-w90 { width: 90%; }
.skeleton-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.4rem;
}
.skeleton-product { text-align: left; max-width: 1000px; margin: 0 auto; }
.skeleton-product-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; }
@media (max-width: 768px) { .skeleton-product-grid { grid-template-columns: 1fr; } }
@keyframes sk-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* ---------- 4. Franja compacta de marcas en el inicio ---------- */
.page-home #marcas { padding-top: var(--space-section); padding-bottom: var(--space-section); background: var(--c-white); }
.page-home #marcas .products-sub { margin-bottom: 2rem; }
.page-home #marcas .brands-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0;
}
.page-home #marcas .brand-plate {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border-soft);
  box-shadow: none;
  background: var(--c-white);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s, border-color 0.3s;
}
.page-home #marcas .brand-plate:hover { box-shadow: var(--shadow-md); border-color: rgb(var(--c-blue-rgb) / 0.35); }
.page-home #marcas .brand-logo { max-width: 78%; max-height: 62%; }
.page-home #marcas .section-cta { margin-top: 2rem; }
@media (max-width: 1024px) {
  .page-home #marcas .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .page-home #marcas .brands-grid { gap: 0.6rem; }
}
.page-home #marcas .brand-plate { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.6rem; white-space: normal; }
.page-home #marcas .brand-plate .brand-cta { display: none; }
.page-home #marcas .brand-plate .brand-logo { width: 86%; height: 72%; max-width: none; max-height: none; object-fit: contain; }
@media (max-width: 480px) {
  .page-home #marcas .brand-plate { aspect-ratio: 1 / 1; padding: 0.35rem; }
  .page-home #marcas .brand-plate .brand-logo { width: 92%; height: 80%; }
}

/* ---------- 5. Por qué M&F (señales de confianza) ---------- */
.why-mf { background: var(--c-paper); color: var(--c-black); padding: var(--space-section) var(--gutter); border-top: 1px solid var(--c-border-soft); }
.why-mf-inner { max-width: var(--container); margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.why-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s;
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-lg);
  background: rgb(var(--c-blue-rgb) / 0.1); color: var(--c-blue); font-size: 1.2rem;
  margin-bottom: 1rem;
}
.why-card h3 { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; margin: 0 0 0.5rem; line-height: 1.1; }
.why-num { color: var(--c-blue); }
.why-card p { margin: 0; color: var(--c-text-muted); font-size: 0.92rem; line-height: 1.55; }
.why-cta {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--c-steel-900);
  color: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
}
.why-cta p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.why-cta strong { color: var(--c-white); }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cta { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 560px) {
  .why-card { display: grid; grid-template-columns: 42px 1fr; column-gap: 0.9rem; padding: 1rem; }
  .why-icon { grid-row: span 2; width: 42px; height: 42px; margin: 0; }
  .why-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
  .why-card p { font-size: 0.86rem; }
  .why-grid { gap: 0.75rem; }
}

/* ---------- 6. Inicio: acceso a la tienda con categorías ---------- */
.page-home #productos { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.page-home #productos .products-sub { margin-bottom: 1.5rem; }
.home-categories { margin-top: 2.25rem; }
.home-categories-title {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-text-muted); margin: 0 0 0.9rem; font-weight: 700;
}
.home-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.home-cat {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--c-white);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  font-weight: 600; font-size: 0.9rem; color: var(--c-gray-900);
  transition: transform 0.25s var(--ease-soft), border-color 0.25s, box-shadow 0.25s;
}
.home-cat i {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg); background: rgb(var(--c-blue-rgb) / 0.1); color: var(--c-blue);
}
.home-cat:hover { border-color: rgb(var(--c-blue-rgb) / 0.4); box-shadow: var(--shadow-md); }
.home-store-search + .home-categories + .section-cta,
.home-categories + .section-cta { justify-content: flex-start; margin-top: 1.5rem; }
@media (max-width: 1024px) { .home-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .home-cat { padding: 0.7rem; font-size: 0.82rem; gap: 0.55rem; }
  .home-cat i { width: 30px; height: 30px; font-size: 0.85rem; }
  .home-store-search { flex-direction: column; }
  .home-store-search .btn { width: 100%; }
}

/* ---------- 7. Sistema de diseño aplicado a todo el sitio ---------- */
/* Botones: mismas esquinas, peso y transición en todas las páginas */
.btn { border-radius: var(--radius-sm); transition: transform 0.25s var(--ease-soft), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { box-shadow: none; }
.btn-nav { border-radius: var(--radius-sm); }
.btn-load-more-products { border-radius: var(--radius-pill); }
/* Campos de formulario */
.form-row input, .form-row textarea,
.checkout-form-input,
.store-search-box input { border-radius: var(--radius-sm); }
/* Tarjetas y paneles */
.dist-card, .news-card, .news-featured-card, .about-panel,
.future-commerce-box, .product-page-card, .checkout-container { border-radius: var(--radius-lg); }
.about-panel { overflow: hidden; }
.modal-tag, .category-pill, .subcategory-chip { border-radius: var(--radius-pill); }
/* Foco de teclado uniforme y visible en fondos claros y oscuros */
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: var(--radius-sm); }
/* Títulos de sección con el mismo ritmo vertical */
.section-eyebrow { margin-bottom: 0.9rem; }
.about-story, .channel-switch, .social-links, .contact-form, .service-row, .coverage-city-btn, .distributor-cta-box { border-radius: var(--radius-lg); }

/* ---------- 8. Franja de cotización y pie de página ---------- */
.cta-band {
  background: var(--c-steel-900);
  color: var(--c-white);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cta-band-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem); line-height: 1.05; margin: 0 0 0.4rem;
}
.cta-band-text { margin: 0; color: rgba(255, 255, 255, 0.72); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-whatsapp { background: var(--c-whatsapp); color: var(--c-white); box-shadow: none; }
.btn-whatsapp:hover { background: var(--c-whatsapp-hover); color: var(--c-white); }
.btn-whatsapp .fa-whatsapp { font-size: 1.15rem; }
@media (max-width: 560px) {
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { width: 100%; }
}
/* Pie: menú alineado a la izquierda bajo el logo, sin sangría */
.site-footer .footer-nav { justify-content: flex-start; gap: 0.6rem 1.4rem; padding: 0; }
.site-footer .footer-social-link { border-radius: var(--radius-sm); }
@media (max-width: 860px) { .site-footer .footer-nav { justify-content: flex-start; } }

/* ---------- 9. Revisión en celular ---------- */
/* Modales de marca cerrados: ocultos del todo (no asoman ni reciben foco) */
.brand-modal:not(.is-visible) { visibility: hidden; transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s; }
.brand-modal.is-visible { visibility: visible; }
/* Marcas: la sección no repite la introducción que ya está en el encabezado de la página */
.page-brands #marcas .section-eyebrow,
.page-brands #marcas .products-sub { display: none; }
.page-brands #marcas .products-title { margin-bottom: 2rem; }

/* ---------- Ajuste: franjas de llamado a la acción más sobrias ---------- */
/* Sin resplandor ni degradados: fondo sólido, borde fino y botones planos */
.cta-band {
  background: var(--c-steel-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cta-band-title {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  letter-spacing: 0.01em;
}
.cta-band-text { color: rgba(255, 255, 255, 0.62); }
.btn-whatsapp,
.btn-whatsapp:hover { box-shadow: none; transform: none; }
.btn-whatsapp:hover { background: var(--c-whatsapp-hover); }
.why-cta {
  background: var(--c-steel-900);
  border-radius: var(--radius-sm);
}
.btn-primary,
.btn-primary:hover { box-shadow: none; }

/* ---------- Ajuste: tarjeta de producto sobria (estilo catálogo) ---------- */
.product-family-card,
.product-family-card:hover {
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-gray-200);
  box-shadow: none;
  transform: none;
}
.product-family-card:hover { border-color: var(--c-gray-400); }
.product-family-card:hover .card-product-img--photo img { transform: none; }
.product-family-card .card-header {
  background: var(--c-white);
  border-bottom: 0;
  min-height: 0;
  padding-bottom: 0.4rem;
  align-items: baseline;
}
.product-family-card .card-badge-category,
.product-family-card .card-badge-variants {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-gray-500);
}
.product-family-card .card-badge-category { color: var(--c-gray-700); }
.product-family-card .card-product-img--photo,
.product-family-card .card-placeholder-img { border-bottom: 1px solid var(--c-gray-100); }
.card-placeholder-img--soon {
  background: var(--c-gray-50) !important;
}
.card-placeholder-img--soon .placeholder-icon { color: var(--c-gray-400); opacity: 1; width: 34px; height: 34px; }
.product-family-card .card-footer {
  background: var(--c-white);
  border-top: 1px solid var(--c-gray-100);
  padding: 0.75rem 1rem;
}
.product-family-card .card-price { font-size: 0.98rem; font-weight: 700; color: var(--c-gray-900); }
.product-family-card .card-price small { font-size: 0.68rem; color: var(--c-gray-500); }
.product-family-card .card-price--quote {
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-gray-500);
}
.product-family-card .card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-blue);
  white-space: nowrap;
}
.product-family-card:hover .card-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Marcas como macro-categorías en la tienda ---------- */
.brand-filter {
  display: flex;
  gap: 0.25rem 1.6rem;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--c-gray-200);
  margin: 1.5rem 0 1rem;
  padding: 0 0.1rem;
}
.brand-tab {
  flex-shrink: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.7rem 0 0.6rem;
  margin-bottom: -1px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-gray-600);
  cursor: pointer;
  white-space: nowrap;
}
.brand-tab:hover { color: var(--c-gray-900); }
.brand-tab.is-active { color: var(--c-gray-900); border-bottom-color: var(--c-blue); }
.brand-tab-count { font-size: 0.72rem; font-weight: 500; color: var(--c-gray-600); margin-left: 0.2rem; }   /* gris 600: contraste 4,5:1 o más (nov. 2026) */
.brand-tab.is-empty { color: var(--c-gray-500); }
.brand-tab.is-empty.is-active { color: var(--c-gray-700); }
/* Etiqueta de marca en la ficha (enlace a la tienda filtrada) */
.modal-tag--brand { border-color: var(--c-gray-400); color: var(--c-text); background: var(--c-white); font-weight: 700; }
.modal-tag--brand:hover { border-color: var(--c-blue); }
/* Marca en la tarjeta */
.product-family-card .card-badge-brand { color: var(--c-gray-900); font-weight: 700; letter-spacing: 0.08em; }
.modal-footer { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* Estado vacío de la tienda (sin resultados / marca "pronto"): claro y legible */
.store-empty-state {
  grid-column: 1 / -1;
  background: var(--c-white);
  border: 1px dashed var(--c-gray-300);
  border-radius: var(--radius-sm);
  color: var(--c-gray-700);
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.store-empty-state h3 { color: var(--c-gray-900); margin: 0 0 0.5rem; font-size: 1.15rem; }
.store-empty-state p { color: var(--c-gray-600); margin: 0.4rem 0; }
.store-empty-state a:not(.btn) { color: var(--c-blue); text-decoration: underline; }
.store-empty-state .btn { margin-top: 0.8rem; }

/* ---------- Ajuste: botones de categoría y subcategoría sobrios ---------- */
.category-pills-scroll { gap: 0.5rem; }
.category-pill {
  background: var(--c-white);
  border: 1px solid var(--c-gray-300);
  border-radius: var(--radius-xs);
  color: var(--c-gray-700);
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.category-pill:hover {
  background: var(--c-white);
  border-color: var(--c-gray-400);
  color: var(--c-gray-900);
}
.category-pill.is-active,
.category-pill.is-active:hover {
  background: var(--c-gray-800);
  border-color: var(--c-gray-800);
  color: var(--c-white);
  box-shadow: none;
  font-weight: 600;
}
/* Subcategorías: texto simple; la activa subrayada */
.subcategory-chips-scroll { gap: 0.25rem 1.2rem; padding-top: 0.25rem; }
.subcategory-chip,
.subcategory-chip:hover {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-gray-500);
  box-shadow: none;
}
.subcategory-chip:hover { color: var(--c-gray-900); }
.subcategory-chip.is-active,
.subcategory-chip.is-active:hover {
  background: none;
  color: var(--c-gray-900);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--c-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.subcategory-chip.is-active,
.subcategory-chip.is-active:hover { border: 0; }
/* En escritorio todas las categorías visibles (varias líneas); en celular, una fila deslizable */
@media (min-width: 769px) {
  .category-pills-scroll,
  .subcategory-chips-scroll { flex-wrap: wrap; overflow-x: visible; }
}

/* ---------- Categorías plegables (botón "Categorías ▾") ---------- */
.category-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-gray-300);
  border-radius: var(--radius-xs);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-gray-800);
  cursor: pointer;
}
.category-toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-toggle:hover { border-color: var(--c-gray-400); }
.category-toggle.has-selection { border-color: var(--c-gray-800); }
.category-toggle i { font-size: 0.75rem; color: var(--c-gray-500); transition: transform 0.2s; }
.category-toggle.is-open i { transform: rotate(180deg); }
.category-pills-scroll {
  flex-wrap: wrap;
  overflow-x: visible;
  padding: 0.9rem;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-xs);
}


/* ######################################################################## */
/* ##### campana.css (antes archivo aparte) ############################# */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — campana.css
   Black Friday LEVEL UP (KING TONY): franja superior y bloque del inicio y la
   tienda, y la página /black-friday.html. Textos y fechas: assets/js/campana.js.
   ========================================================================== */


/* ---------- Franja superior (inicio y tienda) ---------- */
.bf-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 490;             /* debajo del menú del celular */
  display: flex;
  align-items: stretch;
  background: var(--bf-black);
  border-bottom: 1px solid var(--bf-line);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.bf-strip-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 0.5rem 0.55rem 1rem;
  color: inherit;
  text-decoration: none;
}
.bf-strip-tag {
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  background: var(--bf-blue);
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bf-strip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-strip-text--short { display: none; }
.bf-strip-cta { flex-shrink: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bf-strip-link:hover .bf-strip-cta { color: var(--c-blue-light); }
.bf-strip-close {
  flex-shrink: 0;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-left: 1px solid var(--bf-line);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.bf-strip-close:hover { color: var(--c-white); }
.bf-strip-close:focus-visible, .bf-strip-link:focus-visible { outline: 2px solid var(--c-white); outline-offset: -3px; }
body.has-bf-strip { padding-top: var(--bf-strip-h, 0px); }
body.has-bf-strip .site-header { top: var(--bf-strip-h, 0px); }
/* Espacio reservado desde el <head> (index y tienda) mientras llega campana.js: la franja mide 41 px en todos los anchos */
html.bf-reserva body { padding-top: var(--bf-strip-h, 41px); }
html.bf-reserva .site-header { top: var(--bf-strip-h, 41px); }
@media (max-width: 720px) {
  .bf-strip { font-size: 0.78rem; }
  .bf-strip-link { justify-content: flex-start; gap: 0.5rem; padding-left: 0.75rem; }
  .bf-strip-cta { display: none; }
  .bf-strip-text { display: none; }
  .bf-strip-text--short { display: block; }
}

/* ---------- Bloque de campaña (inicio y tienda) ---------- */
.bf-promo {
  background: var(--bf-black);
  color: var(--c-white);
  padding: clamp(2rem, 5vw, 3.25rem) var(--gutter);
  border-top: 1px solid var(--bf-line);
  border-bottom: 1px solid var(--bf-line);
}
.bf-promo[hidden] { display: none; }
.bf-promo-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-left: 4px solid var(--bf-blue);
  padding-left: clamp(1rem, 3vw, 2rem);
}
.bf-promo-brands { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.6); }
.bf-promo-brands img:first-child { height: 18px; width: auto; }
.bf-promo-brands img:last-child { height: 30px; width: auto; }
.bf-promo-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-light);
}
.bf-promo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0.3rem 0 0.6rem;
}
.bf-promo-sub { margin: 0 0 1.4rem; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.bf-promo-btn { border-radius: var(--radius-sm); }
.bf-promo-art { display: block; width: clamp(140px, 18vw, 220px); text-decoration: none; }
.bf-promo-art img { display: block; width: 100%; height: auto; }
.bf-promo-art-text {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.75vw, 1.7rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bf-blue);
}
@media (max-width: 600px) {
  .bf-promo-inner { grid-template-columns: 1fr; }
  .bf-promo-art { display: none; }
  .bf-promo-btn { width: 100%; }
}

/* ==========================================================================
   Página /black-friday.html
   ========================================================================== */
.page-bf { background: var(--bf-black); }
.page-bf .btn { border-radius: var(--radius-sm); }

/* ---------- Hero ---------- */
.bf-hero { background: var(--bf-black); color: var(--c-white); }
.bf-hero-band { padding: calc(6rem + 2vw) var(--gutter) clamp(2rem, 4vw, 3rem); }
.bf-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.bf-cobrand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem; }
.bf-cobrand-kt { height: 26px; width: auto; }
.bf-cobrand-mf { height: 44px; width: auto; }
.bf-cobrand-x { font-size: 1.3rem; color: rgba(255, 255, 255, 0.6); }
.bf-title { margin: 0; line-height: 0; }
.bf-title img { width: min(100%, 360px); height: auto; }
/* Logo oficial LEVEL UP (KING TONY) tal cual, sin efectos; "Black Friday" va como texto aparte debajo */
.bf-title img { display: block; }
.bf-title-text {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--bf-blue);
}

.bf-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-light);
}
.bf-dates {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.bf-lead { margin: 0.9rem 0 0; color: rgba(255, 255, 255, 0.8); max-width: 50ch; }
.bf-lead strong { color: var(--c-white); }
.bf-offer {
  display: inline-block;
  margin: 1.1rem 0 0;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--bf-blue);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
}
.bf-offer[hidden] { display: none; }
.bf-note { margin: 0.9rem 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }

.bf-count { margin-top: 1.6rem; }
.bf-count[hidden] { display: none; }
.bf-count-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.bf-count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 88px)); gap: 0.5rem; }
.bf-count-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.25rem 0.5rem;
  border: 1px solid var(--bf-line);
  background: var(--c-ink);
}
.bf-count-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bf-count-unit { margin-top: 0.3rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }

.bf-ended { margin-top: 1.6rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--bf-blue); background: var(--c-ink); }
.bf-ended[hidden] { display: none; }
.bf-ended-title { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: 1.2rem; }
.bf-ended-text { margin: 0.4rem 0 1rem; color: rgba(255, 255, 255, 0.75); }

.bf-hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.8rem 0 0.7rem; }
.bf-hero-cta[hidden], .bf-hero .wa-consent[hidden] { display: none; }

.bf-hero-photo { display: block; }
.bf-hero-photo img {
  display: block;
  width: 100%;
  height: clamp(220px, 27vw, 420px);
  object-fit: cover;
  object-position: 40% 50%;
}

/* ---------- Secciones ---------- */
.bf-section { padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); }
.bf-inner { max-width: var(--container); margin: 0 auto; }
.bf-inner--narrow { max-width: 820px; }
.bf-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.bf-sub { margin: -0.6rem 0 2rem; max-width: 62ch; }
.bf-list { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.bf-list li { position: relative; padding-left: 1.3rem; margin-bottom: 0.6rem; line-height: 1.5; }
.bf-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 2px;
  background: var(--bf-blue);
}
.bf-list li[hidden] { display: none; }
.bf-path-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-blue);
  margin-bottom: 0.4rem;
}

/* Dos caminos (fondo oscuro) */
.bf-paths { background: var(--c-ink); color: var(--c-white); border-top: 1px solid var(--bf-line); }
.bf-paths .bf-path-kicker { color: var(--c-blue-light); }
.bf-paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.bf-path {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--bf-line);
  background: #111317;
}
.bf-path--b2b { border-top: 3px solid var(--bf-blue); }
.bf-path:not(.bf-path--b2b) { border-top: 3px solid var(--c-white); }
.bf-path-title { font-family: var(--font-ui); font-weight: 700; font-size: 1.45rem; margin: 0 0 1rem; }
.bf-path .bf-list { color: rgba(255, 255, 255, 0.82); flex: 1; }
.bf-path-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bf-consent { margin-top: 1rem; }
.bf-extras { margin-top: 2rem; display: grid; gap: 1rem; }
.bf-extras[hidden] { display: none; }
.bf-extra { padding: 1.2rem 1.4rem; border: 1px solid var(--bf-line); }
.bf-extra-title { margin: 0 0 0.6rem; font-family: var(--font-ui); font-size: 1.15rem; }

/* Productos (fondo claro) */
.bf-products { background: var(--c-paper); color: var(--c-gray-900); }
.bf-products .bf-sub { color: var(--c-gray-600); }
.bf-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.bf-loading { grid-column: 1 / -1; color: var(--c-gray-500); }
.bf-cat {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border-soft, var(--c-gray-200));
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
}
.bf-cat-title { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: 1.3rem; }
.bf-cat-title a { color: inherit; text-decoration: none; }
.bf-cat-title a:hover { color: var(--c-blue-dim); }
.bf-cat-text { margin: 0.35rem 0 1.1rem; color: var(--c-gray-600); font-size: 0.94rem; }
.bf-refs { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; flex: 1; align-content: start; }
.bf-ref { display: flex; flex-direction: column; gap: 0.3rem; color: inherit; text-decoration: none; }
.bf-ref-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #f7f8fa;
  border: 1px solid #eef0f3;
  overflow: hidden;
}
.bf-ref-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform 0.3s var(--ease-soft, ease); }
.bf-ref:hover .bf-ref-img img { }
.bf-ref-noimg { width: 40%; height: 2px; background: #d6dae0; }
.bf-ref-code { font-size: 0.74rem; font-weight: 700; color: var(--c-blue-dim); letter-spacing: 0.02em; }
.bf-ref-name { font-size: 0.82rem; line-height: 1.35; color: var(--c-gray-700); }
.bf-ref:hover .bf-ref-name { text-decoration: underline; }
.bf-cat-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn-ghost-dark { background: transparent; color: var(--c-gray-900); border-color: var(--c-gray-300); }
.btn-ghost-dark:hover { border-color: var(--c-gray-900); color: var(--c-gray-900); }
.bf-more { margin: 1.75rem 0 0; }
.bf-more a { color: var(--c-blue-dim); font-weight: 600; text-underline-offset: 3px; }

/* Dónde comprar (fondo oscuro) */
.bf-where { background: var(--bf-black); color: var(--c-white); }
.bf-where .bf-path-kicker { color: var(--c-blue-light); }
.bf-where-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bf-store { display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem; border: 1px solid var(--bf-line); background: var(--c-ink); }
.bf-store--online { border-top: 3px solid var(--bf-blue); }
.bf-store-name { margin: 0 0 0.4rem; font-family: var(--font-ui); font-weight: 700; font-size: 1.15rem; }
.bf-store-text { margin: 0 0 1.1rem; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; flex: 1; }
.bf-store-tel { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--c-white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bf-store-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.bf-store-tel .fa-phone { color: var(--c-blue-light); }
.bf-store-tel .fa-whatsapp { color: var(--c-whatsapp-marca); }

/* Preguntas (fondo claro) */
.bf-faq { background: var(--c-white); color: var(--c-gray-900); }
.bf-q { border-bottom: 1px solid #e5e7eb; }
.bf-q[hidden] { display: none; }
.bf-q summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.08rem;
}
.bf-q summary::-webkit-details-marker { display: none; }
.bf-q summary::after { content: '+'; flex-shrink: 0; font-size: 1.4rem; line-height: 1; color: var(--c-blue-dim); }
.bf-q[open] summary::after { content: '−'; }
.bf-q summary:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.bf-a { padding: 0 0 1.2rem; color: var(--c-gray-700); }
.bf-a p { margin: 0; }
.bf-a a { color: var(--c-blue-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bf-where-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bf-hero-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .bf-title img { width: min(70%, 280px); }
  .bf-title-text { font-size: clamp(2rem, 9vw, 2.6rem); }
  .bf-paths-grid, .bf-cats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bf-cobrand { gap: 0.6rem; margin-bottom: 1.2rem; }
  .bf-cobrand-kt { height: 20px; }
  .bf-cobrand-mf { height: 36px; }
  .bf-count-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
  .bf-hero-cta { flex-direction: column; }
  .bf-hero-cta .btn, .bf-path-actions .btn, .bf-cat-actions .btn { width: 100%; }
  .bf-where-grid { grid-template-columns: 1fr; }
  .bf-refs { gap: 0.5rem; }
  .bf-ref-name { font-size: 0.76rem; }
  .bf-hero-photo img { height: 230px; }
}


/* ######################################################################## */
/* ##### guias.css (antes archivo aparte) ############################### */
/* ######################################################################## */

/* ==========================================================================
   M&F HERRAMIENTAS — guias.css
   Guías técnicas: índice (guias.html) y artículos (guias/*.html).
   Mismo estilo sobrio de la web: fondo claro, bordes finos, esquinas casi rectas.
   ========================================================================== */

/* ---------- Artículo ---------- */
.guide { background: var(--c-paper); color: var(--c-gray-800); padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 7vw, 5rem); }
.guide-inner { max-width: 760px; margin: 0 auto; font-family: var(--font-body); font-size: 1.02rem; line-height: 1.72; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0 0 1.4rem; font-size: 0.84rem; color: var(--c-gray-500); }
.guide-lead { margin: 0 0 2rem; font-size: 1.1rem; line-height: 1.65; color: var(--c-gray-900); }
.guide a { color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.guide a:hover { color: var(--c-blue); }

.guide-toc { background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); padding: 1.1rem 1.4rem; margin: 0 0 2.25rem; }
.guide-toc-title { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gray-500); margin: 0 0 0.5rem; }
.guide-toc ul { margin: 0; padding-left: 1.1rem; font-size: 0.94rem; line-height: 1.5; }
.guide-toc li { padding: 0.18rem 0; }
.guide-toc a { text-decoration: none; }
.guide-toc a:hover { text-decoration: underline; }

.guide-body h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(1.45rem, 3.4vw, 1.85rem); line-height: 1.1; color: var(--c-ink);
  margin: 2.6rem 0 0.9rem; padding-top: 1.6rem; border-top: 1px solid var(--c-gray-200); scroll-margin-top: 90px;
}
.guide-body h3 { font-family: var(--font-ui); font-weight: 700; font-size: 1.1rem; color: var(--c-gray-900); margin: 1.6rem 0 0.5rem; }
.guide-body p { margin: 0 0 1rem; }
.guide-body ul, .guide-body ol { margin: 0 0 1.1rem; padding-left: 1.35rem; }
.guide-body li { margin-bottom: 0.5rem; }
.guide-body li::marker { color: var(--c-gray-500); }
.guide-body strong { color: var(--c-ink); }

/* Recuadro de advertencia o dato clave */
.guide-note { margin: 1.4rem 0; padding: 0.95rem 1.15rem; background: var(--c-white); border: 1px solid var(--c-gray-200); border-left: 3px solid var(--c-blue); border-radius: var(--radius-xs); font-size: 0.96rem; }
.guide-note--warn { border-left-color: #b45309; }
.guide-note p:last-child { margin-bottom: 0; }
.guide-note-title { display: block; font-family: var(--font-ui); font-weight: 700; color: var(--c-ink); margin-bottom: 0.25rem; }

/* Tabla comparativa: en celular cada fila se vuelve una tarjeta */
.guide-table-wrap { margin: 1.3rem 0 1.6rem; }
.guide-table { width: 100%; border-collapse: collapse; background: var(--c-white); border: 1px solid var(--c-gray-200); font-size: 0.92rem; line-height: 1.45; }
.guide-table caption { caption-side: top; text-align: left; font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem; color: var(--c-gray-900); padding: 0 0 0.55rem; }
.guide-table th, .guide-table td { padding: 0.65rem 0.8rem; border-top: 1px solid var(--c-gray-100); text-align: left; vertical-align: top; }
.guide-table thead th { background: var(--c-ink); color: var(--c-white); font-family: var(--font-ui); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; border-top: 0; }
.guide-table tbody th { font-weight: 700; color: var(--c-ink); }
.guide-table-note { margin: -0.9rem 0 1.6rem; font-size: 0.84rem; color: var(--c-gray-500); }
@media (max-width: 640px) {
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table th, .guide-table td { display: block; width: 100%; }
  .guide-table { border: 0; background: transparent; }
  .guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .guide-table tr { background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); margin-bottom: 0.7rem; }
  .guide-table tbody th { background: var(--c-paper); border-top: 0; }
  .guide-table th, .guide-table td { padding: 0.45rem 0.8rem; }
  .guide-table td { display: grid; grid-template-columns: 40% 1fr; gap: 0.6rem; }
  .guide-table td::before { content: attr(data-label); font-weight: 600; color: var(--c-gray-500); font-size: 0.82rem; }
}

/* Productos relacionados del catálogo */
.guide-products, .guide-body .guide-products { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem; }
.guide-body .guide-products li { margin: 0; }
.guide-products a {
  display: flex; flex-direction: column; gap: 0.15rem; height: 100%; padding: 0.8rem 0.95rem;
  background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); text-decoration: none; color: var(--c-gray-900);
}
.guide-products a:hover { border-color: var(--c-ink); color: var(--c-gray-900); }
.guide-products strong { font-family: var(--font-ui); font-size: 0.98rem; line-height: 1.25; }
.guide-products span { font-size: 0.82rem; color: var(--c-gray-500); line-height: 1.35; }
/* "Productos usados en esta guía" (lo imprime tools/generar-fichas.js) */
.guide-used-intro { color: var(--c-gray-600); }
.guide-used, .guide-body .guide-used { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.guide-body .guide-used li { margin: 0; }
.guide-used-item { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); }
.guide-used-link { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; padding: 0.75rem 0.85rem 0.6rem; text-decoration: none; color: var(--c-gray-900); }
.guide-used-link:hover .guide-used-name { text-decoration: underline; }
.guide-used-img { display: block; aspect-ratio: 4 / 3; margin-bottom: 0.4rem; background: var(--c-white); }
.guide-used-img img, .guide-used-img svg { width: 100%; height: 100%; object-fit: contain; }
.guide-used-img svg { color: var(--c-gray-300); padding: 25%; }
.guide-used-ref { font-size: 0.78rem; font-weight: 600; color: var(--c-gray-500); font-variant-numeric: tabular-nums; }
.guide-used-name { font-family: var(--font-ui); font-size: 0.95rem; line-height: 1.25; }
.guide-used-meta { font-size: 0.8rem; color: var(--c-gray-500); line-height: 1.35; }
.guide-used-btn, .guide-used-btn:hover { margin: 0 0.85rem 0.85rem; justify-content: center; }
.guide-used-btn { background: var(--c-blue); color: var(--c-white); border-color: var(--c-blue); }
.guide-used-btn:hover { background: var(--c-blue-dim); color: var(--c-white); border-color: var(--c-blue-dim); }
.guide-used-btn.is-added { background: var(--c-success); border-color: var(--c-success); }

/* Bloque final "Cotizar por WhatsApp" */
.guide-cta { margin: 2.6rem 0 0; padding: clamp(1.3rem, 3vw, 1.8rem); background: var(--c-ink); color: var(--c-white); border-radius: var(--radius-xs); }
.guide-cta-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 1.75rem); line-height: 1.1; margin: 0 0 0.5rem; color: var(--c-white); }
.guide-cta p { margin: 0 0 1.1rem; color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; }
.guide-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.guide-cta .btn, .guide-cta .btn:hover { text-decoration: none; color: var(--c-white); }
.guide-cta .wa-consent { flex-basis: 100%; margin-top: 0.2rem; color: rgba(255, 255, 255, 0.58); }
.guide-cta .wa-consent a { color: inherit; }
@media (max-width: 480px) {
  .guide-cta .btn { width: 100%; white-space: normal; text-align: center; }
}

/* Otras guías */
.guide-more { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--c-gray-200); }
.guide-more-title { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gray-500); margin: 0 0 0.7rem; }
.guide-more ul { margin: 0; padding-left: 1.2rem; }
.guide-more li { margin-bottom: 0.4rem; }

/* ---------- Índice de guías (guias.html) ---------- */
.guides-index { background: var(--c-paper); color: var(--c-gray-800); padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 7vw, 5rem); }
.guides-index-inner { max-width: var(--container); margin: 0 auto; font-family: var(--font-body); }
.guides-intro { max-width: 760px; margin: 0 0 2rem; font-size: 1.04rem; line-height: 1.65; color: var(--c-gray-900); }
.guides-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.guide-card { height: 100%; }
.guide-card a {
  display: flex; flex-direction: column; height: 100%; padding: 1.3rem 1.35rem 1.2rem;
  background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-xs); color: var(--c-gray-900); text-decoration: none;
}
.guide-card a:hover { border-color: var(--c-ink); }
.guide-card-tag { font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-blue-dim); margin-bottom: 0.5rem; }
.guide-card-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.08; color: var(--c-ink); margin: 0 0 0.6rem; }
.guide-card-text { font-size: 0.93rem; line-height: 1.55; color: var(--c-gray-600); margin: 0 0 1rem; flex: 1; }
.guide-card-more { font-weight: 600; font-size: 0.9rem; color: var(--c-blue-dim); }
.guide-card a:hover .guide-card-more { text-decoration: underline; }
.guides-index .guide-cta { max-width: 760px; }
@media (max-width: 480px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-inner { font-size: 0.98rem; }
}
/* ---------- Páginas de marca (marcas/<slug>.html) y cuadrícula de /marcas ---------- */
/* Diseño M&F (tipografías, estructura, bordes) con el color de cada marca en la portada, los botones y los
   acentos. Los colores vienen de la tabla "marcas" (--brand-1, --brand-2); --brand-ink es el texto legible
   sobre --brand-1 (blanco o casi negro, lo calcula tools/generar-marcas.js). */
.brand-hero { background: var(--brand-1); color: var(--brand-ink); border-bottom: 4px solid var(--brand-2); }
.brand-hero .breadcrumb, .brand-hero .breadcrumb a, .brand-hero .breadcrumb [aria-current] { color: var(--brand-ink); }
.brand-hero .breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.brand-hero-grid { display: flex; align-items: center; gap: var(--space-6); margin-top: var(--space-4); }
.brand-hero-logo {
  flex: 0 0 auto;
  width: clamp(120px, 20vw, 190px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--c-white);
  border-radius: var(--radius-md);
}
.brand-hero-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brand-hero-title { color: var(--brand-ink); margin: 0; }
.brand-hero-frase {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  line-height: 1.25;
  color: var(--brand-ink);
}
.brand-page { background: var(--c-paper); }
.brand-section { padding: var(--space-7) var(--gutter) 0; }
.brand-section:last-child { padding-bottom: var(--space-7); }
.brand-inner { max-width: var(--container); margin: 0 auto; }
.brand-narrow > * { max-width: 760px; }
.brand-h2 {
  margin: 0 0 var(--space-3);
  padding-left: var(--space-3);
  border-left: 4px solid var(--brand-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--c-text);
}
.brand-text { margin: 0; max-width: 70ch; font-size: 1.04rem; line-height: 1.7; color: var(--c-text-2); }
.brand-lead { margin: 0 0 var(--space-4); color: var(--c-text-2); }
.brand-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-4); }
.brand-fact {
  padding: var(--space-5);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--brand-1);
  border-radius: var(--radius-md);
}
.brand-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.brand-list li {
  padding: var(--space-3) var(--space-4);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--c-text);
}
/* Productos destacados */
.brand-feat-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-4); }
.brand-feat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--brand-1);
  border-radius: var(--radius-md);
}
.brand-feat-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-gray-100);
}
/* Nunca se agranda la foto (las pequeñas se ven en su tamaño real, sin verse borrosas) */
.brand-feat-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brand-feat-noimg { font-size: 0.82rem; color: var(--c-text-muted); }
.brand-feat-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); }
.brand-feat-ref { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.brand-feat-name { margin: 0; font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; line-height: 1.35; color: var(--c-text); }
.brand-feat-name a { color: inherit; text-decoration: underline; text-decoration-color: var(--brand-1); text-underline-offset: 3px; }
.brand-feat-btn { margin-top: auto; width: 100%; justify-content: center; }
.brand-featured .wa-consent, .brand-products .wa-consent { margin-top: var(--space-3); }
/* Botones con el color de la marca */
.btn-brand { background: var(--brand-1); border-color: var(--brand-1); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-1); color: var(--brand-ink); box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.12); }
.btn-brand-outline { background: var(--c-white); border: 2px solid var(--brand-1); color: var(--c-text); }
.btn-brand-outline:hover { background: var(--brand-1); color: var(--brand-ink); }
.btn-brand:focus-visible, .btn-brand-outline:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
/* Productos de la tienda dentro de la marca */
.brand-products-grid { margin-top: var(--space-2); }
.brand-more { margin: var(--space-5) 0 0; }
.brand-more .btn, .brand-final-actions .btn, .brand-empty .btn { white-space: normal; text-align: center; max-width: 100%; }
.brand-empty {
  max-width: 640px;
  padding: var(--space-6);
  background: var(--c-white);
  border: 1px dashed var(--c-gray-300);
  border-radius: var(--radius-md);
}
.brand-empty p { margin: 0 0 var(--space-3); color: var(--c-text-2); }
.brand-empty p strong { color: var(--c-text); }
/* Cierre: cotizar, catálogo y distribuidor autorizado */
.brand-final { margin-top: var(--space-7); padding-top: var(--space-7) !important; background: var(--c-white); border-top: 1px solid var(--c-border); }
.brand-final-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.brand-authorized {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-5) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--c-text);
}
.brand-authorized .fas { color: var(--brand-accent); }
/* /marcas: una tarjeta por marca */
.brand-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }
.brand-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--brand-1);
  border-radius: var(--radius-md);
  color: var(--c-text);
  text-decoration: none;
}
.brand-tile:hover { border-color: var(--c-border-strong); border-top-color: var(--brand-1); }
.brand-tile:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.brand-tile-logo { height: 96px; display: flex; align-items: center; justify-content: center; }
.brand-tile-logo img { max-width: 75%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brand-tile-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; }
.brand-tile-frase { flex: 1; font-size: 0.88rem; line-height: 1.45; color: var(--c-text-2); }
.brand-tile-cta { font-size: 0.88rem; font-weight: 700; color: var(--c-blue-dim); }
.brand-tile:hover .brand-tile-cta { text-decoration: underline; text-underline-offset: 3px; }
/* Enlace "Conoce la marca" en la tienda */
/* Nosotros: texto de presentación encima de misión y visión */
.about-intro { max-width: 72ch; margin: var(--space-3) 0 var(--space-6); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--c-text); }
/* Ruta de navegación en Black Friday (dentro de la portada negra) */
.bf-breadcrumb { max-width: var(--container); margin: 0 auto var(--space-5); }
.store-brand-link { margin: 0 0 var(--space-3); font-size: 0.9rem; }
.store-brand-link a { font-weight: 700; color: var(--c-blue-dim); }
@media (max-width: 720px) {
  .brand-hero-grid { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .brand-section { padding-top: var(--space-6); }
  .brand-final-actions .btn, .brand-more .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .brand-tiles { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .brand-tile { padding: var(--space-3); }
  .brand-tile-logo { height: 70px; }
  .brand-feat-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .brand-feat-body { padding: var(--space-3); }
  .brand-feat-img { height: 140px; padding: var(--space-3); }
  .brand-feat-btn { font-size: 0.8rem; line-height: 1.25; white-space: normal; text-align: center; gap: 0.35rem; padding: var(--space-2); }
}

/* ---------- Revisión en celular (375 px), etapa 2 ---------- */
/* Marcas: sin "tornillos" decorativos en las placas, en ninguna página */
.brand-plate::before, .brand-plate::after { display: none; }
/* Cobertura: mismo margen lateral que el resto del sitio; columnas que no se desbordan */
.coverage-inner { padding: 0 var(--gutter); }
.coverage-inner > * { min-width: 0; }
.coverage-stats { flex-wrap: wrap; }
/* Novedades: el título con el mismo estilo de los demás títulos de sección */
.news-title { text-transform: uppercase; font-weight: 700; line-height: 1.1; }
/* Página 404: botones apilados en celular */
@media (max-width: 720px) {
  /* Inicio: "M&F Herramientas" cabe en una línea de ancho (antes se cortaba: "Herramier") */
  .hero-word { font-size: 12.4vw; }
  .hero { padding-bottom: 0; }
  /* Cifras del inicio en 2 × 2 (antes 3 + 1 suelta y un espacio negro debajo) */
  .hero-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); padding: var(--space-5) var(--gutter); }
  .spec-label { max-width: none; }
}
@media (max-width: 560px) {
  /* Tienda: foto de la tarjeta menos alta para ver más productos por pantalla */
  .product-family-card .card-product-img--photo,
  .product-family-card .card-placeholder-img { aspect-ratio: 16 / 10; }
  .not-found-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  /* Buscador del inicio: la lupa centrada en el campo (no entre el campo y el botón) */
  .home-store-search .search-icon { top: 1.5rem; }
  .coverage { padding: var(--space-8) 0; }
  .coverage-cities { grid-template-columns: 1fr 1fr; }
  .coverage-stats { gap: var(--space-5); margin-bottom: var(--space-6); }
}

/* ---------- Rendimiento: no calcular lo que no se ve ---------- */
/* Secciones de más abajo: el navegador las dibuja cuando el usuario se acerca a ellas (content-visibility).
   El encabezado de cada página, la franja de confianza y la ficha de producto se dibujan siempre. */
main > section:not(.hero):not(.page-hero):not(.bf-hero):not(.trust-strip):not(.product-page),
.cta-band,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
/* Tarjetas de la tienda: solo se calculan las que están cerca de la pantalla (son 44 y casi 1.400 elementos) */
.product-family-card { content-visibility: auto; contain-intrinsic-size: auto 430px; }
/* Carrito, checkout y fichas de marca cerrados: no se calculan hasta abrirlos.
   La segunda línea de "transition" mantiene el contenido visible mientras se cierran (navegadores nuevos). */
.cart-drawer:not(.is-open),
.checkout-overlay:not(.is-open),
.brand-modal:not(.is-visible) { content-visibility: hidden; }
.cart-drawer { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s, content-visibility 0s linear 0.35s allow-discrete; }
.cart-drawer.is-open { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s, content-visibility 0s allow-discrete; }
.checkout-overlay { transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1), content-visibility 0.4s allow-discrete; }
.brand-modal:not(.is-visible) { transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s, content-visibility 0s linear 0.45s allow-discrete; }

/* ---------- Cotización rápida (etapa 4): la lista se envía por WhatsApp; el pedido formal queda como segunda opción ---------- */
.btn-whatsapp-quote { order: -2; padding: 14px; background: var(--c-whatsapp); border-color: var(--c-whatsapp); font-size: 0.95rem; font-weight: 700; }
.btn-whatsapp-quote:hover { background: var(--c-whatsapp-hover); border-color: var(--c-whatsapp-hover); }
.wa-consent--cart { order: -1; }
.btn-checkout-start { padding: 12px; background: transparent; border: 1px solid var(--c-steel-600); font-size: 0.88rem; }
.btn-checkout-start:hover { background: var(--c-steel-800); border-color: var(--c-blue); }
.cart-featured-note { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--c-on-dark-2); }
.brand-feat-actions { display: flex; flex-direction: column; gap: var(--space-2); margin-top: auto; }
.brand-feat-actions .brand-feat-btn { margin-top: 0; }
.brand-feat-add.is-added { box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.12); }
/* ---------- ¿Qué herramienta necesito? (herramienta-por-trabajo.html; lo genera tools/generar-trabajos.js) ---------- */
.jobs { background: var(--c-paper); color: var(--c-gray-800); padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 7vw, 5rem); }
.jobs-inner { max-width: var(--container); margin: 0 auto; font-family: var(--font-body); }
.jobs-index ul { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.jobs-index a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  background: var(--c-white); color: var(--c-ink);
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem; text-decoration: none;
}
.jobs-index a:hover { border-color: var(--c-ink); }
.job { padding: var(--space-6) 0; border-top: 1px solid var(--c-border); scroll-margin-top: 110px; }
.jobs-index + .job { border-top: 0; padding-top: 0; }
.job-head { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-4); }
.job-icon {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--c-ink); color: var(--c-white); border-radius: var(--radius-sm); font-size: 1.3rem;
}
.job-title { margin: 0 0 0.4rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.1; color: var(--c-ink); }
.job-text { margin: 0; max-width: 70ch; line-height: 1.55; color: var(--c-gray-700); }
.job-sub { margin: var(--space-5) 0 var(--space-3); font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-blue-dim); }
.job-sub span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--c-gray-600); }
.job-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.job-feat { display: flex; gap: var(--space-3); padding: var(--space-3); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.job-feat-img { flex: 0 0 88px; display: flex; align-items: center; justify-content: center; height: 88px; }
.job-feat-img img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.job-feat-noimg { font-size: 0.7rem; text-align: center; color: var(--c-gray-600); }
.job-feat-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.job-feat-ref { margin: 0; font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-gray-600); }
.job-feat-ref a { color: var(--c-blue-dim); }
.job-feat-name { margin: 0; font-size: 0.9rem; line-height: 1.35; color: var(--c-ink); }
.job-feat-add { align-self: flex-start; margin-top: auto; padding: 0.45rem 0.8rem; font-size: 0.8rem; }
.job-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.job .wa-consent { margin-top: var(--space-2); }

/* Checkout, paso final "¡Pedido recibido!" (checkout.js, renderConfirmation) */
.checkout-confirmation { padding-bottom: var(--space-4); }
.checkout-received-banks {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  background: var(--c-steel-900);
  border: 1px solid var(--c-steel-700);
  border-radius: var(--radius-md);
  color: var(--c-on-dark-2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.checkout-received-banks ul { margin: 0 0 var(--space-3); padding-left: 1.1rem; color: var(--c-white); }
.checkout-received-banks li + li { margin-top: var(--space-1); }
.checkout-received-banks p { margin: var(--space-2) 0 0; }
.checkout-received-banks strong { color: var(--c-white); }
.checkout-received-number { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.checkout-received-quote { padding-left: var(--space-2); border-left: 3px solid var(--c-warning); color: var(--c-white); }
.checkout-received-wa { margin-bottom: var(--space-2); }
.checkout-received-title { margin: var(--space-5) 0 var(--space-2); font-family: var(--font-display); font-size: 1rem; color: var(--c-white); }
.checkout-received-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; color: var(--c-on-dark-2); }
.checkout-received-table th, .checkout-received-table td { padding: var(--space-2); border-bottom: 1px solid var(--c-steel-700); text-align: left; vertical-align: top; }
.checkout-received-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-gray-400); }
.checkout-received-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checkout-received-table tfoot th, .checkout-received-table tfoot td { color: var(--c-white); font-weight: 700; border-bottom: 0; }
.checkout-received-ref { display: block; font-weight: 700; color: var(--c-white); font-variant-numeric: tabular-nums; }
.checkout-received-customer { margin: var(--space-2) 0 0; font-size: 0.8rem; color: var(--c-gray-400); }

/* Destacado al que lleva el buscador (/marcas/<slug>.html#destacado-...) */
.brand-feat-card { scroll-margin-top: 110px; }
.brand-feat-card:target { outline: 3px solid var(--brand-1); outline-offset: 2px; }

/* ---------- Buscador del menú: sugerencias (main.js) ---------- */
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1100;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  max-height: min(70vh, 480px);
  overflow-y: auto;
  margin: 0;
  padding: var(--space-1) 0;
  list-style: none;
  background: var(--c-white);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.search-suggest[hidden] { display: none; }
.search-suggest [role="option"] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--c-border-soft);
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.35;
}
.search-suggest [role="option"]:last-child { border-bottom: 0; }
.search-suggest [role="option"]:hover,
.search-suggest [role="option"][aria-selected="true"] { background: var(--c-gray-100); }
.search-suggest-ref { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-text); }
.search-suggest-name { color: var(--c-text); }
.search-suggest-meta { font-size: 0.78rem; color: var(--c-text-muted); }
.search-suggest .search-suggest-all { font-weight: 600; color: var(--c-blue-dim); }
/* En el menú de celular y tableta la lista va debajo del campo, dentro del panel */
.nav-search { flex-wrap: wrap; }
.nav-search .search-suggest { position: static; width: 100%; max-height: 50vh; margin-top: 6px; }

/* Tabletas y portátiles pequeños (721–1320 px): los enlaces no caben en una fila junto al buscador.
   El menú pasa al botón de hamburguesa (igual que en celular), con el buscador adentro. */
@media (min-width: 721px) and (max-width: 1320px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.6rem;
    width: min(78vw, 360px);
    height: 100svh;
    padding: 5.5rem 2rem 2rem;
    overflow-y: auto;
    background: var(--c-steel-900);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-in-out);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .main-nav a[aria-current="page"]::after { bottom: -4px; right: auto; width: 2rem; }
  .nav-toggle { display: flex; z-index: 410; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-search { display: flex; width: 100%; }
  .nav-search input { width: 100%; font-size: 1rem; padding: 0.75rem 2.6rem 0.75rem 1rem; }
}


/* ######################################################################## */
/* ##### Íconos (reemplazan Font Awesome; solo los que usa el sitio) ##### */
/* ######################################################################## */
/* Font Awesome Free 6.4.0 — https://fontawesome.com — íconos con licencia CC BY 4.0.
   Se escriben igual que antes: <i class="fas fa-whatsapp"></i>. Cada ícono es una máscara SVG que toma el color del texto.
   Para un ícono NUEVO hay que añadir aquí su regla (sacar el SVG de fontawesome.com, versión 6, "Free"). */
.fas, .far, .fab {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
  font-style: normal;
  background-color: currentColor;
  -webkit-mask: var(--fa) center / contain no-repeat;
  mask: var(--fa) center / contain no-repeat;
  forced-color-adjust: none;
}
@media (forced-colors: active) { .fas, .far, .fab { background-color: CanvasText; } }
.fa-spin { animation: fa-spin 1s linear infinite; }
@keyframes fa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fa-spin { animation-duration: 2.5s; } }
.fas.fa-arrow-left{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E")}
.fas.fa-arrow-right{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E")}
.fas.fa-award{width:0.75em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M173.8 5.5c11-7.3 25.4-7.3 36.4 0L228 17.2c6 3.9 13 5.8 20.1 5.4l21.3-1.3c13.2-.8 25.6 6.4 31.5 18.2l9.6 19.1c3.2 6.4 8.4 11.5 14.7 14.7L344.5 83c11.8 5.9 19 18.3 18.2 31.5l-1.3 21.3c-.4 7.1 1.5 14.2 5.4 20.1l11.8 17.8c7.3 11 7.3 25.4 0 36.4L366.8 228c-3.9 6-5.8 13-5.4 20.1l1.3 21.3c.8 13.2-6.4 25.6-18.2 31.5l-19.1 9.6c-6.4 3.2-11.5 8.4-14.7 14.7L301 344.5c-5.9 11.8-18.3 19-31.5 18.2l-21.3-1.3c-7.1-.4-14.2 1.5-20.1 5.4l-17.8 11.8c-11 7.3-25.4 7.3-36.4 0L156 366.8c-6-3.9-13-5.8-20.1-5.4l-21.3 1.3c-13.2 .8-25.6-6.4-31.5-18.2l-9.6-19.1c-3.2-6.4-8.4-11.5-14.7-14.7L39.5 301c-11.8-5.9-19-18.3-18.2-31.5l1.3-21.3c.4-7.1-1.5-14.2-5.4-20.1L5.5 210.2c-7.3-11-7.3-25.4 0-36.4L17.2 156c3.9-6 5.8-13 5.4-20.1l-1.3-21.3c-.8-13.2 6.4-25.6 18.2-31.5l19.1-9.6C65 70.2 70.2 65 73.4 58.6L83 39.5c5.9-11.8 18.3-19 31.5-18.2l21.3 1.3c7.1 .4 14.2-1.5 20.1-5.4L173.8 5.5zM272 192a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM1.3 441.8L44.4 339.3c.2 .1 .3 .2 .4 .4l9.6 19.1c11.7 23.2 36 37.3 62 35.8l21.3-1.3c.2 0 .5 0 .7 .2l17.8 11.8c5.1 3.3 10.5 5.9 16.1 7.7l-37.6 89.3c-2.3 5.5-7.4 9.2-13.3 9.7s-11.6-2.2-14.8-7.2L74.4 455.5l-56.1 8.3c-5.7 .8-11.4-1.5-15-6s-4.3-10.7-2.1-16zm248 60.4L211.7 413c5.6-1.8 11-4.3 16.1-7.7l17.8-11.8c.2-.1 .4-.2 .7-.2l21.3 1.3c26 1.5 50.3-12.6 62-35.8l9.6-19.1c.1-.2 .2-.3 .4-.4l43.2 102.5c2.2 5.3 1.4 11.4-2.1 16s-9.3 6.9-15 6l-56.1-8.3-32.2 49.2c-3.2 5-8.9 7.7-14.8 7.2s-11-4.3-13.3-9.7z'/%3E%3C/svg%3E")}
.fas.fa-bolt{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z'/%3E%3C/svg%3E")}
.fas.fa-book-open{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5V78.6c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C93.5 32 46.3 45.3 18.1 56.1C6.8 60.5 0 71.7 0 83.8V454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C353 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5V83.8c0-12.1-6.8-23.3-18.1-27.6C529.7 45.3 482.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11V456c0 11.4 11.7 19.3 22.4 15.5z'/%3E%3C/svg%3E")}
.fas.fa-boxes-stacked{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M248 0H208c-26.5 0-48 21.5-48 48V160c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V48c0-26.5-21.5-48-48-48H328V80c0 8.8-7.2 16-16 16H264c-8.8 0-16-7.2-16-16V0zM64 256c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H224c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H184v80c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V256H64zM352 512H512c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H472v80c0 8.8-7.2 16-16 16H408c-8.8 0-16-7.2-16-16V256H352c-15 0-28.8 5.1-39.7 13.8c4.9 10.4 7.7 22 7.7 34.2V464c0 12.2-2.8 23.8-7.7 34.2C323.2 506.9 337 512 352 512z'/%3E%3C/svg%3E")}
.fas.fa-building-columns{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M243.4 2.6l-224 96c-14 6-21.8 21-18.7 35.8S16.8 160 32 160v8c0 13.3 10.7 24 24 24H456c13.3 0 24-10.7 24-24v-8c15.2 0 28.3-10.7 31.3-25.6s-4.8-29.9-18.7-35.8l-224-96c-8-3.4-17.2-3.4-25.2 0zM128 224H64V420.3c-.6 .3-1.2 .7-1.8 1.1l-48 32c-11.7 7.8-17 22.4-12.9 35.9S17.9 512 32 512H480c14.1 0 26.5-9.2 30.6-22.7s-1.1-28.1-12.9-35.9l-48-32c-.6-.4-1.2-.7-1.8-1.1V224H384V416H344V224H280V416H232V224H168V416H128V224zM256 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'/%3E%3C/svg%3E")}
.fas.fa-cart-plus{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM252 160c0 11 9 20 20 20h44v44c0 11 9 20 20 20s20-9 20-20V180h44c11 0 20-9 20-20s-9-20-20-20H356V96c0-11-9-20-20-20s-20 9-20 20v44H272c-11 0-20 9-20 20z'/%3E%3C/svg%3E")}
.fas.fa-check{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E")}
.fas.fa-check-circle{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E")}
.fas.fa-chevron-down{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E")}
.fas.fa-chevron-up{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z'/%3E%3C/svg%3E")}
.fas.fa-circle-check{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E")}
.fas.fa-clock{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z'/%3E%3C/svg%3E")}
.fas.fa-credit-card{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M64 32C28.7 32 0 60.7 0 96v32H576V96c0-35.3-28.7-64-64-64H64zM576 224H0V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V224zM112 352h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm112 16c0-8.8 7.2-16 16-16H368c8.8 0 16 7.2 16 16s-7.2 16-16 16H240c-8.8 0-16-7.2-16-16z'/%3E%3C/svg%3E")}
.far.fa-envelope{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z'/%3E%3C/svg%3E")}
.fas.fa-exclamation-circle{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z'/%3E%3C/svg%3E")}
.fas.fa-exclamation-triangle{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E")}
.fab.fa-facebook-f{width:0.625em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E")}
.far.fa-file-pdf{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 464H96v48H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V288H336V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zM176 352h32c30.9 0 56 25.1 56 56s-25.1 56-56 56H192v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V448 368c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H192v48h16zm96-80h32c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H304c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H320v96h16zm80-112c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H448v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H448v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V432 368z'/%3E%3C/svg%3E")}
.fas.fa-gears{width:1.25em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8h-.7c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3E%3C/svg%3E")}
.fas.fa-globe{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z'/%3E%3C/svg%3E")}
.fab.fa-google{width:0.9531em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 488 512'%3E%3Cpath d='M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z'/%3E%3C/svg%3E")}
.fas.fa-hashtag{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M181.3 32.4c17.4 2.9 29.2 19.4 26.3 36.8L197.8 128h95.1l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3s29.2 19.4 26.3 36.8L357.8 128H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H347.1L325.8 320H384c17.7 0 32 14.3 32 32s-14.3 32-32 32H315.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l9.8-58.7H155.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8L90.2 384H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l21.3-128H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3zM187.1 192L165.8 320h95.1l21.3-128H187.1z'/%3E%3C/svg%3E")}
.fas.fa-home{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z'/%3E%3C/svg%3E")}
.fab.fa-instagram{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E")}
.fas.fa-list-check{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M152.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 113C-2.3 103.6-2.3 88.4 7 79s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM224 96c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32zM48 368a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3E%3C/svg%3E")}
.fas.fa-map-location-dot{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M408 120c0 54.6-73.1 151.9-105.2 192c-7.7 9.6-22 9.6-29.6 0C241.1 271.9 168 174.6 168 120C168 53.7 221.7 0 288 0s120 53.7 120 120zm8 80.4c3.5-6.9 6.7-13.8 9.6-20.6c.5-1.2 1-2.5 1.5-3.7l116-46.4C558.9 123.4 576 135 576 152V422.8c0 9.8-6 18.6-15.1 22.3L416 503V200.4zM137.6 138.3c2.4 14.1 7.2 28.3 12.8 41.5c2.9 6.8 6.1 13.7 9.6 20.6V451.8L32.9 502.7C17.1 509 0 497.4 0 480.4V209.6c0-9.8 6-18.6 15.1-22.3l122.6-49zM327.8 332c13.9-17.4 35.7-45.7 56.2-77V504.3L192 449.4V255c20.5 31.3 42.3 59.6 56.2 77c20.5 25.6 59.1 25.6 79.6 0zM288 152a40 40 0 1 0 0-80 40 40 0 1 0 0 80z'/%3E%3C/svg%3E")}
.fas.fa-minus{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E")}
.fas.fa-oil-can{width:1.25em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M320 128c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v32H144 96 48c-26.5 0-48 21.5-48 48v64.8c0 19 11.2 36.2 28.5 43.9l67.5 30V368c0 26.5 21.5 48 48 48H403.1c18.4 0 35.8-7.9 48-21.7L633.5 187.7c12.3-13.9-.3-35.4-18.4-31.5L448 192l-50.5-25.2c-8.9-4.4-18.7-6.8-28.6-6.8H288V128h32zM96 208v86.1L48 272.8V208H96z'/%3E%3C/svg%3E")}
.fas.fa-pen{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z'/%3E%3C/svg%3E")}
.fas.fa-phone{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E")}
.fas.fa-plus{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z'/%3E%3C/svg%3E")}
.fas.fa-print{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M128 0C92.7 0 64 28.7 64 64v96h64V64H354.7L384 93.3V160h64V93.3c0-17-6.7-33.3-18.7-45.3L400 18.7C388 6.7 371.7 0 354.7 0H128zM384 352v32 64H128V384 368 352H384zm64 32h32c17.7 0 32-14.3 32-32V256c0-35.3-28.7-64-64-64H64c-35.3 0-64 28.7-64 64v96c0 17.7 14.3 32 32 32H64v64c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V384zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z'/%3E%3C/svg%3E")}
.fas.fa-receipt{width:0.75em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z'/%3E%3C/svg%3E")}
.fas.fa-rotate-right{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z'/%3E%3C/svg%3E")}
.fas.fa-ruler{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M177.9 494.1c-18.7 18.7-49.1 18.7-67.9 0L17.9 401.9c-18.7-18.7-18.7-49.1 0-67.9l50.7-50.7 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 50.7-50.7c18.7-18.7 49.1-18.7 67.9 0l92.1 92.1c18.7 18.7 18.7 49.1 0 67.9L177.9 494.1z'/%3E%3C/svg%3E")}
.fas.fa-screwdriver{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M465 7c-8.5-8.5-22-9.4-31.6-2.1l-104 80c-5.9 4.5-9.4 11.6-9.4 19v54.1l-85.6 85.6c6.7 4.2 13 9.3 18.8 15.1s10.9 12.2 15.1 18.8L353.9 192H408c7.5 0 14.5-3.5 19-9.4l80-104c7.4-9.6 6.5-23.1-2.1-31.6L465 7zM121.4 281.4l-112 112c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l112-112c30.2-30.2 30.2-79.1 0-109.3s-79.1-30.2-109.3 0z'/%3E%3C/svg%3E")}
.fas.fa-screwdriver-wrench{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z'/%3E%3C/svg%3E")}
.fas.fa-shopping-bag{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M160 112c0-35.3 28.7-64 64-64s64 28.7 64 64v48H160V112zm-48 48H48c-26.5 0-48 21.5-48 48V416c0 53 43 96 96 96H352c53 0 96-43 96-96V208c0-26.5-21.5-48-48-48H336V112C336 50.1 285.9 0 224 0S112 50.1 112 112v48zm24 48a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm152 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z'/%3E%3C/svg%3E")}
.fas.fa-shopping-cart{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3E%3C/svg%3E")}
.fas.fa-spinner{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z'/%3E%3C/svg%3E")}
.fas.fa-star{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E")}
.fas.fa-stethoscope{width:1.125em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M142.4 21.9c5.6 16.8-3.5 34.9-20.2 40.5L96 71.1V192c0 53 43 96 96 96s96-43 96-96V71.1l-26.1-8.7c-16.8-5.6-25.8-23.7-20.2-40.5s23.7-25.8 40.5-20.2l26.1 8.7C334.4 19.1 352 43.5 352 71.1V192c0 77.2-54.6 141.6-127.3 156.7C231 404.6 278.4 448 336 448c61.9 0 112-50.1 112-112V265.3c-28.3-12.3-48-40.5-48-73.3c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V336c0 97.2-78.8 176-176 176c-92.9 0-168.9-71.9-175.5-163.1C87.2 334.2 32 269.6 32 192V71.1c0-27.5 17.6-52 43.8-60.7l26.1-8.7c16.8-5.6 34.9 3.5 40.5 20.2zM480 224a32 32 0 1 0 0-64 32 32 0 1 0 0 64z'/%3E%3C/svg%3E")}
.fab.fa-tiktok{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'/%3E%3C/svg%3E")}
.fas.fa-times{width:0.75em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z'/%3E%3C/svg%3E")}
.fas.fa-trash-alt{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M135.2 17.7C140.6 6.8 151.7 0 163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm96 64c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16z'/%3E%3C/svg%3E")}
.fas.fa-triangle-exclamation{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E")}
.fas.fa-university{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M243.4 2.6l-224 96c-14 6-21.8 21-18.7 35.8S16.8 160 32 160v8c0 13.3 10.7 24 24 24H456c13.3 0 24-10.7 24-24v-8c15.2 0 28.3-10.7 31.3-25.6s-4.8-29.9-18.7-35.8l-224-96c-8-3.4-17.2-3.4-25.2 0zM128 224H64V420.3c-.6 .3-1.2 .7-1.8 1.1l-48 32c-11.7 7.8-17 22.4-12.9 35.9S17.9 512 32 512H480c14.1 0 26.5-9.2 30.6-22.7s-1.1-28.1-12.9-35.9l-48-32c-.6-.4-1.2-.7-1.8-1.1V224H384V416H344V224H280V416H232V224H168V416H128V224zM256 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'/%3E%3C/svg%3E")}
.fas.fa-user{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z'/%3E%3C/svg%3E")}
.fas.fa-user-circle{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z'/%3E%3C/svg%3E")}
.fab.fa-whatsapp{width:0.875em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E")}
.fas.fa-wrench{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7H336c-8.8 0-16-7.2-16-16V118.6c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z'/%3E%3C/svg%3E")}
.fas.fa-magnifying-glass{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E")}
.fas.fa-truck{width:1.25em;--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM112 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm368-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3E%3C/svg%3E")}
.fas.fa-shield-halved{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z'/%3E%3C/svg%3E")}

/* ---------- Revisión final (etapa 7, 24 oct. 2026): celular ---------- */
/* Zona táctil mínima (24 px) en enlaces sueltos y casillas */
.hero-catalog-link, .news-link, .news-more, .dist-card-contact { display: inline-flex; align-items: center; min-height: 24px; }
.privacy-page dd a, .policy dd a, dd > a[href^="mailto:"], dd > a[href^="tel:"], dd > a[href^="http"] { display: inline-block; min-height: 24px; line-height: 24px; }
input[type="checkbox"] { width: 20px; height: 20px; }
/* Teléfonos de 320-380 px: el encabezado (logo, lista y menú) cabe sin desplazar la página */
@media (max-width: 380px) {
  .header-inner { gap: 0.75rem; }
  .site-header .brand-logo { height: 36px; }
}
/* Títulos grandes con palabras largas ("torquímetro", "Distribuidores") y el encabezado oculto de la tabla de variantes
   no deben ensanchar la página en celular */
.page-hero-title, .modal-product-title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 720px) {
  .variants-table thead { display: block; }
}
@media (max-width: 380px) {
  .page-hero-title { font-size: clamp(1.7rem, 9vw, 2.2rem); }
}

/* ---------- Encabezado blanco con el logo a color (Fase 1, 29 oct. 2026) ----------
   Colores en las variables --header-* del :root. La franja de Black Friday, el hero, la franja de confianza
   y el pie siguen oscuros. */
.site-header,
.page-inner .site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}
.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--header-line);
  box-shadow: var(--header-shadow);
}
.main-nav a { color: var(--header-text); }
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--header-text-strong); }
.site-header .btn-nav { color: var(--header-accent); border-color: var(--c-blue); }
.site-header .btn-nav:hover { background: var(--c-blue); border-color: var(--c-blue); color: var(--c-white); }
.header-cart-btn {
  background: var(--header-field-bg);
  color: var(--header-text-strong);
  border-color: var(--header-field-border);
}
.header-cart-btn .cart-count-badge { border-color: var(--header-bg); }
.nav-toggle span { background: var(--header-text-strong); }

/* Buscador: el texto de ayuda completo ("Buscar herramienta…") y la lupa sin taparlo */
.header-search input,
.nav-search input {
  background: var(--header-field-bg);
  border-color: var(--header-field-border);
  color: var(--header-text-strong);
}
.header-search input { width: 220px; padding-right: 2.5rem; text-overflow: ellipsis; }
.header-search input:focus { width: 260px; }
.header-search input::placeholder,
.nav-search input::placeholder { color: var(--header-placeholder); opacity: 1; }
.header-search input:focus,
.nav-search input:focus { background: var(--header-bg); border-color: var(--c-blue); box-shadow: var(--focus-ring); }
.header-search button,
.nav-search button { color: var(--c-gray-600); }
.header-search button:hover,
.nav-search button:hover { color: var(--c-white); background: var(--c-blue); }
/* Entre 1321 y 1440 px no cabe todo en una fila: el buscador y el menú ceden un poco */
@media (min-width: 1321px) and (max-width: 1440px) {
  .header-inner { gap: 1.25rem; }
  .main-nav { gap: 1.25rem; }
  .header-search input { width: 200px; }
  .header-search input:focus { width: 230px; }
}

/* Menú desplegable (hamburguesa, hasta 1320 px): panel blanco */
@media (max-width: 1320px) {
  .main-nav {
    background: var(--header-bg);
    border-left: 1px solid var(--header-line);
    box-shadow: var(--shadow-md);
  }
  .main-nav:not(.is-open) { box-shadow: none; }
}
/* Celulares de 320–380 px: el buscador del menú gana ancho para que el texto de ayuda se lea completo */
@media (max-width: 380px) {
  .main-nav { width: min(86vw, 320px); padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-search input { padding-left: 0.85rem; }
}

/* ---------- Buscador: corrección y "¿No lo encuentras?" (main.js, Fase 1) ---------- */
.search-suggest .search-suggest-note {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--c-border-soft);
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.search-suggest .search-suggest-wa { padding: 0; }
.search-suggest-wa a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  font-weight: 600;
  color: var(--c-text);
}
.search-suggest-wa .fa-whatsapp { color: var(--c-whatsapp-hover); font-size: 1.15rem; flex-shrink: 0; }
.search-suggest .search-suggest-consent { padding: 0 var(--space-3) var(--space-3); }

/* ---------- Galería de la ficha (Fase 2): varias fotos, miniaturas, zoom y deslizar ----------
   Marca: MFProductCard.galleryHtml; comportamiento: producto-app.js. */
.product-ref-desc { color: var(--c-on-dark); }
.family-image-placeholder.has-photo:has(.pg) { display: block; aspect-ratio: auto; padding: 0; overflow: hidden; }
.pg { position: relative; background: var(--c-white); }
.pg-track {
  display: flex;
  aspect-ratio: 4 / 3;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pg-track::-webkit-scrollbar { display: none; }
.pg-track:focus-visible { outline: 2px solid var(--c-blue); outline-offset: -2px; }
.pg-slide { flex: 0 0 100%; scroll-snap-align: center; overflow: hidden; padding: 1rem; cursor: zoom-in; }
.pg-slide img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.pg-slide.is-zoom { cursor: zoom-out; }
.pg-slide.is-zoom img { transform: scale(2.2); }
.pg.is-zoomed .pg-track { overflow: hidden; touch-action: none; }
.pg-nav {
  position: absolute;
  top: calc(50% - 2.6rem);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  background: var(--c-white);
  color: var(--c-gray-900);
  border: 1px solid var(--c-gray-300);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.pg-nav svg { width: 18px; height: 18px; }
.pg-prev { left: 0.5rem; }
.pg-next { right: 0.5rem; }
.pg-next svg { transform: scaleX(-1); }
.pg-nav:hover:not(:disabled) { border-color: var(--c-blue); color: var(--c-blue-dim); }
.pg-nav:disabled { opacity: 0.35; cursor: default; }
.pg-thumbs { display: flex; gap: var(--space-2); padding: var(--space-2); overflow-x: auto; border-top: 1px solid var(--c-border); background: var(--c-gray-50); }
.pg-thumb { flex: 0 0 64px; height: 64px; padding: 4px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.pg-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pg-thumb[aria-current="true"] { border-color: var(--c-blue); box-shadow: inset 0 0 0 1px var(--c-blue); }
.pg-thumb:hover { border-color: var(--c-border-strong); }
@media (max-width: 720px) {
  .pg-nav { display: none; }       /* en celular se desliza con el dedo */
  .pg-thumb { flex-basis: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .pg-slide img { transition: none; } }

/* ---------- Punto de venta más cercano (assets/js/punto-cercano.js, Fase 4) ---------- */
.nearest {
  margin: 0 0 var(--space-6);
  padding: var(--space-5);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-text);
}
.nearest-title { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.nearest-text { margin: 0 0 var(--space-4); max-width: 62ch; font-size: 0.9rem; line-height: 1.5; color: var(--c-text-2); }
.nearest-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-4); }
.nearest-btn { display: inline-flex; align-items: center; gap: var(--space-2); }
.nearest-btn[disabled] { opacity: 0.6; cursor: progress; }
.nearest-city { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.nearest-city label { font-size: 0.8rem; font-weight: 600; color: var(--c-text-2); }
.nearest-city select {
  min-width: 220px; max-width: 100%; min-height: 44px; padding: 0 var(--space-3);
  font: inherit; font-size: 0.95rem; color: var(--c-text);
  background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm);
}
.nearest-city select:focus { outline: none; border-color: var(--c-blue); box-shadow: var(--focus-ring); }
.nearest-status { margin: var(--space-3) 0 0; min-height: 1.2em; font-size: 0.88rem; color: var(--c-text-2); }
.nearest-status:empty { min-height: 0; margin: 0; }
/* Ayuda cuando el dispositivo tiene bloqueada la ubicación (pasos para activarla + "Intentar de nuevo") */
.nearest-help { margin-top: var(--space-4); padding: var(--space-4); max-width: 68ch; border-left: 3px solid var(--c-warning); background: var(--c-gray-50); font-size: 0.9rem; line-height: 1.5; }
.nearest-help[hidden] { display: none; }
.nearest-help-title { margin: 0 0 var(--space-1); font-weight: 700; }
.nearest-help-text { margin: 0 0 var(--space-2); color: var(--c-text-2); }
.nearest-help-steps { margin: 0 0 var(--space-3); padding-left: 1.3rem; display: grid; gap: var(--space-1); color: var(--c-text-2); }
.nearest-retry { min-height: 44px; padding: 0 var(--space-4); font-family: var(--font-ui); font-weight: 700; font-size: 0.88rem; color: var(--c-blue-dim); background: var(--c-white); border: 1px solid var(--c-blue-dim); border-radius: var(--radius-sm); cursor: pointer; }
.nearest-retry:hover { color: var(--c-white); background: var(--c-blue-dim); }
.nearest--dark .nearest-help { background: var(--c-steel-900); }
.nearest--dark .nearest-help-text, .nearest--dark .nearest-help-steps { color: var(--c-on-dark-2); }
.nearest-results:empty { display: none; }
.nearest-results { margin-top: var(--space-4); }
.nearest-subtitle { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.nearest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.nearest-item { padding: var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-gray-50); min-width: 0; }
.nearest-dist { display: block; margin-bottom: var(--space-1); font-size: 0.78rem; font-weight: 700; color: var(--c-blue-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.nearest-name { margin: 0 0 var(--space-1); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.nearest-addr { margin: 0 0 var(--space-3); font-size: 0.88rem; color: var(--c-text-2); overflow-wrap: anywhere; }
.nearest-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.nearest-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; font-size: 0.88rem; font-weight: 600; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; }
.nearest-far { margin-bottom: var(--space-4); padding: var(--space-4); border-left: 3px solid var(--c-blue); background: rgb(var(--c-blue-rgb) / 0.06); }
.nearest-far-title { margin: 0 0 var(--space-1); font-weight: 700; }
.nearest-far-text { margin: 0 0 var(--space-3); font-size: 0.9rem; color: var(--c-text-2); }
.nearest-far .btn { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.nearest .wa-consent { color: var(--c-text-muted); }
.nearest .wa-consent::before { color: var(--c-text-2); }
/* Sobre fondo negro (Black Friday) */
.nearest--dark { background: transparent; border-color: var(--bf-line); color: var(--c-on-dark); }
.nearest--dark .nearest-text, .nearest--dark .nearest-city label, .nearest--dark .nearest-status,
.nearest--dark .nearest-addr, .nearest--dark .nearest-far-text { color: var(--c-on-dark-2); }
.nearest--dark .nearest-item { background: var(--c-steel-900); border-color: var(--bf-line); }
.nearest--dark .nearest-dist, .nearest--dark .nearest-link { color: var(--c-blue-light); }
.nearest--dark .nearest-far { background: rgb(var(--c-blue-rgb) / 0.15); }
.nearest--dark .wa-consent { color: var(--c-on-dark-muted); }
.nearest--dark .wa-consent::before { color: var(--c-on-dark-2); }
.bf-nearest { margin-top: var(--space-6); }
@media (max-width: 900px) { .nearest-list { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .nearest { padding: var(--space-4); }
  .nearest-actions { flex-direction: column; align-items: stretch; }
  .nearest-btn { justify-content: center; white-space: normal; text-align: center; }
  .nearest-city select { min-width: 0; width: 100%; }
}

/* ---------- Herramientas de taller (herramientas/*.html y assets/js/taller.js, Fase 5) ---------- */
.taller { background: var(--c-paper); color: var(--c-text); padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); }
.taller-inner { max-width: 980px; margin: 0 auto; }
.taller-cards { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.taller-card { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); color: var(--c-text); text-decoration: none; transition: border-color .2s; }
.taller-card:hover, .taller-card:focus-visible { border-color: var(--c-blue); }
.taller-card .fas { font-size: 1.4rem; color: var(--c-blue); }
.taller-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.taller-card-text { font-size: 0.92rem; color: var(--c-text-2); line-height: 1.5; }
.taller-form { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: 0 0 var(--space-4); padding: var(--space-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); }
.taller-field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; flex: 1 1 220px; margin: 0; border: 0; padding: 0; }
.taller-field label, .taller-field legend { font-size: 0.85rem; font-weight: 600; color: var(--c-text-2); }
.taller-field input[type="text"], .taller-field select { min-height: 46px; width: 100%; padding: 0 var(--space-3); font: inherit; font-size: 1.05rem; color: var(--c-text); background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm); }
.taller-field input:focus, .taller-field select:focus { outline: none; border-color: var(--c-blue); box-shadow: var(--focus-ring); }
.taller-radios label { display: flex; align-items: center; gap: var(--space-2); min-height: 32px; font-size: 0.95rem; font-weight: 500; color: var(--c-text); cursor: pointer; }
.taller-radios input { width: 18px; height: 18px; accent-color: var(--c-blue); }
.taller-result:empty { display: none; }
.taller-result { margin: 0 0 var(--space-6); padding: var(--space-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); }
.taller-outs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); margin-bottom: var(--space-4); }
.taller-out { padding: var(--space-3) var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-gray-50); }
.taller-out.is-input { border-color: var(--c-blue); background: rgb(var(--c-blue-rgb) / 0.05); }
.taller-out-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; overflow-wrap: anywhere; }
.taller-out-unit { font-size: 0.85rem; color: var(--c-text-2); }
.taller-h2 { margin: var(--space-6) 0 var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.taller-h3 { margin: var(--space-4) 0 var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.taller-answer, .taller-near { margin: 0 0 var(--space-3); font-size: 1rem; line-height: 1.55; }
.taller-products { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.taller-products li { font-size: 0.93rem; line-height: 1.45; }
.taller-products a { color: var(--c-blue-dim); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.taller-ref { font-weight: 700; color: var(--c-text); }
.taller-extra { color: var(--c-text-muted); font-size: 0.85rem; }
.taller-none { margin: 0; font-size: 0.93rem; color: var(--c-text-2); }
.taller-help, .taller-note, .taller-source { font-size: 0.88rem; line-height: 1.55; color: var(--c-text-2); }
.taller-source { margin-top: var(--space-3); color: var(--c-text-muted); }
.taller-warn { margin: 0 0 var(--space-5); padding: var(--space-4); border-left: 3px solid var(--c-warning); background: var(--c-white); font-size: 0.92rem; line-height: 1.55; }
.taller-table-wrap { overflow-x: auto; margin-bottom: var(--space-3); }
.taller-table { width: 100%; border-collapse: collapse; background: var(--c-white); font-size: 0.92rem; }
.taller-table caption { caption-side: bottom; padding-top: var(--space-2); text-align: left; font-size: 0.82rem; color: var(--c-text-muted); }
.taller-table th, .taller-table td { padding: 0.55rem 0.75rem; border: 1px solid var(--c-border); text-align: left; }
.taller-table thead th { background: var(--c-gray-100); font-weight: 700; }
.taller-guide { display: inline-flex; align-items: center; gap: var(--space-2); margin: var(--space-3) var(--space-4) var(--space-3) 0; font-weight: 600; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; }
.taller-wa { margin-top: var(--space-4); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.taller-wa .btn { display: inline-flex; align-items: center; gap: var(--space-2); }
.taller .wa-consent { color: var(--c-text-muted); }
.taller .wa-consent::before { color: var(--c-text-2); }
/* Identificador de encastres */
.taller-enc-grid { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--space-3); }
.taller-enc-btn { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); width: 100%; height: 100%; padding: var(--space-3); font: inherit; font-size: 0.85rem; font-weight: 600; line-height: 1.3; text-align: center; color: var(--c-text); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); cursor: pointer; }
.taller-enc-btn:hover { border-color: var(--c-border-strong); }
.taller-enc-btn:focus-visible { outline: none; border-color: var(--c-blue); box-shadow: var(--focus-ring); }
.taller-enc-btn[aria-pressed="true"] { border-color: var(--c-blue); background: rgb(var(--c-blue-rgb) / 0.06); }
.taller-head { width: 72px; height: 72px; color: var(--c-gray-800); flex-shrink: 0; }
.taller-enc-details > article + article { margin-top: var(--space-4); }
.taller-enc-details.is-interactive > article + article { margin-top: 0; }
.taller-enc-detail { padding: var(--space-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); scroll-margin-top: 90px; }
.taller-enc-detail:focus { outline: none; }
.taller-enc-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-3); }
.taller-enc-head h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.taller-enc-aka { margin: var(--space-1) 0 0; font-size: 0.88rem; color: var(--c-text-muted); }
.taller-enc-detail h4 { margin: var(--space-4) 0 var(--space-1); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.taller-enc-detail p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-text-2); }
.taller-fams { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 0.93rem; }
.taller-fams a { color: var(--c-blue-dim); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.taller-fams span { color: var(--c-text-muted); font-size: 0.85rem; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .taller-cards { grid-template-columns: 1fr; }
  .taller-form, .taller-result, .taller-enc-detail { padding: var(--space-4); }
  .taller-enc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .taller-head { width: 60px; height: 60px; }
  .taller-wa .btn { width: 100%; justify-content: center; }
}
.guide-tool { margin: var(--space-5) 0 0; }
.taller-table--vdi td a { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; }
.taller-lbft { display: block; font-size: 0.8rem; color: var(--c-text-muted); }

/* ---------- Buscar por foto (assets/js/foto.js, Fase 6) ---------- */
/* Botón de cámara junto a la lupa del buscador del menú (lo añade main.js) */
.header-search.has-photo input { padding-right: 4.6rem; }
.nav-search.has-photo input { padding-right: 4.8rem; }
.header-search .search-photo-btn,
.nav-search .search-photo-btn { right: 2.4rem; }
.search-photo-btn svg { width: 18px; height: 18px; }
/* Con el botón de cámara el campo crece para que "Buscar herramienta…" se siga leyendo completo */
.header-search.has-photo input { width: 250px; }
.header-search.has-photo input:focus { width: 285px; }
@media (min-width: 1321px) and (max-width: 1440px) {
  .header-search.has-photo input { width: 228px; }
  .header-search.has-photo input:focus { width: 255px; }
}
@media (max-width: 380px) {
  .nav-search.has-photo input { padding-left: 0.6rem; padding-right: 3.8rem; }
  .nav-search.has-photo button { width: 28px; height: 28px; right: 0.25rem; }
  .nav-search.has-photo .search-photo-btn { right: 2rem; }
}
/* Tienda: botón al lado del buscador */
.store-photo-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 46px; padding: 0 var(--space-4);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--c-text);
  background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.store-photo-btn svg { width: 20px; height: 20px; color: var(--c-blue); }
.store-photo-btn:hover { border-color: var(--c-blue); color: var(--c-blue-dim); }
.store-catalog-header { align-items: center; gap: var(--space-3); }

/* Ventana */
.foto-abierta, .foto-abierta body { overflow: hidden; }
.foto-overlay { position: fixed; inset: 0; z-index: 10010; background: rgba(0, 0, 0, 0.7); }
.foto-modal {
  position: fixed; z-index: 10011; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--c-white); color: var(--c-text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.foto-overlay[hidden], .foto-modal[hidden] { display: none; }
.foto-cerrar {
  position: absolute; top: var(--space-2); right: var(--space-2); width: 44px; height: 44px;
  font-size: 1.8rem; line-height: 1; color: var(--c-gray-600); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer;
}
.foto-cerrar:hover { color: var(--c-text); background: var(--c-gray-100); }
.foto-titulo:focus { outline: none; }
.foto-titulo { margin: 0 var(--space-6) var(--space-3) 0; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.foto-texto { margin: 0 0 var(--space-3); font-size: 0.95rem; line-height: 1.5; color: var(--c-text-2); }
.foto-consejos { margin: 0 0 var(--space-4); padding-left: 1.2rem; font-size: 0.88rem; line-height: 1.5; color: var(--c-text-2); }
.foto-acciones { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-4); }
.foto-acciones .btn { white-space: normal; text-align: center; }
.foto-acciones .btn svg { width: 20px; height: 20px; }
.foto-acciones--fin { margin: var(--space-4) 0 0; }
.foto-btn-sec { background: var(--c-white); color: var(--c-text); border-color: var(--c-gray-300); }
.foto-btn-sec:hover { border-color: var(--c-blue); color: var(--c-blue-dim); }
.foto-privacidad { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--c-text-muted); }
.foto-privacidad a, .foto-texto a { color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; }
.foto-estado { margin: 0; font-size: 0.95rem; color: var(--c-text-2); }
.foto-error { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--c-text); padding-left: var(--space-3); border-left: 3px solid var(--c-error); }
.foto-res { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-4); }
.foto-res > div, .foto-res > p { min-width: 0; flex: 1; }
.foto-miniatura { flex: none; width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-gray-50); }
.foto-res-etiqueta { margin: 0 0 var(--space-1); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-blue-dim); }
.foto-res-tipo { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; overflow-wrap: anywhere; }
.foto-res-datos { margin: 0; display: grid; gap: var(--space-1); font-size: 0.88rem; }
.foto-res-datos div { display: flex; gap: var(--space-2); }
.foto-res-datos dt { font-weight: 600; color: var(--c-text-2); }
.foto-res-datos dd { margin: 0; overflow-wrap: anywhere; }
.foto-subtitulo { margin: var(--space-4) 0 var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.foto-refs { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
.foto-ref { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.foto-ref img, .foto-ref-sinfoto { flex: none; width: 64px; height: 64px; object-fit: contain; background: var(--c-gray-50); border-radius: var(--radius-xs); }
.foto-ref-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.foto-ref-nombre { font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--c-text); overflow-wrap: anywhere; }
.foto-ref-nombre:hover { color: var(--c-blue-dim); text-decoration: underline; }
.foto-ref-meta { font-size: 0.78rem; color: var(--c-text-muted); }
.foto-ref-cotizar {
  flex: none; min-height: 40px; padding: 0 var(--space-3);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--c-white);
  background: var(--c-blue); border: 1px solid var(--c-blue); border-radius: var(--radius-sm); cursor: pointer;
}
.foto-ref-cotizar:hover { background: var(--c-blue-dim); }
.foto-ref-cotizar.is-added { background: var(--c-white); color: var(--c-success); border-color: var(--c-success); }
.foto-aviso { margin: 0 0 var(--space-4); padding: var(--space-3); font-size: 0.85rem; line-height: 1.45; color: var(--c-text-2); background: var(--c-gray-50); border-left: 3px solid var(--c-warning); }
.foto-wa { padding-top: var(--space-4); border-top: 1px solid var(--c-border); }
.foto-wa .btn { margin-bottom: var(--space-2); white-space: normal; text-align: center; }
.foto-wa-nota { margin: 0 0 var(--space-2); font-size: 0.82rem; line-height: 1.45; color: var(--c-text-2); }
.foto-pasos { margin: 0 0 var(--space-3); padding-left: 1.3rem; display: grid; gap: var(--space-2); font-size: 0.9rem; line-height: 1.45; color: var(--c-text-2); }
.foto-pasos .btn { margin: var(--space-1) 0 0; }
.foto-paso-btn { font-weight: 600; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; }
.foto-wa .foto-subtitulo { margin-top: 0; }
@media (max-width: 720px) {
  .foto-modal { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 92dvh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--space-5) var(--space-4) var(--space-4); }
  .foto-acciones .btn, .foto-wa .btn { width: 100%; }
  .foto-miniatura { width: 72px; height: 72px; }
  .store-photo-btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .foto-ref { flex-wrap: wrap; }
  .foto-ref-cotizar { width: 100%; }
}

/* ---------- Vista 360° y "Ver en tu taller" (assets/js/vistas.js, Fase 7) ---------- */
.product-vistas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 var(--space-4); }
.product-vistas[hidden] { display: none; }
.vista-btn {
  flex: 1 1 200px; display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding: var(--space-2) var(--space-3);
  text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--c-text);
  background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.vista-btn svg { flex: none; width: 26px; height: 26px; color: var(--c-blue); }
.vista-btn span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vista-btn small { font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: var(--c-text-muted); }
.vista-btn:hover { border-color: var(--c-blue); color: var(--c-blue-dim); }

.vista-abierta, .vista-abierta body { overflow: hidden; }
.vista-overlay { position: fixed; inset: 0; z-index: 10010; background: rgba(0, 0, 0, 0.75); }
.vista-modal {
  position: fixed; z-index: 10011; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-5); background: var(--c-white); color: var(--c-text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.vista-overlay[hidden], .vista-modal[hidden] { display: none; }
.vista-cerrar {
  position: absolute; top: var(--space-2); right: var(--space-2); width: 44px; height: 44px; z-index: 2;
  font-size: 1.8rem; line-height: 1; color: var(--c-gray-600); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer;
}
.vista-cerrar:hover { color: var(--c-text); background: var(--c-gray-100); }
.vista-titulo { margin: 0 var(--space-6) var(--space-3) 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.vista-titulo:focus { outline: none; }
/* 360° */
.v360 {
  position: relative; aspect-ratio: 4 / 3; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden;
}
.v360.is-girando { cursor: grabbing; }
.v360-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.v360-carga { position: absolute; left: var(--space-2); bottom: var(--space-2); margin: 0; padding: 2px var(--space-2); font-size: 0.78rem; color: var(--c-text-2); background: rgba(255, 255, 255, 0.9); border-radius: var(--radius-xs); }
.v360-carga[hidden] { display: none; }
.v360-controles { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-3); }
.v360-ayuda { margin: 0; font-size: 0.85rem; text-align: center; color: var(--c-text-2); }
.vista-paso {
  flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: var(--c-text); background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm); cursor: pointer;
}
.vista-paso svg { width: 20px; height: 20px; }
.vista-paso:hover { border-color: var(--c-blue); color: var(--c-blue-dim); }
/* 3D */
.v3d-escena { position: relative; aspect-ratio: 4 / 3; background: var(--c-gray-50); border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.v3d-escena model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; }
.v3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.v3d-estado { position: absolute; left: 0; right: 0; bottom: var(--space-3); margin: 0; text-align: center; font-size: 0.88rem; color: var(--c-text-2); }
.v3d-estado[hidden] { display: none; }
.v3d-ar { position: absolute; left: 50%; bottom: var(--space-3); transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.v3d-ar svg { width: 20px; height: 20px; }
.v3d-medidas { margin: var(--space-3) 0 var(--space-1); font-weight: 600; font-size: 0.92rem; }
.v3d-nota { margin: var(--space-2) 0 0; font-size: 0.85rem; line-height: 1.45; color: var(--c-text-2); }
.v3d-nota[hidden] { display: none; }
@media (max-width: 720px) {
  .vista-modal { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 94dvh; padding: var(--space-4); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .v360, .v3d-escena { aspect-ratio: 1 / 1; }
}

/* ---------- Sección "Ver en 3D y 360°" (ver-en-3d.html; la lista la llena tools/generar-vistas.js) ---------- */
.v3d-page { background: var(--c-paper); color: var(--c-text); padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 7vw, 5rem); }
.v3d-page-inner { max-width: var(--container); margin: 0 auto; font-family: var(--font-body); }
.v3d-page .guide-cta { max-width: 760px; margin-top: var(--space-6); }
.v3d-como { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.v3d-como li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); }
.v3d-como svg { flex: none; width: 32px; height: 32px; color: var(--c-blue); }
.v3d-como h2 { margin: 0 0 var(--space-1); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.v3d-como p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--c-text-2); }
.v3d-lista-titulo { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.v3d-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-4); }
.v3d-card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; }
.v3d-card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.v3d-card-img img { width: 100%; height: 100%; object-fit: contain; }
.v3d-card-sinfoto svg { width: 64px; height: 64px; color: var(--c-gray-400); }
.v3d-card-body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); flex: 1; }
.v3d-tags { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.v3d-tag { padding: 2px var(--space-2); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-blue-dim); background: rgb(var(--c-blue-rgb) / 0.08); border-radius: var(--radius-xs); }
.v3d-card-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.v3d-card-title a { color: var(--c-text); }
.v3d-card-title a:hover { color: var(--c-blue-dim); text-decoration: underline; }
.v3d-card-meta { margin: 0; font-size: 0.84rem; color: var(--c-text-muted); }
.v3d-card-nota { display: block; }
.v3d-card .product-vistas { margin: auto 0 0; padding-top: var(--space-2); }
.v3d-vacio { max-width: 640px; margin: 0 auto; padding: var(--space-6) var(--space-5); text-align: center; background: var(--c-white); border: 1px dashed var(--c-gray-300); border-radius: var(--radius-md); }
.v3d-vacio svg { width: 56px; height: 56px; color: var(--c-gray-400); }
.v3d-vacio h2 { margin: var(--space-3) 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.v3d-vacio p { margin: 0 0 var(--space-2); font-size: 0.95rem; line-height: 1.55; color: var(--c-text-2); }
@media (max-width: 720px) {
  .v3d-como { grid-template-columns: 1fr; }
  .v3d-grid { grid-template-columns: 1fr; }
}
/* Con "Ver en 3D" en el menú: en pantallas grandes el espacio entre enlaces cede un poco para que todo quepa en una fila */
@media (min-width: 1441px) { .main-nav { gap: 1.6rem; } }

/* ---------- Comparar referencias (assets/js/comparar.js, Fase 8) ---------- */
.btn-row-compare {
  display: block; width: 100%; margin-top: 6px; padding: 5px 10px; white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; color: inherit; background: transparent;
  border: 1px solid rgb(var(--c-blue-rgb) / 0.6); border-radius: var(--radius-sm); cursor: pointer;
}
.btn-row-compare:hover { border-color: var(--c-blue); }
.btn-row-compare[aria-pressed="true"] { background: rgb(var(--c-blue-rgb) / 0.18); border-color: var(--c-blue); }
@media (max-width: 720px) { .variants-table .btn-row-compare { display: inline-block; width: auto; margin: 0 0 0 6px; padding: 8px 12px; font-size: 0.8rem; } }

.cmp-bar {
  position: fixed; z-index: 9980; left: 16px; right: 100px; bottom: 16px; max-width: 760px;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-3);
  color: var(--c-text); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.cmp-bar[hidden] { display: none; }
.cmp-bar-titulo { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.cmp-bar-titulo span { font-weight: 600; color: var(--c-text-muted); }
.cmp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1); flex: 1; min-width: 0; }
.cmp-chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 2px 2px var(--space-2); font-size: 0.82rem; font-weight: 600; background: var(--c-gray-100); border-radius: var(--radius-sm); }
.cmp-chip button { width: 32px; height: 32px; font-size: 1.2rem; line-height: 1; color: var(--c-gray-600); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer; }
.cmp-chip button:hover { color: var(--c-text); background: var(--c-gray-200); }
.cmp-bar-acciones { display: flex; align-items: center; gap: var(--space-2); }
.cmp-bar-btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.cmp-bar-btn[disabled] { opacity: 0.6; cursor: default; background: var(--c-gray-500); }
.cmp-bar-vaciar { min-height: 40px; padding: 0 var(--space-2); font-size: 0.82rem; color: var(--c-text-2); text-decoration: underline; background: none; border: none; cursor: pointer; }
.cmp-aviso { position: fixed; z-index: 9985; left: 16px; right: 16px; bottom: 110px; max-width: 420px; margin: 0 auto; padding: var(--space-3); font-size: 0.88rem; color: var(--c-white); background: var(--c-gray-900); border-radius: var(--radius-sm); text-align: center; }
.cmp-aviso[hidden] { display: none; }
/* Con la barra abierta, el final de la página no queda tapado */
.cmp-con-barra body { padding-bottom: 96px; }

.cmp-modal { width: min(980px, calc(100vw - 2rem)); }
.cmp-tabla-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.cmp-tabla { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.88rem; }
.cmp-tabla th, .cmp-tabla td { padding: var(--space-2) var(--space-3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.cmp-tabla tbody th { width: 9rem; font-weight: 600; color: var(--c-text-2); background: var(--c-gray-50); }
.cmp-tabla thead th { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; }
.cmp-tabla thead a { color: var(--c-text); }
.cmp-tabla thead a:hover { color: var(--c-blue-dim); text-decoration: underline; }
.cmp-ref { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: var(--c-text-muted); }
.cmp-tabla img { width: 120px; height: 90px; object-fit: contain; }
.cmp-vacio { color: var(--c-gray-400); }
.cmp-nota { margin: var(--space-2) 0 0; font-size: 0.82rem; color: var(--c-text-2); }
.cmp-acciones { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-2); }
.cmp-acciones .btn { white-space: normal; text-align: center; }
@media (max-width: 720px) {
  .cmp-bar { left: 8px; right: 84px; bottom: 8px; padding: var(--space-2); }
  .cmp-bar-acciones { width: 100%; justify-content: space-between; }
  .cmp-acciones .btn { width: 100%; }
}

/* ---------- Recordar el camino (Fase 8): <html class="camino-taller"> en el inicio ---------- */
.camino-nota { display: none; }
.camino-taller .camino-nota {
  display: block; max-width: 760px; margin: 0 auto var(--space-5); padding: var(--space-3) var(--space-4);
  font-size: 0.92rem; line-height: 1.5; text-align: left; color: var(--c-text-2);
  background: rgb(var(--c-blue-rgb) / 0.06); border-left: 3px solid var(--c-blue);
}
.camino-cambiar { padding: 0; font: inherit; font-weight: 600; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; }
/* Primero trabajos y marcas; el resto en su orden (nada se esconde) */
.camino-taller #main { display: flex; flex-direction: column; }
.camino-taller #main > * { order: 10; }
.camino-taller #main > #hero { order: 1; }
.camino-taller #main > .trust-strip { order: 2; }
.camino-taller #main > .bf-promo { order: 3; }
.camino-taller #main > #por-trabajo { order: 4; }
.camino-taller #main > #marcas { order: 5; }
.camino-taller #main > #productos { order: 6; }
/* En el hero, el botón destacado pasa a ser el de talleres */
.camino-taller #heroWhatsappBtn { background: var(--c-whatsapp); border-color: var(--c-whatsapp); color: var(--c-white); }
.camino-taller #heroWhatsappBtn .fa-whatsapp { color: var(--c-white); }
.camino-taller #heroWhatsappBtn:hover { background: var(--c-whatsapp-hover); border-color: var(--c-whatsapp-hover); }
.camino-taller #heroStoreBtn { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: var(--c-white); }
.camino-taller #heroStoreBtn:hover { border-color: var(--c-white); }
body.has-cookie-banner .cmp-bar { bottom: calc(var(--cookie-banner-h, 0px) + 16px); }
body.has-cookie-banner .cmp-aviso { bottom: calc(var(--cookie-banner-h, 0px) + 110px); }
@media (max-width: 720px) { .cmp-modal { width: 100%; } }

/* ---------- Asistente por preguntas (herramienta-por-trabajo.html; assets/js/asistente.js, Fase 8) ---------- */
.asis { background: var(--c-white); color: var(--c-text); padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 0; }
.asis-inner { max-width: var(--container); margin: 0 auto; }
.asis-box { padding: clamp(1.25rem, 3vw, 2rem); background: var(--c-paper); border: 1px solid var(--c-border); border-radius: var(--radius-lg); scroll-margin-top: 90px; }
.asis-paso { margin: 0 0 var(--space-1); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-blue-dim); }
.asis-pregunta { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.6rem); line-height: 1.25; }
.asis-pregunta:focus { outline: none; }
.asis-texto { margin: 0 0 var(--space-4); max-width: 70ch; font-size: 0.95rem; line-height: 1.55; color: var(--c-text-2); }
.asis-opciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-2); }
.asis-op {
  display: flex; align-items: center; gap: var(--space-2); min-height: 52px; padding: var(--space-2) var(--space-3); text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--c-text);
  background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.asis-op i { color: var(--c-blue); }
.asis-op:hover { border-color: var(--c-blue); color: var(--c-blue-dim); }
.asis-op.is-cargando { opacity: 0.6; cursor: progress; }
.asis-nav { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-4); }
.asis-nav:empty { display: none; }
.asis-nav-btn { min-height: 40px; padding: 0; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--c-blue-dim); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; }
.asis-resumen { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; }
.asis-resumen li { padding: 4px var(--space-2); font-size: 0.85rem; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.asis-resumen span { font-weight: 600; color: var(--c-text-2); }
.asis-grupo { margin: var(--space-4) 0 var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.asis-prods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-2); }
.asis-prod { display: flex; gap: var(--space-3); padding: var(--space-2); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.asis-prod-img { flex: none; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; background: var(--c-white); }
.asis-prod-img img { width: 100%; height: 100%; object-fit: contain; }
.asis-prod-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; flex: 1; }
.asis-tag { padding: 1px var(--space-2); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-blue-dim); background: rgb(var(--c-blue-rgb) / 0.08); border-radius: var(--radius-xs); }
.asis-prod-nombre { font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--c-text); overflow-wrap: anywhere; }
.asis-prod-nombre:hover { color: var(--c-blue-dim); text-decoration: underline; }
.asis-prod-meta { font-size: 0.78rem; color: var(--c-text-muted); }
.asis-prod-cotizar { margin-top: auto; min-height: 36px; padding: 0 var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--c-white); background: var(--c-blue); border: 1px solid var(--c-blue); border-radius: var(--radius-sm); cursor: pointer; }
.asis-prod-cotizar:hover { background: var(--c-blue-dim); }
.asis-prod-cotizar.is-added { color: var(--c-success); background: var(--c-white); border-color: var(--c-success); }
.asis-mas { margin: var(--space-1) 0 0; font-size: 0.82rem; color: var(--c-text-muted); }
.asis-nota { margin: var(--space-4) 0 0; font-size: 0.9rem; font-weight: 600; }
.asis-acciones { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.asis-acciones .btn { white-space: normal; text-align: center; }
.asis-wa { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--c-border); }
.asis-wa .btn { white-space: normal; text-align: center; margin-bottom: var(--space-2); }
.asis-wa .wa-consent { color: var(--c-text-muted); }
.asis-wa .wa-consent::before { color: var(--c-text-2); }
@media (max-width: 720px) {
  .asis-opciones { grid-template-columns: 1fr; }
  .asis-prods { grid-template-columns: 1fr; }
  .asis-acciones .btn, .asis-wa .btn { width: 100%; }
}

/* Accesibilidad (PageSpeed, 2 nov. 2026): enlaces de la ruta de navegación sobre fondo oscuro con contraste suficiente
   y subrayados; enlaces de marca de los destacados ("Por trabajo") subrayados para no depender solo del color. */
.breadcrumb a { color: var(--c-blue-light); text-decoration: underline; text-underline-offset: 3px; }
.brand-hero .breadcrumb a { color: var(--brand-ink); }
.job-feat-ref a { text-decoration: underline; text-underline-offset: 2px; }
/* Nota "Al escribirnos aceptas…" sobre fondos claros: gris más oscuro para pasar 4,5:1 (en "Por trabajo" salía blanca) */
.job .wa-consent, .wa-consent--channel, .wa-consent--store, .taller .wa-consent { color: var(--c-gray-600); }
.job .wa-consent::before { color: var(--c-text-2); }
.job .wa-consent a { color: var(--c-blue-dim); }
/* Pie: la línea de datos (S.A.S., dominio, ©) con el mismo blanco al 60 % que sus enlaces (antes 40 %, sin contraste suficiente) */
.footer-meta { color: rgba(255, 255, 255, 0.6); }

/* ---------- Consultar mi pedido (consultar-pedido.html, assets/js/consultar-pedido.js, Fase 9) ---------- */
.pedido-consulta { background: var(--c-paper); color: var(--c-text); padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.pedido-inner { max-width: 760px; margin: 0 auto; font-family: var(--font-body); }
.pedido-form { display: grid; gap: var(--space-4); padding: var(--space-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.pedido-field { display: flex; flex-direction: column; gap: var(--space-1); font-weight: 600; font-size: 0.92rem; }
.pedido-field input { min-height: 46px; padding: 0 var(--space-3); font: inherit; font-weight: 400; font-size: 1rem; color: var(--c-text); background: var(--c-white); border: 1px solid var(--c-gray-300); border-radius: var(--radius-sm); }
.pedido-field input:focus { outline: none; border-color: var(--c-blue); box-shadow: var(--focus-ring); }
.pedido-field small { font-weight: 400; font-size: 0.82rem; color: var(--c-gray-600); }
.pedido-form .btn { justify-self: start; }
.pedido-resultado { margin-top: var(--space-5); }
.pedido-resultado:empty { display: none; }
.pedido-error { margin: 0; padding: var(--space-3) var(--space-4); background: var(--c-white); border-left: 3px solid var(--c-error); color: var(--c-text); line-height: 1.5; }
.pedido-card { padding: var(--space-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.pedido-titulo { margin: 0 0 var(--space-1); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; overflow-wrap: anywhere; }
.pedido-fecha { margin: 0 0 var(--space-4); font-size: 0.88rem; color: var(--c-gray-600); }
.pedido-pago { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4); font-size: 0.92rem; background: var(--c-gray-50); border-left: 3px solid var(--c-warning); }
.pedido-pago span { color: var(--c-text-2); }
.pedido-pago--aprobado { border-left-color: var(--c-success); }
.pedido-pago--no_aprobado { border-left-color: var(--c-error); }
.pedido-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.pedido-paso { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 0.95rem; color: var(--c-gray-600); }
.pedido-paso-marca { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-weight: 700; font-size: 0.85rem; border: 2px solid var(--c-gray-300); border-radius: 50%; background: var(--c-white); }
.pedido-paso-txt { display: flex; flex-direction: column; padding-top: 4px; }
.pedido-paso-txt small { font-size: 0.85rem; color: var(--c-text-2); overflow-wrap: anywhere; }
.pedido-paso.is-hecho { color: var(--c-text); }
.pedido-paso.is-hecho .pedido-paso-marca { color: var(--c-white); background: var(--c-success); border-color: var(--c-success); }
.pedido-paso.is-actual { color: var(--c-text); font-weight: 700; }
.pedido-paso.is-actual .pedido-paso-marca { color: var(--c-white); background: var(--c-blue); border-color: var(--c-blue); }
.pedido-cancelado { margin: 0; padding: var(--space-3) var(--space-4); background: var(--c-gray-50); border-left: 3px solid var(--c-error); }
.pedido-ayuda { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--c-border); }
.pedido-ayuda h2 { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.pedido-ayuda p { margin: 0 0 var(--space-3); color: var(--c-text-2); }
.pedido-ayuda .btn { margin-bottom: var(--space-2); }
.checkout-received-consulta { margin: var(--space-3) 0 0; font-size: 0.9rem; }
.checkout-received-consulta a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .pedido-form { padding: var(--space-4); }
  .pedido-form .btn, .pedido-ayuda .btn { width: 100%; justify-self: stretch; }
}

/* ---------- Reseñas de Google (bloque generado por tools/generar-resenas.js en inicio y Nosotros, Fase 9) ---------- */
.resenas { background: var(--c-white); color: var(--c-text); padding: var(--space-section) var(--gutter); border-top: 1px solid var(--c-border-soft); }
.resenas-inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.resenas .products-title { color: var(--c-ink); }
.resenas-sub { margin: 0 auto var(--space-6); max-width: 60ch; color: var(--c-gray-600); }
.resenas-grid { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-4); text-align: left; }
.resena { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); background: var(--c-paper); border: 1px solid var(--c-border); border-radius: var(--radius-md); }
.resena-estrellas { display: flex; gap: 2px; }
.resena-estrellas svg { width: 18px; height: 18px; fill: var(--c-warning); }
.resena-estrellas svg.vacia { fill: var(--c-gray-300); }
.resena-texto { margin: 0; flex: 1; }
.resena-texto p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-text-2); overflow-wrap: anywhere; }
.resena-autor { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--c-text); }
.resena-autor time { font-family: var(--font-body); font-weight: 400; color: var(--c-gray-600); }
@media (max-width: 720px) { .resenas-grid { grid-template-columns: 1fr; } .resenas-btn { width: 100%; } }
/* Accesibilidad (PageSpeed del inicio): títulos del pie como h2 (antes h4 después de h2) con el mismo aspecto,
   y "Categorías más buscadas" en gris 600 (antes no llegaba a 4,5:1) */
.footer-heading { margin-top: 0; line-height: 1.2; }
.home-categories-title { color: var(--c-gray-600); }

/* ---------- Menú: cada enlace en una sola línea ("Ver en 3D" se partía en tres a 1321–1366 y 1920 px) ---------- */
.main-nav a { white-space: nowrap; }

/* ---------- Portada blanca (pedido del dueño, nov. 2026): misma estética clara que "¿Qué herramienta necesito?" ----------
   Fondo blanco, título y textos oscuros, banda de cifras clara. Siguen oscuros solo la franja de Black Friday y el aviso
   de cookies. La animación de la linterna: assets/js/portada.js (GSAP). */
.hero { background: var(--c-white); color: var(--c-text); }
.hero-word { color: var(--c-ink); }
.hero-tagline { color: var(--c-text-2); }
.hero-tagline strong { color: var(--c-ink); }
.hero-points { color: var(--c-gray-600); }
.hero .btn-primary:hover { background: var(--c-blue-dim); color: var(--c-white); }
.hero .btn-ghost { color: var(--c-ink); border-color: var(--c-gray-300); }
.hero .btn-ghost:hover { border-color: var(--c-ink); }
.hero-cta-row .btn-ghost .fa-whatsapp { color: var(--c-whatsapp); }
.hero .wa-consent { color: var(--c-gray-600); }
.hero .wa-consent::before { color: var(--c-text-2); }
.hero .wa-consent a { color: var(--c-blue-dim); }
.hero-catalog-link { color: var(--c-blue-dim); }
.hero-catalog-link:hover { color: var(--c-ink); }
.hero-specs { border-top-color: var(--c-border); background: var(--c-white); }
.spec-value { color: var(--c-ink); }
.spec-label { color: var(--c-gray-600); }
.spec-divider { background: var(--c-border); }
.scroll-cue-track { background: var(--c-gray-200); }
.scroll-cue-label { color: var(--c-gray-600); }
/* "Tengo taller" recordado (Fase 8): el botón de la tienda queda como contorno oscuro */
.camino-taller #heroStoreBtn { color: var(--c-ink); border-color: var(--c-gray-300); }
.camino-taller #heroStoreBtn:hover { border-color: var(--c-ink); }
/* Con los enlaces en una línea, el espacio entre ellos cede para que todo quepa (probado de 1321 a 2560 px) */
@media (min-width: 1441px) { .main-nav { gap: 1.15rem; } }
@media (min-width: 1321px) and (max-width: 1440px) { .main-nav { gap: 1rem; } }

/* ---------- Linterna de la portada (assets/js/portada.js, GSAP) ----------
   9 nov. 2026 (pedido del dueño): luz más tenue y menos amarilla (--c-haz-rgb era 255 216 0; la fuerza general
   está en TENUE de portada.js) y la linterna ya no viaja al bajar: solo un brillo suave en cada título (.luz-titulo). */
:root { --c-luz: #ffd75a; --c-luz-clara: #fff8d9; --c-luz-rgb: 255 214 90; --c-haz-rgb: 255 226 120; }
.hero-flashlight-wrap { aspect-ratio: 558 / 95; }
/* Panel COB encendido (franja amarilla de la foto: 6–40 % del ancho, 40–58 % del alto) */
.linterna-luz {
  position: absolute; left: 6%; top: 40%; width: 34.5%; height: 18%;
  border-radius: 3px; background: var(--c-luz-clara); pointer-events: none;
  box-shadow: 0 0 12px 3px rgb(var(--c-luz-rgb) / 0.5), 0 0 40px 12px rgb(var(--c-luz-rgb) / 0.2);
}
/* Haz quieto (sin GSAP o con "reducir movimiento"): sube del panel al título */
.linterna-haz {
  position: absolute; left: -4%; width: 55%; bottom: 58%; height: 150%;
  clip-path: polygon(23% 100%, 76% 100%, 100% 0, 0 0);
  background: linear-gradient(to top, rgb(var(--c-luz-rgb) / 0.55), rgb(var(--c-luz-rgb) / 0.12) 60%, rgb(var(--c-luz-rgb) / 0) 92%);
  mix-blend-mode: multiply; pointer-events: none;
}
/* Linterna 3D: frente y espalda (fotos) con capas oscuras entre ellas que le dan grosor al girar */
.linterna {
  position: absolute; left: 0; top: 0; z-index: 4;
  perspective: 900px; transform-origin: 50% 50%; will-change: transform;
  pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.linterna.is-interactiva { pointer-events: auto; cursor: grab; touch-action: pan-y; }
.linterna.is-arrastrando { cursor: grabbing; }
.linterna-cuerpo { position: absolute; inset: 0; transform-style: preserve-3d; }
.linterna-cara, .linterna-capa { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.linterna-cara img { display: block; width: 100%; height: 100%; pointer-events: none; }
/* Cantos: la misma foto oscurecida (de lado se ven el cuerpo negro y el agarre azul, como la linterna real) */
.linterna-capa {
  backface-visibility: visible; -webkit-backface-visibility: visible;
  background: url("../img/linterna-frente.webp") center / 100% 100% no-repeat;
  filter: brightness(0.42) saturate(0.85);
}
/* Haz que sale del panel: cono ancho de bordes suaves (JS lo orienta y lo estira; en el panel mide 40 % del final).
   Las dos máscaras en diagonal siguen los lados del cono (30 %→0 y 70 %→100 % del cuadro de 100 px) y los difuminan. */
.linterna-rayo, .linterna-foco {
  position: absolute; left: 0; top: 0; z-index: 3; width: 100px; height: 100px; opacity: 0;
  pointer-events: none; will-change: transform, opacity; mix-blend-mode: multiply;
}
.linterna-rayo {
  transform-origin: 50% 100%;
  background: linear-gradient(to top, rgb(var(--c-haz-rgb) / 0.95), rgb(var(--c-haz-rgb) / 0.7) 35%,
    rgb(var(--c-haz-rgb) / 0.42) 70%, rgb(var(--c-haz-rgb) / 0) 100%);
  -webkit-mask: linear-gradient(73.3deg, transparent 27px, #000 45px), linear-gradient(-73.3deg, transparent 27px, #000 45px);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(73.3deg, transparent 27px, #000 45px), linear-gradient(-73.3deg, transparent 27px, #000 45px);
  mask-composite: intersect;
}
/* Foco: la mancha de luz donde llega el haz (sobre el título que alumbra) */
.linterna-foco {
  transform-origin: 50% 50%;
  background: radial-gradient(closest-side, rgb(var(--c-haz-rgb) / 0.85), rgb(var(--c-haz-rgb) / 0.45) 55%, rgb(var(--c-haz-rgb) / 0));
}
/* Brillo suave detrás de cada título que aparece al bajar (lo coloca portada.js; debajo del menú y del encabezado).
   Con "multiply" tiñe el fondo blanco sin tapar las letras y no se nota sobre los bloques oscuros. */
.luz-titulo {
  position: absolute; left: 0; top: 0; z-index: 299; width: 100px; height: 100px; opacity: 0; border-radius: 50%;
  pointer-events: none; will-change: opacity; mix-blend-mode: multiply;
  background: radial-gradient(closest-side, rgb(var(--c-haz-rgb) / 0.42), rgb(var(--c-haz-rgb) / 0.26) 40%,
    rgb(var(--c-haz-rgb) / 0.1) 72%, rgb(var(--c-haz-rgb) / 0));
}
/* En la portada la luz es una capa DETRÁS del título (que está en z-index 2): lo abraza en vez de taparlo */
.hero > .linterna-rayo, .hero > .linterna-foco { z-index: 1; }
.hero > .linterna-foco {
  background: radial-gradient(closest-side, rgb(var(--c-haz-rgb) / 0.78), rgb(var(--c-haz-rgb) / 0.46) 45%,
    rgb(var(--c-haz-rgb) / 0.17) 75%, rgb(var(--c-haz-rgb) / 0));
}
/* Halo cálido que bordea cada letra cuando la luz las alcanza */
.hero-word { transition: text-shadow 0.8s ease; }
.hero-word.is-alumbrado { text-shadow: 0 0 2px rgb(var(--c-haz-rgb) / 0.25), 0 0 22px rgb(var(--c-haz-rgb) / 0.32), 0 0 60px rgb(var(--c-haz-rgb) / 0.15); }
.hero-word.is-brillo { text-shadow: none; }
.linterna-viva .hero-flashlight-wrap { overflow: visible; }
/* Pista "gírala" bajo la linterna (el espacio se reserva desde el <head>: sin saltos) */
.linterna-pista { display: none; }
.linterna-3d .linterna-pista {
  display: block; position: relative; z-index: 5; min-height: 1.3em; margin: 0.35rem 0 0; padding: 0 1rem;
  font-size: 0.78rem; line-height: 1.3; color: var(--c-gray-600); text-align: center;
  opacity: 0; transition: opacity 0.6s ease;
}
.linterna-pista.is-visible { opacity: 1; }
.cta-band { position: relative; }
/* Botón de WhatsApp de "¿Necesitas cotizar?": destello suave al entrar en pantalla y luego un borde de luz quieto */
.btn-whatsapp.is-iluminado { box-shadow: 0 0 0 2px rgb(var(--c-haz-rgb) / 0.6), 0 0 20px 3px rgb(var(--c-haz-rgb) / 0.2); }
.btn-whatsapp.is-alumbrado { animation: botonAlumbrado 1.4s ease-out 1; }
@keyframes botonAlumbrado {
  0% { box-shadow: 0 0 0 0 rgb(var(--c-haz-rgb) / 0); }
  35% { box-shadow: 0 0 0 3px rgb(var(--c-haz-rgb) / 0.8), 0 0 30px 8px rgb(var(--c-haz-rgb) / 0.4); }
  100% { box-shadow: 0 0 0 2px rgb(var(--c-haz-rgb) / 0.6), 0 0 20px 3px rgb(var(--c-haz-rgb) / 0.2); }
}
/* Destello que recorre el título una vez (GSAP mueve --brillo) */
.hero-word.is-brillo {
  --brillo: 120%;
  background: linear-gradient(105deg, var(--c-ink) calc(var(--brillo) - 14%), var(--c-luz) calc(var(--brillo) - 3%),
    var(--c-blue) calc(var(--brillo) + 3%), var(--c-ink) calc(var(--brillo) + 14%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Entrada: la línea del <head> de index.html oculta la linterna antes de pintar; si GSAP no llega, aparece sola */
.portada-intro .hero-flashlight-wrap {
  opacity: 0; transform: translateY(-30%) rotate(-10deg);
  animation: portadaRespaldo 0.6s ease-out 2.8s forwards;
}
@keyframes portadaRespaldo { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .portada-intro .hero-flashlight-wrap { opacity: 1; transform: none; animation: none; }
  .btn-whatsapp.is-alumbrado { animation: none; }
}
@media print { .luz-titulo { display: none; } }
@media (min-width: 1321px) and (max-width: 1440px) {
  .header-search.has-photo input { width: 240px; }
  .header-search.has-photo input:focus { width: 262px; }
}
/* Títulos que aparecen línea por línea (assets/js/letras.js): la máscara deja ver las letras que bajan de la línea (g, p, y) */
.letras-linea-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }
