/* ADJ Booking — styles WooCommerce (page panier + totaux checkout).
   Reprend le design "cartes + stepper + sticky" du snippet hérité CSS Panier. */

:root {
    --adj-blue: #0E3A5D;
    --adj-blue-2: #1B5E8F;
    --adj-orange: #FF7A00;
    --adj-gray-1: #F4F6F8;
    --adj-gray-2: #EEF2F6;
    --adj-text: #1A1F2B;
}

/* =====================================================
   PANIER — Layout 2 colonnes
   ===================================================== */

html body.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
    gap: 30px !important;
    align-items: start !important;
}

html body.woocommerce-cart .woocommerce .woocommerce-cart-form {
    grid-column: 1 !important;
    min-width: 0 !important;
}

html body.woocommerce-cart .woocommerce > .cart-collaterals {
    grid-column: 2 !important;
    align-self: stretch !important;
    display: flex !important;
    justify-self: end !important;
    width: 100% !important;
    max-width: 440px !important;
    float: none !important;
}

/* Transformer le tableau cart en cartes flexbox.
   Pourquoi flexbox et pas grid : Safari iOS ignore silencieusement display:grid
   sur <table>, <tbody>, <tr> (bug connu) — d'où le passage à flex.
   On force aussi display:block sur table/tbody pour casser le contexte table
   qui empêche les enfants de se réorganiser. */

html body.woocommerce-cart table.shop_table thead {
    display: none !important;
}

html body.woocommerce-cart table.shop_table,
html body.woocommerce-cart table.shop_table tbody {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
}

html body.woocommerce-cart table.shop_table.cart tbody tr {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 18px !important;
    background: #fff !important;
    border: 1px solid #d5dde5 !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(14, 58, 93, 0.10) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
}

html body.woocommerce-cart table.shop_table.cart tbody td {
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
}

/* Bouton supprimer : sorti du flow flex, collé en haut à droite de la carte.
   Le tr est en position:relative pour servir de référent. */
html body.woocommerce-cart .cart_item .product-remove {
    position: absolute !important;
    top: 10px !important;
    right: 14px !important;
    width: auto !important;
    flex: none !important;
    order: unset !important;
    z-index: 2 !important;
}

html body.woocommerce-cart .cart_item .product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #f5f7fa !important;
    color: #b32d2e !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s !important;
}

html body.woocommerce-cart .cart_item .product-remove a.remove:hover {
    background: #b32d2e !important;
    color: #fff !important;
}

/* Vignette : largeur fixe à gauche */
html body.woocommerce-cart .cart_item .product-thumbnail {
    flex: 0 0 88px !important;
}

html body.woocommerce-cart .cart_item .product-thumbnail img {
    width: 88px !important;
    height: auto !important;
    border-radius: 10px !important;
    display: block !important;
}

/* Nom produit + détails : prend tout l'espace dispo */
html body.woocommerce-cart .cart_item .product-name {
    flex: 1 1 200px !important;
    min-width: 0 !important;
}

html body.woocommerce-cart .cart_item .product-name a {
    color: var(--adj-blue) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
}

html body.woocommerce-cart .adj-cart-details {
    font-weight: normal;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.6;
    font-size: 0.9em;
}

/* Méta visibles du line item (Date départ, retour, durée, km, destination)
   rendues par WC en <dl class="variation"> avec <dt>/<dd>. */
html body.woocommerce-cart .cart_item dl.variation {
    display: grid !important;
    grid-template-columns: 160px 1fr !important;
    gap: 6px 12px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

html body.woocommerce-cart .cart_item dl.variation dt {
    margin: 0 !important;
    padding: 6px 10px !important;
    background: var(--adj-gray-1) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    color: #44525f !important;
    float: none !important;
    clear: none !important;
}

html body.woocommerce-cart .cart_item dl.variation dt::after {
    content: '' !important;
}

html body.woocommerce-cart .cart_item dl.variation dd {
    margin: 0 !important;
    padding: 6px 10px !important;
    background: var(--adj-gray-1) !important;
    border-radius: 6px !important;
    color: #1A1F2B !important;
    font-weight: 500 !important;
}

html body.woocommerce-cart .cart_item dl.variation dd p {
    margin: 0 !important;
}

/* Bloc "Détail du prix" sous les méta du line item.
   Largeur pleine (toute la carte) pour bien justifier le sous-total. */
html body.woocommerce-cart .cart_item .adj-cart-breakdown {
    flex: 0 0 100% !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--adj-gray-2) !important;
    order: 10 !important;
}

