/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 #header{ background: #ADD8E6 !important; }
 /* Cambiar el color de fondo del contenedor principal */
 
#page {
    background-color: #f0f0f0; /* Cambia esto por tu color HEX */
}

/* Si quieres cambiar el área de contenido específico */
#content {
    background-color: #ffffff;
}

/* Ocultar bloque de error en categorías y subcategorías */
#category .page-not-found {
    display: none !important;
}
/* Acceso profesional discreto */
.btn-b2b-header {
    background-color: transparent !important;
    color: #263d46 !important;
    padding: 4px 8px !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: normal !important;
}

.btn-b2b-header:hover {
    color: #0077a8 !important;
    text-decoration: underline !important;
}
/* --- DISEÑO ATRACTIVO PARA EL BLOQUE DE TEXTO PERSONALIZADO --- */
/* --- ADAPTACIÓN PARA MÓVILES (PANTALLAS PEQUEÑAS) --- */
/* --- AJUSTES DEFINITIVOS DE CABECERA EN MÓVILES --- */
/* --- AJUSTES LIMPIOS Y SEGUROS DE CABECERA EN MÓVILES --- */
@media (max-width: 767px) {

    /* ==========================================
       OCULTAR EL BANNER DE GARANTÍA EN MÓVILES
       ========================================== */


/* CARRUSEL RESPONSIVE - MÓVILES */
#index #carousel,
#index #homeslider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

#index .carousel-inner {
    width: 100% !important;
    height: auto !important;
}

#index .carousel-item img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}
    /* ========================================================================== */

    /* 1. Resetear la barra azul a su comportamiento nativo y estable */
    nav.header-nav {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    
    /* ... (El resto de tu código nativo del logotipo continúa abajo) ... */
    
    /* 2. Logotipo: Ajustar al tamaño máximo permitido sin que rompa las cajas */
    #_mobile_logo, 
    .top-logo {
        margin-top: 0 !important;
        text-align: center !important;
        display: inline-block !important;
        /* Recuerda cerrar la llave de tu código original al final del archivo */
    }
    
    #_mobile_logo img, 
    .top-logo img {
        max-height: 48px !important; /* Altura máxima segura para que no pise nada */
        height: auto !important;
        width: auto !important;
        transform: none !important;
    }

    /* 3. Agrandar las 3 rayitas y centrarlas de forma natural */
    #menu-icon {
        margin-top: 8px !important;
    }
    
    #menu-icon i.material-icons {
        font-size: 34px !important; /* Tamaño grande pero seguro */
        color: #222222 !important;
        padding: 5px !important;
    }

    /* 4. Alinear los iconos de la derecha (Usuario y Carrito) */
    #_mobile_user_info,
    #_mobile_cart {
        margin-top: 8px !important;
    }

    /* 5. SEPARACIÓN PERFECTA CON EL BUSCADOR (Truco infalible sin romper la barra azul) */
    .header-top {
    margin-top: 0 !important;
    padding: 0 !important;
    }
}
/* --- AGRANDAR LOGOTIPO EN ORDENADORES (ANCHO Y ALTO) --- */
@media (min-width: 768px) {
    #_desktop_logo {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        display: flex !important;
        align-items: center !important;
    }

    #_desktop_logo a,
    #_desktop_logo img,
    .header-top #_desktop_logo img {
        max-height: 85px !important; /* Altura equilibrada */
        height: auto !important;      /* Dejamos que el navegador calcule la altura */
        width: 100% !important;       /* ¡Clave! Obliga al logo a expandirse a todo el ancho de su nueva columna */
        max-width: 240px !important;  /* Límite de seguridad para que no se pixele el diseño */
    } 
    }
 
/* ==========================================================================
   DISEÑO COMPACTO HORIZONTAL DEFINITIVO - MOTORRECAMBIO
   ========================================================================== */

/* 1. Contenedor principal: Lo centramos y eliminamos el fondo gris grande */
.searchplus-block,
div[class*="searchplus-block"] {
    clear: both !important;
    width: 100% !important;
    max-width: 1200px !important; /* Centrado con el catálogo */
    margin: 20px auto !important;
    padding: 15px 20px !important;
    background: #f8f9fa !important; /* Gris limpio y suave */
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    float: none !important;
}

/* Ocultar el título "BUSCADOR DE CORREAS DE TRANSMISION" para hacer la barra limpia */
.searchplus-block h3, 
.searchplus-block .page-subheading {
    display: none !important;
}

/* 2. Forzar a que el formulario del buscador alinee todo en una única fila horizontal */
form[class*="search-engine-form"],
.search-engine-plus_2,
.search-engine-plus_1 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
}

/* 3. Alinear las cajas de los selectores que van apareciendo paso a paso */
form[class*="search-engine-form"] .form-row-home,
form[class*="search-engine-form"] div[class*="select2ButtonsContainer"] {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important; /* Evita que ocupen todo el ancho */
}

/* 4. Ocultar por completo las nubes de botones azules de marcas/modelos */
form[class*="search-engine-form"] .wk_search_attribute_links,
form[class*="search-engine-form"] ul[class*="select2Buttons"],
form[class*="search-engine-form"] .select2ButtonsContainer ul {
    display: none !important;
}

/* 5. Convertir el botón azul actual de "Scooter" en un desplegable/botón estilizado */
form[class*="search-engine-form"] select,
form[class*="search-engine-form"] .selector-inner-plus,
form[class*="search-engine-form"] [class*="selector"] {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #ccd1d9 !important;
    border-radius: 5px !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    height: 40px !important;
    min-width: 160px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* 6. Estilizar el botón de BUSCAR con el azul corporativo de tu logotipo */
form[class*="search-engine-form"] button[type="submit"],
form[class*="search-engine-form"] .btn-search,
form[class*="search-engine-form"] [class*="btn-primary"] {
    background-color: #0056b3 !important; /* Azul corporativo */
    color: #ffffff !important;
    border: none !important;
    height: 40px !important;
    padding: 0 25px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: background-color 0.2s ease !important;
}

form[class*="search-engine-form"] button[type="submit"]:hover {
    background-color: #004085 !important; /* Azul más oscuro al pasar el ratón */
}

/* 7. Botón de Reinicializar */
form[class*="search-engine-form"] [class*="reset"] {
    color: #6c757d !important;
    font-size: 13px !important;
    text-decoration: none !important;
}
form[class*="search-engine-form"] [class*="reset"]:hover {
    color: #dc3545 !important;
    text-decoration: underline !important;
}
/* Dos micro-ajustes finales */
/* 1. Forzar el centrado exacto de la barra eliminando márgenes heredados */
.searchplus-block, 
div[class*="searchplus-block"] {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* 2. Ocultar el texto repetitivo de "Q Find products for:..." */
.searchplus-block + div h1,
div[class*="searchplus-block"] + div h1,
.wk-advanced-search-block + p,
form[class*="search-engine-form"] + p { /* Ajuste por si es un párrafo */
    display: none !important;
}
/* Nota: Si el texto "Q Find products for" sigue saliendo, avísame para darte el selector exacto de esa línea */

/* ==========================================================================
   OPTIMIZACIÓN DE ANCHOS Y CENTRADO DE BARRA (EVITAR SALTO DE LÍNEA)
   ========================================================================== */

/* 1. Forzar el centrado matemático exacto de la barra blanca en la página */
.searchplus-block,
div[class*="searchplus-block"] {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    max-width: 1200px !important; /* Alineado con el ancho de tu web */
}

/* 2. Compactar ligeramente los desplegables para que quepan todos en la misma fila */
form[class*="search-engine-form"] select,
form[class*="search-engine-form"] [class*="selector"] {
    max-width: 210px !important; /* Limita el ancho para que los nombres largos no rompan la fila */
    min-width: 110px !important;
    padding: 6px 24px 6px 8px !important; /* Reducimos el padding interno */
    font-size: 13px !important; /* Letra un punto más pequeña para ganar espacio */
    text-overflow: ellipsis !important; /* Si el nombre es larguísimo, añade "..." de forma elegante */
}

/* 3. Ajustar el tamaño del botón Buscar para optimizar el espacio horizontal */
form[class*="search-engine-form"] button[type="submit"],
form[class*="search-engine-form"] .btn-search {
    padding: 0 16px !important;
    font-size: 13px !important;
    height: 38px !important;
}

/* 4. Evitar estrictamente que el contenedor rompa la fila */
form[class*="search-engine-form"],
.search-engine-plus_2,
.search-engine-plus_1 {
    flex-wrap: nowrap !important; /* Prohíbe el salto de línea */
    justify-content: center !important;
}

/* Unificar el tamaño de la barra de correas con la de cadena */
div[id*="wk_advanced_search_block"], 
.wk-advanced-search-block,
#wk_advanced_search_block_2 {
    max-width: 530px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Forzar que los elementos vayan en línea y no se estiren */
#wk_advanced_search_block_2 form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

/* Reparar el botón de Reinicializar (ocultar la X de texto y centrar el icono) */
#wk_advanced_search_block_2 button.wk_search_reset,
#wk_advanced_search_block_2 .wk_search_reset {
    background: #f7f7f7 !important;
    border: 1px solid #cccccc !important;
    color: transparent !important; /* Hace invisible la X negra fea */
    width: 40px !important;
    height: 38px !important;
    padding: 0 !important;
    position: relative !important;
    border-radius: 4px !important;
}

/* Inyectar la flecha circular de refresco limpia */
#wk_advanced_search_block_2 button.wk_search_reset::before,
#wk_advanced_search_block_2 .wk_search_reset::before {
    font-family: "FontAwesome", sans-serif !important;
    content: "\f021" !important; /* Código de la flecha circular */
    color: #333333 !important;
    font-size: 15px !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}


/* ==========================================================================
   HACER GRANDES LOS CUADRADOS ACERO Y ORO KIT CADENAS para Mobile Ph
   ========================================================================== */
/* 1. Ampliación universal de los cuadrados de color (afecta a ordenador y móvil) */
.product-variants .input-color,
.product-variants-item ul li label .color,
.product-actions .input-color + span,
.product-variants-item .color,
.product-variants-item ul li label {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 6px !important;
    margin-right: 12px !important;
    border: 1px solid #dcdcdc !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
    cursor: pointer !important;
    display: inline-block !important;
    transition: all 0.2s ease-in-out !important;
}

