.trade-in-calculator {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: flex-start;
    gap: 12px;
}
@media (max-width: 1200px) {
    .trade-in-calculator {
        grid-template-columns: 1fr;
    }
}
.trade-in-calculator__img-wrapper {
    position: sticky;
    top: 32px;
    min-height: 500px;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 32px 40px 40px;
    background-image: url("/local/templates/wishmaster/images/trade-in/img-without-device.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
@media (max-width: 1650px) {
    .trade-in-calculator__img-wrapper {
        padding: 24px 40px 40px;
    }
}
@media (max-width: 1200px) {
    .trade-in-calculator__img-wrapper {
        position: static;
        min-height: unset;
        height: 382px;
        border-radius: 20px;
        padding: 24px 24px 32px;
    }
}
@media (max-width: 767px) {
    .trade-in-calculator__img-wrapper {
        height: 288px;
        border-radius: 20px;
        padding: 24px;
    }
}
.trade-in-calculator__img {
    max-width: 90%;
    max-height: 400px;
    text-align: center;
    margin: 0 auto;
}
.trade-in-calculator__img img {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 1200px) {
    .trade-in-calculator__img img {
        max-height: 280px;
    }
}
@media (max-width: 767px) {
    .trade-in-calculator__img img {
        max-height: 190px;
    }
}
.trade-in-calculator__img-text {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: #163560;
    margin-top: 16px;
}
@media (max-width: 1650px) {
    .trade-in-calculator__img-text {
        margin-top: 12px;
        font-size: 18px;
    }
}
@media (max-width: 767px) {
    .trade-in-calculator__img-text {
        margin-top: 8px;
        font-size: 16px;
    }
}
.trade-in-steps__step {
    margin-bottom: 8px;
    padding: 32px;
    position: relative;
}
@media (max-width: 1200px) {
    .trade-in-steps__step {
        padding: 24px;
    }
}
@media (max-width: 767px) {
    .trade-in-steps__step {
        padding: 20px;
    }
}
.trade-in-steps__step.active .trade-in-step__title, .trade-in-steps__step.fill .trade-in-step__title {
    color: #163560;
}

.trade-in-step {
    background-color: #ffffff;
    border-radius: 24px;
}
.trade-in-step__title {
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    color: rgba(22, 53, 96, 0.3);
    margin-right: 32px;
}
@media (max-width: 1200px) {
    .trade-in-step__title {
        font-size: 24px;
    }
}
@media (max-width: 767px) {
    .trade-in-step__title {
        font-size: 20px;
    }
}
.trade-in-step__content {
    display: none;
    padding-top: 32px;
}
.trade-in-step__item {
    margin-bottom: 32px;
}
.trade-in-step__item:last-child {
    margin-bottom: 0;
}

.trade-in-step-item__name {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #163560;
    margin-bottom: 12px;
}
@media (max-width: 1200px) {
    .trade-in-step-item__name {
        font-size: 16px;
        margin-bottom: 8px;
    }
}
.trade-in-step-item__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.trade-in-step-item__select .select2-container .select2-selection--single {
    height: 56px;
}
.trade-in-step-item__select .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 20px;
    padding-right: 40px;
}
.trade-in-step-item__select .select2-container--default .select2-selection--single {
    background-color: #F8F9FA;
    border: 0;
    border-radius: 12px;
}
.trade-in-step-item__select .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #175CFF;
    font-size: 16px;
    line-height: 56px;
}
.trade-in-step-item__select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 56px;
    position: absolute;
    top: 1px;
    right: 15px;
    width: 20px;
}
.trade-in-step-item__select .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #175CFF transparent transparent transparent;
}
.trade-in-step-item__select-label {
    display: none;
}
.trade-in-step-item__btn-wrapper {
    margin-top: 20px;
}
.trade-in-step-item__btn {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    text-transform: unset;
    border: 0;
    padding: 15px 23px;
    background-color: #175CFF;
    color: #ffffff;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}
.trade-in-step-item__btn:hover, .trade-in-step-item__btn:active, .trade-in-step-item__btn:focus {
    outline: 0;
    background-color: #0f4bd7;
}
.trade-in-step-item__btn.disabled {
    cursor: none !important;
    opacity: 0.3;
}

.trade-in-step-item-not-found__btn {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    text-transform: unset;
    border: 0;
    outline: 0;
    padding: 0;
    background-color: transparent;
    color: #175CFF;
    transition: all 0.3s ease;
    text-decoration: underline;
}
.trade-in-step-item-not-found__btn:hover, .trade-in-step-item-not-found__btn:active, .trade-in-step-item-not-found__btn:focus {
    border: 0;
    outline: 0;
    color: #0f4bd7;
    text-transform: unset;
}

.trade-in-models__title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #163560;
    margin-bottom: 12px;
}
@media (max-width: 1200px) {
    .trade-in-models__title {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

/*---------------------------------------------------------------------------------*/
/*----------------------------- Продолжение --------------------------------------*/
/*-------------------------------------------------------------------------------*/

.trade-in-models__prop-name {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #163560;
    margin-bottom: 12px;
}
@media (max-width: 1200px) {
    .trade-in-models__prop-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

.trade-in-models__item,
.trade-in-models__prop-val,
.trade-in-step-item__grid-item {
    position: relative;
}

.trade-in-models__item input[type="radio"],
.trade-in-models__prop-val input[type="radio"],
.trade-in-step-item__grid-item input[type="radio"] {
    top: 50%;
    margin-top: -10px;
    right: 16px;
    z-index: 1;
    position: absolute;
}


.trade-in-models__item input[type="radio"] + label,
.trade-in-models__prop-val input[type="radio"] + label,
.trade-in-step-item__grid-item input[type="radio"] + label{
    padding: 12px 48px 12px 16px;
    background: #F8F9FA;
    border-radius: 12px;
    min-width: 100%;
    height: 100%;
    border: 1px solid #F8F9FA;
    transition: all .2s ease;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    color: #175CFF;
    order: -1;
    margin: auto 0;
    cursor: pointer;
    word-break: break-word;
}

.trade-in-models__item input[type="radio"] + label:hover,
.trade-in-models__prop-val input[type="radio"] + label:hover,
.trade-in-step-item__grid-item input[type="radio"] + label:hover {
    border-color: #175CFF;
}
.trade-in-models__item input[type="radio"]:checked + label,
.trade-in-models__prop-val input[type="radio"]:checked + label,
.trade-in-step-item__grid-item input[type="radio"]:checked + label {
    border-color: #175CFF;
}

.trade-in-step-item__grid-item--title {
    padding: unset;
    display: block;
    background: inherit;
    border-radius: unset;
    min-width: unset;
    border: unset;
}

.trade-in-step-item__grid-item.trade-in-step-item__grid-item--title:hover {
    border: unset;
}

.trade-in-models__item input {
    min-width: 20px;
}

.trade-in-models__prop-val input {
    min-width: 20px;
}


.trade-in-step-item__grid-item input {
    min-width: 20px;
}


.trade-in-models__inputs, .trade-in-models__prop-list, .trade-in-step-item__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

@media (max-width: 767px) {
    .trade-in-models__inputs, .trade-in-models__prop-list, .trade-in-step-item__grid {
        margin-bottom: 24px;
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Скрываем стандартную радиокнопку */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #8A9AAF;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: auto 0;
    transition: all .2s ease;
}

/* Стиль при наведении */
input[type="radio"]:hover {
    border-color: #999;
}

/* Стиль при выборе */
input[type="radio"]:checked {
    background-color: #175CFF;
    border-color: #175CFF;
}

/* Белая галочка (или точка) внутри */
input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 3px;
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.362 0.234229C11.512 0.384251 11.5962 0.587698 11.5962 0.799829C11.5962 1.01196 11.512 1.21541 11.362 1.36543L4.96202 7.76543C4.812 7.91541 4.60855 7.99966 4.39642 7.99966C4.18429 7.99966 3.98084 7.91541 3.83082 7.76543L0.630819 4.56543C0.485093 4.41455 0.404458 4.21247 0.40628 4.00271C0.408103 3.79295 0.492238 3.5923 0.640565 3.44397C0.788891 3.29565 0.989541 3.21151 1.1993 3.20969C1.40906 3.20787 1.61114 3.2885 1.76202 3.43423L4.39642 6.06863L10.2308 0.234229C10.3808 0.0842524 10.5843 0 10.7964 0C11.0086 0 11.212 0.0842524 11.362 0.234229Z' fill='white'/%3E%3C/svg%3E%0A");
}

.select2-results {
    display: block;
    background: #f8f9fa;
    font-size: 16px;
    border-radius: 12px;
    color: #1777fe;
}

.select2-container--open .select2-dropdown--below {
    border: 1px solid #5897fb;
    border-top: none !important;
    border-radius: 12px;
    overflow: hidden;
}

.trade-in-step-item__select .select2-container--default .select2-selection--single[aria-expanded="true"] {
    border: 1px solid #5897fb;
}

.trade-in-step-item-not-found__content {
    margin-top: 20px;
}

.trade-in-step-item-not-found__content-input input {
    background: #F8F9FA !important;
    border: 1px solid #F8F9FA !important;
    border-radius: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: rgba(23, 92, 255, 0.6) !important;
    padding: 16px !important;
}

@media (max-width: 767px) {
    .trade-in-step-item-not-found__content input {
        font-size: 16px;
        padding: 8px 10px;
    }
}

.trade-in__title-back {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .trade-in__title-back {
        display: block;
    }
}

.trade-in-step__btn-prev {
    padding: 8px 10px 8px 46px;
    border: 1px solid #175CFF;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #175CFF;
    margin-left: 10px;
    display: none;
}

.trade-in-step__btn-prev:after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='36' height='16' viewBox='0 0 36 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.292893 7.29289C-0.0976295 7.68341 -0.0976296 8.31658 0.292892 8.7071L6.65685 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41422 8L8.07107 2.34314C8.46159 1.95262 8.46159 1.31945 8.07107 0.92893C7.68054 0.538405 7.04738 0.538405 6.65686 0.92893L0.292893 7.29289ZM36 8L36 7L1 7L1 8L1 9L36 9L36 8Z' fill='%23175CFF'/%3E%3C/svg%3E%0A");
    height: 12px;
    width: 26px;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 12px;
    left: 10px;
}

@media (max-width: 767px) {
    .trade-in-step__btn-prev {
        font-size: 16px;
        width: fit-content;
        margin-left: auto;
        margin-top: 10px;
    }
    .trade-in-step__btn-prev:after {
        top: 10px;
    }
}

.trade-in-step-form__product-title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #8A9AAF;
    margin-bottom: 8px;
    word-break: break-word;
}

@media (max-width: 767px) {
    .trade-in-step-form__product-title {
        font-size: 18px;
    }
}

.trade-in-step-form__product-val {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3;
    color: #163560;
    margin-bottom: 32px;
    word-break: break-word;
}

@media (max-width: 767px) {
    .trade-in-step-form__product-val {
        font-size: 20px;
    }
}

.trade-in-step-form__about-list tr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 8px;
    min-width: 440px;
}

