/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ============================================================
   BIKE MART HONDURAS — SOP v6.3
   Construcción 100% con elementos nativos del UX Builder.
   Este CSS estiliza el markup NATIVO de Flatsome para lograr
   el pixel perfect del diseño de referencia (mockup v131).
   ============================================================ */

/* ── Tokens de diseño ── */
:root {
  --black:#0A0A0A; --ink:#161616; --red:#E5232A; --red-dk:#B81920;
  --cream:#F4F1EA; --paper:#FFFFFF; --muted:#6B6B6B; --line:#E3DED4;
  --wa:#128442; --wa-dk:#0E7C3F; /* a11y: 4.77:1 con blanco (antes #25D366 = 1.98) */ --bac:#003DA5; --maxw:1280px;
  --green-olive:#8B9A46;
}

/* ── Tipografía global ── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .display,
.nav > li > a, .heading-font {
  font-family: 'Archivo', sans-serif;
}
.red { color: var(--red); }

/* ── reset scoped (réplica del reset del diseño, sin tocar el tema) ── */
:where(.bm-scope, .bm-scope *) { margin: 0; padding: 0; box-sizing: border-box; }
.bm-scope a { text-decoration: none; }
.bm-scope img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.bm-bg-cream { background: var(--cream); }

/* ── T-3.3: CTA de WhatsApp reutilizable ── */
.bm-cta-wa {
  display: block; text-align: center; padding: 12px;
  background: var(--wa); color: #fff !important;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  border-radius: 6px; transition: background .2s, transform .2s;
  text-decoration: none;
}
.bm-cta-wa:hover { background: var(--wa-dk); color: #fff; }

/* ============================================================
   FASE 5 — MODO CATÁLOGO: CSS fallback (T-5.2)
   Regla madre: sin compra, sin stock visible.
   ============================================================ */
.single_add_to_cart_button,
.add_to_cart_button,
.quantity,
.added_to_cart,
.cart-item,
.header-cart-link { display: none !important; }
/* sin stock visible (regla madre) */
.stock, p.stock, .out-of-stock-label,
.woocommerce-variation-availability,
.single_variation_wrap { display: none !important; }

/* ============================================================
   T-10.1 — Toggle de tienda (ficha)
   ============================================================ */
.bm-toggle-tienda {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 0; flex-wrap: wrap;
}
.bm-toggle-tienda .bm-toggle-label {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 13px; color: var(--ink);
}
.bm-toggle-tienda button {
  padding: 9px 18px; border: 2px solid var(--line); border-radius: 6px;
  background: #fff; font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 13px; color: var(--muted); cursor: pointer; transition: all .2s;
  margin: 0; min-height: 0; line-height: 1.4; text-transform: none;
}
.bm-toggle-tienda button.activo {
  border-color: var(--red); color: #C41E24; background: #FFF5F5; /* a11y 5.5:1 */
}

/* ============================================================
   T-10.4 — CTA sticky móvil
   ============================================================ */
.bm-sticky-wa { display: none; }
@media (max-width: 849px) {
  .single-product .bm-sticky-wa {
    display: block; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 9990; padding: 10px 14px; background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  }
  .bm-sticky-wa .bm-cta-wa { margin: 0; }
}

/* ============================================================
   FASE 7 — POPUP CLUB BIKEMART (T-7.6)
   ============================================================ */
/* Scroll-lock a prueba de iOS Safari: con solo overflow:hidden, al abrirse
   el teclado sobre el overlay fijo, Safari "acolcha" el documento y deja un
   vacío scrolleable tras el footer. body fijo lo impide; el JS guarda y
   restaura la posición de scroll (top inline). */
body.bm-club-open {
  position: fixed; left: 0; right: 0; width: 100%;
  overflow: hidden;
}
.bm-club-overlay {
  position: fixed; inset: 0; z-index: 9995;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
/* Modal compacto: todo visible sin scroll interno incluso en pantallas
   cortas (iPhone SE ~553px visibles, laptops de 560px). dvh descuenta las
   barras del navegador móvil (100vh en iOS las ignora). */
.bm-club-modal {
  width: 100%; max-width: 400px;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff; border-radius: 12px; padding: 22px 24px;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  text-align: center;
}
.bm-club-close {
  position: absolute; top: 6px; right: 6px;
  width: 44px; height: 44px; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #6B6B6B; cursor: pointer;
  background: none; border: 0; border-radius: 8px; line-height: 1;
}
.bm-club-close:hover { color: #E5232A; }
.bm-club-modal h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 18px; margin: 2px 0 4px; padding: 0 34px;
  color: #0A0A0A;
  /* padding y no margin: el tema fuerza el ancho del h3 y con margin la
     caja desbordaba hasta la zona de la X */
}
.bm-club-modal p { color: #6B6B6B; font-size: 14px; margin-bottom: 10px; }
.bm-club-input {
  width: 100%; padding: 10px 14px; border: 2px solid #E3DED4;
  border-radius: 8px; font-size: 15px; margin-bottom: 2px;
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.bm-club-input:focus { border-color: #E5232A; }
.bm-club-field-label, .bm-club-label {
  display: block; text-align: left;
  font-weight: 600; font-size: 14px; color: #0A0A0A; margin-bottom: 5px;
}
.bm-club-error {
  color: #B81920; background: #FFF0F0; border-left: 3px solid #E5232A;
  padding: 6px 10px; margin: 6px 0 8px; font-size: 13px; text-align: left;
}
.bm-club-fieldset { border: 0; padding: 0; margin: 4px 0 0; }
.bm-club-modal label {
  display: block; text-align: left; padding: 4px 0;
  font-size: 14px; cursor: pointer;
}
.bm-club-modal label input[type=checkbox] { margin-right: 8px; }
#bm-club-cta {
  display: block; margin-top: 12px; padding: 12px 24px;
  background: var(--wa); color: #fff; border-radius: 8px;
  font-weight: 700; font-size: 16px; text-align: center;
  text-decoration: none; transition: background 0.2s;
}
#bm-club-cta:hover { background: var(--wa-dk); }
.bm-club-close, .bm-club-skip, #bm-club-cta { min-height: 44px; }
.bm-club-skip {
  background: none; border: 0; color: #6B6B6B;
  font-size: 13px; margin-top: 2px; cursor: pointer;
  text-decoration: underline;
}
.bm-club-skip:hover { color: #E5232A; }
@media (max-width: 849px) {
  .bm-club-overlay { padding: 16px; }
  .bm-club-modal {
    max-width: 100%; padding: 18px 20px;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  }
  /* en móvil el título va en 2 líneas (como el diseño de referencia):
     el padding fuerza el corte y así nunca roza la zona de la X */
  .bm-club-modal h3 { font-size: 20px; padding: 0 44px; }
}

/* ============================================================
   HERO (ux_slider nativo)
   ============================================================ */
.bm-hero { margin-bottom: 0; }
.bm-hero .banner { height: min(76vh, 660px) !important; }
.bm-slide .banner-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.45) 50%, transparent 100%);
}
.bm-slide-2 .banner-bg::after {
  background: linear-gradient(to bottom, transparent 60%, rgba(10,10,10,.4));
}
.bm-hero .banner-layers { padding: 0 24px !important; max-width: var(--maxw) !important; }
.slide-content-x {
  text-align: left; display: flex; flex-direction: column; align-items: flex-start;
  padding: 0 24px;
}
.bm-hero .text-box { z-index: 2; }
.bm-hero .text-box .text-inner { text-align: left; }
.slide-tag {
  font-family: 'Archivo', sans-serif; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 12px;
}
.slide-title {
  font-family: 'Archivo', sans-serif; font-style: italic;
  font-weight: 900; font-size: clamp(38px, 5vw, 64px);
  color: #fff; line-height: 1.05; margin-bottom: 8px;
}
.slide-words { display: flex; gap: 20px; margin: 16px 0 28px; }
.slide-words span {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px;
  color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: 2px;
}
.slide-words span::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  background: var(--red); border-radius: 50%;
  margin-right: 10px; vertical-align: middle;
}
.slide-words.nodots span::before { display: none; }
.slide-words.nodots { gap: 32px; font-size: 18px; }
.slide-words.nodots span { letter-spacing: 3px; font-weight: 800; position: relative; }
.slide-words.nodots span:not(:last-child)::after {
  content: ""; position: absolute; right: -19px; top: 50%;
  transform: translateY(-50%); width: 5px; height: 5px;
  background: rgba(255,255,255,.35); border-radius: 50%;
}
/* botón nativo [button] con look .slide-btn del diseño */
.button.slide-btn, a.slide-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; margin: 0;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: .5px;
  transition: all .2s; text-decoration: none;
  line-height: 1.4 !important; min-height: 0; border: 0;
}
.slide-btn.primary {
  background: var(--red) !important; color: #fff !important;
}
.slide-btn.primary:hover { background: var(--red-dk) !important; transform: translateY(-2px); color: #fff !important; }
.button.bm-btn-ancho { padding: 16px 64px; font-size: 16px; letter-spacing: 1px; }
.bm-hero .text-box .button { margin-top: 0; }

/* flechas y puntos del slider */
.bm-hero .flickity-prev-next-button {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff;
  backdrop-filter: blur(4px); transition: background .2s;
  opacity: 1 !important; box-shadow: none; z-index: 5;
  display: flex !important; align-items: center; justify-content: center;
  /* Centrado vertical con top+margin (NO con transform): Flatsome pisa el
     transform en hover con .slider:hover ...{transform:translateX(0)!important},
     lo que antes tiraba la flecha 22px hacia abajo. Con margin-top el eje
     vertical queda fijo y el transform (translateX) lo maneja el tema. */
  top: 50% !important; margin-top: -22px !important; transform: none;
}
.bm-hero .flickity-prev-next-button:hover { background: rgba(229,35,42,.8); }
.bm-hero .flickity-prev-next-button svg { display: none; }
.bm-hero .flickity-prev-next-button::after {
  content: ''; display: block; width: 100%; height: 100%;
  background: no-repeat center / 20px 20px; margin-top: -1px;
}
.bm-hero .flickity-prev-next-button.previous::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
}
.bm-hero .flickity-prev-next-button.next::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}
.bm-hero .flickity-page-dots { bottom: 20px; }
.bm-hero .flickity-page-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); opacity: 1;
  border: 0; margin: 0 5px; transition: all .3s;
}
.bm-hero .flickity-page-dots .dot.is-selected {
  background: var(--red); width: 28px; border-radius: 5px;
}

