.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* =========================================================
   BORJA VALVES · ARCHIVO DE PRODUCTOS
   ========================================================= */

:root {
    --borja-red: #A40233;
    --borja-dark: #1C1C1E;
    --borja-text: #6B7280;
    --borja-light: #F5F5F7;
    --borja-border: #E5E7EB;
    --borja-count: #B8BCC3;
}


/* =========================================================
   1. ESTRUCTURA GENERAL
   ========================================================= */

.borja-shop-layout {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    width: 100%;
}

.borja-filters {
    width: 260px;
    min-width: 260px;
    flex: 0 0 260px;
}

.borja-catalogo {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   2. TIPOGRAFÍA GENERAL DEL SIDEBAR
   ========================================================= */

.borja-filters,
.borja-filters a,
.borja-filters span,
.borja-filters li {
    font-family: "Work Sans", sans-serif;
}

.borja-filters .widget-title,
.borja-filters h2,
.borja-filters h3,
.borja-filters h4,
.borja-filters h5 {
    font-family: "League Spartan", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--borja-dark);

    margin: 0 0 16px;
}


/* =========================================================
   3. BLOQUES DE FILTROS
   ========================================================= */

.borja-filters .widget {
    margin: 0;
    padding: 28px 0;
    border-bottom: 1px solid var(--borja-border);
}

.borja-filters .widget:first-child {
    padding-top: 0;
}

.borja-filters .widget:last-child {
    border-bottom: 0;
}

.borja-filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* =========================================================
   4. CATEGORÍAS PRINCIPALES
   ========================================================= */

.borja-filters .product-categories > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;

    padding: 11px 4px;
    margin: 0;

    border-bottom: 1px solid var(--borja-border);
}

.borja-filters .product-categories > li:last-child {
    border-bottom: 0;
}

.borja-filters .product-categories > li > a {
    padding: 0 !important;
    margin: 0 !important;

    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--borja-dark);
    text-decoration: none;

    transition: color .2s ease;
}

.borja-filters .product-categories > li > a:hover,
.borja-filters .product-categories > li.current-cat > a,
.borja-filters .product-categories > li.current-cat-parent > a {
    color: var(--borja-red);
}

.borja-filters .product-categories > li > .count {
    padding: 0 !important;
    margin: 0 !important;

    font-family: "Work Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;

    color: var(--borja-count);
    white-space: nowrap;
}


/* =========================================================
   5. SUBCATEGORÍAS
   ========================================================= */

.borja-filters .product-categories > li > .children {
    grid-column: 1 / -1;

    width: 100%;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

.borja-filters .product-categories .children li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;

    margin: 0;
    padding: 7px 0 7px 14px;

    border-left: 2px solid var(--borja-border);

    transition: border-color .2s ease;
}

.borja-filters .product-categories .children li:hover,
.borja-filters .product-categories .children li.current-cat {
    border-left-color: var(--borja-red);
}

.borja-filters .product-categories .children li a {
    padding: 0 !important;
    margin: 0 !important;

    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;

    color: var(--borja-text);
    text-decoration: none;

    transition: color .2s ease;
}

.borja-filters .product-categories .children li a:hover,
.borja-filters .product-categories .children li.current-cat > a {
    color: var(--borja-red);
}

.borja-filters .product-categories .children li .count {
    padding: 0 !important;
    margin: 0 !important;

    font-size: 11px;
    line-height: 1;

    color: var(--borja-count);
    white-space: nowrap;
}


/* =========================================================
   6. FILTROS POR ATRIBUTO
   Aplicaciones / Temperatura
   ========================================================= */

.borja-filters .woocommerce-widget-layered-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;

    margin: 0;
    padding: 0 7px 0 0;

    max-height: 215px;
    overflow-y: auto;
}

.borja-filters .woocommerce-widget-layered-nav-list li {
    display: flex;
    align-items: center;

    padding: 5px 0 !important;
    margin: 0 !important;
}

.borja-filters .woocommerce-widget-layered-nav-list li a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 0 !important;
    margin: 0 !important;

    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    color: var(--borja-text);
    text-decoration: none;

    transition: color .2s ease;
}


/* Checkbox visual */