/* 2. Forzar que las listas de PrestaShop en el móvil no encojan los elementos */
.product-variants-item ul {
    display: flex !important;
    flex-wrap: wrap !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.product-variants-item ul li {
    margin-right: 0 !important;
    display: inline-block !important;
}

/* 3. Resaltar visualmente el color que está seleccionado */
.product-variants-item ul li input:checked + label .color,
.product-variants-item ul li input:checked + span,
.product-variants-item ul li input:checked + label {
    border: 2px solid #000000 !important;
    transform: scale(1.05) !important;
}
/* ==========================================================================
   ATAQUE DIRECTO A CUADRADOS ACERO Y ORO KIT CADENAS para Mobile Ph
   ========================================================================== */
/* Ataque directo a las miniaturas de color en resoluciones de móvil */
@media (max-width: 767px) {
    /* Selecciona directamente las cajas de color por su estructura visual */
    .product-variants-item label input[type="radio"] + span,
    .product-variants-item label .color,
    [class*="variant"] [class*="color"],
    .product-variants-item ul li label {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        display: inline-block !important;
        border-radius: 6px !important;
        border: 1px solid #cccccc !important;
        margin-right: 10px !important;
    }

    /* Asegura que el contenedor de la lista no los aplaste ni los encoja */
    .product-variants-item ul, 
    .product-variants-item ul li {
        display: inline-flex !important;
        float: none !important;
    }
}

/* Forzar el texto Sport Reforzada en la misma línea y en verde */

/* Oscurecer el texto general de la web para mejorar la legibilidad */
body, 
p, 
span, 
li, 
.product-prices, 
.product-description, 
.product-short-description {
    color: #1a1a1a !important; /* Un tono negro suave muy legible, sustituyendo al gris */
}

/* Forzar que las negritas se vean en un negro puro y resalten más */
strong, 
b {
    color: #000000 !important;
}
/* Excepción absoluta para pintar ÚNICAMENTE en verde el texto Sport Reforzada */
span.verde-destacado {
    color: #00a859 !important; /* Tu verde exacto */
    font-weight: bold !important;
    display: inline !important;
}
/* Escanear la web y forzar el color verde únicamente en el texto Sport Reforzada */
:is(p, span, li, td):-webkit-any-text("Sport Reforzada"),
:is(p, span, li, td):contains("Sport Reforzada") {
    color: #00a859 !important;
    font-weight: bold !important;
}

/* Si tu plantilla usa contenedores estándar de PrestaShop, esto asegura el tiro */
.product-description, .product-short-description, .rte {
    content-visibility: auto;
}

/* ==========================================================================
   BLOQUE DE PRECIOS MULTI-IDIOMA Y SIMÉTRICO
   ========================================================================== */
/* ==========================================================================
   BLOQUE DE PRECIOS MULTI-IDIOMA EN LINEA HORTIZONTAL
   ========================================================================== */

/* Contenedor general del precio */
.product-prices {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* --- 1. CONFIGURACIÓN DEL TEXTO SUPERIOR (PVP / RETAIL PRICE / PRIX DE VENTE) --- */
.product-prices::before {
    display: block !important;
    font-size: 0.85rem !important;
    color: #666666 !important;
    font-weight: normal !important;
    margin-bottom: 4px !important; /* Espacio fijo inferior */
    text-transform: uppercase;
}

/* Textos superiores por idioma */
html[lang^="es"] .product-prices::before { content: "PVP" !important; }
html[lang^="en"] .product-prices::before { content: "Retail Price" !important; }
html[lang^="fr"] .product-prices::before { content: "Prix de vente" !important; }


/* --- 2. NÚMERO Y ETIQUETA EN LA MISMA LÍNEA --- */
.current-price {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: baseline !important; /* Alinea los textos por su base inferior */
    flex-wrap: wrap !important;
}

.current-price span[content] {
    font-size: 1.6rem !important; 
    font-weight: bold !important;
    color: #1a1a1a !important;
    line-height: 1 !important;
    margin-right: 8px !important; /* Espacio de separación entre el número y el texto */
}


/* --- 3. TEXTO INFERIOR FORZADO A LA DERECHA (CON IVA / VAT INCL. / TTC) --- */
/* --- 3. CONFIGURACIÓN DEL TEXTO INFERIOR ACERCADO AL MÁXIMO --- */
.tax-shipping-delivery-label {
    font-size: 0 !important; /* Oculta textos nativos originales */
    margin-top: -6px !important; /* Margen negativo para pegarlo aún más al número */
    display: block !important;
    line-height: 1 !important;
}

.tax-shipping-delivery-label::before {
    font-size: 0.85rem !important; /* Devuelve el tamaño correcto */
    color: #666666 !important;
    font-weight: normal !important;
}

/* Textos inferiores por idioma */
html[lang^="es"] .tax-shipping-delivery-label::before { content: "Con IVA" !important; }
html[lang^="en"] .tax-shipping-delivery-label::before { content: "VAT incl." !important; }
html[lang^="fr"] .tax-shipping-delivery-label::before { content: "TTC" !important; }

/* ==========================================================================
   DISEÑO PANTALLA COMPLETA (PC / DESKTOP)
   ========================================================================== */
@media (min-width: 992px) {
    /* Estirar el contenedor principal y quitar márgenes restrictivos */
    .container, 
    #wrapper,
    #main {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* Forzar que las filas internas aprovechen todo el ancho */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   CONJUNTO FINAL DE VISIBILIDAD DE BANNER (MÓVIL VS PC)
   ========================================================================== */

/* 1. COMPORTAMIENTO PARA ORDENADORES (PC / DESKTOP) */
@media (min-width: 992px) {
    .texto-garantia-pc {
        display: block !important;
    }
    .banner-home-fijo {
        display: none !important;
    }
}

/* 2. COMPORTAMIENTO PARA TELÉFONOS MÓVILES (SMARTPHONES) */
@media (max-width: 767px) {
    /* Ocultar el texto de garantía y sus cajas en el móvil de raíz */

    
    /* FORZADO ABSOLUTO DE IMAGEN EN MÓVILES */
    .banner-home-fijo,
    #custom-text .banner-home-fijo,
    .card.card-block.custom-text .banner-home-fijo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        clear: both !important;
    }

    .banner-home-fijo img,
    #custom-text .banner-home-fijo img,
    .card.card-block.custom-text .banner-home-fijo img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}
/* ==========================================
   MOTORRECAMBIO - BUSCADOR WK RESPONSIVE
   Primera prueba para móviles
   ========================================== */

@media screen and (max-width: 767px) {

    /* Permitir que los filtros pasen a varias filas */
    form[class*="search-engine-form"],
    .search-engine-plus_1,
    .search-engine-plus_2 {
        flex-wrap: wrap !important;
        max-width: 100% !important;
    }

    /* Evitar que los desplegables desborden */
    form[class*="search-engine-form"] select {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Adaptar el contenedor del buscador */
    .searchplus-block,
    div[class*="searchplus-block"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }
}


/* PRUEBA: mostrar las tarjetas de la portada en móviles */
@media screen and (max-width: 767px) {
    #index #custom-text,
    #index .card.card-block.custom-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #index #custom-text h2,
    #index #custom-text h3,
    #index #custom-text p,
    #index .card.card-block.custom-text h2,
    #index .card.card-block.custom-text h3,
    #index .card.card-block.custom-text p {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
    }
}
/* PRUEBA: ocultar banner antiguo solo en móviles */
@media (max-width: 767px) {
    #index #content .banner {
        display: none !important;
    }
}

/* TARJETAS DE CATEGORÍAS - PORTADA */
#custom-text .recambio-categorias {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#custom-text .recambio-tarjetas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

#custom-text .recambio-tarjeta {
    min-width: 0;
    padding: 20px 12px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

#custom-text .recambio-tarjeta h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

#custom-text .recambio-tarjeta p {
    font-size: 14px;
    line-height: 1.4;
}

#custom-text .recambio-tarjeta a {
    display: inline-block;
    margin-top: 10px;
    color: #0077a8;
    font-weight: 600;
}

/* MÓVIL: DOS COLUMNAS */
@media (max-width: 767px) {
    #custom-text .recambio-tarjetas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #custom-text .recambio-tarjeta {
        padding: 14px 2px;
    }

    #custom-text .recambio-tarjeta h3 {
        font-size: 15px;
    }

    #custom-text .recambio-tarjeta p {
        font-size: 12px;
    }
}
/* PORTADA - 2 COLUMNAS EN MOVIL */
@media screen and (max-width: 767px) {

    body#index #custom-text .recambio-tarjetas {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

}
/* PORTADA: TARJETAS DE CATEGORÍAS */
body#index #custom-text .recambio-tarjetas {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

@media screen and (max-width: 767px) {
    body#index #custom-text .recambio-tarjetas {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Imágenes de categorías: mantener proporciones en móvil */
@media (max-width: 767px) {
  #custom-text .recambio-tarjeta img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    object-position: center;
  }
}

/* Reducir márgenes laterales de la portada en móvil */
@media (max-width: 767px) {
  #custom-text {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Fotografías más grandes en las tarjetas del móvil */
@media (max-width: 767px) {
  #custom-text .recambio-tarjeta img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    object-position: center;
  }
}
/* CABECERA MÓVIL - BUSCADOR Y ACCESO TALLERES */
@media (max-width: 767px) {

  #header .mobile #search_widget {
    position: relative;
    z-index: 10002;
    overflow: visible;
  }

  #header .acceso-talleres-movil {
    position: relative;
    z-index: 10001;
    margin-top: 10px;
  }

}

/* BUSCADOR STEP-BY-STEP - ADAPTACION MOVIL */
@media (max-width: 767px) {

  #header .header-top > .container > .row {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    padding-top: 45px !important;
  }

}
/* BUSCADOR STEP-BY-STEP - ANCHO COMPLETO EN MOVIL */
@media (max-width: 767px) {

    #sbs_top,
    #sbs_block_1,
    #sbs_block_1 .block_content,
    #sbs_category_form_1 {
        width: 100% !important;
        max-width: 100% !important;
    }

    #sbs_block_1 .col-lg-6,
    #sbs_block_1 .sbs_div {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    #sbs_block_1 .select2-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    #sbs_top {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }
}

/* TITULOS DE CATEGORIAS Y PRODUCTOS EN MOVIL */
@media (max-width: 767px) {
    #wrapper h1 {
        font-size: 20px !important;
        line-height: 1.2 !important;
        overflow-wrap: anywhere;
    }
}
/* Ocultar título Subcategorías en móvil y PC */
#subcategories .subcategory-heading {
    display: none !important;
}
/* STEP BY STEP - ANCHO DESPLEGABLES EN MÓVIL */
@media (max-width: 767px) {
  #sbs_category_form_1 .col-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
/* BUSCADOR PASO A PASO - COMPACTO EN MOVIL */
@media (max-width: 767px) {

  #sbs_block_1 .title_block {
    margin-bottom: 3px !important;
    padding-bottom: 0 !important;
  }

  #sbs_category_form_1 .sbs_div,
  #sbs_category_form_1 .sbs_submit {
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
  }

  #sbs_category_form_1 .col-lg-6 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #sbs_category_form_1 .select2-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* SUBCATEGORÍAS DE MOTOS - DISEÑO MÓVIL */
@media (max-width: 767px) {

  #subcategories ul.subcategories-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #subcategories ul.subcategories-list > li {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
  }

  #subcategories .subcategory-image,
  #subcategories .subcategory-image a {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  #subcategories .subcategory-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 140px !important;
    object-fit: contain !important;
  }

  #subcategories h5,
  #subcategories .subcategory-name {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}
/* STEP-BY-STEP - VISIBILIDAD Y MARGENES EN MOVIL */
@media (max-width: 767px) {
    #sbs_block_1 {
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ACCESO PROFESIONAL: ocultar enlace móvil en PC */
@media (min-width: 768px) {
    #header .acceso-talleres-movil {
        display: none !important;
    }
}

/* STEP-BY-STEP - SELECT2 ANCHO MOVIL */
@media (max-width: 767px) {

    #sbs_block_1 .select2-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

}

/* Ocultar contenedor vacío de acceso a talleres en móvil */
@media (max-width: 767px) {
    .acceso-talleres-movil {
        display: none !important;
    }
}

/* ==========================================
   OCULTAR STEP-BY-STEP EN CATEGORIAS CON WK
   PC Y MOVIL
   ========================================== */

body#category.category-id-17 #sbs_top,
body#category.category-id-1831 #sbs_top,
body#category.category-id-3530 #sbs_top {
    display: none !important;
}

/* ACCESO PROFESIONAL - SOLO PORTADA */

/* Ocultar el enlace en todas las páginas */
body .btn-b2b-header {
    display: none !important;
}