/* ============================================================
   CINTILLO (texto con animación CSS)
   ============================================================ */
@keyframes bm-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* la banda del cintillo mide exactamente la altura de la franja (48px):
   se anula el padding-bottom por defecto de la col/row/section de Flatsome */
.bm-cintillo .section-content { padding: 0 !important; }
.bm-cintillo .row, .bm-cintillo .col, .bm-cintillo .col-inner { padding: 0 !important; margin: 0 !important; }
.bm-cintillo .row { max-width: 100% !important; width: 100%; }
.promo-strip { background: var(--black); overflow: hidden; padding: 11px 0; white-space: nowrap; }
.promo-track { display: inline-flex; animation: bm-marquee 25s linear infinite; }
.promo-track:hover { animation-play-state: paused; }
.promo-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 40px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  color: #fff; text-transform: uppercase; letter-spacing: 1px;
}
.promo-item svg { flex-shrink: 0; }
.promo-item .accent { color: var(--red); }

/* ============================================================
   ENCABEZADOS DE SECCIÓN
   ============================================================ */
.bm-sec-tag {
  font-family: 'Archivo', sans-serif; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: #C41E24; font-weight: 700; margin-bottom: 8px; /* a11y: 5.2:1 en crema */
}
.bm-sec-title {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px); color: var(--ink);
  line-height: 1.1; margin-bottom: 6px;
}
.bm-sec-sub { font-size: 16px; color: var(--muted); margin-bottom: 24px; }

/* ============================================================
   DISCIPLINAS (ux_banner nativo con link + hover zoom)
   ============================================================ */
.bm-disc.banner, .banner.bm-disc {
  border-radius: 12px; overflow: hidden; transition: transform .3s;
}
.banner.bm-disc:hover { transform: translateY(-4px); }
.bm-disc .banner-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,10,.75), transparent 60%);
}
.bm-disc .text-box { z-index: 2; padding: 20px !important; }
.bm-disc h3 {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 800;
  font-size: 20px; color: #fff; margin: 0 0 4px;
}
.bm-disc span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ============================================================
   TARJETAS DE PRODUCTO (.pcard — plantilla del loop)
   ============================================================ */
.pcard {
  background: #fff; border-radius: 12px; border: 1px solid var(--line);
  overflow: hidden; transition: all .3s; height: 100%;
  display: flex; flex-direction: column;
}
.pcard:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.pcard-img {
  height: 220px; overflow: hidden; background: var(--cream);
  display: flex; align-items: center; justify-content: center; position: relative;
  flex-shrink: 0;
}
.pcard-img a { display: block; width: 100%; height: 100%; }
.pcard-img img { height: 100% !important; width: 100%; object-fit: cover; margin: 0; }
.pcard-badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px;
  border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; z-index: 2;
}
.pcard-badge.dispo { background: #2e7d32; }
.pcard-badge.pedido { background: #f57c00; }
.pcard-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-brand {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); margin-bottom: 4px;
}
.pcard-name {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  margin-bottom: 8px; min-height: 40px;
}
.pcard-name a { color: inherit; }
.pcard-price {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px;
  color: var(--red); margin-bottom: 4px;
}
.pcard-isv {
  display: block; font-family: 'Inter', sans-serif; font-size: 11px;
  font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 1px;
}
.pcard-bac { font-size: 12px; color: var(--bac); font-weight: 600; }
.pcard-bac svg { vertical-align: middle; margin-right: 4px; display: inline-block; }
.pcard-cta {
  display: block; text-align: center; padding: 12px;
  background: var(--wa); color: #fff !important; font-weight: 700; font-size: 13px;
  border-radius: 6px; margin-top: 12px; transition: background .2s;
}
.pcard-cta:hover { background: var(--wa-dk); }
.pcard-ficha-link {
  display: block; text-align: center; margin-top: auto;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--red) !important; padding-top: 8px;
}
/* neutralizar estilos de caja de producto del tema en nuestras tarjetas */
.pcard-col .col-inner { height: 100%; }
.pcard-col { margin-bottom: 20px; }

/* ============================================================
   FRANJA DISTRIBUIDOR OFICIAL (section nativa con bg)
   ============================================================ */
