/* ============================================================
   Tunnel de commande (pages email* et order*) - mode épuré
   Chargé uniquement dans le head des pages du tunnel.
   ============================================================ */

/* --- Éléments de la master masqués pendant le tunnel --- */
body.checkout .divshare2,
body.checkout .ledivprem3,
body.checkout .scrollToTop,
body.checkout #sticky-search-bar,
body.checkout #promo-banner,
.divshare2,
.ledivprem3,
.scrollToTop,
#sticky-search-bar,
#promo-banner {
    display: none !important;
}

/* --- Récapitulatif produit --- */
.ck-recap {
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    background: #fafbfc;
    padding: 18px 20px 14px 20px;
    margin-bottom: 22px;
    text-align: left;
}

.ck-recap .row {
    margin-left: 0;
    margin-right: 0;
}

.ck-recap .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.ck-recap-head {
    font-size: 12px;
    letter-spacing: .04em;
    color: #6c757d;
    border-bottom: 1px solid #e3e6ea;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.ck-recap-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #111b49;
    line-height: 1.35;
}

.ck-recap-details {
    font-size: 13px;
    color: #555;
    margin-top: 4px;
    line-height: 1.5;
}

.ck-recap-delivery {
    font-size: 13px;
    color: #1f8a4c;
    margin-top: 6px;
}

.ck-recap-delivery:before {
    content: "\2713";
    margin-right: 5px;
    font-weight: 700;
}

.ck-recap-price {
    font-size: 18px !important;
    font-weight: 700;
    color: #111b49;
    white-space: nowrap;
}

.ck-recap .promo-discount-row,
.ck-recap .promo-total-row {
    border-top: 1px dashed #e3e6ea;
    padding-top: 8px;
    margin-top: 8px;
}

/* --- Page email --- */
.ck-back {
    display: inline-block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 14px;
    text-decoration: none;
}

.ck-back:hover {
    color: #111b49;
    text-decoration: underline;
}

.ck-help {
    font-size: 13px;
    color: #6c757d;
    margin-top: 6px;
    margin-bottom: 0;
}

.ck-rgpd {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #8a8f98 !important;
}

/* --- Page order : code promo --- */
.ck-promo {
    margin: 4px 0 14px 0;
    text-align: left;
}

.ck-promo-link {
    font-size: 13px;
    color: #6c757d;
    text-decoration: underline;
    cursor: pointer;
}

.ck-promo-link:hover {
    color: #111b49;
}

.ck-promo .promo-code-section {
    margin-top: 10px;
}

/* --- Page order : acceptation des CGV --- */
.ck-cgv {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff7ee;
    border: 1px solid #f9d9b8;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 16px;
    text-align: left;
}

.ck-cgv input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    margin: 2px 0 0 0;
    cursor: pointer;
    accent-color: #f77f00;
}

.ck-cgv label {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.ck-cgv label a {
    color: #111b49;
    text-decoration: underline;
}

.ck-cgv-hint {
    font-size: 13px;
    color: #b35c00;
    margin: 0 0 12px 0;
    text-align: left;
}

/* --- Page order : bouton de paiement --- */
#paypal-wrapper {
    max-width: 480px;
    margin: 0 auto 8px auto;
}

#paypal-wrapper.ck-hidden {
    display: none;
}

/* --- Réassurance (visible sur tous les écrans) --- */
.ck-reassurance {
    list-style: none;
    padding: 14px 0 0 0;
    margin: 6px 0 0 0;
    border-top: 1px solid #e3e6ea;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    text-align: left;
}

.ck-reassurance li {
    font-size: 13px;
    color: #444;
    line-height: 1.45;
    padding-left: 22px;
    position: relative;
}

.ck-reassurance li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #1f8a4c;
    font-weight: 700;
}

.ck-reassurance a {
    color: #111b49;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .ck-recap {
        padding: 14px 14px 10px 14px;
    }

    .ck-recap-title {
        font-size: 15px;
    }

    .ck-recap-price {
        font-size: 16px !important;
    }

    .ck-reassurance {
        grid-template-columns: 1fr;
    }
}
