/* Estilos para la tienda WooCommerce */

/* Estilos generales */
.woocommerce-content {
    min-height: 60vh;
}

/* Barra lateral de la tienda */
.shop-sidebar {
    margin-bottom: 30px;
}

.shop-sidebar h4 {
    font-weight: 600;
    font-size: 30px;
    color: #353534;
}

.shop-sidebar ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar ul.product-categories li {
    margin-bottom: 8px;
}

.shop-sidebar ul.product-categories li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.shop-sidebar ul.product-categories li a:hover {
    font-weight: 600;
    padding-left: 5px;
}

/* Estilos para la página de la tienda */
.shop-banner {
    background-color: #f7f7f7;
    padding: 30px 0;
    margin-bottom: 30px;
}

/* Tarjetas de categoría */
.category-card .card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.category-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

/* Tarjetas de producto */
.product-card {
    transition: all 0.3s ease;
    border-radius: 0;
    border: 1px solid #C2C2C2;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image-container {
    height: 200px;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 8px;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 10px;
}

.product-price del {
    color: #999;
    font-weight: normal;
    margin-right: 5px;
}

.product-price ins {
    text-decoration: none;
}

/* Estilos para la página de producto individual */
.single-product-container {
    padding: 30px 0;
}

.product-gallery {
    margin-bottom: 30px;
}

.product-summary h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.product-summary .price {
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-bottom: 20px;
}

.product-summary .cart {
    margin-top: 20px;
}

.quantity input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 0;
}

.woocommerce-tabs {
    margin-top: 40px;
}

/* Estilos responsive */
@media (max-width: 767px) {
    .product-image-container {
        height: 150px;
    }
    
    .category-image {
        height: 120px;
    }
    
    .shop-banner h1 {
        font-size: 2rem;
    }
}

.woocommerce ul.products li.product .price {
    color: #353534;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    ins {
        text-decoration: none;
    }

}

.woocommerce ul.products li.product a img {
    object-fit: contain;
}