.bm-orbea .section-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.82), rgba(10,10,10,.5) 60%, rgba(10,10,10,.3));
}
.bm-orbea .section-content { z-index: 2; }
.bm-orbea .bm-sec-tag { color: #F0555A; /* a11y sobre fondo oscuro */ }
.bm-orbea-titulo {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: clamp(28px, 4vw, 44px); color: #fff; line-height: 1.1;
  margin: 0 0 16px;
}
.bm-orbea-p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; max-width: 560px; }
.bm-orbea .button.slide-btn { margin-top: 22px; }

/* ============================================================
   EVENTOS (ux_banner nativo)
   ============================================================ */
.banner.bm-event { border-radius: 12px; overflow: hidden; }
.bm-event .banner-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,10,.7), transparent 50%);
}
.bm-event .text-box { z-index: 2; padding: 28px !important; }
.bm-event h3 {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 800;
  font-size: 22px; color: #fff; margin: 0 0 6px;
}
.bm-event p { color: rgba(255,255,255,.75); font-size: 14px; margin: 0; }
.bm-event .button.ev-btn, .button.ev-btn {
  display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0;
  padding: 10px 24px; background: var(--red); color: #fff !important;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px;
  border-radius: 6px; transition: all .2s; line-height: 1.4 !important;
  min-height: 0; border: 0; text-transform: none; letter-spacing: 0;
}
.button.ev-btn:hover { background: var(--red-dk); transform: translateY(-2px); }

/* ============================================================
   TALLER (featured_box nativo con SVG inline)
   ============================================================ */
.bm-taller-box {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 20px; height: 100%;
}
.bm-taller-box .icon-box-img {
  width: 56px !important; height: 56px; margin: 0 auto 16px;
  background: var(--red); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.bm-taller-box .icon-box-img svg,
.bm-taller-box .icon-box-img img { width: 28px; height: 28px; }
.bm-taller-box h4, .bm-taller-box h5, .bm-taller-box .icon-box-text > div:first-child {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  margin: 0 0 6px; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.bm-taller-box p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.bm-section-taller .col { margin-bottom: 0; }

/* ============================================================
   SUCURSALES (cols nativas como tarjetas + buttons nativos)
   ============================================================ */
.suc-col .col-inner {
  border: 1px solid var(--line); border-radius: 12px; padding: 32px;
  height: 100%;
}
.suc-col h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px;
  margin: 0 0 12px;
}
.suc-col p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.suc-col p a { color: var(--red); font-weight: 600; }
.button.suc-btn {
  width: calc(50% - 6px); margin: 8px 0 0;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 6px; border: 0;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px;
  line-height: 1.4 !important; min-height: 0;
  text-transform: none; letter-spacing: 0; transition: all .2s;
}
.button.suc-btn.maps { background: var(--ink); color: #fff !important; margin-right: 8px; }
.button.suc-btn.maps:hover { background: var(--red); }
.button.suc-btn.wapp { background: var(--wa); color: #fff !important; }
.button.suc-btn.wapp:hover { background: var(--wa-dk); }

/* ============================================================
   CLUB BIKEMART (franja de cierre)
   ============================================================ */
.bm-newsletter h2 {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: 28px; color: #fff; margin: 0 0 8px;
}
.bm-newsletter p { color: rgba(255,255,255,.6); margin: 0 0 24px; font-size: 15px; }
.nl-form {
  display: flex; align-items: stretch; max-width: 480px; margin: 0 auto; gap: 0;
  border-radius: 8px; overflow: hidden;
}
.nl-form input {
  flex: 1; padding: 14px 18px !important; font-size: 14px;
  border: 0 !important; outline: none; border-radius: 0 !important;
  box-shadow: none !important; margin: 0 !important;
  background: #fff !important; color: var(--ink);
  height: 51px !important; min-height: 0; line-height: 1.6;
  font-family: 'Inter', system-ui, sans-serif;
}
.nl-form input::placeholder { color: var(--muted); }
.nl-form .nl-btn {
  background: var(--red); color: #fff !important; padding: 0 28px;
  font-weight: 700; font-size: 14px; border: none; border-radius: 0 !important;
  font-family: 'Archivo', sans-serif; cursor: pointer; transition: background .2s;
  display: inline-flex; align-items: center; justify-content: center;
  height: 51px; margin: 0;
}
.nl-form .nl-btn:hover { background: var(--red-dk); }

/* ============================================================
   FOOTER (section + cols + follow nativos) — mockup: 48px 0 24px
   ============================================================ */
/* el <section> sin padding propio; el respiro lo da el section-content */
.bm-footer { padding-top: 0 !important; padding-bottom: 0 !important; }
.bm-footer .section-content { padding: 48px 0 24px !important; }
.bm-footer-logo { width: auto !important; margin-bottom: 12px; }
.bm-footer-logo img { height: 56px; width: auto; }
.bm-footer h2, .bm-footer h4 {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px;
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1px; color: #fff;
}
.bm-footer .col-inner > a {
  display: flex; align-items: center; min-height: 36px;
  color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 10px;
  transition: color .2s; text-decoration: none;
}
.bm-footer .col-inner > a:hover { color: var(--red); }
.bm-footer .footer-desc {
  color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.6; margin-top: 12px;
}
/* redes: círculo semitransparente + glifo blanco (idéntico al mockup).
   Flatsome pinta el color de marca con .social-icons .button.icon:not(.is-outline)
   {background:currentColor!important} (0,4,0) — se gana con (0,5,1). */
.bm-footer .social-icons a.button.icon:not(.is-outline) {
  background-color: rgba(255,255,255,.1) !important;
  border-color: transparent !important; box-shadow: none !important;
  border-radius: 50% !important; width: 36px !important; height: 36px !important;
  line-height: 36px !important; color: #fff !important;
  transition: background-color .2s; margin: 0 10px 0 0 !important;
}
.bm-footer .social-icons a.button.icon:not(.is-outline):hover {
  background-color: var(--red) !important;
}
.bm-footer .social-icons a.button.icon i,
.bm-footer .social-icons a.button.icon svg { color: #fff !important; fill: #fff !important; }
/* divisor de la barra inferior */
.bm-footer .is-divider, .bm-footer hr {
  border-color: rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.1) !important;
  margin: 32px auto 0 !important; max-width: 100%; height: 1px;
}
/* el respiro superior lo da el propio row (.bm-footer-bottom); las cols a 0
   para no duplicarlo — antes sumaban 20px+20px = 40px contra los 20 del diseño */
.bm-footer .bm-footer-bottom .col { padding-top: 0 !important; padding-bottom: 0 !important; }
/* barra inferior: réplica de .footer-bottom del diseño (fila con extremos,
   también en móvil — las cols de Flatsome se apilarían a 100% de ancho) */
.bm-footer-bottom {
  display: flex !important; flex-direction: row !important;
  justify-content: space-between !important; align-items: flex-start;
  flex-wrap: nowrap !important; font-size: 12px;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 20px 24px 0 !important;
}
.bm-footer-bottom .col {
  width: auto !important; max-width: none !important;
  padding: 0 !important; margin: 0 !important;
}
/* el copyright absorbe el espacio; el crédito ORBEA nunca se encoge */
.bm-footer-bottom .col:first-child { flex: 1 1 auto !important; }
.bm-footer-bottom .col:last-child { flex: 0 0 auto !important; }
.bm-footer-bottom .col:last-child { text-align: right; }
.bm-footer-bottom .col-inner { padding: 0; }
.bm-copy { font-size: 12px; color: rgba(255,255,255,.62); line-height: 1.4; /* a11y ≥4.5:1 */ }
.absolute-footer { display: none !important; }

/* ============================================================
   PANEL TALLER (lightbox nativo lateral T-6.3)
   ============================================================ */
.mfp-container:has(#taller-panel) {
  padding: 0 !important;
  display: flex; justify-content: flex-end; align-items: stretch;
}
.mfp-container:has(#taller-panel) .mfp-content {
  width: 440px; max-width: 100%; height: 100vh; margin: 0;
  display: flex; align-items: stretch; vertical-align: top;
}
#taller-panel {
  border-radius: 0 !important; margin: 0; width: 100%;
  max-width: 440px !important; height: 100vh; max-height: 100vh;
  padding: 22px 24px !important; overflow-y: auto;
  box-shadow: -4px 0 40px rgba(0,0,0,.2); background: #fff;
}
.bm-taller-inner h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 21px; margin: 0 0 2px;
}
.bm-panel-sub { font-size: 13px; margin: 0 0 4px; color: var(--muted); }
.bm-panel-serv {
  border-bottom: 1px solid var(--line); padding: 9px 0; margin: 0 !important;
}
.bm-panel-serv .icon-box-img { width: 20px !important; margin-right: 12px; }
.bm-panel-serv .icon-box-img svg, .bm-panel-serv .icon-box-img img { width: 20px; height: 20px; }
.bm-panel-serv h4, .bm-panel-serv h5, .bm-panel-serv .icon-box-text > div:first-child {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  margin: 0; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.bm-panel-serv p { font-size: 12.5px; color: var(--muted); line-height: 1.35; margin: 0; }
#taller-panel .button.taller-cta {
  width: calc(50% - 6px); margin: 6px 0 0;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 10px; border-radius: 8px; border: 0;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px;
  color: #fff !important; line-height: 1.4 !important; min-height: 0;
  text-transform: none; letter-spacing: 0; transition: transform .2s;
}
#taller-panel .button.taller-cta:hover { transform: translateY(-2px); }
#taller-panel .taller-cta.tgu { background: var(--red); margin-right: 8px; }
#taller-panel .taller-cta.sps { background: var(--ink); }
@media (max-width: 600px) {
  .mfp-container:has(#taller-panel) .mfp-content { width: 100%; }
  #taller-panel { max-width: 100% !important; }
  #taller-panel .button.taller-cta { width: 100%; margin-right: 0; }
}

/* ============================================================
   POPUP SELECTOR DE TIENDA (T-7.3, lightbox nativo)
   ============================================================ */
#popup-tienda { background: #fff; }
.bm-popup-tienda h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 22px; margin-bottom: 8px; color: var(--black);
}
.bm-popup-tienda p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.bm-popup-tienda .button.bm-cta-wa {
  display: block; width: 100%; margin: 0 0 12px;
  padding: 14px; font-size: 15px; line-height: 1.4 !important;
  min-height: 0; border: 0; text-transform: none; letter-spacing: 0;
}
.bm-popup-tienda .button.bm-cta-wa:last-child { margin-bottom: 0; }

/* ============================================================
   FLOTANTE WHATSAPP (chrome del tema)
   ============================================================ */
.bm-floating-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 9990;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s;
}
.bm-floating-wa:hover { transform: scale(1.06); }
.single-product .bm-floating-wa { display: none; }
body:has(.mfp-wrap.mfp-ready) .bm-floating-wa { display: none; }
.back-to-top { display: none !important; }