html body.woocommerce-cart .adj-cart-breakdown__title {
    font-weight: 700 !important;
    color: var(--adj-blue) !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

html body.woocommerce-cart .adj-cart-breakdown__row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
    padding: 6px 0 !important;
    font-size: 14px !important;
}

html body.woocommerce-cart .adj-cart-breakdown__label {
    color: #44525f !important;
}

html body.woocommerce-cart .adj-cart-breakdown__sub {
    color: #8b95a3 !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}

html body.woocommerce-cart .adj-cart-breakdown__value {
    font-weight: 600 !important;
    color: #1A1F2B !important;
    white-space: nowrap !important;
}

html body.woocommerce-cart .adj-cart-breakdown__row--total {
    margin-top: 6px !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--adj-blue) !important;
    font-weight: 700 !important;
}

html body.woocommerce-cart .adj-cart-breakdown__row--total .adj-cart-breakdown__label,
html body.woocommerce-cart .adj-cart-breakdown__row--total .adj-cart-breakdown__value {
    color: var(--adj-blue) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Le wc_price() utilise des spans imbriqués qui peuvent forcer la couleur héritée — overrider */
html body.woocommerce-cart .adj-cart-breakdown__value .woocommerce-Price-amount,
html body.woocommerce-cart .adj-cart-breakdown__value bdi {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* Prix unitaire / quantité — masqués (location figée à 1 unité).
   Sélecteur ultra-spécifique nécessaire pour battre la règle générique
   `td { display: block !important }` plus haut. */
html body.woocommerce-cart table.shop_table.cart tbody tr td.product-price,
html body.woocommerce-cart table.shop_table.cart tbody tr td.product-quantity {
    display: none !important;
}

/* Sous-total : poussé à droite */
html body.woocommerce-cart .cart_item .product-subtotal {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    text-align: right !important;
    font-weight: 800 !important;
    color: var(--adj-blue) !important;
    font-size: 1.1rem !important;
}

/* Actions panier + coupon */
.woocommerce-cart .actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce-cart .actions .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce-cart .actions .coupon .input-text {
    min-width: 280px;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid var(--adj-gray-2);
    background: #fff;
}

.woocommerce-cart .actions .coupon button,
.woocommerce-cart .actions .coupon .button {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    background: var(--adj-blue) !important;
    color: #fff !important;
    border: none;
}

/* Masque "Mettre à jour le panier" (quantités figées en location) */
.woocommerce-cart .actions .button[name="update_cart"] {
    display: none !important;
}

/* =====================================================
   PANIER — Bloc totaux (carte sticky à droite)
   ===================================================== */

.woocommerce .cart-collaterals .cart_totals {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--adj-gray-2);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
    padding: 24px;
    position: sticky;
    top: 40px;
    margin-left: auto;
}

.woocommerce .cart_totals h2 {
    margin: 0 0 12px;
    color: var(--adj-blue);
    font-weight: 800;
    font-size: 18px;
}

/* On force table + tbody en display:block pour libérer les <tr> du contexte
   table (sinon les flex/grid sur tr ne s'appliquent pas, cf. cart item). */
html body.woocommerce-cart .cart_totals .shop_table,
html body.woocommerce-cart .cart_totals .shop_table tbody {
    display: block !important;
    width: 100% !important;
    table-layout: auto !important;
    border: none !important;
    background: transparent !important;
    margin: 0 0 14px 0 !important;
}

html body.woocommerce-cart .cart_totals .shop_table th,
html body.woocommerce-cart .cart_totals .shop_table td {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

html body.woocommerce-cart .cart_totals .shop_table tr {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--adj-gray-2) !important;
}

html body.woocommerce-cart .cart_totals .shop_table tr:last-child {
    border-bottom: none !important;
}

html body.woocommerce-cart .cart_totals .shop_table th {
    font-weight: 700 !important;
    color: var(--adj-blue) !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

/* Masquer le "(TTC)" redondant à côté du sous-total (la mention figure
   déjà sur le total général). */
html body.woocommerce-cart .cart_totals .cart-subtotal td .tax_label {
    display: none !important;
}

/* Le "(dont X € TVA)" sur le total général : passe sur sa propre ligne
   sous le montant, beaucoup plus petit que le total (28px).
   On cible UNIQUEMENT les wrappers tax (pas un sélecteur générique qui
   risquerait d'attraper le total lui-même). */
html body.woocommerce-cart .cart_totals .order-total td .tax_label,
html body.woocommerce-cart .cart_totals .order-total td .includes_tax,
html body.woocommerce-cart .cart_totals .order-total td small {
    display: block !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    margin-top: 6px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}

/* Le montant principal du total : grand bleu (cible UNIQUEMENT le .amount
   direct enfant du <td>, pas celui niché dans le .tax_label / .includes_tax) */
html body.woocommerce-cart .cart_totals .order-total td > .amount,
html body.woocommerce-cart .cart_totals .order-total td > .woocommerce-Price-amount {
    display: inline-block !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: var(--adj-blue) !important;
}

/* À l'inverse, le .amount qui apparaît DANS le bloc TVA doit rester petit
   (sinon ma règle font-size:11px sur le wrapper est écrasée par le .amount). */
html body.woocommerce-cart .cart_totals .order-total td .tax_label .amount,
html body.woocommerce-cart .cart_totals .order-total td .tax_label .woocommerce-Price-amount,
html body.woocommerce-cart .cart_totals .order-total td .includes_tax .amount,
html body.woocommerce-cart .cart_totals .order-total td .includes_tax .woocommerce-Price-amount,
html body.woocommerce-cart .cart_totals .order-total td small .amount,
html body.woocommerce-cart .cart_totals .order-total td small .woocommerce-Price-amount {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    line-height: 1.3 !important;
}

html body.woocommerce-cart .cart_totals .shop_table td {
    text-align: right !important;
    font-weight: 700 !important;
    color: var(--adj-blue) !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.woocommerce .cart_totals .fee th {
    font-style: italic;
    color: #6b7280;
    font-weight: 500;
}

.woocommerce .cart_totals .order-total .amount {
    font-size: 28px;
    line-height: 1;
}

/* Mention "TTC" après le total */
.woocommerce .cart_totals .order-total .amount::after {
    content: ' TTC';
    font-size: 16px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #5b6b7a;
}

/* Bouton "Valider la commande" */
.woocommerce .wc-proceed-to-checkout {
    margin-top: 12px;
}

.woocommerce .wc-proceed-to-checkout .button {
    width: 100%;
    padding: 15px 16px !important;
    border-radius: 14px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    background: var(--adj-orange) !important;
    color: #fff !important;
    border: none;
}

.woocommerce .wc-proceed-to-checkout .button:hover {
    filter: brightness(.95);
}

/* =====================================================
   COUPON DÉPLACÉ — sous le bouton "Valider la commande"
   ===================================================== */

/* Toute la rangée d'actions sous le tableau panier (coupon + "Mettre à jour")
   est masquée : le coupon est déplacé dans la carte des totaux, et la quantité
   est figée à 1 donc "Mettre à jour" ne sert à rien.
   - Le td.actions a une classe : on le masque avec spécificité élevée pour
     battre la règle générique `td { display: block !important }`.
   - Le tr parent n'a pas de classe : on le masque via :has() (supporté Chrome
     105+, Safari 15.4+, Firefox 121+) avec spécificité élevée pour battre
     `tbody tr { display: flex !important }`. */
html body.woocommerce-cart table.shop_table.cart tbody td.actions,
html body.woocommerce-cart table.shop_table.cart tbody tr:has(> td.actions) {
    display: none !important;
}

html body.woocommerce-cart .cart_totals .adj-coupon-wrap {
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--adj-gray-2) !important;
}

html body.woocommerce-cart .cart_totals .adj-coupon-title {
    margin: 0 0 10px !important;
    font-weight: 700 !important;
    color: var(--adj-blue) !important;
    font-size: 14px !important;
}

html body.woocommerce-cart .cart_totals .adj-coupon-form {
    display: flex !important;
    gap: 8px !important;
    align-items: stretch !important;
}

html body.woocommerce-cart .cart_totals .adj-coupon-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #d5dde5 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #1A1F2B !important;
}

html body.woocommerce-cart .cart_totals .adj-coupon-button {
    flex: 0 0 auto !important;
    padding: 10px 18px !important;
    background: var(--adj-blue) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: filter 0.2s ease !important;
}

html body.woocommerce-cart .cart_totals .adj-coupon-button:hover {
    filter: brightness(0.9) !important;
}

/* =====================================================
   PANIER VIDE
   ===================================================== */

.woocommerce-cart:has(.cart-empty) .woocommerce {
    display: block !important;
}

.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--adj-gray-2);
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--adj-blue);
    width: 100%;
}