@media (max-width: 767px) {
    .trade-in-step-form__about-list tr {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        min-width: 310px;
    }
}

@media (max-width: 390px) {
    .trade-in-step-form__about-list tr {
        grid-template-columns: repeat(1, 1fr);
        min-width: unset;
    }
}

.trade-in-step-form__about-list tr td span {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #8A9AAF;
    word-break: break-word;
}

@media (max-width: 767px) {
    .trade-in-step-form__about-list tr td span {
        font-size: 16px;
    }
}

.trade-in-step-form__about-list tr td {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #163560;
    word-break: break-word;
}

@media (max-width: 767px) {
    .trade-in-step-form__about-list tr td {
        font-size: 16px;
    }
}

.trade-in-step-form__wrapper {
    margin-top: 24px;
    background: linear-gradient(0deg, #175CFF, #175CFF),
    linear-gradient(88.36deg, #1862FF 27.37%, #1863FF 35.02%, #1766FF 42.67%, #166BFF 50.32%, #1473FF 57.98%, #127CFF 65.63%, #1087FF 73.28%, #0D94FF 80.93%, #0BA0FF 88.58%, #08ADFF 96.24%, #06B8FF 103.89%, #04C2FF 111.54%, #02C9FF 119.19%, #01CEFF 126.85%, #00D1FF 134.5%, #00D2FF 142.15%);
    padding: 32px 32px 20px 32px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: auto 36%;
    gap: 16px 32px;
}

@media (max-width: 767px) {
    .trade-in-step-form__wrapper {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
}

.trade-in-form__mark-title {
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.3;
    color: #FFFFFF;
    word-break: break-word;
}

@media (max-width: 767px) {
    .trade-in-form__mark-title {
        font-size: 22px;
    }
}

.trade-in-form__mark-subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #FFFFFF;
    order: 3;
}

@media (max-width: 767px) {
    .trade-in-form__mark-subtitle {
        font-size: 14px;
        order: 1;
    }
}

.trade-in-step-item__grid-form--col-2 {
    width: 50%;
}
@media (max-width: 767px) {
    .trade-in-step-item__grid-form--col-2 {
        width: 100%;
    }
}

.trade-in-step-item__grid-form input {
    text-align: center;
    background: #ffffff;
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 1.5;
    color: #8A9AAF;
    border-radius: 6px !important;
    padding: 8px 12px;
    min-height: 46px;
}

@media (max-width: 767px) {
    .trade-in-step-item__grid-form input {
        font-size: 16px !important;
    }
}

.trade-in-step-item__grid-form textarea {
    background: #ffffff;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 6px;
    padding: 8px 12px;
}

@media (max-width: 767px) {
    .trade-in-step-item__grid-form textarea {
        font-size: 16px;
    }
}

.trade-in-form__btn {
    padding: 16px;
    background: #163560;
    text-align: center;
    width: 100%;
    border-radius: 6px;
    border: none;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
    text-transform: none;
    transition: all .2s ease;
}

.trade-in-form__btn:hover,
.trade-in-form__btn:active,
.trade-in-form__btn:focus
{
    outline: none;
    text-decoration: none;
    color: #FFFFFF;
    background: #2a4999;
}

.trade-in-form__policy {
    display: grid;
    grid-template-columns: 24px auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 0;
}

.trade-in-form__policy-text {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    color: #FFFFFF;
}

.trade-in-form__policy-text a {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    color: #0c3050;
}

.trade-in-form__policy-checkbox {
    height: 24px;
    width: 24px;
    cursor: pointer;
}










/* Общий контейнер */
.file-upload-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 767px) {
    .file-upload-container {
        flex-direction: column;
    }
}

.file-upload-error {
    order: 6;
    grid-column: 1/3;
}
.file-upload-error__text {
    display: inline-block;
    padding: 5px 12px;
    font-size: 16px;
    background: #ffeeee;
    color: #e83333;
    border-radius: 4px;
}

/* Скрываем оригинальный input */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Стили для кастомной кнопки */
.upload-btn {
    padding: 10px 16px;
    background: #163560;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 250px;
    text-transform: none;
}
@media (max-width: 767px) {
    .upload-btn {
        min-width: unset;
        width: 100%;
    }
}

.upload-btn:hover {
    background: #2a4999;
}

.upload-btn:focus {
    outline: none;
}

.upload-btn svg {
    flex-shrink: 0;
}

/* Стили для счётчика */
.upload-counter {
    padding: 10px 16px;
    background: #F5F5F5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    min-width: 250px;
    text-align: center;
}
@media (max-width: 767px) {
    .upload-counter {
        min-width: unset;
        width: 100%;
    }
}

/* Превью файлов (опционально) */
.file-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.file-preview {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #eee;
}

.file-upload-container__title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.trade-in__success {
    padding: 32px;
    position: relative;
    border-radius: 24px;
    background: #175CFF;
    margin-top: 8px;
    display: none;
}

@media (max-width: 767px) {
    .trade-in__success {
        padding: 24px;
    }
}

.trade-in__success-title {
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .trade-in__success-title {
        font-size: 24px;
    }
}

.trade-in__success-btn {
    display: inline-block;
    width: auto;
    margin-top: 12px;
}

.trade-in__success-subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .trade-in__success-subtitle {
        font-size: 16px;
    }
}