/* ============================================================
   TOPBAR (texto + menú de WordPress con dropdowns del tema)
   ============================================================ */
#top-bar {
  background: linear-gradient(180deg, #0F0F0F 0%, #0A0A0A 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#top-bar .flex-row { min-height: 0; }
#top-bar .html { font-size: 12.5px; color: #fff; }
#top-bar li.html.custom { padding: 0; margin: 0; }
.bm-topbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: #fff; height: 45px; padding: 0;
}
.topbar-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.85); white-space: nowrap;
}
.topbar-item strong { color: #fff; font-weight: 700; }
.topbar-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.3); flex-shrink: 0;
}
/* menú del topbar (nav-top): items y dropdowns */
#top-bar .nav > li > a {
  color: rgba(255,255,255,.85); font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 500; text-transform: none; letter-spacing: 0;
  padding: 6px 12px; border-radius: 6px; transition: all .2s; line-height: 1.4;
}
#top-bar .nav > li:hover > a { color: #fff; background: rgba(255,255,255,.08); }
#top-bar .nav > li.bm-tb-contactanos > a::before,
#top-bar .nav > li.bm-tb-sucursales > a::before {
  content: ''; display: inline-block; width: 13px; height: 13px;
  margin-right: 6px; vertical-align: -2px;
  background-repeat: no-repeat; background-size: contain;
}
#top-bar .nav > li.bm-tb-contactanos > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' 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-157z'/%3E%3C/svg%3E");
}
#top-bar .nav > li.bm-tb-sucursales > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.5' d='M6 1C4 1 2.5 2.6 2.5 4.5c0 3 3.5 6 3.5 6s3.5-3 3.5-6C9.5 2.6 8 1 6 1z'/%3E%3Ccircle fill='%23ffffff' cx='6' cy='4.5' r='1.3'/%3E%3C/svg%3E");
}
#top-bar .nav-dropdown {
  border: 0 !important; border-radius: 8px !important;
  padding: 0 !important; min-width: 240px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2) !important; overflow: hidden;
}
#top-bar .nav-dropdown li a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 500;
  font-size: 13px !important; color: var(--ink) !important;
  border-bottom: 1px solid var(--line); transition: all .18s;
  text-transform: none; letter-spacing: 0; line-height: 1.3;
}
#top-bar .nav-dropdown li:last-child a { border-bottom: 0; }
#top-bar .nav-dropdown li a:hover {
  background: var(--cream); padding-left: 20px !important;
}
#top-bar .nav-dropdown .bm-md-title {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px; color: var(--ink);
}
#top-bar .nav-dropdown li a:hover .bm-md-title { color: var(--red); }
#top-bar .nav-dropdown .bm-md-sub { font-size: 11.5px; color: var(--muted); font-weight: 400; }

/* ============================================================
   T-6.2 — SIDEBAR DE FILTROS AVANZADO (lateral)
   ============================================================ */
