.cart-container {
    padding: 0 64px;
}

.cart-title {
    font-family: 'Archivo';
    font-weight: 800;
    font-size: 40px;
    margin-bottom: 74px;
    margin-top: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
}

.cart-header {
    grid-column: 2 / span 6;
}

.return-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.return-link span {
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 20px;
    color: #000000;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: black;
    margin: 16px 0;
}

.cart-subtitle {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 8px;
}

.cart-count {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 32px;
}

.woocommerce-cart-form {
    grid-column: 2 / span 6;
}

.cart-products {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Nouvelle disposition des produits */
.cart-product {
    display: grid;
    grid-template-columns: 120px auto 200px;
    gap: 24px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #000000;
}

.product-image-panier img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-name {
    padding-right: 20px;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    margin: 0;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-price-panier {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    text-align: right;
}

/* Contrôles de quantité */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.quantity-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn img {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #000000;
    border-radius: 4px;
}

.remove-product {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 12px;
}

.remove-product img {
    width: 20px;
    height: 20px;
}

.cart-summary {
    grid-column: 9 / span 3;
    align-self: start;
}

.cart-summary-title {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 32px;
}

.cart-summary-total {
    padding: 24px 0;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-total span {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
}

.wc-proceed-to-checkout {
    /* Ajout pour contenir le bouton dans les limites de la div parent */
    width: 100%;
    box-sizing: border-box;
}

.wc-proceed-to-checkout a {
    width: 100%;
    padding: 16px;
    background-color: #B91F1D;
    color: white;
    border: none;
    font-family: 'Roboto';
    font-weight: 500;
    border-radius: 33px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    box-sizing: border-box; /* Ajout pour inclure padding dans la largeur */
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    width: 100%;
    padding: 16px;
    background-color: #B91F1D;
    color: white;
    border: none;
    font-family: 'Roboto';
    font-weight: 500;
    border-radius: 33px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color: white;
    border: #B91F1D 1px solid;
    color: #B91F1D;
}

.validate-reservation a {
    color: white;
    text-decoration: none;

}

.validate-reservation a:hover {
    color: #B91F1D;
}

.validate-reservation:hover {
    background-color: white;
    color: #B91F1D;
    border: #B91F1D 1px solid;
}


.content-section {
    display: grid;
    grid-template-columns: repeat(12 , 1fr);
    gap: 32px;
    padding: 74px 64px 135px 64px;
}

.panier-title{
    padding-top: 180px;
}

#map {
    grid-column: 2 / span 6;
    border-radius: 33px;
    aspect-ratio: 642 / 364;
}

.info-panier {
    display: flex;
    flex-direction: column;
    grid-column: 9 / span 3;
}

.titre-info-panier {
    font-family: 'Archivo';
    font-size: 18px;
    font-weight: 700
}

.address {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
    padding: 23px 0 50px 0;
}

.titre-aide-panier {
    font-family: 'Archivo';
    font-size: 18px;
    font-weight: 700; 
    padding-bottom: 25px;
}

.info-bus-panier {
    display: flex;
    align-items: center;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
    gap: 10px;
}

.number-panier {
    border: #B91F1D 1px solid;
    border-radius: 50%;
    padding: 8px 8px;
}

.qty {
    border: none;
    font-size: 18px;
    width: 3ch; /* Adapte la largeur à environ 2 caractères */
    -moz-appearance: textfield; /* Supprime les flèches sur Firefox */
    -webkit-appearance: none; /* Supprime les flèches sur Chrome/Safari */
    appearance: none; /* Supprime les flèches sur les autres navigateurs */
    margin: 0; /* Enlève les marges par défaut */
    padding: 0 2px; /* Petit padding horizontal pour éviter que le texte ne touche les bords */
    display: flex;
    text-align: center;
}

/* Supprime les flèches sur Chrome/Safari/Edge */
.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-notices-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.woocommerce-message,
div.woocommerce-message {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important;
    line-height: normal !important;
}

/* Pour cibler spécifiquement avant et après l'élément */
.woocommerce-message::before,
.woocommerce-message::after {
    display: none !important;
    content: none !important;
}

/* Style du lien Annuler */
.woocommerce-message a.restore-item {
    color: inherit;
    text-decoration: underline;
    margin-left: 5px;
}

