﻿
.card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1);
    padding: 10px;
    text-align: start;
    color: black;
    width: 300px;
    height: 400px;
    flex-direction:column;
}
.card h1 {
    color: black;
}

    .card div {
        color: black;
        text-align: start;
        font-size: 12px;
    }

    .card:hover {
        transform: translateY(-5px);
    }

    /* Style pour le titre */
    .card h2 {
        font-weight: bold;
        margin-top: 10px;
    }
    /* Style pour le titre */
    .card h4 {
        color: black;
        font-weight: bold;
        margin-top: 10px;
    }

    /* Style pour la description */
    .card p {
        margin-top: 5px;
    }

    /* Style pour le prix */
.price {
    font-weight: bold;
    color: #007bff;
}

    /* Style pour l'étoile de rabais */
    .card .discount-star {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        color: #ff6347;
    }

    .card .btn {
        align-items: end;
    }

.cardContent {
    display: grid;
    align-items: start;
    align-content: start;
    justify-items: start;
    text-align: start;
    gap: 0px;
}

    /* Style pour l'image */
    .cardContent img {
        width: 260px;
        height:180px;
        border-radius: 8px 8px 0 0;
    }
.cardDiscount {
    display: grid;
    background-color: red;
    height: 70px;
    width: 70px;
    border-radius: 45px;
    align-content: center;
    justify-content: center;
    position: relative;
    left: -8px;
    top: -8px;
}

    .cardDiscount div {
        font-size: small;
        font-weight: 900;
        color: white;
    }
.myTest{
    height:0px;
}

.cardStock {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1);
    padding: 10px;
    text-align: start;
    flex-direction: column;
    gap : 10px;
}
