/* WooCommerce Product Grid Styles */

/* Product Card */
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}
.woocommerce ul.products li.product .onsale {
    top: 15px;
    right: 15px;
}
/* Product Image */
.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 10px 10px 0 0;
    transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #02b290;
}

/* Product Price */
.woocommerce ul.products li.product .price {
    padding: 0 20px;
    margin-bottom: 10px;
    color: #02b290;
    font-size: 1.1em;
    font-weight: 600;
}

.woocommerce ul.products li.product .price del {
    color: #999;
    opacity: 0.7;
    font-weight: normal;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    margin: 0 20px 20px;
    padding: 12px 20px;
    background-color: #02b290;
    color: #fff;
    border-radius: 5px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #018e73;
    color: #fff;
    transform: translateY(-2px);
}

/* Sale Badge */
.woocommerce span.onsale {
    background-color: #ff6b6b;
    min-height: auto;
    min-width: auto;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.8em;
    font-weight: 600;
    top: 15px;
    left: 15px;
}
.woocommerce thead {
    background: #000;
    text-align: center;
}

.woocommerce thead th {
    padding: 5px!important;
    text-align: center !important;
}
/* Quick View Popup */
.xshop-quickview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    z-index: 5;
}

.woocommerce ul.products li.product:hover .xshop-quickview {
    opacity: 1;
}

/* Product Meta Info */
.product-meta {
    padding: 10px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-category {
    font-size: 0.85em;
    color: #777;
}

/* Stock Status */
.woocommerce ul.products li.product .stock {
    color: #02b290;
    font-size: 0.85em;
    margin: 0 20px;
}

.woocommerce ul.products li.product .out-of-stock {
    color: #ff6b6b;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
    margin: 30px 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0 5px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 12px 18px;
    background: #f5f5f5;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #02b290;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .button {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}
