/* General Styles for Deals */
.deals-of-the-day {
    padding: 20px 0;
    font-family: QuickSand;
    font-size: 32px;
    font-weight: 600;
    color: #253D4E;
}

.deals-of-the-day .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.deals-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.deals-all {
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    margin: 0;
    transition: 0.3s ease;
}

.deals-all :hover{
    font-weight: 400;
    color: var(--green);
}

.timer-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top:20px;
    /* justify-content: center; */
}

.timer-day{
    font-size: 12px;
    font-weight: 300px;
    color:black;
}

.time-box_deal {
    background-color: white;
    color:  #3a975c;
    font-weight: 600;
    font-size: 22px;
    width: 55px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-align: center;
    border: 1px solid var(--green);
}

.separator {
    color: #218838;
    font-size: 22px;
    font-weight: bold;
    margin: 0 5px;
}

.deals-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.deal-card {
    width: 23%;
    position: relative;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    border:1px solid rgba(173, 173, 173, 0.25);

    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    padding: 10px;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.deal-card:hover {
    transform: scale(1.05);
}

.deal-card:hover .product-overlay-icons{
    display: flex;
}

.deal-card img {
    width: 100%;
    /* height: 200px; */
    object-fit: cover;
    border-radius: 8px;
    align-items: cen;
}

.deal-card .product-image{
    position: relative;
    cursor: pointer;
}
.deal-card .product-image img {
    height: 220px;
}

.deal-card .timer-holder{
    width: 100%;
    position: absolute ;
    bottom: 0;
    padding: 0 10px;
}

.deal-card .timer-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}
.deal-card .time-box_deal{
    width: auto;
    background-color: #f6fdf9;
}

.deal-card .details {
    margin-top: 15px;
    text-align: left;
}

.deal-card .details h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.deal-card .details p {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.deal-card .details .price {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

.deal-card .details .original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #777;
    font-weight: 500px;
    padding-left: 10px;
    padding-top: 2px;
}

.deal-card .details .vendor {
    font-size: 12px;
    color: #555;
}

.deal-card .discount-badge {
    background-color: #F61B40;
    color: white;
    font-weight: bold;
    font-size: 12px;
    font-weight: 500;
    padding: 5px;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 3px 1px;
}

.deal-card .add-to-cart-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.add-to-cart-btn:hover {
    background-color: #218838;
}


/* Style the stars to make them yellow and smaller */
.star-rating {
    display: flex;
    font-size: 14px;  /* Make the stars smaller */
    color: #ffd700;  /* Gold color for filled stars (yellow) */
}

.star-rating i {
    margin-right: 3px; /* Space between stars */
}

.star-rating i.fa-star-o {
    color: #ddd;  /* Light gray color for empty stars */
}





/* Mobile View */
@media (max-width: 767px) {
    .deals-of-the-day .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .deals-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .timer-container {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .time-box_deal {
        margin: 5px;
        width: 50px;
        height: 50px;
        font-size: 16px;
        padding: 5px;
    }

    .separator {
        font-size: 14px;
        color: #218838;
    }

    .deal-card {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .deal-card img {
        height: 150px;
    }

    .deal-card .details h3 {
        font-size: 14px;
    }

    .deal-card .details .price {
        font-size: 16px;
    }

    .deal-card .add-to-cart-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) {
    .deal-card {
        width: 48%;
    }
}
