.product-sale .card {
    position: relative;
}
.product-sale .card img:hover {
    opacity: 0.8;
    transition: 0.5s;
}
.product-sale .card-body .body-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}
.product-sale .card .fa-shopping-cart,
.product-sale .card .fa-heart {
    font-size: 0.8rem;
    color: red;
    transition: 0.5s;
    opacity: 0.5;
}
.product-sale .card .rating .fa-star {
    font-size: 0.7rem;
}

.product-sale .card-body {
    margin: 0 10px 0 5px;
    padding: 0;
    min-height: 90px;
    text-align: left;
}
.product-sale .card-body a {
    color: black;
    text-decoration: none;
}
.product-sale .card-body h3 {
    margin: 5px 0 0 2px;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-sale .card-body h3:hover {
    opacity: 0.5;
}
.product-sale .card-body .price-and-delivery {
    margin: 5px 0 0 2px;
}
.product-sale .card-body .price-and-delivery p {
    font-size: 0.9rem;
    margin: 0;
}
.product-sale .card-body .price-and-delivery img {
    width: 28px !important;
    margin-bottom: 5px;
}
.product-sale .sale-price {
    font-weight: 600;
}
.product-sale .normal-price {
    text-decoration: line-through;
    font-weight: 300;
}
.product-sale .buy-now {
    padding: 0.25rem 1rem;
    width: 100%;
}
.product-sale .card .buy-now a {
    color: white;
    text-decoration: none !important;
}
.product-sale .card .buy-now:hover {
    color: white;
    font-weight: 700;
}
.product-sale .card .card-img-top {
    max-height: 230px;
    object-fit: cover;
}
button.indent-now {
    background-color: var(--main-bg-color);
    color: white;
    width: 100% !important;
}
.sold-out-tag {
    position: absolute;
    right: 0;
    padding: 10px;
    background-color: var(--main-bg-color);
    opacity: 0.5;
    border-top-right-radius: var(--border);
    color: white;
}
.product-sale .card-footer {
    padding: 0.25rem;
}

@media screen and (max-width: 576px) {
    .price-and-delivery {
        flex-direction: column;
    }
    .product-sale .products h3 {
        font-size: 0.8rem;
    }

    .product-sale .card .fa-heart,
    .product-sale .card .rating .fa-star {
        font-size: 10px;
    }
}
@media screen and (max-width: 768px) {
    .product-sale .products h3 {
        font-size: 0.8rem;
        height: 30px;
    }
}
