:root {
    --couleur-bouton-rouge : #3473ab;
    --nbre-colonne-offre : 2;
}

.custom-card {
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: row;
    border: 1px solid #ccc;
    align-items: center;
    border-radius: 5px;
    /*margin: 0px;*/
    margin: 5px;
    /*margin-bottom: 10px;*/
    /*width: calc(100% / var(--nbre-colonne-offre));*/
}

img{
    width: 100%;
    padding: 0px;
}

.quantity {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
}

@media (max-width: 1740px) {
    .quantity {
        flex-direction: column;
        align-items: flex-end;
        padding-bottom: 10px;
    }

    .btn-action {
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .custom-card {
        flex-direction: column;
        width: 100%;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .custom-card .col-md-2,
    .custom-card .col-md-7,
    .custom-card .col-md-3 {
        width: 100%;
    }

    .quantity {
        flex-direction: row;
    }

    img {
        margin-top: 10px;
    }
}  

.custom-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-card img {
    width: 100%;
    padding: 0px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.btn-action {
    background-color: var(--couleur-bouton-rouge);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    white-space: normal;
}

.montant {
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    text-align: end;
    margin-top: 10px;
}

.quantity-label {
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 16px;
    color: #555;
}

.btn-decrement,
.btn-increment {
    min-width: 3rem;
    height: 3rem;
    background-color: #f0ad4e;
    color: #fff;
    border: none;
    padding: 5px;
    font-size: 16px;
    cursor: pointer;
}

.quantity-input {
    width: 50px;
    height: 3rem;
    padding: 5px;
    font-size: 16px;
    text-align: center;
}