/*------------------------------------------------------------
CHECKOUT
Adresses, Expédition, Paiement, Confirmation
====================================*/

.checkout-block {
    .h3 {
        margin-bottom: 25px;
    }
    .form-btn-wrapper {
        margin-top: 20px;
    }
}

// Addresses
.checkout-address-form {
    margin-bottom: 30px;
    .required-fields {
        margin: 15px 0;
    }
    .checkout-address-shipping {
        position: relative;
        padding-top: $form-block-padding-y-mobile;
        margin-top: $form-block-padding-y-mobile;
        &:before {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            right: -$form-block-padding-x-mobile;
            left: -$form-block-padding-x-mobile;
            height: 1px;
            background: $gray-200;
        }
    }
}
.address-book-select-wrapper {
    padding: 20px $form-block-padding-x-mobile;
    margin: 0 (-$form-block-padding-x-mobile) 15px;
    background: $gray-400;
}

// Thank you page
.order-thank-you-container {
    margin-bottom: 30px;
}
.order-thank-intro {
    margin: 50px 0;
    text-align: center;
}
.order-thank-summary {
    margin-bottom: 20px;
}

/* RESPONSIVE */
/***************************************/
@include media-breakpoint-up(md) {
    .checkout-block {
        .h3 {
            margin-bottom: 30px;
        }
        .form-btn-wrapper {
            margin-top: 40px;
        }
    }

    // Addresses
    .checkout-address-form {
        .checkout-address-shipping {
            padding-top: $form-block-padding-y-desktop;
            margin-top: $form-block-padding-y-desktop;
            &:before {
                right: -$form-block-padding-x-desktop;
                left: -$form-block-padding-x-desktop;
            }
        }
    }
    .address-book-select-wrapper {
        padding: 20px $form-block-padding-x-desktop;
        margin: 0 (-$form-block-padding-x-desktop) 15px;
    }
}
