 /* =========================================================
    LIFTERLMS — STRUCTURE CHECKOUT
    PC :
    ┌──────────────────┬──────────────────┐
    │ Informations     │ Récapitulatif    │
    │ client            │                  │
    │                   │ Paiement         │
    └──────────────────┴──────────────────┘

    MOBILE :
    Récapitulatif
    Informations client
    Paiement
    ========================================================= */


/* =========================
   DESKTOP
   ========================= */

.llms-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 28px !important;

    width: 100% !important;
    align-items: start !important;
}


/* Les DEUX seuls éléments de la grille */

.llms-checkout > .llms-checkout-col {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Informations client */

.llms-checkout > .llms-col-1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
}


/* Colonne droite */

.llms-checkout > .llms-col-2 {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
}


/* Les blocs internes ne sont PAS des éléments
   de la grille principale */

.llms-checkout > .llms-col-2 > .llms-checkout-section {
    width: 100% !important;
    margin: 0 !important;

    grid-column: auto !important;
    grid-row: auto !important;
}


/* Paiement */

.llms-checkout .payment-details {
    width: 100% !important;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .llms-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }


    /*
     * On rend le contenu de la colonne 2
     * directement ordonnable.
     */

    .llms-checkout > .llms-col-2 {
        display: contents !important;
    }


    /* 1 — RÉCAPITULATIF */

    .llms-checkout > .llms-col-2 > .order-summary {
        order: 1 !important;
        width: 100% !important;
    }


    /* 2 — INFORMATIONS */

    .llms-checkout > .llms-col-1 {
        order: 2 !important;
        width: 100% !important;
    }


    /* 3 — PAIEMENT */

    .llms-checkout > .llms-col-2 > .payment-details {
        order: 3 !important;
        width: 100% !important;
    }
}



 /* =========================================================
    LIFTERLMS — CHECKOUT
    Structure + style
    ========================================================= */


/* =========================================================
   1. CONTENEUR
   ========================================================= */

.llms-checkout-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 50px auto 70px;
    padding: 0 12px;
    box-sizing: border-box;
}


/* =========================================================
   2. TITRE PRINCIPAL
   ========================================================= */

.llms-checkout-wrapper > h1,
.llms-checkout-wrapper .entry-title {
    margin: 0 0 40px;

    text-align: center;

    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}


/* =========================================================
   3. STRUCTURE DESKTOP
   ========================================================= */

.llms-checkout {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    grid-template-rows: auto !important;

    gap: 28px !important;

    width: 100% !important;

    align-items: start !important;
}


/* Les deux seules colonnes */

.llms-checkout > .llms-checkout-col {
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Colonne gauche */

.llms-checkout > .llms-col-1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
}


/* Colonne droite */

.llms-checkout > .llms-col-2 {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 22px !important;
}


/* Les blocs internes */

.llms-checkout > .llms-col-2 > .llms-checkout-section {
    width: 100% !important;

    margin: 0 !important;

    grid-column: auto !important;
    grid-row: auto !important;
}


/* Paiement */

.llms-checkout .payment-details {
    width: 100% !important;
}


/* =========================================================
   4. CARTES
   ========================================================= */

.llms-checkout .llms-checkout-section {
    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e3e6ea;
    border-radius: 14px;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, .045);

    overflow: hidden;
}


/* =========================================================
   5. TITRES DES BLOCS
   ========================================================= */

.llms-checkout .llms-form-heading {
    margin: 0;
    padding: 15px 20px;

    background: #252a30;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: .045em;
    text-transform: uppercase;
}


/* =========================================================
   6. CONTENU
   ========================================================= */

.llms-checkout .llms-checkout-section-content {
    padding: 6px 25px 25px 25px
}


/*
 * Empêche LifterLMS de transformer
 * les zones internes en nouvelles cartes.
 */

.llms-checkout .llms-form-fields {
    padding: 20px 25px 25px 25px;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}


/* =========================================================
   7. CHAMPS
   ========================================================= */

