/**
 * 08 — TUNNEL D'ACHAT (panier · commande · confirmation)
 * ==========================================================================
 * Charge APRÈS 07-veillee.css. Deux missions :
 *
 *  1. COMPACTER. Le tunnel empilait des titres de 48/36/30 px et des paddings
 *     de 60 px hérités de trois couches (page-cart.php, cart.php inline,
 *     form-checkout.php inline). Une commande à 1 article mesurait 7 152 px
 *     de haut. On ramène la hiérarchie à une échelle d'e-commerce.
 *
 *  2. HABILLER LA CONFIRMATION. Le balisage de thankyou.php n'était couvert
 *     par aucune règle : le client revenant de la passerelle ne voyait rien.
 *
 * Le préfixe `body:not(.ug-veillee)` est la convention du projet : il ne filtre
 * rien, il ajoute la spécificité nécessaire pour battre les styles inline des
 * gabarits parents.
 *
 * @package ultimes-griots-child
 * @since   3.1.0
 */

/* ==========================================================================
   1. CADRE COMMUN
   ========================================================================== */

body:not(.ug-veillee) .ug-tunnel {
    --ug-tunnel-max: 1080px;
    /* L'en-tête du site est `position:fixed` sur 80 px et <main> démarre à 0 :
       sans ce décalage, le fil d'étapes passe sous la barre de navigation. */
    padding-top: 80px;
}