.borja-filters .woocommerce-widget-layered-nav-list li a::before {
    content: "";

    display: block;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;

    background: #fff;
    border: 1px solid #C9CDD3;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.borja-filters .woocommerce-widget-layered-nav-list li a:hover {
    color: var(--borja-dark);
}

.borja-filters .woocommerce-widget-layered-nav-list li a:hover::before {
    border-color: var(--borja-red);
}


/* Checkbox seleccionado */

.borja-filters .woocommerce-widget-layered-nav-list li.chosen a {
    color: var(--borja-red);
    font-weight: 500;
}

.borja-filters .woocommerce-widget-layered-nav-list li.chosen a::before {
    background: var(--borja-red);
    border-color: var(--borja-red);

    box-shadow: inset 0 0 0 3px #fff;
}


/* Contadores de atributos */

.borja-filters .woocommerce-widget-layered-nav-list .count {
    margin-left: 5px;

    font-family: "Work Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;

    color: var(--borja-count);
}


/* Scroll fino */

.borja-filters .woocommerce-widget-layered-nav-list::-webkit-scrollbar {
    width: 5px;
}

.borja-filters .woocommerce-widget-layered-nav-list::-webkit-scrollbar-track {
    background: transparent;
}

.borja-filters .woocommerce-widget-layered-nav-list::-webkit-scrollbar-thumb {
    background: var(--borja-border);
}


/* =========================================================
   7. CONTADOR DE RESULTADOS
   ========================================================= */

.borja-catalogo .woocommerce-result-count {
    float: none !important;

    margin: 0 0 28px !important;

    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    color: var(--borja-text);
}


/* =========================================================
   8. QUITAR ORDENACIÓN
   ========================================================= */

.borja-catalogo .woocommerce-ordering {
    display: none !important;
}


/* =========================================================
   9. GRID DE PRODUCTOS
   ========================================================= */

.borja-catalogo ul.products {
    display: grid !important;

    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    column-gap: 24px !important;
    row-gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.borja-catalogo ul.products::before,
.borja-catalogo ul.products::after {
    display: none !important;
}


/* =========================================================
   10. TARJETA DE PRODUCTO
   ========================================================= */

.borja-catalogo ul.products li.product {
    float: none !important;
    width: 100% !important;

    display: flex;
    flex-direction: column;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff;

    border: 1px solid var(--borja-border);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.borja-catalogo ul.products li.product:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 44px rgba(0, 0, 0, .08);
}


/* =========================================================
   11. ENLACE DEL PRODUCTO
   ========================================================= */

.borja-catalogo ul.products li.product > a {
    display: flex;
    flex-direction: column;
    flex: 1;

    width: 100%;

    color: inherit;
    text-decoration: none !important;
}


/* =========================================================
   12. IMAGEN
   ========================================================= */

.borja-catalogo ul.products li.product img {
    display: block;

    width: 100% !important;
    height: auto;

    aspect-ratio: 1 / 1;

    object-fit: contain;

    padding: 24px;
    margin: 0 !important;

    background: #fff;

    transition: transform .4s ease;
}

.borja-catalogo ul.products li.product:hover img {
    transform: scale(1.045);
}


/* =========================================================
   13. TÍTULO DEL PRODUCTO
   ========================================================= */

.borja-catalogo .woocommerce-loop-product__title {
    flex: 1;

    display: flex;
    align-items: flex-start;

    min-height: 78px;

    margin: 0 !important;
    padding: 17px 18px 20px !important;

    background: var(--borja-light);

    border-top: 1px solid var(--borja-border);

    font-family: "League Spartan", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;

    color: var(--borja-dark) !important;

    transition: color .2s ease;
}

.borja-catalogo ul.products li.product:hover
.woocommerce-loop-product__title {
    color: var(--borja-red) !important;
}


/* =========================================================
   14. QUITAR BOTONES / PRECIOS / ELEMENTOS DE COMPRA
   ========================================================= */

.borja-catalogo ul.products li.product .button,
.borja-catalogo ul.products li.product .added_to_cart {
    display: none !important;
}


/* Si en Borja no se muestran precios */
.borja-catalogo ul.products li.product .price {
    display: none !important;
}


/* =========================================================
   15. PAGINACIÓN
   ========================================================= */

.borja-catalogo nav.woocommerce-pagination {
    margin-top: 44px;
}

.borja-catalogo nav.woocommerce-pagination ul {
    display: flex;
    gap: 6px;

    border: 0 !important;
}

.borja-catalogo nav.woocommerce-pagination ul li {
    border: 0 !important;
}

.borja-catalogo nav.woocommerce-pagination ul li a,
.borja-catalogo nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    border: 1px solid var(--borja-border);

    background: #fff;

    font-family: "Work Sans", sans-serif;
    font-size: 13px;

    color: var(--borja-dark);

    transition: .2s ease;
}

