@font-face {
    font-family: "The Antiqua B";
    src: url("../../fonts/theantiquab-w6semibold-webfont.woff2") format("woff2"),
         url("../../fonts/theantiquab-w6semibold-webfont.woff") format("woff");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --checkout-black: #111;
    --checkout-red: #c8000b;
    --checkout-text: #2b303b;
    --checkout-bg: #f5f6f8;
}

body.iframe {
    background: var(--checkout-bg);
    color: var(--checkout-text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.iframe .header {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    color: var(--checkout-text);
}
body.iframe .header-conteneur {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 40px, 1120px);
    height: 100%;
    margin: auto;
}
body.iframe .header-logo,
body.iframe .header-menu,
body.iframe .header-item {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}
body.iframe .header-logo img {
    display: block;
    width: 140px;
    height: auto;
}
body.iframe .header-lien,
body.iframe .blockclient-infos a {
    color: var(--checkout-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
body.iframe .blockclient-avatar,
body.iframe .header-fermer { display: none; }
body.iframe .fondalt {
    min-height: calc(100vh - 64px);
    background: var(--checkout-bg);
}
body.iframe .fondalt > .conteneur {
    box-sizing: border-box;
    width: min(100% - 40px, 1120px);
    margin: auto;
    padding: 0;
}
body.iframe .tunnel { padding: 32px 0 48px; }
.checkout-intro { margin-bottom: 28px; }
.checkout-intro p {
    margin: 0 0 6px;
    color: var(--checkout-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.checkout-intro h1 {
    margin: 0;
    color: var(--checkout-black);
    font: 600 clamp(30px, 3.2vw, 42px)/1.15 "The Antiqua B", Georgia, serif;
}
body.iframe #my-form { width: 100%; height: auto; margin: 0; }
body.iframe #my-form > .colonne {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 32px;
    width: 100%;
    height: auto;
}
body.iframe .tunnel-colform {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    padding: 0;
}
body.iframe .tunnel-panier {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
}
body.iframe .checkout_coordonnees,
body.iframe #payment-block,
body.iframe .tunnel-panier .boite {
    width: 100%;
    height: auto;
    margin: 0 0 24px;
    border: 1px solid #e0e1e4;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}
body.iframe .checkout_coordonnees,
body.iframe #payment-block { padding: 30px 32px; }
body.iframe .boite-entete {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-bottom: 24px;
    padding: 0;
}
body.iframe .boite-entete .t5 {
    margin: 0;
    color: var(--checkout-text);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}
body.iframe .boite-entete .inconecercle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border: 1px solid var(--checkout-red);
    border-radius: 50%;
    color: var(--checkout-red);
    font-size: 14px;
}
body.iframe .checkout_coordonnees .boite-section,
body.iframe #payment-block .boite-section {
    padding: 0;
}
body.iframe .checkout_coordonnees .form-tunnel-abo {
    width: 100%;
    max-width: 520px;
    margin: 0;
}
body.iframe .form-ligne {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
}
body.iframe .form-ligne-label {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 8px;
    padding: 0;
    color: var(--checkout-text);
    font-size: 14px;
    font-weight: 600;
}
body.iframe .form-ligne-input {
    width: 100%;
    height: auto;
    margin: 0;
}
body.iframe .form-ligne-input input:not([type="radio"]):not([type="checkbox"]),
body.iframe .form-ligne-input select {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 9px 12px;
    border: 1px solid #9fa3aa;
    border-radius: 3px;
    background: #fff;
    color: var(--checkout-text);
    font: inherit;
}
body.iframe .form-ligne-input input:focus,
body.iframe .form-ligne-input select:focus {
    outline: 2px solid var(--checkout-red);
    outline-offset: 1px;
}
body.iframe .checkout-password-control { position: relative; }
body.iframe .checkout-password-control .icon-eye {
    position: absolute;
    top: 50%;
    right: 14px;
    left: auto;
    width: 24px;
    height: 24px;
    margin: 0;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}
body.iframe .validation-failed {
    border-color: #d50304 !important;
}
body.iframe #container-condition.is-invalid {
    border-color: #d50304;
    background: #fff6f6;
}
body.iframe #password_virtual { margin: 0; padding-right: 48px; }
.checkout-password-hint { margin: 7px 0 0; color: #717783; font-size: 12px; }
body.iframe .tunnel-panier .boite-section { padding: 24px; }
body.iframe .panier-entete { color: var(--checkout-text); font-size: 14px; font-weight: 700; }
body.iframe .panier-imageproduit img { max-width: 180px; height: auto; }
body.iframe .panier-prixtotal {
    color: var(--checkout-black);
    font-size: 26px;
    font-weight: 700;
}
body.iframe .tunnel-panier .boite._fondclair { display: none; }
body.iframe #container-condition {
    border: 1px solid #dedfe3;
    border-radius: 4px;
    background: #fafafa;
}
body.iframe #container-condition a,
body.iframe #payment-block a { color: var(--checkout-red); }
body.iframe #payment-block .petittitre { font-size: 15px; font-weight: 600; }
body.iframe #js-select-duration > .grille-cell {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border: 0 !important;
}
body.iframe #js-select-duration .choixfrequence {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 78px;
    margin: 0;
    padding: 12px;
    border: 1px solid #cfd2d8 !important;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
body.iframe #js-select-duration .choixfrequence:has(input:checked) {
    border-color: var(--checkout-red) !important;
    background: #fff8f8;
}
body.iframe #js-select-duration .choixfrequence-texte1 { margin: 0; }
body.iframe #js-select-duration br { display: none; }
body.iframe #js-select-duration img {
    display: block;
    width: auto;
    max-width: 96px;
    height: 48px;
    object-fit: contain;
}
body.iframe #checkout_login_trigger {
    width: min(100%, 520px);
    min-height: 44px;
    margin-top: 24px !important;
    border: 0;
    border-radius: 4px;
    background: var(--checkout-red);
    color: #fff;
    font-weight: 700;
}
body.iframe #checkout_login_trigger:hover { background: var(--checkout-black); }
body.iframe .mytext-center a { color: var(--checkout-red); }
body.iframe footer.bgdark {
    padding: 24px 0;
    background: var(--checkout-black);
    color: #e5e5e5;
}
body.iframe > .conteneur.hide-print {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.iframe footer.bgdark > .conteneur {
    box-sizing: border-box;
    width: min(100% - 40px, 1120px);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
}
body.iframe footer.bgdark .liensfooter-item-lien { color: #e5e5e5; }
body.iframe footer.bgdark .liensfooter-item-lien:hover { color: #fff; }

@media (max-width: 900px) {
    body.iframe #my-form > .colonne { grid-template-columns: 1fr; }
    body.iframe .tunnel-panier { grid-column: 1; grid-row: 1; }
    body.iframe .tunnel-colform { grid-column: 1; grid-row: 2; }
}
@media (max-width: 600px) {
    body.iframe .header-conteneur,
    body.iframe .fondalt > .conteneur { width: calc(100% - 32px); }
    body.iframe .tunnel { padding-top: 24px; }
    body.iframe .checkout_coordonnees,
    body.iframe #payment-block { padding: 24px 20px; }
    body.iframe #js-select-duration > .grille-cell { grid-template-columns: 1fr; }
    body.iframe .boite-entete .t5 { font-size: 22px; }
}
