@media screen and (max-width: 1200px) {
    .header__logo {
        width: 200px;
    }

    .header__info address {
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 1540px) {
    .container {
        max-width: 1240px;
    }

    .header__inner {
        margin-bottom: 40px;
    }

    .header__logo {
        width: 220px;
    }

    .header__btn {
        height: 46px;
        width: 187px;
        font-size: 18px;
    }

    .header__info address a {
        gap: 10px;
        font-size: 14px;
    }

    .hero {
        height: 470px;
    }

    .hero__inner {
        padding-left: 45px;
        padding-top: 45px;
    }

    .hero__timer-card {
        max-width: 420px;
    }

    .benefit-card {
        padding: 20px 15px;
        background-position-x: 150%;
    }

    .models__main {
        margin-top: 25px;
    }

    .models__list {
        gap: 50px;
    }



    .model-card__terms li {
        font-size: 14px;
    }

    .model-card_payment_month {
        padding: 10px 15px;
    }

    .card-gallery {
        margin-bottom: 10px;
    }

    .model-card_wrapper_btn {
        max-width: 580px;
    }

    .equipment-item__wrapper_btn {
        max-width: 265px;
    }

    .equipment-item .btn {
        height: 50px;
    }


    .credit {
        height: 584px;
    }

    .credit__inner {
        position: relative;
        overflow: hidden;
    }

    .credit__right {
        position: absolute;
        z-index: -1;
        right: -12%;
    }

    .credit__car {
        max-height: 417px;
    }

    .section {
        margin-top: 60px;
    }

    .trade-in {
        background-image: url(../../img/banner/banner_tradein_laptop.webp);
        background-position-x: 50%;
    }

    .trade-in .credit__subtitle {
        margin-top: 14px;
        line-height: 1.2;
    }
}

@media (max-width: 1250px) {
    .container {
        max-width: 1120px;
    }

    .hero {
        height: 425px;
    }

    .hero__title {
        font-size: 26px;
    }

    .hero__title b {
        font-size: 20px;
    }

    .img-sale-text {
        max-width: 400px;
    }

    .hero__offer-btn {
        height: 45px;
        font-size: 18px;
        font-weight: 500;
        width: 300px;
    }


    .benefits__inner {
        flex-direction: column;
    }

    .benefits__cards {
        max-width: 100%;
    }

    .benefit-card {
        background-position-x: 100%;
    }

    .hero__timer-card {
        max-width: 100%;
    }

    .model-card {
        gap: 15px;
    }

    .model-card__title {
        font-size: 22px;
    }

    .model-card_payment_month {
        font-size: 10px;
        padding: 5px 7px;
        gap: 5px;
    }

    .model-card__prices span {
        flex-direction: column;
        align-items: flex-start;
        font-size: 26px;
    }

    .model-card__prices span b {
        font-size: 18px;
    }

    .model-card__prices s {
        font-size: 18px;
    }

    .model-card_wrapper_btn {
        max-width: 500px;
    }

    .model-card .btn {
        height: 50px;
    }

    .model-card_stock {
        font-size: 10px;
    }

    .model-card_stock b {
        font-size: 12px;
    }

    .model-card__terms {
        grid-template-columns: repeat(2, 150px);
        grid-template-rows: repeat(2, 52px);
    }

    .models__list {
        gap: 0;
    }

    .model-card_middle {
        height: 300px;
    }

    .model-card__bg {
        height: 300px;
    }

    .card-gallery {
        max-width: 400px;
    }

    .btn-show-more {
        font-size: 16px;
        height: auto;
    }

    .section-title {
        font-size: 32px;
    }

    .equipment-item__title {
        font-size: 24px;
        font-weight: 500;
    }

    .equipment-item__wrapper_content {
        max-width: 450px;
    }

    .equipment-item__specifications {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        margin-top: 40px;
    }

    .credit {
        height: auto;
    }

    .credit__inner {
        flex-direction: column-reverse;
        align-items: center;
    }

    .credit__title {
        position: absolute;
        top: 0;
        font-size: 24px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 330px;
        margin: 0;
    }

    .credit__right {
        position: static;
        margin-top: 20px;
    }

    .credit__car {
        max-height: 330px;
    }

    .trade-in {
        background-image: none;
        height: auto;
    }

    .trade-in_banner_mob {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    .trade-in__content {
        max-width: 100%;
        background: transparent;
        color: var(--dark);
    }

    .trade-in__title {
        color: inherit;
        text-align: center;
        font-size: 24px;
        margin: 0 0 10px;
    }

    .trade-in__subtitle {
        font-size: 16px;
        text-align: center;
    }

    .trade-in__form.form-guard {
        padding-top: 20px;
        max-width: 720px;
        margin: 0 auto;
    }

    .trade-in__form-row {
        display: flex;
        flex-direction: column;
    }

    .trade-in__input {
        border-color: var(--dark);
        color: var(--dark);
        height: 50px;
        flex: auto;
    }

    .trade-in__form .trade-in__btn,
    .trade-in__form.form-guard .trade-in__btn.form-guard__submit--idle {
        background-color: var(--dark);
        color: var(--white);
        height: 55px;
    }

}

@media screen and (max-width: 1121px) {

    .container {
        padding: 0 32px;
    }

    .header__logo {
        width: 135px;
    }

    .select2-container--default .select2-selection--single {
        height: 35px;
        border-width: 1px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 16px;
    }

    .contacts__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .credit__right {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1010px) {

    .equipments__container {
        margin-top: 30px;
    }

    .equipment-item {
        flex-direction: column;
        position: relative;
        gap: 10px;
        padding: 18px;
    }

    .equips-card__image img {
        height: 143px;
    }

    .equipment-item__wrapper_content {
        max-width: 600px;
        padding-bottom: 6px;
    }

    .equipment-item__wrapper_title {
        padding-bottom: 10px;
    }

    .equipment-item__subtitle {
        position: absolute;
        top: 18px;
        left: 18px;
    }

    .equipment-item__specifications {
        display: flex;
        flex-direction: column;
    }

    .equipment-item__wrapper_btn {
        max-width: 600px;
    }
}

@media screen and (max-width: 901px) {

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 0 20px;
    }

    .model-card_bottom {
        flex-direction: column;
        gap: 22px;
    }

    .model-card_wrapper_btn {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        gap: 10px;
    }

    .benefits__cards {
        flex-direction: column;
        gap: 15px;
    }

    .benefit-card {
        justify-content: center;
        background-size: 38%;
        min-height: 60px;
        padding: 12px 15px;
    }

    .benefit-card__text {
        font-size: 14px;
        max-width: 195px;
    }

    .benefit-card-1 {
        background-image: url('../../img/benefits/benefit_mob_1.png');
    }

    .benefit-card-2 {
        background-image: url('../../img/benefits/benefit_mob_2.png');
    }

    .benefit-card-3 {
        background-image: url('../../img/benefits/benefit_mob_3.png');
    }

    .benefit-card__text br {
        display: none;
    }

    .time-count__val,
    .time-count__separator {
        font-size: 42px;
    }

    .time-count__text {
        font-size: 10px;
    }
}


@media screen and (max-width: 768px) {



    .hide-on-mob {
        display: none;
    }

    .hide-on-pc {
        display: block;
    }

    .input {
        height: 50px;
        font-size: 16px;
        padding: 0 15px;
    }

    .btn {
        height: 50px;
        font-size: 16px;
    }


    .hero {
        height: 460px;
    }

    .hero__inner {
        padding: 20px 0;
    }

    .hero__inner-text {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        align-items: center;
    }

    .hero__title {
        text-align: center;
        margin-bottom: 5px;
    }

    .hero__offer-btn {
        width: 100%;
        margin-top: auto;
        max-width: 100%;
    }

    .swiper-hero .swiper-slide img {
        object-position: center;
    }


    .img-sale-text {
        height: 57px;
    }

    .benefits__inner {
        flex-direction: column;
        gap: 10px;
    }

    .benefits-item {
        height: 86px;
        padding: 0 20px;
        font-size: 16px;
    }

    .models__list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .model-card {
        height: auto;
        padding: 0;
    }

    .model-card__bg {
        height: 238px;
    }

    .model-card_top {
        justify-content: space-between;
        position: relative;
    }

    .model-card_stock {
        position: absolute;
        top: 55px;
        right: 10px;
        padding: 6px 15px;
    }

    .model-card_middle {
        flex-direction: column;
        height: auto;
        align-items: center;
        padding: 10px;
        margin-bottom: 65px;
    }

    .model-card__bg {
        height: 100%;
    }

    .card-gallery {
        margin: 0;
        height: 235px;
    }

    .card__color-select {
        bottom: -55px;
        left: 0;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .card__color-select::before {
        content: 'Выберите цвет:';
        font-size: 14px;
    }

    .model-card__terms {
        padding: 0;
        gap: 10px;
    }

    .model-card__prices {
        display: flex;
        justify-content: space-between;
        gap: 7px;
    }


    .equipment-item {
        flex-direction: column;
        gap: 15px;
    }

    .equipment-item .btn {
        width: 100%;
    }

    .popular__list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-bottom: 50px;
    }

    .popular-card {
        padding: 25px 15px 15px;
        height: 580px;
    }

    .popular-card__prices .new-price {
        font-size: 20px;
    }

    .credit__benefits {
        flex-direction: column;
    }

    .credit-benefit__icon {
        height: 103px;
        width: auto;
    }

    .credit-benefit {
        gap: 5px;
    }

    .credit-benefit span br {
        display: none;
    }

    .banner__form-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .credit__form .input[type="text"] {
        display: none;
    }

    .credit__form .input {
        height: 50px;
        border-color: var(--dark);
    }

    .credit__form .btn-dark,
    .credit__form.form-guard .btn-dark.form-guard__submit--idle,
    .trade-in__form .trade-in__btn,
    .trade-in__form.form-guard .trade-in__btn.form-guard__submit--idle {
        height: 55px;
        position: absolute;
        bottom: 0;
    }

    .form-guard.credit__form,
    .trade-in__form.form-guard {
        padding-bottom: 65px;
    }




    .modal {
        width: 100%;
        max-width: 360px;
    }

    .modal__inner {
        padding: 10px 22px;
    }

    .modal__title {
        font-size: 24px;
    }

    .popup_car_img {
        display: none;
    }

    #map {
        height: 330px;
    }

    .contacts__inner {
        padding: 20px 0;
    }

    .contacts__title {
        font-size: 24px;
    }

    .contacts__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-top: 60px;
    }

    .contacts .btn {
        height: 50px;
        width: 100%;
    }

    .footer {
        padding: 30px 0 80px;
    }

    .footer__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .financial-text {
        padding-top: 5px;
    }

    .credit__right {
        margin-top: 75px;
    }

    .trade-in__content {
        padding: 0;
        margin: 0;
    }

    .trade-in_banner_mob {
        margin-left: -20px;
        width: 115%;
    }

    .filter {
        flex-direction: column;
    }
}

@media screen and (max-width: 400px) {
    .hero {
        height: 430px;
    }
}

/* Формы и Чекбоксы (мобильная адаптация) */
@media screen and (max-width: 768px) {
    .form-guard button[type='submit'].form-guard__submit--idle.btn-form__modal {
        font-size: 16px;
    }

    .modal__form {
        gap: 3px;
    }

    .modal__benefit {
        margin-bottom: 25px;
    }

    .agreement__item {
        position: relative;
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .agreement input[type='checkbox']+span {
        flex-shrink: 0;
        display: block;
        position: relative;
        width: 18px;
        height: 18px;
        min-width: 18px;
        background-color: #DCDCDC;
        border: none;
    }

    .agreement input[type='checkbox']+span::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 10px;
        height: 10px;
        background-color: black;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .agreement input[type='checkbox']:checked+span::before {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .agreement input[type='checkbox'] {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        margin: 0;
        flex-shrink: 0;
    }
}