/* Mostrarlo únicamente en la página de inicio */
body#index .btn-b2b-header {
    display: inline-block !important;
}
/* Título del buscador Step-by-step */
#sbs_top #sbs_block_1 p.title_block {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #17324d !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
}


/* PORTADA - OCULTAR CARRUSEL SOLO EN MOVIL */
@media screen and (max-width: 767px) {
    body#index #carousel,
    body#index #homeslider-wrapper {
        display: none !important;
    }
}

/* PORTADA MOVIL - REDUCIR ESPACIO BAJO EL BUSCADOR */
@media (max-width: 767px) {
    body#index #header > .header-top {
        margin-bottom: -10px !important;
    }
}

/* PORTADA - AJUSTE DEFINITIVO DE ESPACIOS EN MOVIL */
@media screen and (max-width: 767px) {

    /* Acercar las categorías al acceso profesional */
    body#index #wrapper {
        padding-top: 10px !important;
    }

    /* Reducir espacio superior del bloque blanco */
    body#index #custom-text {
        padding-top: 0 !important;
    }

    /* Eliminar espacio superior adicional */
    body#index .recambio-categorias {
        padding-top: 0 !important;
    }
}

/* Reducir separación entre tarjetas y pie de página en móvil */
@media (max-width: 767px) {
    body#index #main .page-footer {
        margin-bottom: 0 !important;
    }
}

/* PORTADA MÓVIL - Reducir espacio entre tarjetas y pie de página */
@media (max-width: 767px) {
    body#index #footer {
        padding-top: 0 !important;
    }
}

/* INICIO - Reducir espacio entre tarjetas y footer en móvil */
@media screen and (max-width: 767px) {
    body#index #custom-text {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}
/* FIN - Reducir espacio entre tarjetas y footer en móvil */


/* ==========================================================
   WK - OCULTAR BANNER Y TEXTO DE PORTADA EN RESULTADOS
   ========================================================== */

body#module-wksearchplus-retrieveproducts #main > a.banner,
body#module-wksearchplus-retrieveproducts #main > #custom-text {
    display: none !important;
}

/* WK - RESULTADOS DE BUSQUEDA A ANCHO COMPLETO */

/* Ocultar columna izquierda solo en resultados WK */
body#retrieveproducts #left-column {
    display: none !important;
}

/* Ampliar el contenido de resultados al ancho disponible */
body#retrieveproducts #content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* OCULTAR STEP-BY-STEP SOLO EN RESULTADOS WK */
body#retrieveproducts #sbs_block_1 {
    display: none !important;
}

/* CATEGORIA 17 - KITS DE CADENA
   Ocultar listado inicial de productos.
   Mantener visible el buscador WK.
*/

/* PRUEBA: mostrar los productos de la categoría 17 */
body#category.category-id-17 #products {
    display: block !important;
}

/* RESULTADOS WK Nº 1 - OCULTAR BUSCADOR GENERAL Nº 4 */

body#retrieveproducts .search-engine-plus_4 {
    display: none !important;
}

/* OCULTAR LOS 27 KITS EN LA CATEGORIA 17 */
body#category.category-id-17 section#products {
    display: none !important;
}
/* WK - MOSTRAR RESULTADOS FILTRADOS EN KITS DE CADENA */
body#category.category-id-17 section#products:has(.active-filter-title) {
    display: block !important;
}


/* ==========================================================
   WK Nº 4 - DISEÑO MÓVIL APROBADO
   Solo afecta al buscador general nº 4
   ========================================================== */
/* =============================================================
   PORTADA MOVIL - WK MOTOR Nº 4 / VERSION 06-11-2026
   Solo pagina de inicio y pantallas hasta 767 px.
   Mantiene intactos los otros motores WK y la vista de PC.
   ============================================================= */
@media screen and (max-width: 767px) {

  /* La franja de acceso profesional sube al hueco existente.
     Conservar el ajuste que funcionaba en la ultima prueba. */
  body#index .btn-b2b-header {
    margin-top: -30px !important;
  }
/* PORTADA MÓVIL - POSICIÓN DEFINITIVA WK Nº 4 */
body#index .search-engine-plus_4 .searchplus-block.displaytop.home {
    margin-top: 0 !important;
    margin-bottom: -20px !important;
    transform: translateY(-15px) !important;
}

  /* Contenedor del buscador WK4: una sola columna. */
  body#index form[data-search-engine-id="4"] {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Titulo visual persistente: no depende de la consola ni
     cambia el HTML o el funcionamiento del modulo. */
  /* WK4 - Título gestionado desde Public title.
   Evitar el título fijo generado mediante CSS. */
body#index form[data-search-engine-id="4"]::before {
    content: none !important;
    display: none !important;
}

/* Mostrar el título original del módulo WK4 */
body#index .search-engine-plus_4 h3.page-subheading {
    display: block !important;
    color: #173c53 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

  /* Neutralizar el layout horizontal general anterior. */
  body#index form[data-search-engine-id="4"] .search-engine-filters,
  body#index form[data-search-engine-id="4"] .form-row-home {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body#index form[data-search-engine-id="4"] .form-row-home {
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  /* Desplegables nativos y sus cajas personalizadas. */
  body#index form[data-search-engine-id="4"] .form-row-home select,
  body#index form[data-search-engine-id="4"] .form-row-home .select2-container,
  body#index form[data-search-engine-id="4"] .form-row-home .selector-inner-plus {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Los controles no deben conservar los anchos de PC. */
  body#index form[data-search-engine-id="4"] select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Botones en extremos opuestos, como en la prueba de Console. */
  body#index form[data-search-engine-id="4"] .reset-btnplus {
    float: left !important;
    margin: 8px 0 !important;
  }

  body#index form[data-search-engine-id="4"] .btn-searchplus {
    float: right !important;
    margin: 4px 0 !important;
  }

  /* Encabezado del bloque de cuatro categorias: misma familia
     visual que los titulos superiores, sin alterar las tarjetas. */
  body#index #custom-text .recambio-categorias > h2,
  body#index #custom-text .recambio-categorias > h3 {
    display: block !important;
    color: #173c53 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }
}

/* WK4 - Ocultar el simbolo + del titulo en movil.
   Mantener el titulo original traducible desde PrestaShop. */
@media screen and (max-width: 767px) {
    body#index .search-engine-plus_4 h3.page-subheading::before,
    body#index .search-engine-plus_4 h3.page-subheading::after {
        content: none !important;
        display: none !important;
    }
}

/* WK4 - Mejorar contraste de textos en movil */
@media screen and (max-width: 767px) {

    /* Descripcion breve del buscador */
    body#index .search-engine-plus_4 .searchplus_short_desc {
        color: #555555 !important;
    }

    /* Desplegables todavia desactivados */
    body#index form[data-search-engine-id="4"] select:disabled {
        color: #888888 !important;
        -webkit-text-fill-color: #888888 !important;
        opacity: 1 !important;
    }
}

/* STEP-BY-STEP - Ajustar anchura en móviles */
@media (max-width: 767px) {
    #sbs_top {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* ==========================================
   STEP-BY-STEP - AJUSTE DE ANCHURA EN MOVIL
   Pruebas validadas a 393px y 412px
   ========================================== */
/* ==========================================
   STEP-BY-STEP - AJUSTE MOVIL
   ========================================== */


@media (max-width: 767px) {

  .header-top-right {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  #sbs_top {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  #sbs_block_1 {
    width: calc(100% + 30px) !important;
    max-width: none !important;
    transform: none !important;
  }

  #sbs_block_1 p.title_block {
    padding-left: 8px !important;
  }

}


/* Reducir espacio entre categorías destacadas y footer en móvil */
@media (max-width: 767px) {
  .footer-container {
    padding-top: 10px !important;
  }
}


