.delivery-options{
    margin: 80px 0;
}

.delivery-option{
    display: flex;
    align-items: center;
    gap: 100px;
    border-bottom: 3px solid #B4C8FF;
    padding: 40px 0 40px 30px;
}

.delivery-option img {
    width: 110px;
}

.delivery-option-content-head{
    font: bold 28px / 32px "Bebas Neue", Roboto;
    letter-spacing: 0.06em;
    color: #202335;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.delivery-option-content-text {
    font-size: 17px;
    font-weight: 500;
}

.delivery-reasons{
    margin-bottom: 50px;
}

.delivery-reasons-head{
    font: bold 30px / 34px "Bebas Neue", Roboto;
    letter-spacing: 0.06em;
    color: #202335;
    text-transform: uppercase;
}

.delivery-reasons-text{
    font-size: 17px;
}

.delivery-reasons-text--bold{
    font-weight: 500;
}

.delivery-reasons-text img{
    max-width: 400px;
}

.delivery-reasons-text img.delivery-reasons-text--wide{
    max-width: 100%;
}

.delivery-reasons-text-popup{
    margin-top: 10px;
    background: lightgray;
    padding: 7px 15px;
    border: 1px dashed grey;
}

.delivery-reasons ul li:not(:last-child){
    margin-bottom: 10px;
}

.delivery-form{
    padding: 56px 0 35px;
    margin-bottom: 25px;
    background-color: #F0F0F0;
}

.delivery-form form {
    display: flex;
    align-items: center;
    gap: 45px;
    margin-bottom: 20px;
}

.delivery-form form > div{
    display: none;
}

.delivery-form-head{
    font: bold 30px / 34px "Bebas Neue", Roboto;
    letter-spacing: 0.06em;
    color: #202335;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.delivery-form-text{
    font-size: 17px;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 20px;
}

.delivery-form input.form-input,
.delivery-form textarea.form-input {
    font: 500 16px/1 "Montserrat", Roboto;
    display: inline-block;

    /* height: 52px; */
    height: 45px;
    outline: none;
    border: none;
    background-color: #ffffff;
    /* padding: 22px 22px 18px; */
    padding: 0 22px;
    color: #000000;
    width: 100%;
    border: 1px solid #ffffff;
}

.delivery-form textarea.form-input {
    padding: 14px 22px;
}

.delivery-form input.form-input.with_icon {
    padding: 22px 22px 18px 60px;
}

.delivery-form input.form-input.with_icon {
    background-repeat: no-repeat;
    background-position: left center;
}

.delivery-form input.form-input.with_icon[name="name"] {
    background-image: url('/local/templates/main/img/form_name.png');
    background-position: 16px center;
}

.delivery-form input.form-input.with_icon[name="phone"] {
    background-image: url('/local/templates/main/img/form_phone.png');
    background-position: 19.5px center;
}

.delivery-form textarea.form-input {
    height: 130px;
}

.delivery-form input.form-input::placeholder,
.delivery-form textarea.form-input::placeholder {
    color: #000000;
}

.delivery-form button[type="submit"] {
    font: 18px/20px "Bebas Neue", Roboto;
    color: #202335;
    letter-spacing: 0.04em;
    padding: 15px 40px 13px;
    outline: none;
    border: none;
    border-top: 3px solid #758be0;
    border-bottom: 3px solid #b9c7fd;
    background: #b9c7fd;
    text-decoration: none;
    transition: .2s ease-in-out;
    cursor: pointer;
    text-transform: uppercase;
}

.delivery-form button[type="submit"]:hover {
    background: #758be0;
}

input.form-input.has-error,
textarea.form-input.has-error {
    border: 1px solid red;
}

.form_report {
    font: 32px/1 "Bebas Neue", Roboto;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.delivery-form-policy{
    font-size: 17px;
    font-weight: 500;
}

.delivery-form .form_report{
    font: bold 30px / 34px "Bebas Neue", Roboto;
    letter-spacing: 0.06em;
    color: #202335;
    text-transform: uppercase;
    line-height: 10px;
}

@media screen and (max-width: 991px){
    .delivery-option{
        gap: 30px;
    }
}

@media screen and (max-width: 650px){
    .delivery-options {
        margin: 20px 0 40px;
    }

    .delivery-option{
        flex-direction: column;
        align-items: flex-start;
    }

    .delivery-form form{
        flex-direction: column;
        gap: 20px;
    }

    .delivery-option-content-text,
    .delivery-reasons ul li,
    .delivery-form-text,
    .delivery-form-policy{
        font-size: 14px;
    }
}

.payment-details-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 50px;
}

.payment-details {
    max-width: 48%;
    border: 1px solid #eaeaea;
}

.pd-line {
    display: flex;
}

.pd-line:not(:last-child){
    border-bottom: 1px solid #eaeaea;
}

.pd-line div {
    padding: 10px 15px;
}

.pd-left {
    width: 160px;
    flex-shrink: 0;
    border-right: 1px solid #eaeaea;
}

.pd-right {
    flex-grow: 1;
}

@media screen and (max-width: 800px){
    .payment-details{
        max-width: 100%;
    }
}