.borja-catalogo nav.woocommerce-pagination ul li a:hover,
.borja-catalogo nav.woocommerce-pagination ul li span.current {
    background: var(--borja-red);
    border-color: var(--borja-red);

    color: #fff;
}


/* =========================================================
   16. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .borja-shop-layout {
        gap: 32px;
    }

    .borja-filters {
        width: 220px;
        min-width: 220px;
        flex-basis: 220px;
    }

    .borja-catalogo ul.products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   17. MÓVIL
   Por ahora filtros encima.
   Después podemos convertirlos en panel lateral.
   ========================================================= */

@media (max-width: 767px) {

    .borja-shop-layout {
        display: flex;
        flex-direction: column;

        gap: 32px;
    }

    .borja-filters {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }

    .borja-catalogo {
        width: 100%;
    }

    .borja-catalogo ul.products {
        grid-template-columns: 1fr !important;

        column-gap: 0 !important;
        row-gap: 20px !important;
    }

    .borja-catalogo ul.products li.product img {
        padding: 28px;
    }
}
/* =========================================================
   FILTROS SELECCIONADOS · CHECK CON TICK
   ========================================================= */

/* Quitar iconos automáticos de WooCommerce/tema */
.borja-filters .woocommerce-widget-layered-nav-list li::before,
.borja-filters .widget_layered_nav li::before {
    content: none !important;
    display: none !important;
}

/* Checkbox normal */
.borja-filters .woocommerce-widget-layered-nav-list li a::before {
    content: "" !important;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 13px;
    height: 13px;
    flex: 0 0 13px;

    border: 1px solid #C9CDD3;
    background: #fff;

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    box-shadow: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}

/* Checkbox activo */
.borja-filters .woocommerce-widget-layered-nav-list li.chosen a::before {
    content: "✓" !important;

    background: #A40233;
    border-color: #A40233;

    color: #fff;

    box-shadow: none !important;
}
/* =========================================================
   FILTROS ACTIVOS
   ========================================================= */

.borja-filters .widget_layered_nav_filters {
    margin: 0 0 28px;
    padding: 0 0 24px;

    border-bottom: 1px solid #E5E7EB;
}

.borja-filters .widget_layered_nav_filters .widget-title {
    margin: 0 0 12px !important;

    font-family: "League Spartan", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.15;

    letter-spacing: .06em;
    text-transform: uppercase;

    color: #1C1C1E !important;
}

.borja-filters .widget_layered_nav_filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}

.borja-filters .widget_layered_nav_filters ul li {
    padding: 0 !important;
    margin: 0 !important;
}

/* Quitamos el icono predeterminado */
.borja-filters .widget_layered_nav_filters ul li::before {
    content: none !important;
    display: none !important;
}

/* Etiqueta */
.borja-filters .widget_layered_nav_filters ul li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 9px !important;

    border: 1px solid #E5E7EB;
    background: #F5F5F7;

    font-family: "Work Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400;

    color: #6B7280 !important;
    text-decoration: none !important;

    transition:
        border-color .2s ease,
        color .2s ease,
        background-color .2s ease;
}

/* Nuestra X para eliminar */
.borja-filters .widget_layered_nav_filters ul li a::before {
    content: "×" !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 14px;
    height: 14px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;

    color: #A40233;
}

.borja-filters .widget_layered_nav_filters ul li a:hover {
    border-color: #A40233;
    background: #fff;
    color: #1C1C1E !important;
}
/* =========================================================
   TRANSICIÓN DEL CATÁLOGO
   ========================================================= */

.borja-shop-layout {
    animation: borjaShopFadeIn .32s ease both;
}

@keyframes borjaShopFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado antes de navegar */
.borja-shop-layout.borja-is-leaving {
    opacity: 0;
    transform: translateY(4px);

    transition:
        opacity .16s ease,
        transform .16s ease;
}/* End custom CSS */