/* WK nº 1 · Filtros de Kits de cadena en pantallas estrechas. */
@media (max-width: 991px) {
  .search-engine-plus_1 form[data-search-engine-id="1"],
  .search-engine-plus_1 form[data-search-engine-id="1"] .search-engine-filters {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .search-engine-plus_1 form[data-search-engine-id="1"]::before {
    content: none !important;
    display: none !important;
  }

  .search-engine-plus_1 form[data-search-engine-id="1"] .form-row-home:has(> select[name^="cat_id_"]) {
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
  }

  .search-engine-plus_1 form[data-search-engine-id="1"] select[name^="cat_id_"]:not(.select2-hidden-accessible, .select2-offscreen),
  .search-engine-plus_1 form[data-search-engine-id="1"] .form-row-home:has(> select[name^="cat_id_"]) > .select2-container {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .search-engine-plus_1 form[data-search-engine-id="1"] select[name^="cat_id_"]:disabled {
    background-color: #eeeeee !important;
    color: #888888 !important;
    -webkit-text-fill-color: #888888 !important;
    opacity: 1 !important;
  }

  .search-engine-plus_1 form[data-search-engine-id="1"] select[name^="cat_id_"]:enabled {
    background-color: #ffffff !important;
    color: #173c53 !important;
    -webkit-text-fill-color: #173c53 !important;
    opacity: 1 !important;
  }

  .search-engine-plus_1 form[data-search-engine-id="1"] .buttons-container-plus {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .search-engine-plus_1 .reset-btnplus {
    float: left !important;
    margin: 8px 0 !important;
  }

  .search-engine-plus_1 .btn-searchplus {
    float: right !important;
    margin: 4px 0 !important;
  }
}


/* WK Nº 1 - Cabecera Kits de cadena en móvil */
@media screen and (max-width: 767px) {

  body .search-engine-plus_1 h3.page-subheading {
    display: block !important;
    color: #173c53 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin: 0 0 12px !important;
  }

  body .search-engine-plus_1 .searchplus_short_desc {
    display: block !important;
    color: #555555 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    opacity: 1 !important;
  }

}

/* WK nº 1 - Ocultar símbolo + del título */
.search-engine-plus_1 h3.page-subheading::after {
    content: none !important;
    display: none !important;
}

/* ==========================================
   WK Nº 1 - KITS DE CADENA
   DISEÑO MÓVIL APROBADO
   ========================================== */

@media (max-width: 767px) {

  /* Reducir espacio azul superior */
  body:not(#index) .search-engine-plus_1 {
    margin-top: -30px !important;
  }

  /* Separación entre desplegables */
  body:not(#index) .search-engine-plus_1
  .search-engine-filters > .form-row-home {
    margin-bottom: 7px !important;
  }

  /* Bordes redondeados */
  body:not(#index) .search-engine-plus_1
  select.select,
  body:not(#index) .search-engine-plus_1
  .select2-container .select2-selection,
  body:not(#index) .search-engine-plus_1
  .select2-container .select2-choice {
    border-radius: 6px !important;
  }

  /* Botón Buscar recambios y lupa */
  body:not(#index) .search-engine-plus_1
  .btn-searchplus,
  body:not(#index) .search-engine-plus_1
  .btn-searchplus * {
    background: #1674c3 !important;
    background-color: #1674c3 !important;
    color: #ffffff !important;
  }

  body:not(#index) .search-engine-plus_1
  .btn-searchplus {
    border-radius: 5px !important;
  }

}


/* ==========================================
   CATEGORIA 17 - AVENTURA TRAIL / MAXI-TRAIL
   Diseño móvil y PC
   ========================================== */

body#category.category-id-17 .bloque-aventura {
  background: #ffffff;
  border-radius: 6px;
  padding: 12px 4px 16px;
}

body#category.category-id-17 .bloque-aventura h2 {
  color: #173f5f !important;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 14px;
}

body#category.category-id-17 .bloque-aventura p {
  color: #444444 !important;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 12px;
}

body#category.category-id-17 .bloque-aventura img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 14px;
}

/* Ajustes exclusivos para móvil */
@media (max-width: 767px) {

  body#category.category-id-17 #wrapper .breadcrumb {
    display: none !important;
  }

  body#category.category-id-17 #js-product-list-header {
    margin-top: -37px !important;
    padding-top: 0 !important;
  }

  body#category.category-id-17 .bloque-aventura img {
    width: calc(100% + 24px);
    max-width: none;
    height: 225px;
    object-fit: cover;
    object-position: center;
    margin-left: -12px;
  }
}


/* ==================================================
   WK Nº 2 - CORREAS DE TRANSMISION
   Diseño movil igual a WK Nº 1
   ================================================== */

@media (max-width: 767px) {

  /* Formulario en vertical */
  form[data-search-engine-id="2"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 7px !important;
  }

  /* Filas de los desplegables */
  form[data-search-engine-id="2"] .search-engine-filters > .form-row-home {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 7px !important;
  }

  /* Cinco desplegables */
  form[data-search-engine-id="2"] select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  /* Campos activos */
  form[data-search-engine-id="2"] select:not(:disabled) {
    opacity: 1 !important;
    background-color: #ffffff !important;
    color: #173c53 !important;
    -webkit-text-fill-color: #173c53 !important;
  }

  /* Campos deshabilitados */
  form[data-search-engine-id="2"] select:disabled {
    opacity: 1 !important;
    background-color: #eeeeee !important;
    color: #888888 !important;
    -webkit-text-fill-color: #888888 !important;
  }

  /* Esquinas redondeadas para Select2 */
  form[data-search-engine-id="2"] .select2-container,
  form[data-search-engine-id="2"] .select2-selection,
  form[data-search-engine-id="2"] .select2-choice {
    border-radius: 6px !important;
  }

  /* Reinicializar izquierda - Buscar derecha */
  form[data-search-engine-id="2"] .buttons-container-plus {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
  }

  /* Boton Buscar azul */
  form[data-search-engine-id="2"] .btn-searchplus {
    background: #1674c3 !important;
    background-color: #1674c3 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    float: none !important;
  }

  /* Lupa blanca */
  form[data-search-engine-id="2"] .btn-searchplus *,
  form[data-search-engine-id="2"] .btn-searchplus::before,
  form[data-search-engine-id="2"] .btn-searchplus::after {
    color: #ffffff !important;
  }

  /* Boton Reinicializar */
  form[data-search-engine-id="2"] .reset-btnplus {
    float: none !important;
    margin: 0 !important;
  }
}


/* ==========================================
   WK Nº 2 - TITULO Y DESCRIPCION MOVIL
   ========================================== */

@media (max-width: 767px) {

  .search-engine-plus_2 h3.page-subheading {
    display: block !important;
    color: #173c53 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin: 0 0 12px !important;
  }

  .search-engine-plus_2 .searchplus_short_desc {
    display: block !important;
    color: #555555 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  /* Ocultar el simbolo + del titulo */
  .search-engine-plus_2 h3.page-subheading::before,
  .search-engine-plus_2 h3.page-subheading::after {
    content: none !important;
    display: none !important;
  }
}

/* ==========================================
   WK Nº 2 - CORREAS SCOOTER
   AJUSTES FINALES MOVIL
   ========================================== */

@media (max-width: 767px) {

  /* Separacion superior e inferior */
  body:not(#index) .search-engine-plus_2 {
    transform: translateY(-32px) !important;
    margin-bottom: -57px !important;
  }

  /* Lupa blanca sin fondo rojo */
  .search-engine-plus_2
  form[data-search-engine-id="2"]
  .btn-searchplus i.fa-search {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
  }

}


/* =========================================
   BANNER INICIO - CENTRADO DEFINITIVO PC
   ========================================= */

@media (min-width: 768px) {

  body#index #main .banner {
    display: block !important;
    width: 100% !important;
    max-width: 1500px !important;
    height: auto !important;
    margin: 20px auto 30px !important;
    padding: 0 !important;
    float: none !important;
    transform: none !important;
    text-align: center !important;
  }

  body#index #main .banner img {
    display: block !important;
    width: 100% !important;
    max-width: 1500px !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
  }

}

/* ==========================================================
   STEP-BY-STEP - PORTADA PC - TRES CONTROLES EN UNA FILA
   Marca 30% | Modelo 48% | Buscar recambios 20%
   No altera el texto traducido ni los buscadores WK.
   ========================================================== */

@media screen and (min-width: 992px) {

  body#index #sbs_category_form_1 {
    display: grid !important;
    grid-template-columns: 30% 48% 20% !important;
    column-gap: 1% !important;
    align-items: center !important;
    width: 100% !important;
  }

  body#index #sbs_category_form_1 > .col-lg-6 {
    display: contents !important;
  }

  body#index #sbs_category_form_1 .sbs_div,
  body#index #sbs_category_form_1 .sbs_submit {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  body#index #sbs_category_form_1 .select2-container,
  body#index #sbs_category_form_1 .sbs_submit input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body#index #sbs_category_form_1 .sbs_submit input {
    height: 34px !important;
    border-radius: 6px !important;
  }

}


/* ==========================================
   PORTADA - OCULTAR MENU SUPERIOR DUPLICADO
   ========================================== */

body#index #_desktop_top_menu {
    display: none !important;
}
/* ==========================================================
   WK Nº 4 - PC - FASE 1: ESTRUCTURA DE LOS FILTROS
   Descripción centrada y cinco campos horizontales sin márgenes.
   Sin cambios de colores, navegación superior o posición de botones.
   No afecta al móvil ni a otros motores WK.
   ========================================================== */
@media screen and (min-width: 992px) {
  form[data-search-engine-id="4"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  form[data-search-engine-id="4"] .search-engine-filters {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    column-gap: 5px !important;
    row-gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  form[data-search-engine-id="4"] .searchplus_short_desc {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    margin: 0 0 12px !important;
  }

  form[data-search-engine-id="4"] .search-engine-filters > .form-row-home {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-shrink: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  /* Proporciones del diseño aprobado; Año aprovecha el espacio restante. */

  
/* WK Nº 4 - PC - ANCHURAS CORREGIDAS PS 8.2.9 */

form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_1, [name^="cat_id_4_1"]) {
  flex: 210 1 0 !important;
  width: 0 !important;
}
form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_2, [name^="cat_id_4_2"]) {
  flex: 220 1 0 !important;
  width: 0 !important;
}
form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_3, [name^="cat_id_4_3"]) {
  flex: 110 1 0 !important;
  width: 0 !important;
}
form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_4, [name^="cat_id_4_4"]) {
  flex: 431 1 0 !important;
  width: 0 !important;
}
form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_5, [name^="cat_id_4_5"]) {
  flex: 155 1 0 !important;
  width: 0 !important;
}



  form[data-search-engine-id="4"] .search-engine-filters > .form-row-home select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Los botones quedan en una segunda línea; separación lateral, fase 2. */
  form[data-search-engine-id="4"] .buttons-container-plus {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
  }
}


/* ==========================================
   WK Nº 4 - PC - FASE 2
   Botones inferiores en extremos opuestos
   ========================================== */

@media (min-width: 992px) {

  form[data-search-engine-id="4"] .buttons-container-plus {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important;
  }

  form[data-search-engine-id="4"] .reset-btnplus,
  form[data-search-engine-id="4"] .btn-searchplus {
    float: none !important;
    margin: 0 !important;
  }

}


/* ==========================================
   WK Nº 4 - PC - FASE 3
   Contraste de desplegables y descripción
   ========================================== */

@media (min-width: 992px) {

  /* Desplegables pendientes de selección */
  form[data-search-engine-id="4"] select:disabled {
    background-color: #e5e5e5 !important;
    color: #555555 !important;
    -webkit-text-fill-color: #555555 !important;
    opacity: 1 !important;
  }

  /* Descripción más grande y legible */
  form[data-search-engine-id="4"] .searchplus_short_desc {
    color: #555555 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

}


/* WK Nº 4 - PC - Corrección definitiva de colores */

@media (min-width: 992px) {

  form[data-search-engine-id="4"] .search-engine-filters
  .form-row-home select:disabled {
    background: #e5e5e5 !important;
    background-color: #e5e5e5 !important;
    color: #555555 !important;
    -webkit-text-fill-color: #555555 !important;
    opacity: 1 !important;
  }

}

/* ==========================================
   WK Nº 4 - PC - FASE 4
   Navegación BIHR aprobada en DevTools
   No afecta a móvil ni a Step-by-step
   ========================================== */
@media (min-width: 992px) {
  body#index #pestanas-wk {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body#index #pestanas-wk > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 12px 20px !important;
    border: 1px solid #173f5f !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    color: #173f5f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }
  body#index #pestanas-wk > a:first-child {
    background: #173f5f !important;
    color: #ffffff !important;
  }
  body#index #pestanas-wk > a:nth-child(2),
  body#index #pestanas-wk > a:nth-child(5) {
    margin-left: 30px !important;
  }
  body#index #pestanas-wk .wk4-icono-pc {
    margin-right: 5px !important;
  }
}

/* ==========================================================
   PORTADA PC - CABECERA BLANCA CON LOGOTIPO EN BARRA SUPERIOR
   Solo escritorio. Mantener fondo azul del area de buscadores.
   ========================================================== */
@media screen and (min-width: 992px) {
  body#index #header .header-nav {
    background: #ffffff !important;
    min-height: 56px !important;
  }
  body#index #header .header-nav > .container {
    position: relative !important;
    max-width: 100% !important;
  }
  body#index #header .header-nav #_desktop_logo {
    position: absolute !important;
    left: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 240px !important;
    max-width: 240px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
  }
  body#index #header .header-nav #_desktop_logo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 55px !important;
    object-fit: contain !important;
  }
  body#index #header .header-nav > .container > .row {
    min-height: 56px !important;
    padding-left: 255px !important;
    align-items: center !important;
  }
  body#index #header .header-top {
    background: #add8e6 !important;
  }
}

/* ==========================================================
   PORTADA PC - ACABADO APROBADO 11-11-2026
   Fondo azul oscuro, titulo blanco y linea roja inferior.
   Solo portada y escritorio; no modifica el diseno movil.
   ========================================================== */
@media screen and (min-width: 992px) {
  body#index #header .header-top {
    background: linear-gradient(110deg, #142638 0%, #203f53 52%, #101e2c 100%) !important;
    border-bottom: 3px solid #e30613 !important;
  }

  body#index #sbs_top #sbs_block_1 p.title_block {
    color: #ffffff !important;
  }
}

/* ==========================================================
   PORTADA MOVIL - CABECERA APROBADA 11-11-2026
   Solo moviles; conserva los estilos y colores anteriores.
   ========================================================== */
@media screen and (max-width: 767px) {
  body#index #_mobile_logo {
    position: absolute !important;
    top: 7px !important;
    left: calc(50% - 25px) !important;
    transform: translateX(-50%) !important;
    width: 218px !important;
    height: 39px !important;
    z-index: 5 !important;
  }

  body#index #_mobile_logo img {
    max-width: 218px !important;
    max-height: 39px !important;
    width: auto !important;
    height: auto !important;
  }

  body#index #_mobile_cart {
    transform: translateY(-12px) !important;
  }

  body#index #sbs_top #sbs_block_1 p.title_block {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================================
   CABECERA MOVIL - PAGINAS INTERIORES (12-11-2026)
   Replica la distribucion aprobada de la portada.
   No modifica Step-by-step ni los buscadores WK.
   ========================================================== */