.trade-in__success svg {
    position: absolute;
    top: 38px;
    right: 36px;
}

@media (max-width: 767px) {
    .trade-in__success svg {
        top: 25px;
        right: 25px;
    }
}

.trade-in__success-svg {
    display: none;
}

.trade-in__success-svg svg {
    position: absolute;
    top: 32px;
    right: 32px;
}

@media (max-width: 1200px) {
    .trade-in__success-svg svg {
        top: 24px;
        right: 24px;
    }
}

.trade-in-step__error {
    font-size: 16px;
    background: #ffeeee;
    color: #e83333;
}

.trade-in-form-modal {
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /*opacity: 0;*/
    /*transition: all .3s ease;*/
    display: none;
}
.trade-in-form-modal.active {
    /*display: block;*/

    /*opacity: 1;*/
    /*transition: all .3s ease;*/
}
.trade-in-form-modal__wrapper {
    position: relative;
    max-width: 1024px;
    width: 100%;
    margin: 200px auto 48px;
    border-radius: 24px;
    background-color: #fff;
    padding: 42px 48px;
}
@media (max-width: 1600px) {
    .trade-in-form-modal__wrapper {
        margin: 120px auto 48px;
    }
}
@media (max-width: 1200px) {
    .trade-in-form-modal__wrapper {
        border-radius: 20px;
        max-width: 900px;
        padding: 24px 32px;
        margin: 96px auto 48px;
    }
}
@media (max-width: 991px) {
    .trade-in-form-modal__wrapper {
        max-width: 700px;
        margin: 72px auto 48px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal__wrapper {
        border-radius: 16px;
        max-width: calc(100% - 30px);
        padding: 20px 16px;
        margin: 48px auto 48px;
    }
}
.trade-in-form-modal__close {
    position: absolute;
    top: 42px;
    right: 48px;
    width: 30px;
    height: 30px;
    padding: 3px;
    background: transparent;
    border: none;
}
@media (max-width: 1200px) {
    .trade-in-form-modal__close {
        top: 24px;
        right: 32px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal__close {
        width: 24px;
        height: 24px;
        top: 20px;
        right: 16px;
    }
}
.trade-in-form-modal__close svg {
    width: 100%;
    height: 100%;
}
.trade-in-form-modal__steps {
}
.trade-in-form-modal-step {
    display: none;
}
.trade-in-form-modal-step.active {
    display: block;
}

.trade-in-form-modal-step__heading {
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.5;
    text-align: center;
    color: #163560;
    margin-bottom: 30px;
}
@media (max-width: 1200px) {
    .trade-in-form-modal-step__heading {
        font-size: 24px;
        margin-bottom: 24px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__heading {
        font-size: 20px;
        padding-right: 24px;
        padding-left: 24px;
        margin-bottom: 16px;
    }
}
.trade-in-form-modal-step__grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    grid-gap: 12px;
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__grid {
        grid-template-columns: 1fr;
    }
}
.trade-in-form-modal-step__img-wrapper {
    width: 100%;
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__img-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 300px;
    }
}
@media (max-width: 420px) {
    .trade-in-form-modal-step__img-wrapper {
        max-height: 240px;
    }
}

.trade-in-form-modal-step__img-wrapper img {
    max-width: 100%;
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__img-wrapper img {
        max-height: 100%;
    }
}
.trade-in-form-modal-step__info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 42px;
    border-radius: 12px;
    background-color: #F8F9F9;
    margin-bottom: 20px;
}
@media (max-width: 1200px) {
    .trade-in-form-modal-step__info {
        padding: 32px;
        margin-bottom: 16px;
    }
}
@media (max-width: 991px) {
    .trade-in-form-modal-step__info {
        padding: 24px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__info {
        padding: 20px;
        margin-bottom: 12px;
    }
}
.trade-in-form-modal-step__info-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.33;
    color: #163560;
    margin-bottom: 20px;
}
@media (max-width: 1200px) {
    .trade-in-form-modal-step__info-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__info-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
}
.trade-in-form-modal-step__info-text {
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: #163560;
}
@media (max-width: 1200px) {
    .trade-in-form-modal-step__info-text {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__info-text {
        font-size: 14px;
    }
}

.trade-in-form-modal-step__btns-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 12px;
    margin-top: 20px;
}

