.elementor-14331 .elementor-element.elementor-element-eef8b5a{--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-14331 .elementor-element.elementor-element-0eea5be{--display:flex;}/* Start custom CSS for html, class: .elementor-element-1f7c722 *//* Layout General */
#ais-main { display: flex; gap: 35px; margin-top: 20px; align-items: flex-start; }
#ais-facets { width: 250px; flex-shrink: 0; }
#ais-results { flex-grow: 1; }

/* BARRA DE BÚSQUEDA A ANCHO COMPLETO */
#searchbox { margin-bottom: 30px; }
.ais-SearchBox-input {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
}

/* Cuadrícula de 4 columnas */
.ais-Hits-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
}

/* Tarjetas y Precio */
.product-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    background: #fff;
    height: 100%;
}
.product-card img { max-width: 100%; height: 150px; object-fit: contain; }
.product-price { 
    font-weight: bold; 
    font-size: 1.2em; 
    margin-top: 15px; 
    color: #333; 
}
.product-link { text-decoration: none; color: inherit; }

/* CORRECCIÓN PAGINADO HORIZONTAL */
.ais-Pagination-list {
    display: flex !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 !important;
    gap: 8px !important;
}
.ais-Pagination-item { display: inline-block !important; }
.ais-Pagination-link {
    display: block !important;
    padding: 8px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: #333 !important;
}
.ais-Pagination-item--selected .ais-Pagination-link {
    background: #8cc63f !important;
    color: white !important;
    border-color: #8cc63f !important;
}

/* Categorías con paréntesis */
.ais-RefinementList-count::before { content: "("; }
.ais-RefinementList-count::after { content: ")"; }
.ais-RefinementList-count { margin-left: 5px; color: #888; background: none !important; }/* End custom CSS */