@media screen and (max-width: 767px) {
  body:not(#index) #_mobile_logo {
    position: absolute !important;
    top: 7px !important;
    left: calc(50% - 25px) !important;
    transform: translateX(-50%) !important;
    width: 218px !important;
    height: 39px !important;
    z-index: 20 !important;
  }

  body:not(#index) #_mobile_logo img {
    max-width: 218px !important;
    max-height: 39px !important;
    width: auto !important;
    height: auto !important;
  }

  body:not(#index) #_mobile_cart {
    transform: translateY(-12px) !important;
  }
}


/* ==========================================================
   CABECERA PC UNIFICADA - TODAS LAS PAGINAS - 12-11-2026
   No modifica la cabecera movil ni los buscadores.
   ========================================================== */
@media screen and (min-width: 992px) {
  body #header .header-nav {
    background: #ffffff !important;
    min-height: 43px !important;
  }
  body #header .header-nav > .container {
    position: relative !important;
    max-width: 100% !important;
  }
  body #header .header-nav #_desktop_logo {
    position: absolute !important;
    left: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 220px !important;
    max-width: 220px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
  }
  body #header .header-nav #_desktop_logo img {
    display: block !important;
    max-width: 210px !important;
    max-height: 42px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  body #header .header-nav > .container > .row {
    min-height: 43px !important;
    padding-left: 245px !important;
    align-items: center !important;
  }
  /* Páginas interiores: conservar el azul claro aprobado.
     El acabado azul oscuro y rojo queda reservado a Inicio. */
  body:not(#index) #header .header-top {
    background: #add8e6 !important;
    border-bottom: 0 !important;
  }
  body #header .header-top .menu,
  body #header .header-top #_desktop_top_menu,
  body #header .header-top .top-menu {
    display: none !important;
  }
}

/* ==========================================================
   CABECERA PC - PAGINAS INTERIORES - AJUSTE APROBADO 12-11-2026
   Barra superior de 53 px y logo dentro de la franja.
   No altera Inicio, movil, Step-by-step ni los motores WK.
   ========================================================== */
@media screen and (min-width: 992px) {
  body:not(#index) #header .header-nav,
  body:not(#index) #header .header-nav > .container > .row {
    min-height: 53px !important;
  }

  body:not(#index) #header .header-nav #_desktop_logo {
    left: 30px !important;
    top: 5px !important;
    transform: none !important;
  }
}


/* WK nº 1 · Kits de cadena en PC. La descripción y los botones conservan
   su lugar en el formulario de WK para que también funcionen tras reiniciar. */
@media (min-width: 992px) {
  body.wk1-kits-pc .search-engine-plus_1 {
    display: block !important;
    width: 100% !important;
  }

  body.wk1-kits-pc .search-engine-plus_1 .searchplus-block.displaytop.home {
    display: block !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    translate: none !important;
    box-sizing: border-box !important;
    width: min(1250px, calc(100% - 40px)) !important;
    max-width: 1250px !important;
    margin: 15px auto !important;
    padding: 12px 42px !important;
    float: none !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] {
    display: block !important;
    clear: both !important;
    width: 100% !important;
  }

  /* A tamaño completo, Tipo, Marca, Cilindrada, Modelo y Año ocupan
     210, 219, 115, 431 y 161 px. Si hay menos espacio se reducen en proporción. */
  body.wk1-kits-pc form[data-search-engine-id="1"] .search-engine-filters {
    display: grid !important;
    grid-template-columns: minmax(0, 210fr) minmax(0, 219fr) minmax(0, 115fr) minmax(0, 431fr) minmax(0, 161fr) !important;
    gap: 0 7px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1164px !important;
    margin-inline: auto !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] .search-engine-filters > * {
    grid-column: 1 / -1;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] .search-engine-filters > .form-row-home:has(> select[name^="cat_id_"]) {
    grid-column: auto;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] select[name^="cat_id_"]:not(.select2-hidden-accessible, .select2-offscreen),
  body.wk1-kits-pc form[data-search-engine-id="1"] .form-row-home:has(> select[name^="cat_id_"]) > .select2-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    height: 35px !important;
    border-radius: 6px !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] select[name^="cat_id_"]:disabled {
    background-color: #e3e4e6 !important;
    color: #65717c !important;
    -webkit-text-fill-color: #65717c !important;
    border-color: #cbd3da !important;
    opacity: 1 !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] select[name^="cat_id_"]:enabled {
    background-color: #ffffff !important;
    color: #263746 !important;
    -webkit-text-fill-color: #263746 !important;
    border-color: #cbd3da !important;
    opacity: 1 !important;
  }

  body.wk1-kits-pc .search-engine-plus_1 .searchplus_short_desc {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    text-align: center !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] .buttons-container-plus {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    float: none !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] .buttons-container-plus :is(.reset-btnplus, .btn-searchplus) {
    position: relative !important;
    float: none !important;
    margin: 0 !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] .buttons-container-plus .reset-btnplus {
    top: 2px !important;
  }

  body.wk1-kits-pc form[data-search-engine-id="1"] .buttons-container-plus .btn-searchplus {
    top: 4px !important;
    margin-left: auto !important;
  }
}


/* WK nº 1 - Redondeado del contenedor exterior */
@media (min-width: 768px) {
    .searchplus-block.displaytop.home {
        border-radius: 18px !important;
    }
}

/* Ocultar breadcrumb solo en Kits de cadena */
body#category.category-id-17 #wrapper .breadcrumb {
    display: none !important;
}


/* ==========================================
   KITS DE CADENA - BLOQUE AVENTURA
   Solo categoría 17 - Escritorio
   ========================================== */

@media (min-width: 992px) {

  body#category.category-id-17 #bloque-aventura h2 {
    font-size: 22px !important;
    color: #173f5f !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  body#category.category-id-17 #bloque-aventura p {
    font-size: 16px !important;
    color: #333333 !important;
    line-height: 1.6 !important;
  }

  body#category.category-id-17 #bloque-aventura p:nth-of-type(2) {
    margin-bottom: 12px !important;
  }

}


/* =====================================================
   CATEGORIA 17 - KITS DE CADENA
   AJUSTES DEFINITIVOS DE ESCRITORIO
   12-11-2026
   ===================================================== */

@media (min-width: 768px) {

  /* Subir el bloque de aventura 30 px */
  body#category.category-id-17
  #js-product-list-header {
    transform: translateY(-30px) !important;
    margin-bottom: -30px !important;
  }

  /* Imagen panoramica a todo el ancho del bloque */
  body#category.category-id-17
  .bloque-aventura img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 520px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 14px 0 0 !important;
    border-radius: 12px !important;
  }

}

/* CATEGORIA 17 - IMAGEN PANORAMICA DEFINITIVA */

@media (min-width: 768px) {

  body#category.category-id-17
  #bloque-aventura img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 12px 0 0 !important;
    border-radius: 12px !important;
  }

}

/* CATEGORIA 17 - AJUSTE MOVIL DEFINITIVO */
/* Acercar el titulo a la franja azul */

@media (max-width: 767px) {

  body#category #js-product-list-header {
    transform: translateY(-20px) !important;
  }

}

/* ==========================================
   ÁREA PROFESIONAL
   Ocultar Step-by-step en PC y móvil
   ========================================== */

body#cms.cms-id-16 #sbs_block_1,
body#cms.cms-id-16 #sbs_top {
    display: none !important;
}
/* ==================================================
   AREA PROFESIONAL - ACCESO Y ALTA
   PrestaShop 8.2.6 - PC y movil
   ================================================== */

/* Ocultar Step-by-step en las tres paginas */

body#cms.cms-id-16 #sbs_block_1,
body#cms.cms-id-16 #sbs_top,

body#cms.cms-id-9 #sbs_block_1,
body#cms.cms-id-9 #sbs_top,

body#authentication #sbs_block_1,
body#authentication #sbs_top {
    display: none !important;
}

/* Mantener una franja azul bajo la cabecera */

body#cms.cms-id-16 #header,
body#cms.cms-id-9 #header,
body#authentication #header {
    border-bottom: 35px solid #add8e6 !important;
}

/* Boton Solicitar Alta Profesional:
   fondo azul, texto blanco y esquinas redondeadas */

body#cms.cms-id-16 a[href*="9-solicitud-alta-tallerprofesional"] {
    background: #0089bd !important;
    color: #ffffff !important;
    border: 1px solid #0089bd !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-align: center !important;
    max-width: 100% !important;
    white-space: normal !important;
}

/* Efecto al pasar el raton */

body#cms.cms-id-16 a[href*="9-solicitud-alta-tallerprofesional"]:hover {
    background: #006f9b !important;
    border-color: #006f9b !important;
    color: #ffffff !important;
}
/* AREA PROFESIONAL - Redondear boton Iniciar sesion */
body#cms.cms-id-16 a[href*="autenticacion"],
body#cms.cms-id-16 a[href*="authentication"] {
    border-radius: 8px !important;
}

/* PORTADA MOVIL - ACCESO PROFESIONAL APROBADO (60 px) */
@media (max-width: 767px) {
  body#index #acceso-profesional-footer-movil {
    height: 60px !important;
    min-height: 60px !important;
    width: 100% !important;
    background: #ADD8E6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
  }

  body#index #acceso-profesional-footer-movil .btn-b2b-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.5 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #173f5f !important;
    background: transparent !important;
    text-decoration: none !important;
  }

  body#index #acceso-profesional-footer-movil .btn-b2b-header strong {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #173f5f !important;
  }
}


/* =============================================================
   WK Nº 2 - CORREAS SCOOTER / adaptación aislada 13-11-2026
   Replica la estructura WK Nº 1 sin modificar ese motor.
   ============================================================= */