.trade-in-form-modal-step__btn {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    text-transform: unset;
    text-align: center;
    color: #FFFFFF;
    padding: 15px 23px;
    border: none;
    background-color: #175CFF;
    border-radius: 6px;
    transition: all .3s ease;
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__btn {
        padding: 13px 23px;
    }
}
.trade-in-form-modal-step__btn:hover,
.trade-in-form-modal-step__btn:active,
.trade-in-form-modal-step__btn:focus {
    background-color: #0f4bd7;
    color: #fff;
    outline: 0;
    text-decoration: none;
}

.trade-in-form-modal-step__btn--gray {
    background-color: #969696;
}

.trade-in-form-modal-step__btn.disabled,
.trade-in-form-modal-step__btn.disabled:hover,
.trade-in-form-modal-step__btn.disabled:active,
.trade-in-form-modal-step__btn.disabled:focus {
    cursor: not-allowed;
}

.trade-in-form-modal-step__file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.trade-in-form-modal-step__file-message {
    position: relative;
    display: inline-flex;
    column-gap: 12px;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.33;
    color: #163560;
}
@media (max-width: 1200px) {
    .trade-in-form-modal-step__file-message {
        font-size: 18px;
        column-gap: 10px;
    }
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__file-message {
        font-size: 16px;
        column-gap: 8px;
    }
}
.trade-in-form-modal-step__file-message.success {
    color: #163560;
}
.trade-in-form-modal-step__file-message.success:before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml,<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M25.9569 12.2885C26.5062 12.8378 26.5062 13.7282 25.9569 14.2773L16.5229 23.7115C15.9736 24.2606 15.0834 24.2606 14.5341 23.7115L10.0432 19.2203C9.49384 18.6713 9.49384 17.7808 10.0432 17.2318C10.5922 16.6825 11.4826 16.6825 12.0317 17.2318L15.5284 20.7285L23.9681 12.2885C24.5174 11.7394 25.4078 11.7394 25.9569 12.2885ZM36 18C36 27.9495 27.9481 36 18 36C8.05051 36 0 27.9481 0 18C0 8.05051 8.05188 0 18 0C27.9495 0 36 8.05188 36 18ZM33.1875 18C33.1875 9.60507 26.3938 2.8125 18 2.8125C9.60507 2.8125 2.8125 9.60617 2.8125 18C2.8125 26.3949 9.60617 33.1875 18 33.1875C26.3949 33.1875 33.1875 26.3938 33.1875 18Z" fill="%2351BE70"/><path d="M25.9569 12.2885C26.5062 12.8378 26.5062 13.7282 25.9569 14.2773L16.5229 23.7115C15.9736 24.2606 15.0834 24.2606 14.5341 23.7115L10.0432 19.2203C9.49384 18.6713 9.49384 17.7808 10.0432 17.2318C10.5922 16.6825 11.4826 16.6825 12.0317 17.2318L15.5284 20.7285L23.9681 12.2885C24.5174 11.7394 25.4078 11.7394 25.9569 12.2885ZM36 18C36 27.9495 27.9481 36 18 36C8.05051 36 0 27.9481 0 18C0 8.05051 8.05188 0 18 0C27.9495 0 36 8.05188 36 18ZM33.1875 18C33.1875 9.60507 26.3938 2.8125 18 2.8125C9.60507 2.8125 2.8125 9.60617 2.8125 18C2.8125 26.3949 9.60617 33.1875 18 33.1875C26.3949 33.1875 33.1875 26.3938 33.1875 18Z" fill="%2351BE70"/></svg>');
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__file-message.success:before {
        width: 24px;
        height: 24px;
    }
}
.trade-in-form-modal-step__file-message.error {
    padding: 5px 8px;
    border-radius: 3px;
    background: #ffeeee;
    color: #e83333;
}
.trade-in-form-modal-step__file-input {
    flex-shrink: 0;
}