body:not(.ug-veillee) .ug-tunnel .container,
body:not(.ug-veillee) .ug-tunnel .cart-content-wrapper {
    max-width: var(--ug-tunnel-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

body:not(.ug-veillee) .ug-tunnel .cart-content-wrapper {
    padding-bottom: 3.5rem;
}

/* Le gabarit du panier de Madara ouvre sur 60 px de vide et un dégradé clair. */
body:not(.ug-veillee) .cart-enhanced,
body:not(.ug-veillee) .checkout-enhanced {
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
}

body:not(.ug-veillee) .cart-enhanced > div,
body:not(.ug-veillee) .checkout-enhanced > div {
    max-width: none !important;
    padding: 0 !important;
}

/* Titre + sous-titre doublons de cart.php : la page porte déjà les siens. */
body:not(.ug-veillee) .cart-enhanced .cart-header {
    display: none !important;
}

/* ==========================================================================
   2. FIL D'ÉTAPES
   ========================================================================== */

body:not(.ug-veillee) .checkout-progress-bar {
    padding: 1.4rem 1.25rem 0 !important;
}

body:not(.ug-veillee) .checkout-progress-bar .progress-container {
    list-style: none;
    padding: 0;
    gap: 0;
}

body:not(.ug-veillee) .checkout-progress-bar .step-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem;
}

body:not(.ug-veillee) .checkout-progress-bar .progress-step {
    gap: 6px !important;
}

body:not(.ug-veillee) .checkout-progress-bar .step-label {
    font-size: 0.76rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body:not(.ug-veillee) .checkout-progress-bar .progress-connector {
    width: 56px !important;
    margin: 0 8px 22px !important;
}

/* Étapes franchies : cercle plein discret + coche. */
body:not(.ug-veillee) .checkout-progress-bar .progress-step.done .step-circle {
    background: rgba(242, 178, 62, 0.22);
    border-color: var(--ugv-border-strong);
    color: var(--ugv-or-pale);
}

body:not(.ug-veillee) .checkout-progress-bar .progress-step.done .step-label {
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .checkout-progress-bar .progress-connector.done {
    background: var(--ugv-grad-feu);
}

/* ==========================================================================
   3. EN-TÊTES DU TUNNEL
   ========================================================================== */

body:not(.ug-veillee) .ug-tunnel .cart-page-header {
    text-align: center;
    margin: 0 auto;
    padding: 1.2rem 1.25rem 0;
    max-width: 42rem;
}

body:not(.ug-veillee) .ug-tunnel .cart-page-header .page-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.15rem) !important;
    line-height: 1.15;
    margin: 0 0 0.35rem !important;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .ug-tunnel .cart-page-header .page-subtitle {
    font-size: 0.95rem !important;
    margin: 0 !important;
    color: var(--ugv-creme-70);
}

/* Titres internes : « 2 articles », « Détails de facturation »… */
body:not(.ug-veillee) .ug-tunnel .cart-items-title,
body:not(.ug-veillee) .ug-tunnel .cross-sell-title,
body:not(.ug-veillee) .ug-tunnel .cart_totals h2,
body:not(.ug-veillee) .ug-tunnel #order_review_heading,
body:not(.ug-veillee) .ug-tunnel form.woocommerce-checkout h3,
body:not(.ug-veillee) .ug-tunnel .woocommerce-billing-fields > h3,
body:not(.ug-veillee) .ug-tunnel .woocommerce-additional-fields > h3 {
    font-family: var(--font-display);
    font-size: 1.15rem !important;
    line-height: 1.3;
    margin: 0 0 0.75rem !important;
    color: var(--ugv-creme);
    text-align: left;
}

/* Le soulignement doré centré de cart.php n'a plus de sens à gauche. */
body:not(.ug-veillee) .ug-tunnel .cart_totals h2::after {
    display: none;
}

body:not(.ug-veillee) .ug-tunnel .cart-header-actions {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.6rem 0 0.7rem;
}

body:not(.ug-veillee) .ug-tunnel .cart-header-actions .cart-items-title {
    margin: 0 !important;
}

body:not(.ug-veillee) .ug-tunnel .continue-shopping-link {
    font-size: 0.88rem;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .ug-tunnel .continue-shopping-link:hover {
    color: var(--ugv-or);
}

/* ==========================================================================
   4. TABLEAUX (panier ET récapitulatif de commande)
   ========================================================================== */

body:not(.ug-veillee) .ug-tunnel table.shop_table,
body:not(.ug-veillee) .ug-tunnel .woocommerce-cart-form,
body:not(.ug-veillee) .ug-tunnel .cart_totals,
body:not(.ug-veillee) .ug-tunnel form.woocommerce-checkout {
    padding: 0 !important;
    box-shadow: none !important;
}

body:not(.ug-veillee) .ug-tunnel table.shop_table {
    background: var(--ugv-surface-solid) !important;
    border: 1px solid var(--ugv-border) !important;
    border-radius: 16px !important;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-size: 0.95rem;
}

body:not(.ug-veillee) .ug-tunnel table.shop_table th,
body:not(.ug-veillee) .ug-tunnel table.shop_table td {
    padding: 0.75rem 0.9rem !important;
    vertical-align: middle;
}

body:not(.ug-veillee) .ug-tunnel table.shop_table th {
    font-size: 0.74rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

body:not(.ug-veillee) .ug-tunnel table.shop_table td.product-thumbnail img,
body:not(.ug-veillee) .ug-tunnel table.shop_table td img {
    width: 56px !important;
    height: auto !important;
    border-radius: 8px;
}

/* Sélecteur de quantité : les trois contrôles s'empilaient verticalement. */
body:not(.ug-veillee) .ug-tunnel .quantity .quantity-text {
    display: none; /* « Quantity » en dur, redondant avec l'en-tête de colonne */
}

body:not(.ug-veillee) .ug-tunnel .quantity .quantity-select {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
}

body:not(.ug-veillee) .ug-tunnel .quantity input.minus,
body:not(.ug-veillee) .ug-tunnel .quantity input.plus {
    width: 1.9rem;
    height: 1.9rem;
    padding: 0 !important;
    flex: none;
    border-radius: 8px;
    border: 1px solid var(--ugv-border-strong);
    background: rgba(246, 236, 217, 0.06);
    color: var(--ugv-creme);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

body:not(.ug-veillee) .ug-tunnel .quantity input.minus:hover,
body:not(.ug-veillee) .ug-tunnel .quantity input.plus:hover {
    background: rgba(242, 178, 62, 0.2);
}

body:not(.ug-veillee) .ug-tunnel table.shop_table .quantity .qty {
    width: 2.9rem !important;
    padding: 0.32rem 0.2rem !important;
    text-align: center;
    -moz-appearance: textfield;
}

body:not(.ug-veillee) .ug-tunnel table.shop_table .quantity .qty::-webkit-outer-spin-button,
body:not(.ug-veillee) .ug-tunnel table.shop_table .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ligne d'actions : coupon et « mettre à jour » sur une seule rangée.
   NE PAS mettre `display:flex` sur le <td> — la cellule perd alors son
   comportement de table-cell, le colspan est ignoré et tout se resserre. */
body:not(.ug-veillee) .ug-tunnel td.actions,
body:not(.ug-veillee) .ug-tunnel td.actions.cart-actions {
    padding: 0.8rem 0.9rem !important;
    display: table-cell !important;
    text-align: left;
    white-space: normal;
}

body:not(.ug-veillee) .ug-tunnel td.actions .coupon {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-right: 0.6rem;
    vertical-align: middle;
}

/* WooCommerce impose `display:block; width:100%` aux boutons de cette cellule
   (règle pensée pour le mobile) : les deux boutons s'empilaient. */
body:not(.ug-veillee) .ug-tunnel td.actions .coupon {
    float: none !important;
    width: auto !important;
}

body:not(.ug-veillee) .ug-tunnel td.actions .button,
body:not(.ug-veillee) .ug-tunnel td.actions .coupon .button {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    width: auto !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

body:not(.ug-veillee) .ug-tunnel td.actions input#coupon_code {
    max-width: 12rem;
}

body:not(.ug-veillee) .ug-tunnel td.actions .button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

body:not(.ug-veillee) .ug-tunnel td.actions .coupon label {
    font-size: 0.85rem;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .ug-tunnel td.actions input#coupon_code {
    margin-right: 0 !important;
    padding: 0.5rem 0.7rem !important;
    max-width: 11rem;
}

/* Bas du panier : le total à droite, en carte, et une seule action dominante. */
body:not(.ug-veillee) .ug-tunnel .cart-collaterals {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-items: end;
    margin-top: 1.2rem;
}

/* Le gros bouton « Continuer mes achats » concurrençait « Valider la commande ».
   Le lien discret en haut du panier joue déjà ce rôle. */
body:not(.ug-veillee) .ug-tunnel .cart-collaterals .continue-shopping {
    display: none;
}

body:not(.ug-veillee) .ug-tunnel .cart_totals {
    width: 100%;
    max-width: 22rem;
    padding: 1rem 1.1rem !important;
}

body:not(.ug-veillee) .ug-tunnel .cart_totals table th,
body:not(.ug-veillee) .ug-tunnel .cart_totals table td {
    padding: 0.45rem 0 !important;
    font-size: 0.92rem;
    border: 0 !important;
    background: transparent !important;
}

body:not(.ug-veillee) .ug-tunnel .cart_totals tr.order-total th,
body:not(.ug-veillee) .ug-tunnel .cart_totals tr.order-total td {
    border-top: 1px solid var(--ugv-border) !important;
    padding-top: 0.6rem !important;
    font-size: 1.02rem;
}

body:not(.ug-veillee) .ug-tunnel .wc-proceed-to-checkout {
    padding: 0.8rem 0 0 !important;
}

body:not(.ug-veillee) .ug-tunnel a.checkout-button {
    display: block;
    text-align: center;
    padding: 0.75rem 1.2rem !important;
    font-size: 0.98rem !important;
    border-radius: 999px !important;
    margin: 0 !important;
}

/* ==========================================================================
   5. FORMULAIRE DE COMMANDE
   ========================================================================== */

body:not(.ug-veillee) .ug-tunnel form.woocommerce-checkout {
    padding: 1.4rem 1.5rem 1.6rem !important;
}

/* Bandeau « sans compte » — une ligne. */
body:not(.ug-veillee) .ug-tunnel .guest-checkout-banner {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 0 0 0.9rem !important;
    padding: 0.6rem 0.85rem !important;
    border: 1px solid var(--ugv-border);
    border-radius: 12px;
    background: rgba(246, 236, 217, 0.04);
    font-size: 0.88rem;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .ug-tunnel .guest-checkout-badge {
    display: inline-flex;
    flex: none;
    width: auto !important;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--ugv-grad-feu);
    color: var(--ug-neutral-black);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Jauge « livraison offerte » — hauteur divisée par trois. */
body:not(.ug-veillee) .ug-tunnel .free-shipping-progress {
    margin: 0 0 1rem !important;
    padding: 0.7rem 0.9rem !important;
    border: 1px solid var(--ugv-border);
    border-radius: 12px;
    background: rgba(246, 236, 217, 0.04);
}

body:not(.ug-veillee) .ug-tunnel .shipping-progress-header {
    font-size: 0.86rem !important;
    margin-bottom: 0.4rem !important;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .ug-tunnel .shipping-progress-bar {
    height: 6px !important;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(246, 236, 217, 0.12) !important;
}

body:not(.ug-veillee) .ug-tunnel .shipping-progress-fill {
    height: 100% !important;
    background: var(--ugv-grad-feu) !important;
}

body:not(.ug-veillee) .ug-tunnel .shipping-progress-fill .progress-percentage {
    display: none; /* illisible dans 6 px */
}

body:not(.ug-veillee) .ug-tunnel .shipping-progress-footer {
    margin-top: 0.4rem !important;
    font-size: 0.8rem !important;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .ug-tunnel .form-row {
    margin: 0 0 0.85rem !important;
    padding: 0 !important;
}

body:not(.ug-veillee) .ug-tunnel .form-row label {
    font-size: 0.85rem !important;
    margin-bottom: 0.28rem;
    display: block;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .ug-tunnel .form-row input.input-text,
body:not(.ug-veillee) .ug-tunnel .form-row textarea,
body:not(.ug-veillee) .ug-tunnel .form-row .select2-selection {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
}

body:not(.ug-veillee) .ug-tunnel .form-row textarea {
    min-height: 4.5rem !important;
}

/* Modes de paiement : lignes serrées, libellé lisible. */
body:not(.ug-veillee) .ug-tunnel .wc_payment_methods li.wc_payment_method {
    padding: 0.55rem 0 !important;
    list-style: none;
}

body:not(.ug-veillee) .ug-tunnel .wc_payment_methods label {
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .ug-tunnel .wc_payment_methods .payment_box {
    font-size: 0.86rem !important;
    padding: 0.6rem 0.8rem !important;
    margin: 0.4rem 0 0 !important;
    border-radius: 10px;
    background: rgba(246, 236, 217, 0.05) !important;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .ug-tunnel #place_order {
    width: 100%;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
    border-radius: 999px !important;
}

/* ==========================================================================
   6. PANIER VIDE
   ========================================================================== */

body:not(.ug-veillee) .ug-tunnel .empty-cart-section {
    text-align: center;
    max-width: 30rem;
    margin: 2.5rem auto 4rem;
    padding: 2rem 1.5rem !important;
    border: 1px solid var(--ugv-border);
    border-radius: 20px;
    background: var(--ugv-surface);
}

body:not(.ug-veillee) .ug-tunnel .empty-cart-section .empty-cart-icon {
    font-size: 2.4rem !important;
    margin: 0 0 0.6rem !important;
    opacity: 0.8;
}

body:not(.ug-veillee) .ug-tunnel .empty-cart-section h1 {
    font-family: var(--font-display);
    font-size: 1.5rem !important;
    margin: 0 0 0.5rem !important;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .ug-tunnel .empty-cart-section p {
    font-size: 0.95rem !important;
    color: var(--ugv-creme-70);
    margin: 0 0 1.4rem !important;
}

body:not(.ug-veillee) .ug-tunnel .continue-shopping-btn {
    display: inline-flex;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   7. CONFIRMATION DE COMMANDE
   ==========================================================================
   Aucune de ces classes n'avait de style avant le 29/07/2026. */

body:not(.ug-veillee) .checkout-confirmation {
    max-width: 44rem;
    margin: 1.5rem auto 0;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .confirmation-hero {
    text-align: center;
    padding: 2rem 1.5rem 1.6rem;
    border: 1px solid var(--ugv-border-strong);
    border-radius: 22px;
    background: linear-gradient(140deg, rgba(255, 122, 60, 0.1), rgba(138, 99, 201, 0.12));
}

body:not(.ug-veillee) .confirmation-hero .success-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    background: var(--ugv-grad-feu);
    color: var(--ug-neutral-black);
}

body:not(.ug-veillee) .confirmation-hero--warn .success-icon {
    background: rgba(255, 122, 60, 0.18);
    border: 1.5px solid var(--ugv-braise);
    color: var(--ugv-braise);
}

body:not(.ug-veillee) .confirmation-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    line-height: 1.2;
    margin: 0 0 0.5rem !important;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .confirmation-lead {
    font-size: 0.98rem;
    color: var(--ugv-creme-70);
    margin: 0;
}

body:not(.ug-veillee) .confirmation-lead strong {
    color: var(--ugv-or-pale);
}

/* Récapitulatif en ligne */
body:not(.ug-veillee) .checkout-confirmation .order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.6rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

body:not(.ug-veillee) .checkout-confirmation .order-info-item {
    background: var(--ugv-surface-solid);
    border: 1px solid var(--ugv-border);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
}

body:not(.ug-veillee) .checkout-confirmation .order-info-item span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ugv-creme-50);
    margin-bottom: 0.2rem;
}

body:not(.ug-veillee) .checkout-confirmation .order-info-item strong {
    font-size: 0.98rem;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .checkout-confirmation .order-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.3rem 0 0;
}

body:not(.ug-veillee) .checkout-confirmation .btn-feu,
body:not(.ug-veillee) .checkout-confirmation .btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.68rem 1.4rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s;
}

body:not(.ug-veillee) .checkout-confirmation .btn-feu {
    background: var(--ugv-grad-feu);
    color: var(--ug-neutral-black);
}

body:not(.ug-veillee) .checkout-confirmation .btn-feu:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 122, 60, 0.36);
    color: var(--ug-neutral-black);
}

body:not(.ug-veillee) .checkout-confirmation .btn-ghost {
    border: 1.5px solid rgba(246, 236, 217, 0.32);
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .checkout-confirmation .btn-ghost:hover {
    border-color: var(--ugv-or);
    color: var(--ugv-or-pale);
}

/* Détail repliable */
body:not(.ug-veillee) .checkout-confirmation .order-recap {
    margin-top: 1.4rem;
    border: 1px solid var(--ugv-border);
    border-radius: 14px;
    background: var(--ugv-surface);
    overflow: hidden;
}

body:not(.ug-veillee) .checkout-confirmation .order-recap > summary {
    cursor: pointer;
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ugv-creme-70);
}

body:not(.ug-veillee) .checkout-confirmation .order-recap > summary:hover {
    color: var(--ugv-or);
}

body:not(.ug-veillee) .checkout-confirmation .order-recap > div {
    padding: 0 1rem 1rem;
}

body:not(.ug-veillee) .checkout-confirmation .order-recap h2,
body:not(.ug-veillee) .checkout-confirmation .order-recap h3 {
    font-family: var(--font-display);
    font-size: 1rem !important;
    margin: 1rem 0 0.5rem !important;
    color: var(--ugv-creme);
}

/* Instructions injectées par les passerelles (do_action woocommerce_thankyou) */
body:not(.ug-veillee) .checkout-confirmation .woocommerce-order-overview,
body:not(.ug-veillee) .checkout-confirmation .woocommerce-thankyou-order-details {
    display: none; /* doublon de notre .order-info */
}

/* Suites de la commande */
body:not(.ug-veillee) .ug-after-order {
    max-width: 44rem;
    margin: 1.6rem auto 0;
    padding: 1.2rem 1.4rem;
    border: 1px dashed var(--ugv-border-strong);
    border-radius: 18px;
}

body:not(.ug-veillee) .ug-after-order h2 {
    font-family: var(--font-display);
    font-size: 1.1rem !important;
    margin: 0 0 0.7rem !important;
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .ug-after-order ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

body:not(.ug-veillee) .ug-after-order li {
    font-size: 0.92rem;
    color: var(--ugv-creme-70);
    line-height: 1.5;
}

body:not(.ug-veillee) .ug-after-order strong {
    color: var(--ugv-creme);
}

body:not(.ug-veillee) .ug-after-order a {
    color: var(--ugv-or);
}

/* ==========================================================================
   8. VENTE COMPLÉMENTAIRE
   ========================================================================== */

body:not(.ug-veillee) .ug-tunnel .cross-sell-section {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--ugv-border);
}

/* ==========================================================================
   9. MOBILE
   ========================================================================== */

@media (max-width: 640px) {
    body:not(.ug-veillee) .checkout-progress-bar .progress-connector {
        width: 28px !important;
        margin: 0 5px 22px !important;
    }

    body:not(.ug-veillee) .checkout-progress-bar .step-label {
        font-size: 0.68rem !important;
    }

    body:not(.ug-veillee) .ug-tunnel form.woocommerce-checkout {
        padding: 1.1rem 1rem 1.3rem !important;
    }

    body:not(.ug-veillee) .ug-tunnel table.shop_table th,
    body:not(.ug-veillee) .ug-tunnel table.shop_table td {
        padding: 0.6rem 0.65rem !important;
    }

    body:not(.ug-veillee) .checkout-confirmation .order-actions {
        flex-direction: column;
    }

    body:not(.ug-veillee) .checkout-confirmation .btn-feu,
    body:not(.ug-veillee) .checkout-confirmation .btn-ghost {
        justify-content: center;
    }
}