.woocommerce-cart .wc-backward {
    display: inline-block;
    margin-top: 25px;
    background: var(--adj-blue) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px !important;
    font-weight: 800;
    padding: 12px 25px !important;
    font-size: 16px !important;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.woocommerce-cart .wc-backward:hover {
    filter: brightness(1.2);
}

/* =====================================================
   MESSAGE "Ajouté au panier"
   ===================================================== */

.woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid var(--adj-gray-2);
    border-left: 5px solid var(--adj-orange);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    font-size: 16px;
    font-weight: 600;
    color: var(--adj-blue);
}

.woocommerce-message::before {
    display: none;
}

.woocommerce-message .button {
    background: var(--adj-gray-1) !important;
    color: var(--adj-blue) !important;
    border: 1px solid var(--adj-gray-2) !important;
    border-radius: 12px !important;
    font-weight: 700;
    padding: 10px 20px !important;
    white-space: nowrap;
}

.woocommerce-message .button:hover {
    background: var(--adj-gray-2) !important;
    border-color: #dce3ec !important;
}

/* =====================================================
   CHECKOUT — Layout 1 colonne centré 800px
   (annule les 2 colonnes natives WC pour un rendu plus moderne)
   ===================================================== */

body.woocommerce-checkout form.checkout {
    max-width: 800px;
    margin: 0 auto;
    display: block !important;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* Espace entre détails de facturation et récap commande */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    margin-top: 30px;
}