.bm-cat-layout {
  display: flex; align-items: flex-start; gap: 32px;
  max-width: var(--maxw); margin: 32px auto 0; padding: 0 24px;
}
.bm-cat-sidebar {
  flex: 0 0 260px; position: sticky; top: 96px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 20px;
}
.bm-cat-main { flex: 1 1 auto; min-width: 0; }
.bm-filtros-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.bm-filtros-title {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: 18px; color: var(--ink);
}
.bm-filtro-limpiar {
  font-size: 11.5px; color: var(--red); font-weight: 600; text-decoration: none;
}
.bm-filtro-limpiar:hover { text-decoration: underline; }
.bm-filtro-grupo { padding: 16px 0; border-bottom: 1px solid var(--line); }
.bm-filtro-grupo:last-child { border-bottom: 0; padding-bottom: 0; }
.bm-filtro-label {
  display: block; font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
/* disponibilidad: lista radio */
.bm-filtro-lista { display: flex; flex-direction: column; gap: 4px; }
.bm-filtro-radio {
  display: flex; align-items: center; gap: 9px; padding: 6px 0;
  font-size: 13.5px; color: var(--ink); text-decoration: none; transition: color .15s;
}
.bm-radio-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,.25); transition: all .15s; position: relative;
}
.bm-filtro-radio:hover { color: var(--red); }
.bm-filtro-radio:hover .bm-radio-dot { border-color: var(--red); }
.bm-filtro-radio.activo { color: var(--red); font-weight: 600; }
.bm-filtro-radio.activo .bm-radio-dot { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px #fff; }
/* talla: chips */
.bm-filtro-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-filtro-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; padding: 8px 10px;
  border: 1.5px solid rgba(0,0,0,.15); border-radius: 8px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12.5px;
  color: var(--ink); background: #fff; transition: all .15s; text-decoration: none;
}
.bm-filtro-chip:hover { border-color: var(--red); color: var(--red); }
.bm-filtro-chip.activo { border-color: var(--red); color: #C41E24; background: #FFF5F5; /* a11y 5.5:1 */ }
/* color: swatches con nombre */
.bm-filtro-swatches { display: flex; flex-direction: column; gap: 6px; }
.bm-swatch {
  display: flex; align-items: center; gap: 10px; padding: 5px 6px;
  border-radius: 8px; text-decoration: none; transition: background .15s;
}
.bm-swatch:hover { background: var(--cream); }
.bm-swatch-color {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); border: 2px solid transparent;
  transition: border-color .15s;
}
.bm-swatch.activo .bm-swatch-color { border-color: var(--red); }
.bm-swatch-nombre { font-size: 13.5px; color: var(--ink); }
.bm-swatch.activo .bm-swatch-nombre { color: var(--red); font-weight: 600; }
/* estado de carga AJAX */
#bm-cat-productos { transition: opacity .2s; }
#bm-cat-productos.bm-cargando { opacity: .4; pointer-events: none; }
#bm-cat-productos .products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#bm-cat-productos .products::before, #bm-cat-productos .products::after { display: none; }
#bm-cat-productos .pcard-col {
  width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; flex: none;
}
.bm-sin-resultados { padding: 30px 0; color: var(--muted); }
/* botón para abrir filtros en móvil */
.bm-filtros-toggle {
  display: none; width: 100%; margin-bottom: 16px; padding: 12px;
  background: var(--ink); color: #fff; border: 0; border-radius: 8px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer;
}

/* ============================================================
   NAV PRINCIPAL + BUSCADOR + BOTÓN CONSULTAR
   ============================================================ */
/* ── LOGO (SVG sin dimensiones intrínsecas: se acota por altura).
   El tema resuelve max-height:100% del contenedor (74px) y dejaba el logo
   pegado a los bordes del header; aquí se fija la altura de marca. ── */
#logo a img, #logo img.header-logo, #logo img.header-logo-sticky,
#logo img.header-logo-dark, #logo svg {
  max-height: 52px !important; height: auto !important;
  width: auto !important; max-width: 100%; object-fit: contain;
}
#logo a { display: flex; align-items: center; height: 100%; }
@media (max-width: 960px) {
  #logo a img, #logo img.header-logo, #logo img.header-logo-sticky,
  #logo img.header-logo-dark, #logo svg { max-height: 44px !important; }
}

.header-main { background: var(--paper); }
.header-bottom { background: var(--paper) !important; min-height: 0; }
.header-inner { gap: 20px; }
#logo { flex-shrink: 0; }
.header-inner .flex-left.flex-grow .header-nav-main {
  width: 100%; display: flex; justify-content: center; flex-wrap: nowrap;
}
.header-inner.container,
#top-bar .flex-row.container { padding-left: 24px; padding-right: 24px; }
.header-nav-main > li { margin: 0 !important; flex-shrink: 0; }
.header-nav-main > li.menu-item > a,
.header-nav-main > li.menu-item > .nav-top-link { padding: 0 14px !important; white-space: nowrap; }
.header-inner .flex-right .header-nav-main { flex-wrap: nowrap; }
.header-inner .flex-right { flex-shrink: 0; }
li.header-search-form { margin-right: 10px !important; }
.header-nav > li.menu-item > a,
.header-nav > li.menu-item > .nav-top-link {
  font-family: 'Archivo', sans-serif !important; font-weight: 700;
  font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ink); position: relative;
}
.header-nav > li.menu-item > a::after,
.header-nav > li.menu-item > .nav-top-link::after {
  content: ''; position: absolute; bottom: 16px; left: 14px; right: 14px;
  height: 2px; background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform .3s cubic-bezier(.4,0,.2,1);
  border: 0;
}
.header-nav > li.menu-item:hover > a,
.header-nav > li.menu-item:hover > .nav-top-link { color: var(--red); }
.header-nav > li.menu-item:hover > a::after,
.header-nav > li.menu-item:hover > .nav-top-link::after { transform: scaleX(1); }
.header-main .nav-dropdown {
  border: 1px solid var(--line) !important; border-radius: 8px !important;
  padding: 8px 0 !important; min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12) !important;
}
.header-main .nav-dropdown li a {
  display: block; padding: 10px 20px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 500;
  font-size: 14px !important; text-transform: none; letter-spacing: 0;
  color: var(--ink) !important; transition: all .18s; border: 0 !important;
}
.header-main .nav-dropdown li a:hover {
  background: var(--cream); color: var(--red) !important; padding-left: 26px !important;
}

/* buscador (métricas del diseño: 282×40) */
.header-search-form .searchform { position: relative; }
.header-search-form .searchform .flex-col.flex-grow {
  background: var(--cream); border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 12px 0 28px; position: relative; transition: all .2s;
}
.header-search-form .searchform .flex-col.flex-grow::before {
  content: ''; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3 3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px;
  pointer-events: none;
}
.header-search-form .search-field {
  background: transparent !important; border: 0 !important;
  border-radius: 0 !important; padding: 11px 8px !important; font-size: 13px;
  width: 240px; height: 38px !important; box-shadow: none !important;
  font-family: inherit; color: var(--ink);
}
.header-search-form .search-field::placeholder { color: var(--muted); }
.header-search-form .searchform .submit-button { display: none; }
.header-search-form .searchform:focus-within .flex-col.flex-grow {
  background: #fff; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,35,42,.1);
}
@media (max-width: 1200px) {
  .header-search-form .search-field { width: 170px; }
}

/* botón CONSULTAR (ítem de menú con clases SOP, estilizado como botón).
   Especificidad (0,3,2) para ganar a .header-nav-main > li.menu-item > a. */
