.form__head-wrap {
    min-height: 226px;
    margin-bottom: 32px;
}
.form__head-wrap .form__head {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}
.form__head-wrap .form__head-left {
    width: 45%;
    padding-right: 16px;
}
.form__head-wrap .form__head-right {
    width: 55%;
}
.form__head-wrap .form__head-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 32px;
}
.form__head-wrap .form__head-title .to__tariffs {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: rgba(31, 31, 31, 0.7);
    padding-right: 24px;
    position: relative;
    display: inline-block;
}
.form__head-wrap .form__head-title .to__tariffs:before {
    content: "";
    position: absolute;
    top: 11px;
    right: 3px;
    width: 10px;
    height: 10px;
    border: solid 1px rgba(31, 31, 31, 0.7);
    transform: rotate(45deg);
    border-bottom: none;
    border-right: none;
}
.form__head-wrap .form__head-title .to__tariffs:hover:before {
    border-color: #4B47EF;
}
.form__head-wrap .tariff__chosen-details .tariff__chosen-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 4px;
    display: inline-block;
    width: 100%;
}
.form__head-wrap .tariff__chosen-details .tariff__chosen {
    display: inline-block;
    text-align: center;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    background: #1F1F1F;
    border-radius: 16px;
}
.form__head-wrap .tariff__chosen-payment-details {
    display: inline-block;
    width: 100%;
    margin-top: 48px;
}
.form__head-wrap .tariff__chosen-payment-details .tariff__chosen-price {
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    display: inline-block;
    margin-bottom: 4px;
}
.form__head-wrap .tariff__chosen-payment-details .tariff__chosen-price span {
    margin-left: 12px;
    display: inline;
    vertical-align: middle;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    border-radius: 24px;
    background-color: #E5FA71;
    padding: 2px 4px;
}
.form__head-wrap .tariff__chosen-payment-details .tariff__chosen-installment-info {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: rgba(31, 31, 31, 0.5);
    margin-bottom: 4px;
}
.form__head-wrap .tariff__chosen-payment-details .tariff__chosen-installment-info-2 {
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
}
.form__head-wrap .tariff__chosen-item-list {
    margin-top: 8px;
    padding-left: 16px;
    margin-bottom: 0;
    list-style: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #000000;
    border-left: solid 1px var(--accent-color);
}
.form__head-wrap .tariff__chosen-item-list li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}
.form__head-wrap .tariff__chosen-item-list li:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 6px;
    width: 3px;
    height: 3px;
    display: inline-block;
    border-radius: 100%;
    background-color: #000000;
}
.form__head-wrap .tariff__chosen-item-list li:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .form__head-wrap {
        min-height: 264px;
    }
    .form__head-wrap .form__head-left {
        max-width: 507px;
    }
}
@media (max-width: 1024px) {
    .form__head-wrap {
        min-height: 290px;
        margin-bottom: 16px;
    }
    .form__head-wrap .d-tablet-none {
        display: none !important;
    }
    .form__head-wrap .form__head-title {
        margin-bottom: 24px;
    }
    .form__head-wrap .form__head-title .to__tariffs {
        order: 1;
        margin-bottom: 32px;
    }
    .form__head-wrap .form__head-title span {
        order: 2;
    }
    .form__head-wrap .tariff__chosen-details {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 16px;
        border-bottom: solid 1px #00C7BA;
    }
    .form__head-wrap .tariff__chosen-details .tariff__chosen {
        flex-shrink: 0;
    }
    .form__head-wrap .tariff__chosen-item-list {
        border: none;
        padding-left: 0;
    }
    .form__head-wrap .tariff__chosen-item-list li {
        margin-bottom: 8px;
    }
    .form__head-wrap .form__head-left {
        padding-right: 0;
        max-width: 100%;
        width: 100%;
        padding: 16px 24px 0px 24px;
        background-color: rgba(0, 199, 186, 0.2);
        border-radius: 32px 32px 0 0;
    }
    .form__head-wrap .form__head-right {
        padding: 8px 24px 24px 24px;
        border-radius: 0 0 32px 32px;
        max-width: 100%;
        width: 100%;
        background-color: rgba(0, 199, 186, 0.2);
    }
}
@media (max-width: 767px) {
    .form__head-wrap {
        min-height: 433px;
        margin-bottom: 16px;
    }
    .form__head-wrap .form__head-title {
        font-size: 24px;
    }
    .form__head-wrap .form__head-left,
    .form__head-wrap .form__head-right {
        padding-left: 16px;
        padding-right: 16px;
    }
    .form__head-wrap .tariff__chosen-details {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .form__head-wrap .tariff__chosen-details .tariff__chosen {
        width: 100%;
    }
    .form__head-wrap .tariff__chosen-item-list {
        font-size: 14px;
    }
}

.tariff__chosen-select {
    position: relative;
    display: inline-block;
    font-family: 'Montserrat';
    flex-shrink: 0;
    font-size: 16px;
    min-width: 179px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    user-select: none;
}
.tariff__chosen-trigger {
    background: #1F1F1F;
    padding: 8px 36px 8px 14px;
    border-radius: 16px;
    cursor: pointer;
}
.tariff__chosen-trigger::before {
    content: "";
    position: absolute;
    right: 15px;
    top: 15px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
    pointer-events: none;
}
.tariff__chosen-select.open .tariff__chosen-trigger::before {
    transform: translateY(-50%) rotate(-135deg);
    top: 19px;

}
.tariff__chosen-select.open .tariff__chosen-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: solid 1px #fff;
}
.tariff__chosen-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1F1F1F;
    border-radius: 0 0 24px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 10;
    overflow: hidden;
}
.tariff__chosen-select.open .tariff__chosen-options {
    display: block;
}
.tariff__chosen-options li {
    padding: 10px 12px;
    font-weight: 500;
    cursor: pointer;
}
.tariff__chosen-options li:hover {
    background-color: rgba(19, 129, 241, 1);
}


.tariff__chosen-select.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

@media (max-width: 1024px) {
    .form__head-wrap .form__head {
        flex-direction: column;
    }

    .form__head-wrap .form__head .form__head-title {
        order: 1;
    }

    .form__head-wrap .form__head .form__head-left {
        order: 2;
    }

    .form__head-wrap .form__head .form__head-right {
        order: 3;
    }
}