/* =====================================================
   CHECKOUT — bloc order-review (récap commande)
   ===================================================== */

.woocommerce-checkout #order_review {
    background: #fff;
    border: 1px solid var(--adj-gray-2);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.woocommerce-checkout #order_review_heading {
    color: var(--adj-blue);
    font-weight: 800;
    font-size: 1.4em;
    padding-bottom: 10px;
    margin: 0 0 10px;
    border-bottom: 2px solid var(--adj-orange);
}

.woocommerce-checkout #order_review .shop_table {
    border: 0 !important;
    background: transparent;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
    padding: 10px 8px;
    border-bottom: 1px dashed var(--adj-gray-2);
    background: transparent !important;
}

.woocommerce-checkout #order_review table.shop_table .order-total th,
.woocommerce-checkout #order_review table.shop_table .order-total td {
    border-top: 2px solid var(--adj-blue);
    border-bottom: none;
    font-size: 1.15em;
    font-weight: 700;
    color: var(--adj-blue);
    padding-top: 12px;
}

.woocommerce-checkout #order_review table.shop_table .product-quantity {
    display: none !important;
}

.woocommerce-checkout #order_review .cart_item .product-name {
    font-weight: 600;
    color: var(--adj-blue);
}

/* Bannière d'info (ex: pas de moyen de paiement) */
.woocommerce-checkout .woocommerce-info {
    background: #FFF5EB;
    border-left: 4px solid var(--adj-orange);
    border-radius: 12px;
    padding: 14px !important;
}

/* Bouton "Commander" */
.woocommerce-checkout #place_order {
    width: 100%;
    background: var(--adj-orange) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px !important;
    font-weight: 800;
    padding: 14px 16px !important;
    font-size: 1.1em !important;
    transition: filter 0.2s ease;
}

.woocommerce-checkout #place_order:hover {
    filter: brightness(0.95);
}

/* Champs form */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    border: 1px solid #E5E9F0;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: none;
}

.woocommerce-checkout .form-row label {
    font-weight: 600;
    color: var(--adj-blue);
}