.header-main .header-nav > li.bm-header-consultar > a::after { display: none !important; }
.header-main .header-nav > li.bm-header-consultar > a {
  background: var(--wa) !important; color: #fff !important; border-radius: 8px !important;
  padding: 11px 18px !important; margin: 0 !important; height: auto !important;
  font-family: 'Archivo', sans-serif !important; font-weight: 800 !important;
  font-size: 12.5px !important; letter-spacing: .7px !important;
  line-height: 1.6 !important; text-transform: uppercase;
  display: inline-flex !important; align-items: center; gap: 7px;
  transition: all .2s; white-space: nowrap; border: 0; min-height: 0;
  box-shadow: 0 2px 8px rgba(37,211,102,.25); text-decoration: none;
}
.header-main .header-nav > li.bm-header-consultar > a::before {
  content: ''; display: inline-block; width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' 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 1.9-26.4-2.5-2.3-8.3-3.7-13.7-4.9z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header-main .header-nav > li.bm-header-consultar > a:hover {
  background: var(--wa-dk) !important; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,211,102,.4); color: #fff !important;
}
/* (obsoleto: button-1 retirado — estilos conservados por si se reactiva) */
li.header-button-1 { padding: 0 !important; margin: 0 !important; }
.header-button-1 .button {
  background: var(--wa) !important; color: #fff !important; border-radius: 8px;
  padding: 11px 18px !important; margin: 0;
  font-family: 'Archivo', sans-serif !important; font-weight: 800 !important;
  font-size: 12.5px !important; letter-spacing: .7px !important;
  line-height: 1.6 !important; text-transform: uppercase;
  display: inline-flex !important; align-items: center; gap: 7px;
  transition: all .2s; white-space: nowrap; border: 0; min-height: 0;
  box-shadow: 0 2px 8px rgba(37,211,102,.25); text-decoration: none;
}
.header-button-1 .button::before {
  content: ''; display: inline-block; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' 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 1.9-26.4-2.5-2.3-8.3-3.7-13.7-4.9z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header-button-1 .button:hover {
  background: var(--wa-dk) !important; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,211,102,.4);
}

/* ============================================================
   BUSCADOR FULLSCREEN + DRAWER MÓVIL
   ============================================================ */
.mfp-container:has(#search-lightbox) { padding: 0 !important; }
.mfp-wrap:has(#search-lightbox) .mfp-content {
  position: fixed !important; top: 0 !important; left: 0 !important;
  width: 100% !important; max-width: 100% !important;
  height: 100vh !important; margin: 0 !important;
  transform: none !important; transition: none !important;
}
#search-lightbox {
  background: #fff !important; color: var(--ink);
  width: 100%; max-width: 100% !important; height: 100vh;
  padding: 20px !important; text-align: left;
}
#search-lightbox .searchform {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; padding-right: 48px;
  border-bottom: 1px solid var(--line);
}
#search-lightbox .searchform .flex-col.flex-grow { background: transparent; border: 0; padding: 0; }
#search-lightbox .searchform .flex-col.flex-grow::before { display: none; }
#search-lightbox .search-field {
  width: 100% !important; font-size: 16px !important;
  padding: 12px !important; height: auto !important;
  border: 0 !important; background: transparent !important;
  color: var(--ink) !important; box-shadow: none !important;
}
#search-lightbox .searchform .submit-button { display: none; }
.mfp-container:has(#search-lightbox) .mfp-close {
  color: var(--muted); font-size: 24px; width: 40px; height: 40px;
  top: 20px; right: 20px; opacity: 1;
}
.mfp-container:has(#search-lightbox) .mfp-close:hover { color: var(--red); }
#search-lightbox .live-search-results,
#search-lightbox .autocomplete-suggestions {
  text-align: left; max-height: calc(100vh - 120px);
}

/* drawer móvil */
.off-canvas .mobile-sidebar { background: #fff; color: var(--ink); }
.mobile-sidebar .header-search-form { padding: 16px 20px !important; }
.mobile-sidebar .header-search-form .searchform,
.mobile-sidebar .header-search-form .searchform .flex-row { width: 100%; }
.mobile-sidebar .header-search-form .searchform .flex-col.flex-grow { width: 100%; max-width: 100%; }
.mobile-sidebar .header-search-form .search-field { width: 100% !important; min-width: 0; }
.mobile-sidebar .nav-sidebar > li { border-bottom: 1px solid var(--line); }
.mobile-sidebar .nav-sidebar > li > a {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ink) !important; padding: 16px 24px;
}
.mobile-sidebar .nav-sidebar > li > a:hover { color: var(--red) !important; }
.mobile-sidebar .nav-sidebar li .sub-menu,
.mobile-sidebar .nav-sidebar li .children { background: var(--cream); border: 0; }
.mobile-sidebar .nav-sidebar li .sub-menu li a {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 13px;
  text-transform: none; letter-spacing: 0; color: var(--ink) !important;
  padding: 12px 40px;
}
.mobile-sidebar .nav-sidebar li .sub-menu li a:hover { color: var(--red) !important; }

/* ============================================================
   T-6.2 — VISTA DE CATEGORÍA
   ============================================================ */