.trade-in-form-modal-step__file-input input[type="file"] {
    display: none;
}
.trade-in-form-modal-step__file-input input[type="file"] + label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #163560;
    border-radius: 6px;
    padding: 11px 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
    margin: 0;
    cursor: pointer;
    transition: all .3s ease;
}
@media (max-width: 767px) {
    .trade-in-form-modal-step__file-input input[type="file"] + label {
        padding: 9px 20px;
    }
}

.trade-in-form-modal-step__file-input input[type="file"] + label:hover,
.trade-in-form-modal-step__file-input input[type="file"] + label:active,
.trade-in-form-modal-step__file-input input[type="file"] + label:focus {
    background: #2a4999;
}





.trade-in__loader-container{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    perspective: 800px;
    background: #ffffff99;
    z-index: 1000;
    top: 0;
    left: 0;

}

.trade-in__loader-container .loader {
    position: absolute;
    top: 50%;
    left: calc(50% - 42px);
}
.trade-in__loader-container .loader .center {
    width: 40px;
    height: 40px;
    background: #175cfd;
    border-radius: 50%;
    animation: center 3.2s ease-in-out infinite;
    position: absolute;
    left: calc(50% - 20px);
}
.trade-in__loader-container .loader .item {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 15px;
    left: 0;
    right: 0;
    margin: auto;
    background: #175cfd;
    border-radius: 50%;
}

