﻿
.cardSpecial {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1);
    padding: 10px;
    /*width: calc(25% - 20px);*/ /* 4 cartes par ligne */
    text-align: start;
    color: black;
}

    .cardSpecial h1 {
        color: black;
    }

    .cardSpecial div {
        color: black;
        text-align: start;
    }

    .cardSpecial:hover {
        transform: translateY(-5px);
    }

    /* Style pour le titre */
    .cardSpecial h2 {
        font-weight: bold;
        margin-top: 10px;
    }
    /* Style pour le titre */
    .cardSpecial h4 {
        color: black;
        font-weight: bold;
        margin-top: 10px;
    }

    /* Style pour la description */
    .cardSpecial p {
        margin-top: 5px;
    }

    /* Style pour le prix */
    .cardSpecial .price {
        font-weight: bold;
        color: #007bff;
    }

    /* Style pour l'étoile de rabais */
    .cardSpecial .discount-star {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        color: #ff6347;
    }

    .cardSpecial .btn {
        align-items: end;
    }

.cardSpecialContent {
    display: flex;
    align-items: start;
    align-content: start;
    justify-items: start;
    text-align: start;
    gap: 10px;
}

    /* Style pour l'image */
    .cardSpecialContent img {
        border-radius: 8px 8px 0 0;
    }

.priceOld {
    text-decoration: line-through;
}

.discount {
    display: grid;
    background-color: red;
    height: 70px;
    width: 70px;
    border-radius: 45px;
    align-content: center;
    justify-content: center;
    position:relative;
    left:-8px;
    top:-8px;
}
.discount div{

    font-size:small;
    color:white;
    font-weight:900;

}
.offer-img{
    height:250px;
    width:300px;
}
.discountContainer{
    width:0px;
}