body#category.category-id-1831 #wrapper .breadcrumb { display:none !important; }
body#category.category-id-1831 section#products { display:none !important; }
body#category.category-id-1831 section#products:has(.active-filter-title) { display:block !important; }
body#category.category-id-1831 #js-product-list-header { margin:0 !important; }
body#category.category-id-1831 #bloque-scooter-correas {
  background:#fff; padding:12px 4px 16px; border-radius:6px;
}
body#category.category-id-1831 #bloque-scooter-correas h2 {
  color:#173f5f !important; font-size:20px; font-weight:700;
  line-height:1.3; margin:0 0 14px;
}
body#category.category-id-1831 #bloque-scooter-correas p {
  color:#333 !important; font-size:14px; line-height:1.55; margin:0 0 12px;
}
body#category.category-id-1831 #bloque-scooter-correas img {
  display:block; width:100%; height:auto; border-radius:12px; margin:14px 0 0;
}
@media (min-width:992px) {
  body.wk2-correas-pc .search-engine-plus_2 {
    display:block !important; flex-direction:initial !important;
    flex-wrap:initial !important; width:100% !important;
  }
  body.wk2-correas-pc .search-engine-plus_2 .searchplus-block.displaytop.home {
    display:block !important; position:relative !important;
    right:auto !important; transform:none !important; translate:none !important;
    box-sizing:border-box !important; width:min(1250px,calc(100% - 40px)) !important;
    max-width:1250px !important; margin:15px auto !important;
    padding:12px 42px !important; float:none !important; border-radius:18px !important;
  }
  body.wk2-correas-pc .search-engine-plus_2 .searchplus_short_desc {
    display:block !important; width:100% !important; clear:both !important;
    float:none !important; text-align:center !important;
    margin:0 0 14px !important; color:#333 !important;
    font-size:16px !important; font-weight:400 !important;
    opacity:1 !important; visibility:visible !important;
  }
  body.wk2-correas-pc form[data-search-engine-id="2"] {
    display:block !important; width:100% !important; clear:both !important;
  }
  body.wk2-correas-pc form[data-search-engine-id="2"] .search-engine-filters {
    display:flex !important; flex-flow:row nowrap !important;
    justify-content:center !important; align-items:center !important;
    gap:7px !important; width:100% !important; position:relative !important; left:-2px !important;
  }
  body.wk2-correas-pc form[data-search-engine-id="2"] .search-engine-filters .form-row-home {
    display:block !important; flex:0 0 auto !important;
    margin:0 !important; padding:0 !important; float:none !important;
    transform:translateX(9px) !important;
  }
  body.wk2-correas-pc #cat_id_2_1 { width:210px !important; }
  body.wk2-correas-pc #cat_id_2_2 { width:224px !important; }
  body.wk2-correas-pc #cat_id_2_3 { width:110px !important; }
  body.wk2-correas-pc #cat_id_2_4 { width:431px !important; }
  body.wk2-correas-pc #cat_id_2_5 { width:161px !important; }
  body.wk2-correas-pc form[data-search-engine-id="2"] select[id^="cat_id_2_"] {
    display:block !important; max-width:none !important; min-width:0 !important;
    box-sizing:border-box !important; height:35px !important; border-radius:6px !important;
  }
  body.wk2-correas-pc form[data-search-engine-id="2"] select[id^="cat_id_2_"]:disabled {
    background-color:#e3e4e6 !important; color:#65717c !important;
    -webkit-text-fill-color:#65717c !important; opacity:1 !important;
    border-color:#cbd3da !important;
  }
  body.wk2-correas-pc form[data-search-engine-id="2"] select[id^="cat_id_2_"]:not(:disabled) {
    background-color:#fff !important; color:#263746 !important;
    -webkit-text-fill-color:#263746 !important; border-color:#cbd3da !important;
  }
  body.wk2-correas-pc #wk2-botones-pc {
    display:flex !important; justify-content:space-between !important;
    align-items:center !important; width:100% !important;
    margin-top:4px !important; padding:0 !important; gap:8px !important;
  }
  body.wk2-correas-pc #wk2-botones-pc .reset-btnplus,
  body.wk2-correas-pc #wk2-botones-pc .btn-searchplus {
    position:relative !important; float:none !important; margin:0 !important;
  }
  body.wk2-correas-pc #wk2-botones-pc .reset-btnplus {top:2px !important;}
  body.wk2-correas-pc #wk2-botones-pc .btn-searchplus {
    margin-left:auto !important; top:4px !important;
  }
  body#category.category-id-1831 #bloque-scooter-correas h2 {font-size:22px !important;}
  body#category.category-id-1831 #bloque-scooter-correas p {font-size:16px !important;line-height:1.6 !important;}
  body#category.category-id-1831 #js-product-list-header {
    transform:translateY(-30px) !important; margin-bottom:-30px !important;
  }
}
@media (max-width:767px) {
  body#category.category-id-1831 #bloque-scooter-correas img {
    width:100%; height:auto; object-fit:contain;
  }
}


/* ============================================================
   WK Nº 2 - UNIFICAR PRESENTACION CON KITS DE CADENA (WK Nº 1)
   13-11-2026. Solo afecta a la categoria 1831.
   ============================================================ */
body#category.category-id-1831 #bloque-scooter-correas {
  background:#ffffff;
  border-radius:6px;
  padding:12px 4px 16px;
}
body#category.category-id-1831 #bloque-scooter-correas h2 {
  color:#173f5f !important;
  font-size:20px;
  line-height:1.25;
  font-weight:700;
  margin:0 0 14px;
}
body#category.category-id-1831 #bloque-scooter-correas p {
  color:#444444 !important;
  font-size:14px;
  line-height:1.55;
  margin:0 0 12px;
}
body#category.category-id-1831 #bloque-scooter-correas img {
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
  margin-top:14px;
}
@media (min-width:992px) {
  body#category.category-id-1831 #bloque-scooter-correas h2 {
    font-size:22px !important;
    line-height:1.3 !important;
  }
  body#category.category-id-1831 #bloque-scooter-correas p {
    font-size:16px !important;
    line-height:1.6 !important;
  }
  body#category.category-id-1831 #bloque-scooter-correas p:nth-of-type(2) {
    margin-bottom:12px !important;
  }
}
@media (min-width:768px) {
  body#category.category-id-1831 #bloque-scooter-correas img {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    margin:12px 0 0 !important;
    border-radius:12px !important;
    padding:0 10px !important;
    box-sizing:border-box !important;
  }
}
@media (max-width:767px) {
  body#category.category-id-1831 #js-product-list-header {
    margin-top:-37px !important;
    padding-top:0 !important;
  }
  body#category.category-id-1831 #bloque-scooter-correas img {
    width:calc(100% + 24px) !important;
    max-width:none !important;
    height:225px !important;
    object-fit:cover !important;
    object-position:center !important;
    margin-left:-12px !important;
    border-radius:6px !important;
  }
}


/* UNIFICACION SEGURA: solo esquinas de las dos imagenes panoramicas */
body#category.category-id-17 .bloque-aventura img,
body#category.category-id-17 #bloque-aventura img,
body#category.category-id-1831 #bloque-scooter-correas img {
  border-radius: 16px !important;
}

/* CORREAS SCOOTER 1831 - ajuste definitivo SOLO escritorio.
   Alineacion aprobada: 16px a la izquierda. No modifica la imagen original. */
@media (min-width: 992px) {
  body#category.category-id-1831 #bloque-scooter-correas img {
    width: calc(100% + 8px) !important;
    max-width: none !important;
    margin: 12px 0 0 -16px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    clip-path: inset(0 round 16px) !important;
    height: auto !important;
  }
}

/* =============================================================
   CATEGORIA 1831 - IGUALAR TITULO Y FRANJA A KITS DE CADENA
   Solo categoria Correas; no cambia formularios WK ni imagenes.
   ============================================================= */
body#category.category-id-1831 #bloque-scooter-correas #titulo-scooter-correas {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  position:relative !important;
  color:#173f5f !important;
  background:#ffffff !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
  margin:0 0 12px !important;
  padding:0 !important;
  text-align:left !important;
}
@media (min-width:992px) {
  body#category.category-id-1831 #bloque-scooter-correas #titulo-scooter-correas {
    font-size:22px !important;
    margin-bottom:14px !important;
  }
}
@media (max-width:767px) {
  /* Misma subida del contenido que la categoria 17: 20 px. */
  body#category.category-id-1831 #js-product-list-header {
    margin-top:0 !important;
    transform:translateY(-20px) !important;
  }
}


/* =============================================================
   WK Nº 2 - CORREAS SCOOTER - AJUSTE MOVIL 13-11-2026
   Igualar los cinco selectores a WK Nº 1 (40 px).
   Separar 7 px la fila de botones del ultimo selector.
   Solo categoria 1831 y pantallas moviles.
   ============================================================= */
@media screen and (max-width: 767px) {
  body#category.category-id-1831 form[data-search-engine-id="2"] select[id^="cat_id_2_"] {
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
  }

  body#category.category-id-1831 form[data-search-engine-id="2"] .buttons-container-plus {
    margin-top: 7px !important;
  }
}

/* =============================================================
   WK Nº 2 - CORREAS SCOOTER - IGUALAR ACABADO MOVIL A KITS
   13-11-2026. Solo categoria 1831, hasta 767 px.
   ============================================================= */
@media screen and (max-width: 767px) {
  /* Mostrar 3 px mas de franja azul entre buscador PS y WK. */
  body#category.category-id-1831 .search-engine-plus_2 {
    transform: translateY(-29px) !important;
  }

  /* Bajar ambos botones 7 px sin cambiar los cinco selectores. */
  body#category.category-id-1831 form[data-search-engine-id="2"] .buttons-container-plus {
    margin-top: 7px !important;
    padding-bottom: 7px !important;
  }
  body#category.category-id-1831 form[data-search-engine-id="2"] .buttons-container-plus .reset-btnplus,
  body#category.category-id-1831 form[data-search-engine-id="2"] .buttons-container-plus .btn-searchplus {
    position: relative !important;
    top: 7px !important;
  }
}

/* =============================================================
   WK Nº 2 / CATEGORIA 1831 - AJUSTE FINO MOVIL 13-11-2026
   Franja inferior: 27px -> 18px, igual que Kits de cadena.
   Se mantiene el titulo visible con el margen 11px aprobado.
   No modifica selectores, botones ni el WK Nº 1.
   ============================================================= */
@media screen and (max-width: 767px) {
  body#category.category-id-1831 #bloque-scooter-correas #titulo-scooter-correas {
    margin-top: 11px !important;
  }
}


/* =============================================================
   CORREAS SCOOTER (categoria 1831) - AJUSTE MOVIL APROBADO
   13-11-2026 - base: custom_backup_20261113_1614.css
   Reproduce la prueba validada en Console sin recortar el header:
   - 14px de padding inferior WK (10px actuales + 4px)
   - 18px de franja azul visible (29px - 11px de fondo)
   No altera dimensiones de selectores, botones, categoria 17 ni PC.
   ============================================================= */
@media screen and (max-width: 767px) {
  body#category.category-id-1831 .search-engine-plus_2 .searchplus-block.displaytop.home {
    padding-bottom: 14px !important;
  }

  /* Solo cambia el fondo del header en esta categoria y en movil.
     No cambia su altura, ni usa clip-path. */
  body#category.category-id-1831 #header {
    background: linear-gradient(
      to bottom,
      #ADD8E6 0,
      #ADD8E6 calc(100% - 11px),
      transparent calc(100% - 11px)
    ) !important;
  }
}


/* =============================================================
   WK Nº 3 - BATERIAS CATEGORIA 3530 - PC APROBADO
   Replicar medidas de WK nº 1 (Kits cadena), y centrar cajetin.
   El centrado dinamico, titulo y botones dependen del bloque
   wk3-baterias-pc del custom.js adjunto.
   Solo escritorio (>= 992px) y categoria 3530.
   NO afecta WK 1 / WK 2 / WK 4 ni al movil.
   ============================================================= */