.trade-in__loader-container .item-1 {
    animation: anim-1 3.2s ease-in-out infinite 0.2s;
    animation-fill-mode: backwards;
}

@keyframes anim-1 {
    0%, 60%, 100% {
        transform: rotate(45deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(45deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-2 {
    animation: anim-2 3.2s ease-in-out infinite 0.4s;
    animation-fill-mode: backwards;
}

@keyframes anim-2 {
    0%, 60%, 100% {
        transform: rotate(90deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(90deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-3 {
    animation: anim-3 3.2s ease-in-out infinite 0.6s;
    animation-fill-mode: backwards;
}

@keyframes anim-3 {
    0%, 60%, 100% {
        transform: rotate(135deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(135deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-4 {
    animation: anim-4 3.2s ease-in-out infinite 0.8s;
    animation-fill-mode: backwards;
}

@keyframes anim-4 {
    0%, 60%, 100% {
        transform: rotate(180deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(180deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-5 {
    animation: anim-5 3.2s ease-in-out infinite 1s;
    animation-fill-mode: backwards;
}

@keyframes anim-5 {
    0%, 60%, 100% {
        transform: rotate(225deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(225deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-6 {
    animation: anim-6 3.2s ease-in-out infinite 1.2s;
    animation-fill-mode: backwards;
}

@keyframes anim-6 {
    0%, 60%, 100% {
        transform: rotate(270deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(270deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-7 {
    animation: anim-7 3.2s ease-in-out infinite 1.4s;
    animation-fill-mode: backwards;
}

@keyframes anim-7 {
    0%, 60%, 100% {
        transform: rotate(315deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(315deg) translateX(0) scale(1.5);
    }
}
.trade-in__loader-container .item-8 {
    animation: anim-8 3.2s ease-in-out infinite 1.6s;
    animation-fill-mode: backwards;
}

@keyframes anim-8 {
    0%, 60%, 100% {
        transform: rotate(360deg) translateX(40px) scale(1);
    }
    10%, 50% {
        transform: rotate(360deg) translateX(0) scale(1.5);
    }
}
@keyframes center {
    0%, 10%, 90%, 100% {
        transform: scale(0.7);
    }
    45%, 55% {
        transform: scale(1);
    }
}