/**
 * Fichier  : /ott/checkout/assets/css/overview.css
 * Fonction : style du récapitulatif checkout
 */


/* ==================================================
   OVERVIEW
================================================== */

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

#checkout .checkout .overview .sticky {
    position: sticky;
    top: 110px;
}

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

#checkout .checkout .overview .block {
    padding: 22px;
}


/* ==================================================
   PRODUCT
================================================== */

#checkout .checkout .overview .product h4 {
    margin: 0;
}

#checkout .checkout .overview .product h4 {
    font-family: 'title-font';
    font-size: 1.5em;
    font-weight: 800;
    line-height: .96;
}

#checkout .checkout .overview .product h4 {
    letter-spacing: -.04em;
    color: #fff;
}

#checkout .checkout .overview .product p {
    margin: 12px 0 0 0;
}

#checkout .checkout .overview .product p {
    font-family: 'content-font';
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,.66);
}


/* ==================================================
   SUMMARY
================================================== */

#checkout .checkout .overview .summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#checkout .checkout .overview .summary p {
    margin: 0;
}

#checkout .checkout .overview .summary p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#checkout .checkout .overview .summary span {
    font-family: 'content-font';
    font-size: 13px;
    color: rgba(255,255,255,.58);
}

#checkout .checkout .overview .summary strong {
    font-family: 'bold-font';
    font-size: 14px;
    color: #fff;
}

#checkout .checkout .overview .summary .total {
    padding-top: 14px;
    margin-top: 4px;
}

#checkout .checkout .overview .summary .total {
    border-top: 1px solid rgba(255,255,255,.08);
}

#checkout .checkout .overview .summary .total span,
#checkout .checkout .overview .summary .total strong {
    font-size: 18px;
}

#checkout .checkout .overview .summary .total strong {
    color: #fff;
}


/* ==================================================
   EMPTY MEMBERMOUSE DECISIONS
================================================== */

#checkout .checkout .overview .summary p:empty {
    display: none;
}


/* ==================================================
   BUTTON WRAPPER
================================================== */

#checkout .checkout .overview .button {
    position: relative;
}


/* ==================================================
   BUTTON
================================================== */

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    width: 100%;
    min-height: 54px;
}

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    cursor: pointer;
}

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    background:
        linear-gradient(
            135deg,
            #8e0e00,
            #c91f16 35%,
            #e9401b 68%,
            #ff7b00
        ) !important;

    border: 0 !important;
    border-radius: 999px !important;
}

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    box-shadow:
        0 12px 30px rgba(233,64,27,.34),
        0 0 20px rgba(255,123,0,.18),
        inset 0 1px 0 rgba(255,255,255,.18);
}

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    font-family: 'content-font' !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    color: #fff !important;
}

#checkout .checkout .overview .button a,
#checkout .checkout .overview .button input,
#checkout .checkout .overview .button button {
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}


/* ==================================================
   BUTTON HOVER
================================================== */

#checkout .checkout .overview .button a:hover,
#checkout .checkout .overview .button input:hover,
#checkout .checkout .overview .button button:hover {
    transform: translateY(-2px);
}

#checkout .checkout .overview .button a:hover,
#checkout .checkout .overview .button input:hover,
#checkout .checkout .overview .button button:hover {
    box-shadow:
        0 16px 36px rgba(233,64,27,.42),
        0 0 26px rgba(255,123,0,.24),
        inset 0 1px 0 rgba(255,255,255,.20);
}


/* ==================================================
   BUTTON ACTIVE
================================================== */

#checkout .checkout .overview .button a:active,
#checkout .checkout .overview .button input:active,
#checkout .checkout .overview .button button:active {
    transform: scale(.98);
}


/* ==================================================
   VAT
================================================== */

#checkout .checkout .overview .summary .vat {
    opacity: .82;
}

#checkout .checkout .overview .summary .vat span,
#checkout .checkout .overview .summary .vat strong {
    font-size: 12px;
}

#checkout .checkout .overview .summary .vat strong {
    color: rgba(255,255,255,.72);
}


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

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

    #checkout .checkout .overview .sticky {
        position: relative;
        top: auto;
    }

}

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

    #checkout .checkout .overview .block {
        padding: 18px;
    }

    #checkout .checkout .overview .product h4 {
        font-size: 24px;
    }

}