@media screen and (min-width: 992px) {
  body#category.category-id-3530.wk3-baterias-pc .search-engine-plus_3 {
    display: block !important;
    width: 100% !important;
    flex-direction: initial !important;
    flex-wrap: initial !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 .searchplus-block.displaytop.home {
    display: block !important;
    position: relative !important;
    right: auto !important;
    transform: none !important;
    translate: none !important;
    box-sizing: border-box !important;
    width: min(1250px, calc(100% - 40px)) !important;
    max-width: 1250px !important;
    margin: 15px auto !important;
    padding: 12px 42px !important;
    float: none !important;
    border-radius: 18px !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 form[data-search-engine-id="3"] {
    display: block !important;
    width: 100% !important;
    clear: both !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 .searchplus_short_desc {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    text-align: center !important;
    margin: 0 0 14px !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 .search-engine-filters {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    position: relative !important;
    left: -2px !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 .search-engine-filters .form-row-home:has(select[id^="cat_id_3_"]) {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    transform: translateX(9px) !important;
  }

  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_1 { width: 210px !important; }
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_2 { width: 224px !important; }
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_3 { width: 110px !important; }
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_4 { width: 431px !important; }
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_5 { width: 161px !important; }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 select[id^="cat_id_3_"] {
    display: block !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    height: 35px !important;
    border-radius: 6px !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 select[id^="cat_id_3_"]:disabled {
    background-color: #e3e4e6 !important;
    color: #65717c !important;
    -webkit-text-fill-color: #65717c !important;
    opacity: 1 !important;
    border-color: #cbd3da !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  .search-engine-plus_3 select[id^="cat_id_3_"]:not(:disabled) {
    background-color: #ffffff !important;
    color: #263746 !important;
    -webkit-text-fill-color: #263746 !important;
    border-color: #cbd3da !important;
  }

  body#category.category-id-3530.wk3-baterias-pc #wk3-botones-pc {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  #wk3-botones-pc .reset-btnplus,
  body#category.category-id-3530.wk3-baterias-pc
  #wk3-botones-pc .btn-searchplus {
    position: relative !important;
    float: none !important;
    margin: 0 !important;
  }

  body#category.category-id-3530.wk3-baterias-pc
  #wk3-botones-pc .reset-btnplus { top: 2px !important; }

  body#category.category-id-3530.wk3-baterias-pc
  #wk3-botones-pc .btn-searchplus {
    margin-left: auto !important;
    top: 4px !important;
  }
}


/* =============================================================
   WK Nº 3 - BATERÍAS LITIO Y SODIO / CATEGORÍA 3530
   CONSOLIDACIÓN PC + MÓVIL - 13-11-2026
   Base: archivos custom.css y custom.js recibidos del usuario.
   Conservar los ajustes anteriores de WK Nº 1, 2 y 4.
   Sin imagen ni nuevos textos comerciales todavía.
   ============================================================= */

/* Quitar SOLO en la portada de la categoría 3530 los bloques
   antiguos de PrestaShop. No altera resultados WK /find-products/s-3. */
body#category.category-id-3530 #wrapper .breadcrumb,
body#category.category-id-3530 #wrapper .block-category,
body#category.category-id-3530 #wrapper #js-product-list-header,
body#category.category-id-3530 #wrapper #js-product-list-top,
body#category.category-id-3530 #wrapper #js-product-list-bottom,
body#category.category-id-3530 #wrapper .products-selection,
body#category.category-id-3530 #wrapper section#products {
  display: none !important;
}
/* Por precaución, permitir productos si un filtro de categoría
   llega a marcar una búsqueda activa, como en Kits y Correas. */
body#category.category-id-3530 #wrapper section#products:has(.active-filter-title) {
  display: block !important;
}

/* Sección informativa provisional sin imagen.
   Los nuevos párrafos comerciales y el banner quedan para otra fase. */
body#category.category-id-3530 #wk3-info-baterias {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  padding: 12px 4px 16px !important;
  border-radius: 6px !important;
}
body#category.category-id-3530 #wk3-info-baterias h2 {
  display: block !important;
  color: #173f5f !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 12px !important;
}
body#category.category-id-3530 #wk3-info-baterias p {
  display: block !important;
  color: #333333 !important;
  line-height: 1.55 !important;
  margin: 0 0 12px !important;
}
@media (min-width: 768px) {
  body#category.category-id-3530 #wk3-info-baterias {
    padding: 12px 4px 16px !important;
    margin-top: -30px !important;
  }
  body#category.category-id-3530 #wk3-info-baterias h2 {
    font-size: 22px !important;
  }
  body#category.category-id-3530 #wk3-info-baterias p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}

/* Igualar al WK Nº 1 la presentación aprobada en móviles. */
@media screen and (max-width: 767px) {
  body#category.category-id-3530 .search-engine-plus_3 {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: -30px !important;
    margin-bottom: 0 !important;
    position: relative !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 .searchplus-block.displaytop.home {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 12px 10px 14px !important;
    float: none !important;
    background: #f8f9fa !important;
    border-radius: 6px !important;
  }
  /* El encabezado nativo del módulo permanece configurado,
     pero se usa el encabezado móvil probado sin tocar su texto. */
  body#category.category-id-3530 .search-engine-plus_3 h3.page-subheading {
    display: none !important;
  }
  body#category.category-id-3530 #wk3-titulo-baterias-movil {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #555454 !important;
    text-align: left !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 .searchplus_short_desc {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    text-align: center !important;
    color: #555555 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }
  body#category.category-id-3530 form[data-search-engine-id="3"] {
    display: block !important;
    visibility: visible !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    clear: both !important;
  }
  body#category.category-id-3530 form[data-search-engine-id="3"]::before {
    content: none !important;
    display: none !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 .search-engine-filters,
  body#category.category-id-3530 .search-engine-plus_3 .form-row-home {
    display: block !important;
    visibility: visible !important;
    float: none !important;
    clear: both !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 .form-row-home {
    margin: 0 0 7px !important;
    padding: 0 !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 select[id^="cat_id_3_"] {
    display: block !important;
    visibility: visible !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    opacity: 1 !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 select[id^="cat_id_3_"]:disabled {
    background: #eeeeee !important;
    color: #888888 !important;
    -webkit-text-fill-color: #888888 !important;
  }
  body#category.category-id-3530 .search-engine-plus_3 select[id^="cat_id_3_"]:not(:disabled) {
    background: #ffffff !important;
    color: #173c53 !important;
    -webkit-text-fill-color: #173c53 !important;
  }
  body#category.category-id-3530 form[data-search-engine-id="3"] .buttons-container-plus {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    margin: 7px 0 0 !important;
    padding: 0 0 4px !important;
  }
  body#category.category-id-3530 form[data-search-engine-id="3"] .reset-btnplus,
  body#category.category-id-3530 form[data-search-engine-id="3"] .btn-searchplus {
    position: relative !important;
    float: none !important;
    margin: 0 !important;
  }
  body#category.category-id-3530 form[data-search-engine-id="3"] .btn-searchplus {
    margin-left: auto !important;
    background: linear-gradient(#2496d6, #0879bb) !important;
    background-image: linear-gradient(#2496d6, #0879bb) !important;
    background-color: #1674c3 !important;
    border: 1px solid #075780 !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.25) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }
  body#category.category-id-3530 form[data-search-engine-id="3"] .btn-searchplus * {
    color: #ffffff !important;
  }
  /* La banda azul inferior de 18 px, probada en la consola.
     No recortamos la cabecera ni cambiamos su altura. */
  body#category.category-id-3530 .search-engine-plus_3::after {
    content: '' !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 18px !important;
    background-color: #add8e6 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Ajuste final probado: subida total de 21 px.
     Mantener el título visible, sin taparlo con la cabecera. */
  body#category.category-id-3530 #wk3-info-baterias {
    padding: 12px 14px 16px !important;
    margin-top: -21px !important;
    margin-bottom: 0 !important;
  }
  body#category.category-id-3530 #wk3-info-baterias h2 {
    font-size: 18px !important;
  }
  body#category.category-id-3530 #wk3-info-baterias p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}


/* ===============================================================
   PS 8.2.9 · WK 2 (Correas) + WK 3 (Baterías)
   Misma corrección estructural que WK 1. Mantiene el diseño previo.
   WK identifica los selects por name="cat_id_..."; no por ID.
   =============================================================== */
@media (min-width: 992px) {
  body.wk829-cinco-campos form[data-search-engine-id="2"] .search-engine-filters,
  body.wk829-cinco-campos form[data-search-engine-id="3"] .search-engine-filters {
    display: grid !important;
    grid-template-columns: minmax(0,210fr) minmax(0,224fr) minmax(0,110fr) minmax(0,431fr) minmax(0,161fr) !important;
    gap: 0 7px !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1164px !important;
    margin-inline: auto !important;
    left: auto !important;
  }
  body.wk829-cinco-campos form[data-search-engine-id="2"] .search-engine-filters > *,
  body.wk829-cinco-campos form[data-search-engine-id="3"] .search-engine-filters > * {
    grid-column: 1 / -1;
  }
  body.wk829-cinco-campos form[data-search-engine-id="2"] .search-engine-filters > .form-row-home:has(> select[name^="cat_id_"]),
  body.wk829-cinco-campos form[data-search-engine-id="3"] .search-engine-filters > .form-row-home:has(> select[name^="cat_id_"]) {
    display: block !important;
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }
  body.wk829-cinco-campos form[data-search-engine-id="2"] select[name^="cat_id_"]:not(.select2-hidden-accessible, .select2-offscreen),
  body.wk829-cinco-campos form[data-search-engine-id="3"] select[name^="cat_id_"]:not(.select2-hidden-accessible, .select2-offscreen),
  body.wk829-cinco-campos form[data-search-engine-id="2"] .form-row-home:has(> select[name^="cat_id_"]) > .select2-container,
  body.wk829-cinco-campos form[data-search-engine-id="3"] .form-row-home:has(> select[name^="cat_id_"]) > .select2-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 35px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    opacity: 1 !important;
  }
}
@media (max-width: 991px) {
  body.wk829-cinco-campos form[data-search-engine-id="2"] .form-row-home:has(> select[name^="cat_id_"]),
  body.wk829-cinco-campos form[data-search-engine-id="3"] .form-row-home:has(> select[name^="cat_id_"]) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    transform: none !important;
    float: none !important;
  }
  body.wk829-cinco-campos form[data-search-engine-id="2"] select[name^="cat_id_"]:not(.select2-hidden-accessible, .select2-offscreen),
  body.wk829-cinco-campos form[data-search-engine-id="3"] select[name^="cat_id_"]:not(.select2-hidden-accessible, .select2-offscreen),
  body.wk829-cinco-campos form[data-search-engine-id="2"] .form-row-home:has(> select[name^="cat_id_"]) > .select2-container,
  body.wk829-cinco-campos form[data-search-engine-id="3"] .form-row-home:has(> select[name^="cat_id_"]) > .select2-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    opacity: 1 !important;
  }
}
body.wk829-cinco-campos form[data-search-engine-id="2"] select[name^="cat_id_"]:disabled,
body.wk829-cinco-campos form[data-search-engine-id="3"] select[name^="cat_id_"]:disabled {
  background-color: #e3e4e6 !important;
  color: #65717c !important;
  -webkit-text-fill-color: #65717c !important;
  border-color: #cbd3da !important;
  opacity: 1 !important;
}
body.wk829-cinco-campos form[data-search-engine-id="2"] select[name^="cat_id_"]:enabled,
body.wk829-cinco-campos form[data-search-engine-id="3"] select[name^="cat_id_"]:enabled {
  background-color: #fff !important;
  color: #263746 !important;
  -webkit-text-fill-color: #263746 !important;
  border-color: #cbd3da !important;
  opacity: 1 !important;
}


/* ============================================
   WK Nº 3 - BATERIAS LITIO Y SODIO
   IMAGEN PANORAMICA DEFINITIVA
   PC Y MOVIL - 19/11/2026
   ============================================ */

/* Imagen panoramica */
body#category.category-id-3530
#wk3-info-baterias img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 24px !important;
  margin: 16px auto 0 !important;
}

/* PC */
@media (min-width: 768px) {
  body#category.category-id-3530
  #wk3-info-baterias img {
    border-radius: 24px !important;
    margin-top: 18px !important;
  }
}

/* MOVIL */
@media (max-width: 767px) {
  body#category.category-id-3530
  #wk3-info-baterias img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin-top: 14px !important;
  }

  body#category.category-id-3530
  #wk3-info-baterias h2 {
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  body#category.category-id-3530
  #wk3-info-baterias p {
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
}

/* Step-by-step en resultados WK, páginas informativas y cuenta.
   Aplicar al final de custom.css del tema child_classic. */
body:is(
  #module-rtwkvehicle-results,
  .page-module-rtwkvehicle-results,
  #retrieveproducts,
  #module-wksearchplus-retrieveproducts,
  #cms,
  #contact,
  #authentication,
  #registration,
  #guest-tracking,
  #password,
  #my-account,
  #identity,
  #addresses,
  #address,
  #history,
  #order-detail,
  #order-follow,
  #order-return,
  #order-slip,
  #discount
) #header :is(#sbs_top, #sbs_block_1),
body:has(.rtwk-results) #header :is(#sbs_top, #sbs_block_1) {
  display: none !important;
}

