.elementor-823 .elementor-element.elementor-element-39d62346{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-animated-headline .elementor-headline-plain-text{color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-animated-headline{--dynamic-text-color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline-dynamic-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper path{stroke:var( --e-global-color-accent );}.elementor-823 .elementor-element.elementor-element-531e829{--iteration-count:infinite;--animation-duration:1200ms;--dynamic-text-color:var( --e-global-color-4d1f8e5 );}.elementor-823 .elementor-element.elementor-element-531e829 .elementor-headline{text-align:center;font-family:"Exo", Sans-serif;font-size:40px;font-weight:400;}.elementor-823 .elementor-element.elementor-element-531e829 .elementor-headline-plain-text{color:var( --e-global-color-4d1f8e5 );}.elementor-823 .elementor-element.elementor-element-531e829 .elementor-headline .elementor-headline-plain-text{-webkit-text-stroke-color:#000;stroke:#000;}.elementor-823 .elementor-element.elementor-element-531e829 .elementor-headline-dynamic-text{font-family:"Exo", Sans-serif;font-weight:400;}.elementor-823 .elementor-element.elementor-element-531e829 .elementor-headline-dynamic-wrapper path{stroke:var( --e-global-color-accent );}.elementor-823 .elementor-element.elementor-element-3d0f2d3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-823 .elementor-element.elementor-element-3d0f2d3.e-con{--flex-grow:0;--flex-shrink:0;}@media(min-width:768px){.elementor-823 .elementor-element.elementor-element-3d0f2d3{--width:98.815%;}}/* Start custom CSS for shortcode, class: .elementor-element-dd0da01 *//* ===== FUENTE GLOBAL ===== */
body, .woocommerce {
    font-family: 'Poppins', sans-serif !important;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.categorias-productos-filtros-container {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== BUSCADOR DE CATEGORÍAS ===== */
#buscadorCategorias {
    width: 100%;
    padding: 5px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #1E3A5F;
    margin-bottom: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* ===== LISTA DE CATEGORÍAS ===== */
.mi-lista-expandible {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.categoria-caja {
    background: #fefefe;
    padding: 5px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.categoria-caja:hover {
    background: #f0f8ff;
    border-color: #aad;
}

.categoria-link {
    text-decoration: none;
    color: #1E3A5F;
    font-weight: 600; /* Más grueso */
    font-size: 14px;
    display: block;
    border-bottom: 1px solid transparent;
    padding: 6px 10px;
    border-radius: 6px;
    transition: none; /* Elimina efecto de transición */
    position: relative;
    z-index: 1;
}

.categoria-link:hover {
    background-color: transparent;
    color: #1E3A5F;
    border-bottom: 1px solid transparent;
}

/* ===== CATEGORÍA ACTIVA (rellena todo el cuadro) ===== */
.categoria-caja {
    position: relative;
    overflow: hidden;
}

.categoria-link.current {
    background-color: transparent !important;
    color: white !important;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.categoria-link.current::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -15px;
    right: -15px;
    bottom: -5px;
    background-color: #0960af;
    border-radius: 10px;
    z-index: -1;
}

/* ===== OPCIONAL: contador dentro de categoría activa ===== */
.categoria-link.current .categoria-count {
    background-color: white;
    color: #0960af;
}

.categoria-count {
    background: #ffc107;
    color: #222;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 12px;
}

.toggle-subcats {
    position: absolute;
    right: 15px;
    top: 4px;
    background: #1e3a5f;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
    text-align: center;
    padding: 0;
}

.subcategorias {
    list-style: none;
    padding-left: 15px;
}

/* ===== CONTENEDOR DE PRODUCTOS ===== */
.productos-container {
    flex: 1;
}

/* ===== GRID DE PRODUCTOS ===== */
.products.columns-4 {
    display: block;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.products.columns-4 li.product {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    margin:10px; 
    padding: 0;
    font-size: 1em;
    text-align: left;
}

.products.columns-4 li.product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.woocommerce-loop-product__title {
    font-size: 18px;
    color: #D63232;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}

.price {
    color: #E5893B !important;
    font-weight: 800;
    font-size: 20px;
    margin: 10px 0;
    padding: 0 15px;
    text-align: left;
    display: block;
}

/* ===== BOTONES ===== */
.product-actions {
    padding: 0 15px 15px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.add_to_cart_button,
.woocommerce ul.products li.product .button {
    background-color: #0F356C !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    width: 100% !important;
    text-align: center;
    text-transform: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
    background-color: #163456 !important;
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ===== PRECIO (OCULTO) ===== */
.price,
.woocommerce .price,
.woocommerce-page .price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .summary .price,
.woocommerce div.product .product_meta .price,
.woocommerce div.product .woocommerce-Price-amount {
    display: none !important;
}

/* ===== PAGINACIÓN ===== */
.woocommerce-pagination {
    margin-top: 30px;
    text-align: center;
}

.numeros-paginacion {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 15px;
}

.page-number {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.page-number.current {
    background: #1e3a5f;
    color: white;
    border-color: #1e3a5f;
}

/* ===== BOTÓN "VER TODOS LOS PRODUCTOS" ===== */
.ver-todos-productos {
    display: inline-block;
    padding: 5px 10px;
    color: #1E3A5F;
    background: #ffc107;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.ver-todos-productos:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .categorias-productos-filtros-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products.columns-4 {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la Paginación Limitada - VERSIÓN PLANA Y COLOR AZUL OSCURO */
.woocommerce-pagination {
    text-align: center;
    margin-top: 30px;
}

.woocommerce-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 0; /* Sin espacio entre números para un look de "bloque" */
    font-size: 15px;
}

.woocommerce-pagination .page-numbers li {
    display: inline-block;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid transparent; /* Bordes transparentes para simular "sin borde" */
    color: #555;
    transition: all 0.2s ease;
    min-width: 30px; 
    text-align: center;
    box-sizing: border-box;
    /* Opción: puedes poner un border-bottom sutil si quieres un pequeño separador */
    /* border-bottom: 2px solid #eee; */ 
}

/* Ajuste para esquinas sutilmente redondeadas en los extremos si es necesario */
.woocommerce-pagination .page-numbers li:first-child a,
.woocommerce-pagination .page-numbers li:first-child span {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.woocommerce-pagination .page-numbers li:last-child a,
.woocommerce-pagination .page-numbers li:last-child span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Estilo para los botones Anterior/Siguiente */
.woocommerce-pagination .page-numbers .prev,
.woocommerce-pagination .page-numbers .next {
    background-color: #f7f7f7; /* Un fondo muy claro */
    border: 1px solid #eee; /* Un borde externo muy sutil para separarlos */
    color: #333;
    font-weight: 500;
}

/* Estilo al pasar el mouse (hover) */
.woocommerce-pagination .page-numbers a:hover {
    background-color: #e0e0e0;
    color: #333;
}
.woocommerce-pagination .page-numbers .prev:hover,
.woocommerce-pagination .page-numbers .next:hover {
    background-color: #ddd;
}

/* Estilo para la página actual (resaltado con #0F356C) */
.woocommerce-pagination .page-numbers .current {
    background-color: #0F356C; /* <--- COLOR PRINCIPAL SOLICITADO */
    border: 1px solid #0F356C;
    color: white; 
    font-weight: bold;
    z-index: 1; 
}

/* Estilo para los puntos suspensivos */
.woocommerce-pagination .page-numbers .dots {
    border: none;
    background: none;
    color: #555;
    cursor: default;
    padding: 8px 5px;
}

/* Estilo para el botón "Ver todos" (Separado) */
.woocommerce-pagination .ver-todos-productos {
    margin-left: 15px;
    display: inline-block;
    padding: 8px 15px;
    background-color: #28a745; /* Verde para acción secundaria */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    transition: background-color 0.2s;
}
.woocommerce-pagination .ver-todos-productos:hover {
    background-color: #1e7e34;
}/* End custom CSS */