/* ==========================================================================
   4. WOOCOMMERCE & PRODUCTS
   ========================================================================== */

/* Grid & Layout */
.woocommerce ul.products {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
}

.woocommerce ul.products.columns-4 li.product {
    width: calc(25% - 15px) !important;
    margin-right: 0 !important;
    margin-bottom: 0px !important;
    margin-top: 40px;
    float: none !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products.columns-4 li.product {
        width: calc(50% - 10px) !important;
    }
}

@media (max-width: 600px) {
    .woocommerce ul.products.columns-4 li.product {
        width: 100% !important;
    }
}

/* Tarjeta de Producto */
.wc-block-grid__product, .product.type-product {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

.wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05) !important;
}

.wc-block-grid__product-title, .woocommerce-loop-product__title {
    color: #002855 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
    height: 40px;
    overflow: hidden;
}

.wc-block-grid__product-price, .price {
    color: #333 !important;
    font-size: 1.4em !important;
    font-weight: 800 !important;
    display: block !important;
    margin-top: 5px !important;
}

.star-rating {
    color: #ffb400 !important;
    font-size: 12px !important;
}

.add_to_cart_button, .ajax_add_to_cart, .single_add_to_cart_button {
    display: none !important;
}

/* Sidebar & Filtros */
.widget-filtro ul {
    list-style: none;
    padding: 0;
}

.widget-filtro ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    color: #333;
}

.widget-filtro ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #e1e8f0;
    border-radius: 4px;
    background: #fff;
    transition: 0.2s;
}

.widget-filtro ul li.chosen::before {
    background-color: #00225B;
    border-color: #00225B;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.titulo-filtro {
    color: #00225B;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}