.llms-checkout input[type="text"],
.llms-checkout input[type="email"],
.llms-checkout input[type="password"],
.llms-checkout input[type="tel"],
.llms-checkout select,
.llms-checkout textarea {
    width: 100%;
    min-height: 40px;

    padding: 11px 14px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #d9dde3;
    border-radius: 8px;

    font-size: 15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


/* Focus */

.llms-checkout input:focus,
.llms-checkout select:focus,
.llms-checkout textarea:focus {
    outline: none;

    border-color: #8b95a5;

    box-shadow:
        0 0 0 3px rgba(80, 90, 105, .10);
}


/* =========================================================
   8. LABELS
   ========================================================= */

.llms-checkout label {
    display: block;

    margin-bottom: 0;

    font-size: 14px;
    font-weight: 600;
}



/* =========================================================
   9. RÉCAPITULATIF
   ========================================================= */

.llms-order-summary {
    margin: 0;
    padding: 0;

    list-style: none;
}

.llms-order-summary li {
    padding: 13px 0;
    border-bottom: 1px solid #edf0f3;

    font-size: 15px;
    line-height: 1.5;
	margin: 0 !important;
}

.llms-order-summary li:last-child {
    border-bottom: 0;
}

.llms-order-summary .llms-label {
    font-weight: 600;
}


/* =========================================================
   10. PRIX
   ========================================================= */

.llms-order-summary .llms-pricing-main {
    margin-top: 6px;
    padding-top: 18px;

    font-size: 18px;
}

.llms-order-summary .llms-pricing-main .price-regular,
.llms-order-summary .llms-pricing-main .price-sale,
.llms-order-summary .llms-pricing-main .price-coupon {
    float: right;

    font-size: 20px;
    font-weight: 700;
}


/* =========================================================
   11. TVA
   ========================================================= */

.llms-order-summary .llms-vat-notice {
    margin-top: 10px;
    padding-top: 15px;

    border-bottom: 0;

    color: #6b7280;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   12. PASSERELLES DE PAIEMENT
   ========================================================= */

.llms-payment-gateways {
    width: 100%;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}

.llms-payment-gateways::before {
    display: none;
}


/* =========================================================
   13. CONFIRMATION / BOUTON
   ========================================================= */

.llms-checkout-confirm {
    margin-top: 22px;
}

.llms-checkout .llms-button-action,
.llms-checkout button[type="submit"] {
    min-height: 52px;

    padding: 13px 28px;

    border: 0;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .15s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.llms-checkout .llms-button-action:hover,
.llms-checkout button[type="submit"]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .12);
}

.llms-checkout .llms-button-action:active,
.llms-checkout button[type="submit"]:active {
    transform: translateY(0);
}


/* =========================================================
   14. TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .llms-checkout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        gap: 20px !important;
    }
}


/* =========================================================
   15. SMARTPHONE
   Ordre :
   Récapitulatif
   Informations
   Paiement
   ========================================================= */

@media (max-width: 700px) {

    .llms-checkout-wrapper {
        margin-top: 30px;
        margin-bottom: 45px;

        padding: 0 15px;
    }


    /* Structure */

    .llms-checkout {
        display: flex !important;

        flex-direction: column !important;

        gap: 16px !important;
    }


    /*
     * On ouvre la colonne droite pour permettre
     * l'ordre personnalisé des trois blocs.
     */

    .llms-checkout > .llms-col-2 {
        display: contents !important;
    }


    /* ---------------------------------------------
       1. RÉCAPITULATIF
       --------------------------------------------- */

    .llms-checkout > .llms-col-2 > .order-summary {
        order: 1 !important;

        width: 100% !important;
    }


    /* ---------------------------------------------
       2. INFORMATIONS
       --------------------------------------------- */

    .llms-checkout > .llms-col-1 {
        order: 2 !important;

        width: 100% !important;

        box-sizing: border-box;
    }


    /* ---------------------------------------------
       3. PAIEMENT
       --------------------------------------------- */

    .llms-checkout > .llms-col-2 > .payment-details {
        order: 3 !important;

        width: 100% !important;

        box-sizing: border-box;
    }


    /* Cartes */

    .llms-checkout .llms-checkout-section {
        border-radius: 12px;
    }


    /* Contenu */

    .llms-checkout .llms-checkout-section-content,
    .llms-checkout .llms-form-fields {
        padding: 20px;
    }


    /* Titres */

    .llms-checkout .llms-form-heading {
        padding: 14px 18px;

        font-size: 13px;
    }


    /* Prix */

    .llms-order-summary .llms-pricing-main .price-regular,
    .llms-order-summary .llms-pricing-main .price-sale,
    .llms-order-summary .llms-pricing-main .price-coupon {
        float: none;

        display: block;

        margin-top: 5px;

        font-size: 19px;
    }


    /* Bouton */

    .llms-checkout .llms-button-action,
    .llms-checkout button[type="submit"] {
        width: 100%;
    }
}


/* =========================================================
   16. TRÈS PETITS ÉCRANS
   ========================================================= */

@media (max-width: 400px) {

    .llms-checkout-wrapper {
        padding: 0 12px;
    }

    .llms-checkout .llms-checkout-section-content,
    .llms-checkout .llms-form-fields {
        padding: 18px;
    }

    .llms-checkout .llms-form-heading {
        padding: 13px 16px;
    }
}



.llms-checkout .llms-agree-to-terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.llms-checkout .llms-agree-to-terms-wrapper .llms-field-checkbox {
    flex: 0 0 auto;
    margin: 4px 0 0;
}

.llms-checkout .llms-agree-to-terms-wrapper label {
    flex: 1;
    margin: 0;
    text-align: justify;
    line-height: 1.5;
}