/* Masquer le toggle coupon sur checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}

/* =====================================================
   Stepper page head ADJ (Panier / Paiement)
   ===================================================== */

.adj-head {
    position: relative;
    margin: 12px auto 24px;
    background: #fff;
    border: 1px solid var(--adj-gray-2);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.adj-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--adj-orange), #ffb366);
}

.adj-head__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 22px 20px;
}

.adj-crumbs {
    font-weight: 600;
    letter-spacing: .02em;
    color: #5b6b7a;
    margin-bottom: 6px;
}

.adj-crumbs a {
    color: var(--adj-blue-2);
    text-decoration: none;
    border-bottom: 1px dashed rgba(27, 94, 143, .35);
}

.adj-crumbs a:hover {
    border-bottom-color: var(--adj-blue-2);
}

.adj-crumbs .sep {
    margin: 0 .4rem;
    opacity: .5;
}

.adj-head__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.adj-head__titlewrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adj-head__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff !important;
    color: var(--adj-blue);
    border: 1px solid var(--adj-gray-2);
    box-shadow: inset 0 0 0 1px var(--adj-gray-2);
}

.adj-head__icon i {
    color: var(--adj-blue) !important;
}

.adj-head__title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.1;
    margin: 0;
    color: var(--adj-text);
    font-weight: 900;
    letter-spacing: .01em;
}

.adj-head__sub {
    flex: 1 1 100%;
    margin: 6px 0 0;
    color: #5b6b7a;
    font-size: clamp(14px, 1.4vw, 16px);
}

.adj-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.adj-steps li {
    position: relative;
    background: var(--adj-gray-1);
    color: #44525f;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid var(--adj-gray-2);
    line-height: 1;
    white-space: nowrap;
}

.adj-steps li.is-active {
    background: rgba(255, 122, 0, .1);
    color: var(--adj-orange);
    border-color: rgba(255, 122, 0, .25);
}

body.woocommerce-checkout .adj-head .adj-steps li.is-active {
    background: rgba(255, 122, 0, .1) !important;
    color: var(--adj-orange) !important;
    border-color: rgba(255, 122, 0, .25) !important;
}

.adj-steps li + li::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--adj-gray-2);
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
}

.adj-head.is-checkout .adj-head__icon {
    color: #fff;
    background: var(--adj-blue);
    box-shadow: none;
}

.adj-head.is-checkout .adj-steps li.is-active {
    background: rgba(27, 94, 143, .12);
    color: var(--adj-blue-2);
    border-color: rgba(27, 94, 143, .28);
}

.adj-head .adj-steps li a {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.adj-head .adj-steps li:not(.is-active) a {
    color: #44525f !important;
}

.adj-head .adj-steps li:not(.is-active) a:hover {
    opacity: 1;
    color: var(--adj-blue) !important;
}

/* =====================================================
   Détail prix (si injecté par un autre script)
   ===================================================== */

.adj-price-breakdown {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--adj-gray-2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}

.adj-price-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adj-price-breakdown-row .label {
    color: #5b6b7a;
}

.adj-price-breakdown-row .price {
    font-weight: 700;
    color: var(--adj-blue);
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 980px) {
    .woocommerce-cart .woocommerce {
        display: block !important;
    }
    .woocommerce-cart .woocommerce > .cart-collaterals {
        align-self: auto;
        display: block;
        max-width: none;
    }
    .woocommerce .cart-collaterals .cart_totals {
        position: static;
        margin-top: 16px;
    }
    .woocommerce-cart .actions .coupon .input-text {
        min-width: 220px;
    }
}

@media (max-width: 760px) {
    /* Cart item passe en colonne sur petit écran : image au-dessus,
       infos en dessous, sous-total à droite. */
    html body.woocommerce-cart .cart_item .product-thumbnail {
        flex: 0 0 100% !important;
        text-align: center !important;
    }
    html body.woocommerce-cart .cart_item .product-thumbnail img {
        margin: 0 auto !important;
    }
    html body.woocommerce-cart .cart_item .product-name {
        flex: 1 1 100% !important;
    }
}

@media (max-width: 600px) {
    .woocommerce-message {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .woocommerce-message .button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .adj-head__inner { padding: 16px 14px 18px; }
    .adj-steps { flex-wrap: wrap; }
}