/* ==============================================================
   WK Nº 4 · PORTADA PC AJUSTE MÁS VISIBLE (23-11-2026)
   Objetivo: campos más legibles y ancho similar a Step-by-step.
   ÚNICAMENTE pantallas a partir de 1400 px: no modifica móvil,
   tablet, Step-by-step, WK 1/2/3 ni el slider.
   ============================================================== */
@media screen and (min-width: 1400px) {
  body#index .search-engine-plus_4 .searchplus-block.displaytop.home {
    width: min(1290px, calc(100vw - 48px)) !important;
    max-width: 1290px !important;
    box-sizing: border-box !important;
  }

  /* Proporciones: vehículo 240, marca 235, cc 160, modelo 425, año 155 */
  body#index form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_1, [name^="cat_id_4_1"]) {
    flex: 240 1 0 !important;
  }
  body#index form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_2, [name^="cat_id_4_2"]) {
    flex: 235 1 0 !important;
  }
  body#index form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_3, [name^="cat_id_4_3"]) {
    flex: 160 1 0 !important;
  }
  body#index form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_4, [name^="cat_id_4_4"]) {
    flex: 425 1 0 !important;
  }
  body#index form[data-search-engine-id="4"] .search-engine-filters > .form-row-home:has(.cat_id_4_5, [name^="cat_id_4_5"]) {
    flex: 155 1 0 !important;
  }
}

/* ====================================================================
   STAGING · WK Nº 1 / 2 / 3: IGUALAR CAMPOS A WK Nº 4 EN PC GRANDE
   24-11-2026 · Basado en las proporciones validadas en portada WK4:
   Tipo 240 | Marca 235 | Cilindrada 160 | Modelo 425 | Año 155.
   Solo >= 1400px (mismo breakpoint que el ajuste de WK4).
   No modifica vistas móviles/tablet, Javascript, categorías ni filtros.
   ==================================================================== */
@media screen and (min-width: 1400px) {
  /* Contenedor blanco: ancho y espacio útil como en WK nº 4. */
  body.wk1-kits-pc .search-engine-plus_1 .searchplus-block.displaytop.home,
  body.wk2-correas-pc .search-engine-plus_2 .searchplus-block.displaytop.home,
  body#category.category-id-3530.wk3-baterias-pc .search-engine-plus_3 .searchplus-block.displaytop.home {
    width: min(1290px, calc(100vw - 48px)) !important;
    max-width: 1290px !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
  }

  /* Misma distribución proporcional de los cinco campos. */
  body.wk1-kits-pc form[data-search-engine-id="1"] .search-engine-filters,
  body.wk2-correas-pc form[data-search-engine-id="2"] .search-engine-filters,
  body#category.category-id-3530.wk3-baterias-pc form[data-search-engine-id="3"] .search-engine-filters {
    display: grid !important;
    grid-template-columns: minmax(0, 240fr) minmax(0, 235fr) minmax(0, 160fr) minmax(0, 425fr) minmax(0, 155fr) !important;
    column-gap: 5px !important;
    row-gap: 0 !important;
    justify-content: stretch !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
    left: auto !important;
  }

  /* Los textos generales no ocupan una sola columna de filtros. */
  body.wk1-kits-pc form[data-search-engine-id="1"] .search-engine-filters > *,
  body.wk2-correas-pc form[data-search-engine-id="2"] .search-engine-filters > *,
  body#category.category-id-3530.wk3-baterias-pc form[data-search-engine-id="3"] .search-engine-filters > * {
    grid-column: 1 / -1;
  }

  /* Solo los desplegables ocupan una columna cada uno. */
  body.wk1-kits-pc form[data-search-engine-id="1"] .search-engine-filters > .form-row-home:has(> select[name^="cat_id_"]),
  body.wk2-correas-pc form[data-search-engine-id="2"] .search-engine-filters > .form-row-home:has(> select[name^="cat_id_"]),
  body#category.category-id-3530.wk3-baterias-pc form[data-search-engine-id="3"] .search-engine-filters > .form-row-home:has(> select[name^="cat_id_"]) {
    grid-column: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    transform: none !important;
  }

  /* WK nº 2 y 3 tenían widths fijos con ID: neutralizarlos en PC grande. */
  body.wk2-correas-pc #cat_id_2_1,
  body.wk2-correas-pc #cat_id_2_2,
  body.wk2-correas-pc #cat_id_2_3,
  body.wk2-correas-pc #cat_id_2_4,
  body.wk2-correas-pc #cat_id_2_5,
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_1,
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_2,
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_3,
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_4,
  body#category.category-id-3530.wk3-baterias-pc #cat_id_3_5 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* También contemplar las vistas select2 y los select con name. */
  body.wk1-kits-pc form[data-search-engine-id="1"] .form-row-home select[name^="cat_id_"],
  body.wk2-correas-pc form[data-search-engine-id="2"] .form-row-home select[name^="cat_id_"],
  body#category.category-id-3530.wk3-baterias-pc form[data-search-engine-id="3"] .form-row-home select[name^="cat_id_"],
  body.wk1-kits-pc form[data-search-engine-id="1"] .form-row-home > .select2-container,
  body.wk2-correas-pc form[data-search-engine-id="2"] .form-row-home > .select2-container,
  body#category.category-id-3530.wk3-baterias-pc form[data-search-engine-id="3"] .form-row-home > .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* RTWK · Ficha abierta desde resultados filtrados de moto.
   Añadir UNA SOLA VEZ al final de themes/child_classic/assets/css/custom.css.
   No afecta al resto de productos, ni a portada ni a WK nº 1/2/3/4.
*/
body#product.rtwk-from-compatible-list #header #sbs_top,
body#product.rtwk-from-compatible-list #header #sbs_block_1 {
  display: none !important;
}

body#product.rtwk-from-compatible-list .rtwk-product-quicknav {
  background: #eff5f9;
  border-bottom: 1px solid #d1dfe9;
  color: #173f5f;
  padding: 12px 20px;
}
body#product.rtwk-from-compatible-list .rtwk-product-quicknav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1390px;
  margin: 0 auto;
}
body#product.rtwk-from-compatible-list .rtwk-product-vehicle {
  font-size: 14px;
  line-height: 1.4;
  color: #173f5f !important;
}
body#product.rtwk-from-compatible-list .rtwk-product-quicknav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
body#product.rtwk-from-compatible-list a.rtwk-product-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #173f5f;
  background: #fff;
  border: 1px solid #173f5f;
}
body#product.rtwk-from-compatible-list a.rtwk-change-moto,
body#product.rtwk-from-compatible-list a.rtwk-product-nav-button:hover,
body#product.rtwk-from-compatible-list a.rtwk-product-nav-button:focus-visible {
  background: #173f5f;
  color: #fff;
}
@media (min-width: 992px) {
  /* No reservar altura para el antiguo buscador. */
  body#product.rtwk-from-compatible-list #header .header-top {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 767px) {
  body#product.rtwk-from-compatible-list .rtwk-product-quicknav {padding: 12px 10px;}
  body#product.rtwk-from-compatible-list .rtwk-product-quicknav-links {width: 100%;}
  body#product.rtwk-from-compatible-list a.rtwk-product-nav-button {
    min-height: 38px;
    flex: 1 1 auto;
    padding: 8px;
    font-size: 12px;
  }
}

/* Ocultar breadcrumb tradicional en productos con navegación RTWK */
body#product:has(.rtwk-product-quicknav) #wrapper .breadcrumb {
    display: none !important;
}


/* Ocultar Step-by-step en carrito y checkout */
body:is(#cart, #order, #order-confirmation,
        .page-cart, .page-order, .page-order-confirmation) #sbs_top,
body:is(#cart, #order, #order-confirmation,
        .page-cart, .page-order, .page-order-confirmation) #sbs_block_1 {
    display: none !important;
}


/* ==========================================
   CECA - OCULTAR STEP-BY-STEP EN EL PAGO
   PC Y MOVIL
   ========================================== */

body#module-ceca-payment #header #sbs_top,
body#module-ceca-payment #header #sbs_block_1 {
    display: none !important;
}

/* MOTORRECAMBIO - Corregir espacio vacío de 24px
   entre Step-by-step y WK4 en Inicio móvil */

@media (max-width: 767px) {
  body#index #header > div.hidden-md-up.text-center[style*="padding: 12px 15px"] {
    display: none !important;
  }
}


/* Ocultar acceso profesional móvil en páginas interiores */
@media (max-width: 767px) {
  body:not(#index) #header > .hidden-md-up.text-center {
    display: none !important;
  }
}

/* =====================================
   LOGOS DE MARCAS - VERSION MOVIL
   Prueba: SUMCO 42 / DAYANG 3303
   ===================================== */

@media (max-width: 767px) {

  body:is(.category-id-42, .category-id-3303)
  .block-category .block-category-inner {
    display: block !important;
  }

  body:is(.category-id-42, .category-id-3303)
  .block-category .category-cover {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 200px !important;
    max-width: 100% !important;
    margin: 18px auto !important;
  }

  body:is(.category-id-42, .category-id-3303)
  .block-category .category-cover picture {
    display: block !important;
  }

  body:is(.category-id-42, .category-id-3303)
  .block-category .category-cover img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

}


/* SUMCO (42) y DAYANG (3303)
   Logotipos de categoría - PC y móvil */

body.category-id-42 .block-category .category-cover,
body.category-id-3303 .block-category .category-cover {
    width: 290px !important;
    max-width: 100% !important;
}

body.category-id-42 .block-category .category-cover img,
body.category-id-3303 .block-category .category-cover img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Móvil: logo centrado y proporcionado */
@media (max-width: 767px) {
    body.category-id-42 .block-category .category-cover,
    body.category-id-3303 .block-category .category-cover {
        width: 220px !important;
        max-width: 100% !important;
        margin: 18px auto !important;
    }
}

/* =====================================================
   CATEGORIAS POR MOTO - MEJORAS PC Y MOVIL
   30-11-2026
   Marcas y modelos dentro de Encuentra tu moto (ID 40)
   ===================================================== */

/* PC: imagen de categoría de 290px */
@media (min-width: 768px) {

  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .block-category .category-cover {
    width: 290px !important;
    max-width: 100% !important;
  }

  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .block-category .category-cover img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* MOVIL: imágenes y navegación simplificada */
@media (max-width: 767px) {

  /* Mostrar las imágenes de categorías */
  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .block-category .block-category-inner {
    display: block !important;
  }

  /* Imagen centrada y reducida a 203px */
  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .block-category .category-cover {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 203px !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    padding: 0 !important;
  }

  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .block-category .category-cover picture {
    display: block !important;
  }

  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .block-category .category-cover img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Ocultar última miga, conservando navegación */
  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .breadcrumb ol > li:last-child {
    display: none !important;
  }

  /* Eliminar separador sobrante */
  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ) .breadcrumb ol > li:nth-last-child(2)::after {
    display: none !important;
  }

  /* Ocultar descripción solo en páginas de MARCA */
  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ):has(
    .breadcrumb ol > li:nth-child(3):last-child
  ) .block-category #category-description,
  body#category:has(
    .breadcrumb a[href*="/40-encuentra-tu-moto-marca-modelo"]
  ):has(
    .breadcrumb ol > li:nth-child(3):last-child
  ) .block-category .category-description {
    display: none !important;
  }
}