/* CATEGORY PAGE PRODUCT GRID STYLE */
.category-styled .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    padding: 25px;
    background-color: #6b8e4e !important;
    border-radius: 12px;
    color: white !important;
}

.category-styled .woocommerce ul.products li.product {
    text-align: center;
    background-color: #85A947;
    border-radius: 14px;
    padding: 18px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white !important;
}

.category-styled .woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* Image container - black square */
.category-styled .woocommerce ul.products li.product .woocommerce-loop-product__link {
    position: relative;
    padding-top: 100%;
    width: 100%;
    background-color: #000;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Product image centered inside black box */
.category-styled .woocommerce ul.products li.product img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-styled .woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Title + price + button */
.category-styled .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    margin: 5px 0;
}

.category-styled .woocommerce ul.products li.product .price {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.category-styled .woocommerce ul.products li.product .button {
    background-color: #ffffff;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-styled .woocommerce ul.products li.product .button:hover {
    background-color: #ffffff;
    color: #000;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .category-styled .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .category-styled .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .category-styled .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .category-styled .woocommerce ul.products li.product .button {
        font-size: 13px;
        padding: 6px 12px;
    }
}
/* CATEGORY PAGE PRODUCT GRID STYLE */
.category-styled .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    padding: 25px;
    background-color: #6b8e4e !important;
    border-radius: 12px;
    color: white !important;
}

/* ADD THIS FOR CATEGORY NAMES */
.category-styled .woocommerce ul.products li.product .woocommerce-loop-category__title,
.category-styled .woocommerce ul.products li.product .woocommerce-loop-product__title,
.category-styled .woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: #ffffff !important;
}

.category-styled .woocommerce ul.products li.product {
    text-align: center;
    background-color: #85A947;
    border-radius: 14px;
    padding: 18px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white !important;
}

/* Rest of your existing CSS remains the same... */