.shop-page-title, .category-page-row .category-image { display: none !important; }
.bm-cat-hero {
  background: var(--ink); color: #fff; padding: 40px 0 34px;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.bm-cat-crumb {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.bm-cat-crumb a { color: rgba(255,255,255,.55); }
.bm-cat-crumb a:hover { color: #fff; }
.bm-cat-crumb span { color: #F0555A; font-weight: 700; /* a11y 5.3:1 sobre oscuro */ }
.bm-cat-titulo {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: clamp(30px, 4.4vw, 52px); margin: 8px 0 0; color: #fff; line-height: 1.1;
}
.bm-cat-desc { color: rgba(255,255,255,.7); margin-top: 6px; max-width: 640px; }

/* (los filtros ahora viven en el sidebar lateral — ver bloque SIDEBAR arriba) */
.woocommerce-pagination { margin-top: 24px; }

/* ============================================================
   T-10.1 — FICHA DE PRODUCTO
   ============================================================ */
.bm-ficha { --crumb-light: rgba(255,255,255,.6); }
.bm-ficha-hero {
  position: relative; background-color: #0c0c0d; color: #fff;
  background-size: cover; background-position: center;
  min-height: min(58vh, 520px); display: flex; align-items: flex-end;
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
}
.bm-ficha-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%);
}
.bm-ficha-hero .wrap { position: relative; padding: 48px 24px; width: 100%; }
.bm-ficha-hero .bm-cat-crumb { color: var(--crumb-light); }
.bm-ficha-hero .bm-cat-crumb a { color: var(--crumb-light); }
.bm-ficha-marca {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-top: 14px;
}
.bm-ficha-titulo {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: clamp(34px, 5vw, 62px); line-height: 1; margin: 10px 0 0; color: #fff;
}
.bm-ficha-sub { color: rgba(255,255,255,.8); margin-top: 10px; max-width: 560px; }
.bm-ficha-cuerpo { padding: 28px 0 24px; }
.bm-volver {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--ink) !important;
}
.bm-volver:hover { color: var(--red) !important; }
.bm-ficha-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px; align-items: start; margin-top: 26px;
}
.bm-ficha-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.bm-chip {
  display: inline-block; background: var(--cream);
  border: 1px solid rgba(0,0,0,.08); border-radius: 999px; padding: 5px 11px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .02em;
}
.bm-ficha-imagen {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.bm-ficha-imagen img { width: 100%; height: auto; display: block; }
.bm-ficha-thumbs-wrap { position: relative; margin-top: 10px; }
.bm-ficha-thumbs {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; padding: 2px; scrollbar-width: none;
}
.bm-ficha-thumbs::-webkit-scrollbar { display: none; }
.bm-thumb {
  flex: 0 0 auto; width: 84px; height: 84px; object-fit: cover;
  border-radius: 8px; cursor: pointer; scroll-snap-align: start;
  border: 2px solid transparent; transition: border-color .2s;
}
.bm-thumb.activo { border-color: var(--red); }
.bm-thumbs-nav {
  position: absolute; top: 50%; margin-top: -18px; width: 36px; height: 36px;
  border-radius: 50%; border: 0; padding: 0; cursor: pointer; z-index: 2;
  background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s, background .2s, color .2s;
}
.bm-thumbs-nav:hover { background: var(--red); color: #fff; }
.bm-thumbs-nav svg { width: 18px; height: 18px; }
.bm-thumbs-nav.prev { left: -6px; }
.bm-thumbs-nav.next { right: -6px; }
.bm-thumbs-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .bm-thumb { width: 68px; height: 68px; }
  .bm-thumbs-nav { display: none; }
}
.bm-ficha-porque {
  margin-top: 18px; background: var(--cream); border-radius: 12px;
  padding: 18px 20px; font-size: 14px; line-height: 1.65;
}
.bm-ficha-porque strong { font-family: 'Archivo', sans-serif; }
.bm-specs { width: 100%; border-collapse: collapse; font-size: 15px; margin: 4px 0 0; }
.bm-specs tr { border-bottom: 1px solid rgba(0,0,0,.08); }
.bm-specs tr:last-child { border-bottom: 0; }
.bm-specs td { padding: 11px 8px; border: 0; }
.bm-spec-nombre {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  width: 34%; vertical-align: top;
}
.bm-selector {
  margin-top: 22px; background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px; padding: 20px;
}
.bm-selector-nota { font-size: 11.5px; color: #6F6F6F; margin: 0 0 16px; /* a11y 5:1 */ }
.bm-ficha-precio { display: flex; align-items: baseline; gap: 8px; }
.bm-precio-num {
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: 32px; line-height: 1;
}
.bm-precio-isv {
  font-family: 'Archivo', sans-serif; font-size: 12.5px; font-weight: 700;
  color: var(--muted); text-transform: none; letter-spacing: .01em;
}
/* desglose informativo del impuesto (dato secundario permitido) */
.bm-precio-desglose { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bm-ficha-bac { margin: 8px 0 0; }
.bm-ficha-legal { font-size: 12px; color: #6F6F6F; margin: 8px 0 14px; /* a11y 5:1 */ }
.bm-cta-ficha { padding: 14px; font-size: 15px; }

/* formulario de variaciones → chips del diseño (swatches) */
.bm-selector form.variations_form { margin: 0; }
.bm-selector table.variations { margin: 0 0 4px; border: 0; }
.bm-selector table.variations tr, .bm-selector table.variations th,
.bm-selector table.variations td { border: 0; padding: 0; display: block; }
.bm-selector table.variations th.label {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .02em; margin-bottom: 8px; text-transform: uppercase;
}
.bm-selector table.variations th.label label { margin: 0; color: var(--ink); }
.bm-selector .woo-selected-variation-item-name { color: var(--red); }
.bm-selector table.variations td.value { margin-bottom: 16px; }
.bm-selector .reset_variations {
  font-size: 11.5px; color: var(--muted); text-decoration: underline;
}
.bm-selector .single_variation_wrap { display: none !important; }
/* chips de talla (tipo button) */
.bm-selector .variable-items-wrapper { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.bm-selector .button-variable-item {
  width: 44px; min-width: 44px; height: auto; padding: 9px 0 !important;
  border: 1.5px solid rgba(0,0,0,.18) !important; border-radius: 8px !important;
  box-shadow: none !important; background: #fff; cursor: pointer;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  text-align: center; transition: all .15s; margin: 0 !important;
}
.bm-selector .button-variable-item .variable-item-span { font-size: 13px; }
.bm-selector .button-variable-item:hover { border-color: var(--red) !important; }
.bm-selector .button-variable-item.selected {
  border-color: var(--red) !important; color: var(--red); background: #FFF5F5;
}
/* círculos de color */
.bm-selector .color-variable-item {
  width: 34px; height: 34px; border-radius: 50% !important;
  border: 2.5px solid transparent !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15) !important;
  padding: 2px !important; margin: 0 !important; transition: all .15s;
}
.bm-selector .color-variable-item .variable-item-span {
  border-radius: 50%; width: 100%; height: 100%; display: block;
}
.bm-selector .color-variable-item.selected { border-color: var(--red) !important; }
.bm-selector .color-variable-item[data-value="plata-rojo"] .variable-item-span {
  background: linear-gradient(135deg, #c9c9cd 0 55%, #8e1f24 55% 100%) !important;
}

/* relacionados */
.bm-relacionados { padding: 24px 0 72px; }
.bm-relacionados .product-section-title,
.bm-relacionados .product-section-title span,
.bm-relacionados h3, .bm-relacionados h2 {
  font-family: 'Archivo', sans-serif !important; font-style: italic !important;
  font-weight: 900 !important; letter-spacing: 0 !important;
  font-size: clamp(22px, 2.6vw, 32px); color: var(--ink); text-align: left;
  text-transform: none;
}
.bm-relacionados .related { margin-top: 10px; }
/* sin sidebar: contenido de tienda a ancho completo */
.tax-product_cat .large-9, .tax-product_cat .large-10 { flex-basis: 100%; max-width: 100%; }

/* ============================================================
   T-6.4 / T-6.5 / T-6.6 — PÁGINAS INTERNAS (Nosotros, Contacto, legales, 404)
   ============================================================ */

/* héroe compartido de páginas internas (mismo patrón que categorías) */
.bm-page-hero { width: 100vw; margin-left: calc(50% - 50vw); }
.bm-page-hero .bm-cat-titulo { margin-bottom: 6px; }

/* ── Nosotros: historia + cierre ── */
.bm-nosotros-p { font-size: 15px; line-height: 1.75; color: #333; margin: 0 0 16px; }
.bm-nosotros-p:last-child { margin-bottom: 0; }
.bm-nosotros-p--light { color: rgba(255,255,255,.75); max-width: 480px; margin-left: auto; margin-right: auto; }
.bm-nosotros-img { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.bm-nosotros-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contacto: tarjetas de sede ── */
.bm-sede-col .col-inner {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; height: 100%; background: #fff;
}
.bm-sede-titulo {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px;
  margin: 0 0 16px; color: var(--ink);
}
.bm-sede-dato { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.bm-sede-dato strong {
  display: block; font-family: 'Archivo', sans-serif; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  font-weight: 700; margin-bottom: 2px;
}
.bm-sede-dato span { color: var(--ink); }
.bm-sede-dato a { color: var(--red); font-weight: 600; }
.bm-sede-col .button.suc-btn { margin-top: 4px; }
.bm-mapa {
  margin-top: 18px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); line-height: 0; background: var(--cream);
}
.bm-mapa iframe { width: 100%; height: 260px; border: 0; display: block; }
.bm-contacto-cierre .bm-sec-title { margin-bottom: 6px; }
.bm-contacto-cierre .bm-sec-sub { margin-bottom: 22px; }
.button.bm-btn-oscuro {
  background: var(--ink) !important; color: #fff !important; margin-left: 10px;
}
.button.bm-btn-oscuro:hover { background: var(--black) !important; color: #fff !important; }

/* ── 404 ── */
.bm-404 { text-align: center; }
.bm-404-num {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: clamp(90px, 16vw, 190px); line-height: .85;
  color: var(--red); letter-spacing: -.03em; margin-bottom: 6px;
}
.bm-404-titulo {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 900;
  font-size: clamp(28px, 4vw, 44px); color: #fff; margin: 0 0 12px; line-height: 1.05;
}
.bm-404-sub {
  color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.6;
  max-width: 520px; margin: 0 auto;
}
.bm-404-label {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 14px;
}
/* buscador nativo sobre fondo oscuro */
.bm-404-search { max-width: 460px; margin: 0 auto; }
.bm-404-search .searchform .flex-col.flex-grow {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 0 12px;
}
.bm-404-search .search-field {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  color: #fff !important; font-size: 14px; height: 46px !important; padding: 0 6px !important;
}
.bm-404-search .search-field::placeholder { color: rgba(255,255,255,.45); }
.bm-404-search .searchform:focus-within .flex-col.flex-grow {
  background: rgba(255,255,255,.12); border-color: var(--red);
}
.bm-404-search .submit-button {
  background: var(--red) !important; border: 0 !important; color: #fff !important;
  border-radius: 8px !important; margin-left: 8px; padding: 0 18px !important;
  font-family: 'Archivo', sans-serif; font-weight: 700;
}
.button.bm-404-cat {
  background: transparent !important; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.25) !important;
  border-radius: 999px; padding: 9px 20px !important; margin: 0 6px 10px 0;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.4 !important; min-height: 0; transition: all .2s;
}
.button.bm-404-cat:hover {
  background: var(--red) !important; border-color: var(--red) !important;
  color: #fff !important; transform: translateY(-2px);
}
.button.bm-btn-wa-oscuro {
  background: var(--wa) !important; color: #fff !important; margin-left: 10px;
}
.button.bm-btn-wa-oscuro:hover { background: var(--wa-dk) !important; color: #fff !important; }

/* ── Páginas legales ── */
.bm-legal { padding: 56px 0 72px; }
.bm-legal-indice .col-inner {
  background: var(--cream); border-radius: 12px; padding: 22px 24px;
  position: sticky; top: 100px;
}
.bm-legal-indice h4 {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 12px;
}
.bm-legal-indice a {
  display: block; padding: 7px 0; font-size: 13.5px; color: var(--ink);
  border-bottom: 1px solid rgba(0,0,0,.06); line-height: 1.4;
}
.bm-legal-indice a:last-child { border-bottom: 0; }
.bm-legal-indice a:hover { color: var(--red); }
.bm-legal-cuerpo { font-size: 15px; line-height: 1.75; color: #333; }
.bm-legal-cuerpo h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 21px;
  color: var(--ink); margin: 36px 0 10px; scroll-margin-top: 110px;
}
.bm-legal-cuerpo h2:first-child { margin-top: 0; }
.bm-legal-cuerpo h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--ink); margin: 22px 0 8px;
}
.bm-legal-cuerpo p { margin: 0 0 14px; }
.bm-legal-cuerpo ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.bm-legal-cuerpo li { margin-bottom: 7px; }
.bm-legal-cuerpo a { color: var(--red); text-decoration: underline; }
.bm-legal-cuerpo strong { color: var(--ink); }
.bm-legal-nota {
  background: var(--cream); border-left: 3px solid var(--red);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 0 0 24px;
  font-size: 14px; line-height: 1.65;
}
.bm-legal-fecha {
  font-size: 12.5px; color: var(--muted); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.bm-legal-cuerpo table {
  width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px;
}
.bm-legal-cuerpo table td, .bm-legal-cuerpo table th {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left;
  vertical-align: top;
}
.bm-legal-cuerpo table th {
  background: var(--cream); font-family: 'Archivo', sans-serif;
  font-weight: 700; font-size: 13px;
}

/* enlaces legales en la barra inferior del footer */
.bm-footer-bottom .bm-legal-links { margin-left: 10px; }
.bm-footer-bottom .bm-legal-links a {
  color: rgba(255,255,255,.62); text-decoration: underline; text-underline-offset: 2px; margin-left: 10px; /* a11y: distinguible sin color */
}
.bm-footer-bottom .bm-legal-links a:hover { color: var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .header-inner.container { padding-left: 16px; padding-right: 16px; }
  #top-bar .flex-row { flex-wrap: wrap; justify-content: center; }
  #top-bar .flex-row .flex-col { flex: 0 0 auto; }
  .bm-topbar {
    justify-content: center; height: auto; padding: 8px 0;
    gap: 10px 16px; font-size: 11.5px;
  }
  .bm-topbar .topbar-item { font-size: 11.5px; }
  .header-main .header-nav > li.bm-header-consultar > a,
  .header-main .mobile-nav > li.bm-header-consultar > a {
    padding: 10px 12px !important; font-size: 0 !important; gap: 0;
    background: var(--wa) !important; color: #fff !important; border-radius: 8px !important;
    display: inline-flex !important; align-items: center; margin: 0 !important;
    box-shadow: 0 2px 8px rgba(37,211,102,.25);
  }
  .header-main .header-nav > li.bm-header-consultar > a::before,
  .header-main .mobile-nav > li.bm-header-consultar > a::before {
    content: ''; display: inline-block; width: 18px; height: 18px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' 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 1.9-26.4-2.5-2.3-8.3-3.7-13.7-4.9z'/%3E%3C/svg%3E") no-repeat center / contain;
  }
  .header-main .mobile-nav > li.bm-header-consultar > a::after { display: none !important; }
  li.header-search-form { margin-right: 0 !important; }
  #bm-cat-productos .products { grid-template-columns: repeat(2, 1fr); }
  /* sidebar de filtros → panel colapsable en móvil/tablet */
  .bm-cat-layout { flex-direction: column; gap: 0; }
  .bm-filtros-toggle { display: block; }
  .bm-cat-sidebar {
    flex: none; width: 100%; position: static; margin-bottom: 20px;
    display: none;
  }
  .bm-cat-layout.filtros-abiertos .bm-cat-sidebar { display: block; }
  .bm-cat-main { width: 100%; }
}
@media (max-width: 600px) {
  .bm-topbar > .topbar-item:nth-child(3),
  .bm-topbar > .topbar-dot:nth-child(4) { display: none; }
  .bm-topbar .topbar-item { font-size: 11px; }
  .slide-title { font-size: 32px; }
  #bm-cat-productos .products { grid-template-columns: 1fr; }
  .bm-legal-indice .col-inner { position: static; }
  .button.bm-btn-oscuro, .button.bm-btn-wa-oscuro { margin-left: 0; margin-top: 10px; }
  .bm-mapa iframe { height: 200px; }
  .bm-ficha-grid { gap: 24px; }
  .bm-specs td { font-size: 14px; padding: 9px 6px; }
  .button.suc-btn { width: 100%; margin-right: 0 !important; }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* Logo duplicado en header sticky: Flatsome oculta el logo normal con
   .header-logo-sticky+img (hermanos adyacentes), pero el lazy-load de
   LiteSpeed inserta <noscript> entre los logos y rompe la cadena — al hacer
   scroll se veian AMBOS logos. Regla propia sin depender de hermanos. */
.stuck .header-logo, .stuck .header-logo-dark { display: none !important; }

/* La barra "Absolute Footer" de Flatsome ya NO se imprime: se neutraliza en
   origen con un override vacío en template-parts/footer/footer-absolute.php
   (2026-08-03). Se conserva esta regla como red de seguridad por si el tema
   la reintrodujera en una actualización. */
.absolute-footer { display: none; }
