.woocommerce-products-widget-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px;
}

.wc-product-item {
    border: 1px solid #2E2E2E;
    padding: 10px 0px;
    text-align: left;
    
}

.wc-product-image img {
    max-width: 100%;
    height: auto;
}

.wc-product-image a img {
    display: block;
    margin: auto;
}

.wc-product-title {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.wc-product-rating {
    margin-top: 5px;
	margin-bottom: 5px;
}

.wc-price-btoon {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-top: 5px;
}

.wc-product-price {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
	color:#fff;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.wc-add-to-cart a {
    
    background-color: #B81421;
    color: white;
    padding: 8px;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.wc-product-info {
    padding: 10px;
	background-color: #0F0F0F;
}

/*---star css------*/

/* Ensures the rating stars are rendered correctly */
/* Star Rating Base Style */
/* Ensures the rating stars are rendered correctly */
.star-rating {
    display: inline-block;
    font-size: 0;
    direction: ltr;
}

.star-rating span {
    font-size: 20px;  /* Adjust star size */
    color: #ffcc00;   /* Gold color for the stars */
}

.star-rating span:before {
    content: '\2605'; /* Unicode character for a filled star */
}

.star-rating span.empty:before {
    content: '\2606'; /* Unicode character for an empty star */
    color: #dcdcdc;   /* Light grey for empty stars */
}

span.star.filled {
    color: #e31e2e;
}

span.star.empty {
    color: #565656;
}


@media (max-width: 768px) {
    .woocommerce-products-widget-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    }
}

@media (max-width: 480px) {
    .woocommerce-products-widget-grid {
        grid-template-columns: 1fr; /* 1 column for mobile screens */
    }
}
