/**
 * Fichier  : /ott/checkout/assets/css/checkout.css
 * Fonction : structure du checkout
 */


/* ==================================================
   CHECKOUT
================================================== */

#checkout .checkout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

#checkout .checkout {
    padding: 0 2em;
}

#checkout .checkout {
    display: flex;
    flex-direction: column;
    gap: 3em;
}


/* ==================================================
   HEADER
================================================== */

#checkout .checkout > header {
    position: relative;
}

#checkout .checkout > header {
    width: 100%;
    max-width: 100%;
}

#checkout .checkout > header {
    padding-top: 4em;
}

#checkout .checkout > header > div {
    max-width: 860px;
    margin: 0 auto;
}

#checkout .checkout > header > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7em;
}

#checkout .checkout > header > div {
    text-align: center;
}


/* ==================================================
   TITLES
================================================== */

#checkout .checkout > header h5 {
    position: relative;
}

#checkout .checkout > header h5 {
    width: fit-content;
}

#checkout .checkout > header h5 {
    font-family: 'content-font';
    font-size: .8em;
    font-weight: 600;
    line-height: 1.2;
}

#checkout .checkout > header h5 {
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.58);
}

#checkout .checkout > header h1 {
    font-family: 'title-font';
    font-size: 4.5em;
    font-weight: 800;
    line-height: .92;
}

#checkout .checkout > header h1 {
    letter-spacing: -.06em;
    text-wrap: balance;
    color: #fff;
}

#checkout .checkout > header h1 {
    text-shadow:
        0 2px 24px rgba(0,0,0,.28);
}


/* ==================================================
   DESCRIPTION
================================================== */

#checkout .checkout .description {
    max-width: 680px;
}

#checkout .checkout .description {
    text-align: center;
}

#checkout .checkout .description {
    font-family: 'content-font';
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.55;
    color: rgba(255,255,255,.68);
}

#checkout .checkout .description p {
    margin: 0;
}


/* ==================================================
   LAYOUT
================================================== */

#checkout .checkout .layout {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

#checkout .checkout .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: flex-start;
    gap: clamp(18px, 2vw, 28px);
}


/* ==================================================
   FORM
================================================== */

#checkout .checkout .form {
    min-width: 0;
}

#checkout .checkout .form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ==================================================
   BLOCK
================================================== */

#checkout .checkout .block {
    position: relative;
    overflow: hidden;
}

#checkout .checkout .block {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.03)
        );

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    backdrop-filter: blur(18px);
}

#checkout .checkout .block {
    box-shadow:
        0 12px 34px rgba(0,0,0,.26);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media screen and (max-width: 980px) {

    #checkout .checkout .layout {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 768px) {

    #checkout .checkout {
        padding-inline: 14px;
        gap: 2em;
    }

    #checkout .checkout > header {
        padding-top: 1em;
    }

    #checkout .checkout > header h1 {
        font-size: 2em;
    }

    #checkout .checkout > header h5 {
        font-size: 10px;
    }

    #checkout .checkout > header h5::after {
        width: 14px;
    }

}