#recapitulatif-section {
    border: 2px solid #ccc; /* Bordure grise */
    border-radius: 8px; /* Bordures arrondies */
    padding: 20px; /* Espacement à l'intérieur de la bordure */
    margin-bottom: 20px; /* Espacement sous les boîtes */
    background-color: #ffecec; /* Couleur de fond légère */
}

/* Pour les titres à l'intérieur des sections */
#recapitulatif-section .checkoutBox-Title {
    background-color: #ffa4a4; /* Couleur de fond pour le titre de la section */
    border-radius: 6px; /* Bordures arrondies pour le titre */
    padding: 10px; /* Espacement à l'intérieur du titre */
    margin: -25px -30px 20px -30px; /* Pour aligner le titre avec la bordure extérieure */
    font-weight: bold;
}


.sticky_summary_recapitulatif {
    position: -webkit-sticky; /* Pour le support Safari */
    position: sticky;
    top: 86px; /* La distance du haut de la fenêtre à laquelle l'élément devient sticky */
    z-index: 100; /* S'assurer qu'il reste au-dessus des autres éléments */
}

.mode-livraison-et-paiement {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mode-livraison, .paiement, .adresse-email {
    flex: 1;
    margin-right: 10px;
}

.mode-livraison p, .paiement p, .adresse-email p {
    margin: 0;
    padding: 0;
}


/* Style pour le tableau des articles du panier */
#checkout_recapitulatif-container .cart-items {
    margin-bottom: 20px; /* Espacement sous le tableau */
}

#checkout_recapitulatif-container .cart-items h3 {
    margin-bottom: 15px; /* Espacement sous le titre du tableau */
}

#checkout_recapitulatif-container .table {
    width: 100%; /* Le tableau prend toute la largeur disponible */
    margin-bottom: 20px; /* Espacement sous le tableau */
    background-color: #fff; /* Fond blanc pour le tableau */
}

#checkout_recapitulatif-container .table th, #checkout_recapitulatif-container .table td {
    padding: 8px; /* Espacement à l'intérieur des cellules */
    text-align: left; /* Alignement du texte à gauche */
    border-top: 1px solid #dee2e6; /* Bordure supérieure pour les cellules */
}

#checkout_recapitulatif-container .table thead th {
    vertical-align: bottom; /* Alignement vertical en bas pour les en-têtes */
    border-bottom: 2px solid #dee2e6; /* Bordure inférieure plus épaisse pour les en-têtes */
}

/* Style pour limiter la taille des images dans le tableau des articles du panier */
#checkout_recapitulatif-container .cart-item-image {
    width: 100px; /* Largeur fixe pour toutes les images */
    height: auto; /* Hauteur automatique pour maintenir le ratio */
    display: block; /* Pour éviter des problèmes de l'espace blanc en bas */
    margin: 0 auto; /* Centrer l'image dans la cellule si la table est plus large */
}


#checkout_recapitulatif-container .progress-wrapper {
    padding: 0;
    margin: 0;
}

#checkout_recapitulatif-container .progress-indicator {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

#checkout_recapitulatif-container .progress-indicator li {
    width: 25%;
    text-align: center;
    list-style-type: none;
    font-size: 0.9em;
    position: relative;
    text-transform: uppercase;
    color: #aaa;
}

#checkout_recapitulatif-container .progress-indicator li:before {
    width: 30px;
    height: 30px;
    content: ' ';
    line-height: 30px;
    border: 2px solid #ddd;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}

#checkout_recapitulatif-container .progress-indicator li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #ddd;
    top: 15px;
    left: -50%;
    z-index: -1;
}

#checkout_recapitulatif-container .progress-indicator li:first-child:after {
    content: none;
}

#checkout_recapitulatif-container .progress-indicator li.completed {
    color: #5cb85c;
}

#checkout_recapitulatif-container .progress-indicator li.completed:before {
    border-color: #5cb85c;
}

#checkout_recapitulatif-container .progress-indicator li.completed + li:after {
    background-color: #5cb85c;
}

#checkout_recapitulatif-container .progress-indicator li.active {
    color: #3a3a3a;
}

#checkout_recapitulatif-container .progress-indicator li.active:before {
    border-color: #3a3a3a;
}

#checkout_recapitulatif-container .card-body .price-row,
#checkout_recapitulatif-container .card-body .tva-row,
#checkout_recapitulatif-container .card-body .bon-row,
#checkout_recapitulatif-container .card-body .port-row,
#checkout_recapitulatif-container .card-body .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem; /* Adjust the space between lines */
}

#checkout_recapitulatif-container .card-body hr {
    margin: 1rem 0; /* Space above and below the horizontal rule */
}

#checkout_recapitulatif-container .btn-primary,
#checkout_recapitulatif-container .btn-link {
    width: 100%; /* Make buttons full width */
    margin-top: 1rem; /* Space above the buttons */
    text-align: center; /* Center align the return link */
}