/* WooCommerce specific styles for Woof Meow Shop */
/* This file imports the main site styles and adds WooCommerce-specific overrides */

/* Import base styles */
@import url("https://woofmeow.ca/styles.css");

/* WooCommerce product grid adjustments */
body.woocommerce-page ul.products {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
    margin: 30px 0;
}

body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
    display: none !important;
    content: none !important;
}

body.woocommerce-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    padding: 0;
}

body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
}

body.woocommerce-page ul.products li.product img {
    width: 100% !important;
    max-width: 220px !important;
    height: 220px !important;
    object-fit: contain !important;
    background-color: transparent !important;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Product title styling */
body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-title {
    font-size: 18px;
    font-weight: 700;
    color: #E4E4E7;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Price styling to match main site */
body.woocommerce-page ul.products li.product .price {
    font-size: 16px;
    margin-bottom: 12px;
}

/* Single product page styles */
.single-product .product .summary {
    padding: 0;
}

.single-product .product .woocommerce-product-rating {
    margin-bottom: 15px;
}

/* Catalog mode badge for single products */
.single-product .product .single-catalog-badge {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Product meta styling */
.woocommerce-product-details__short-description {
    color: #E4E4E7;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Catalog mode badge styling for archive pages */
body.woocommerce-page ul.products li.product .product-sku {
    display: none !important;
}

/* Available In-Store • Online Ordering Coming Soon badge styling */
body.woocommerce-page ul.products li.product .in-store-badge {
    display: inline-block;
    width: auto;
    max-width: 100%;
    border-radius: 999px;
    white-space: normal;
    padding: 6px 14px;
    font-size: 12px;
    line-height: 1.3;
    background-color: #f0f0f0;
    color: #333;
    margin-top: 8px;
}

/* Responsive adjustments for WooCommerce */
@media (max-width: 768px) {
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-title {
        font-size: 16px;
    }
    
    body.woocommerce-page ul.products li.product .price {
        font-size: 14px;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    body.woocommerce-page ul.products {
        grid-template-columns: 1fr;
    }
}