@media (max-width: 1607px) {
    h2 {
        font-size: 22px;
        line-height: normal;
    }

    .hero-carousel__heading {
        font-size: 36px;
        line-height: normal;
    }

    .model-scene {
        padding: 0 60px;
    }

    .model-scene__buttons {
        gap: 10px;
    }

    .model-scene__buttons .btn {
        padding: 0 10px;
    }

    .model-scene__preview {
        width: 50%;
    }

    .model-content__buttons .btn {
        padding: 0;
    }

    .model-content {
        padding: 30px;
    }

    .model-options__header {
        padding: 20px 30px;
    }

    .model-options__body {
        padding: 30px;
    }

    .model-offer {
        padding: 30px;
    }
}

@media (max-width: 1440px) {
    .hero-banner {
        padding: 32px 20px;
    }

    .mark-link {
        padding: 7px 7px;
    }

    .show-marks-btn {
        padding: 7px 14px;
    }

    .catalog-grid-carousel__slide {
        height: calc((100% - 12px) / 3) !important;
    }

    .catalog-grid-carousel {
        height: 1353px;
    }

    .hm-tab__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .model-content__props {
        gap: 30px;
    }

    h1 {
        font-size: 32px;
        line-height: 42px;
    }

    .catalog-carousel .car-card__pricing-main {
        font-size: 21px;
    }

    .catalog-carousel .car-card__pricing-old {
        font-size: 14px;
    }
}

@media (max-width: 1280px) {
    .header-nav__item {
        font-size: 14px;
    }

    .header-nav {
        gap: 16px;
    }

    h3 {
        font-size: 20px;
    }

    .h3 {
        font-size: 20px;
    }

    .model-page__preview {
        height: 410px;
    }

    .mo-accordion__title {
        font-size: 20px;
    }
}

@media (max-width: 1100px) {
    .container {
        max-width: 576px;
    }

    .section-carbody__wrapper {
        grid-template-columns: repeat(5, 328px);
        max-width: 576px;
        overflow: hidden;
        overflow-x: auto;
    }

    .section-header__heading {
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
    }

    .catalog-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .scene-action {
      display: none;
    }

    .scene-colors {
      display: none;
    }

    .model-page__colors-list {
        grid-template-columns: repeat(11, 1fr);
    }

    #modal-gift {
        max-width: 340px;
        width: 340px;
    }

    #modal-gift .gift__container {
        gap: 28px;
        margin-top: 24px;
    }

    #modal-gift .gift__head {
        width: 90px;
        top: -19px;
    }

    #modal-gift .gift__result {
        font-size: 14px;
        top: 8px;
    }

    #modal-gift .gift__item {
        width: 80px;
        height: 75px;
    }

    select,
    textarea,
    input {
        font-size: 16px;
    }

    select {
        visibility: hidden;
    }

    .header-nav {
        display: none;
    }

    .header-btn {
        order: -1;
    }

    .mobile-menu-btn {
        display: block;
        background: url('data:image/svg+xml,<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7H19M1 1H19M7 13H19" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg>') center no-repeat;
        width: 20px;
        height: 14px;
        border: none;
    }

    .header-geo {
        display: none;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
    }

    .header__inner {
        height: 100%;
    }

    .header-btn .btn_primary.btn_primary_phone {
        background: none;
        text-indent: -9999px;
        padding: 0;
        width: 23px;
        height: 40px;
    }

    .header-btn .btn_primary.btn_primary_phone span {
        display: none;
    }

    body {
        padding-top: 64px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .app-section.section-hero {
        padding: 0 0 40px;
    }

    .hero-carousel {
        border-radius: 0;
        margin: 0 -16px;
        height: 240px;
    }

    .hero-carousel__heading {
        font-size: 28px;
    }

    .hero-carousel__slide {
        gap: 16px;
        padding: 20px 16px;
    }

    .hero__banners {
        display: flex;
        justify-content: flex-start;
    }

    .hero__banners .hero-banner {
        flex: 0 0 94.33%;
        height: 132px;
        padding: 12px;
    }

    .hero__bottom {
        overflow: auto;
        padding: 0 16px;
        margin: 0 -16px;
    }

    h2 {
        font-size: 20px;
    }

    .hero-banner__desc {
        display: none;
    }

    .hero-banner__asset {
        background-position: center right;
        background-size: 159px;
    }

    .app-section {
        padding: 40px 0;
    }

    .section-heading {
        font-size: 28px;
        font-weight: 500;
        line-height: 34px;
    }

    .marks {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-section.section-stocks .section-header .btn {
        display: none;
    }

    .stocks__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .stocks__bottom {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stocks__bottom .btn {
        width: 100%;
        font-size: 16px;
        font-weight: 500;
    }

    .footer__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        grid-gap: 12px;
    }

    .footer-nav__item {
        line-height: 40px;
    }

    .footer-geo {
        font-size: 20px;
        line-height: 28px;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .footer-buttons .btn {
        width: 100%;
    }

    .catalog-grid-carousel {
        height: auto;
        overflow: visible;
    }

    .header-marks__content {
        display: none;
    }

    .header-marks__grid {
        grid-template-columns: 1fr;
    }

    .header-marks__aside {
        padding: 20px 16px 0;
    }

    .header-marks__nav {
        display: none;
    }

    .header-marks__mob-marks {
        display: grid;
        overflow: auto;
        background: #fff;
        padding: 16px;
        grid-gap: 6px;
        max-height: calc(100vh - 208px);
        margin: 0 -16px 0;
    }

    .header-marks {
        height: calc(100% - 64px);
        z-index: 100;
    }

    .header-marks__mob-marks-link img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .header-marks__mob-marks-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 0;
        text-align: left;
        background: none;
        border: none;
        font-size: 14px;
        color: #96A0A7;
        line-height: 20px;
        cursor: pointer;
    }

    .mobile-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100% - 64px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: #14191B;
        z-index: 100;
        padding: 40px 16px;
        overflow: auto;
        display: none;
    }

    .mobile-menu__nav {
        width: 100%;
        margin-bottom: 90px;
    }

    .mobile-menu__nav-item {
        padding: 11px 0;
        width: 100%;
        background: none;
        border: none;
        text-align: left;
        font-size: 18px;
        color: #96A0A7;
        border-bottom: 1px solid rgb(90 95 101 / 20%);
    }

    .mobile-menu__footer {
        display: grid;
        grid-gap: 20px;
        width: 100%;
    }

    .mobile-menu__nav-item.--active {
        border-bottom: 2px solid var(--primary);
        color: #fff;
        width: 100%;
        display: block;
    }

    .mobile-menu.--active {
        display: flex;
    }

    .mobile-menu-btn.--active {
        background: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 1L1 13M1 1L13 13" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg>') center no-repeat;
    }

    .mark-link {
        gap: 8px;
        padding: 4px 7px;
    }

    .mark-link__title {
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
        -webkit-line-clamp: 1;
    }

    .app-section.section-catalog {
        overflow: hidden;
    }

    .car-card__pricing-main {
        font-size: 19px;
    }

    .car-card__content {
        padding: 16px;
    }

    .catalog-grid-carousel__nav {
        display: none;
    }

    .car-card__preview {
        height: 100%;
    }

    .stock-card {
        padding: 16px;
    }

    .stock-card__asset {
        background-position: top right;
        background-size: 40%;
        opacity: .6;
    }

    .stock-card__desc {
        margin-bottom: 16px;
    }

    .stock-card .btn {
        height: 40px;
        width: 100%;
        max-width: 100%;
    }

    .questions {
        padding: 24px 16px;
        grid-gap: 20px;
    }

    .questions__title {
        font-size: 24px;
    }

    .questions__text {
        font-size: 16px;
        color: #5A5F65;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .page-header-select {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .section-page-header {
        padding: 20px 0;
    }

    .page-header__actions {
        width: 100%;
    }

    .page-header-select .app-label {
        width: 100%;
    }

    .page-header-select .select2.select2-container {
        width: 100% !important;
    }

    .mp-tabs__select {
        display: block;
    }

    .mp-tabs__nav {
        display: none;
    }

    .app-section.section-models-page {
        padding-top: 16px;
    }

    .models-carousel__nav .models-carousel__nav-pag {
        flex-wrap: nowrap;
    }

    .models-carousel__nav .models-carousel__nav-pag .swiper-pagination-bullet {
        white-space: nowrap;
    }

    .models-carousel__nav {
        margin: 16px 0;
    }

    .model-scene {
        flex-direction: column;
        padding: 0;
    }

    .model-scene__preview {
        height: 245px;
        width: 100%;
    }

    .model-scene__content {
        width: 100%;
    }

    .model-scene__title {
        font-size: 28px;
    }

    .model-scene__old-price {
        font-size: 16px;
    }

    .model-scene__main-price {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .model-scene__buttons {
        flex-direction: column;
        width: 100%;
    }

    .model-scene__buttons .btn {
        width: 100%;
    }

    .models-carousel .models-carousel__prev, .models-carousel .models-carousel__next {
        top: 33%;
        width: 32px;
        height: 32px;
    }

    .header-marks__mob-heading {
        font-size: 24px;
        display: block;
        margin-bottom: 20px;
    }

    .model-sticky-header {
        display: none;
    }

    .model-page__grid {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 40px;
    }

    .app-section.section-model-page {
        background: #fff;
        padding: 16px 0;
    }

    .app-section.section-breadcrumbs {
        padding: 12px 0;
        overflow: auto;
    }

    .model-offer {
        padding: 16px;
    }

    .breadcrumbs {
        flex-wrap: nowrap;
    }

    .model-content__props {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .model-content__buttons {
        grid-template-columns: repeat(1, 1fr);
    }

    .model-options__header {
        display: grid;
        padding: 16px;
        grid-template-columns: 1fr;
    }

    .mo-row {
        grid-template-columns: 1fr;
    }

    .mo-accordion__heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .model-options__body {
        padding: 16px;
    }

    .mo-action {
        width: 100%;
    }

    .model-page__preview {
        height: 246px;
    }

    .model-page__colors-item {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .model-page__colors-list {
        overflow: auto;
        margin: 0 -16px 0;
        padding: 4px 16px;
    }

    .model-content {
        padding: 0;
    }

    .model-content__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .model-content__price-main {
        font-size: 24px;
        line-height: 32px;
    }

    .model-content__price-old {
        font-size: 16px;
        line-height: 28px;
    }

    .model-content__price-payment {
        font-size: 18px;
        line-height: 24px;
    }

    .model-mobile-wrapper {
        background: #F6F6F6;
        margin: 0 -16px -16px;
        padding: 30px 16px;
    }

    .btn {
        font-weight: normal;
    }

    .model-offer__form-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 24px;
    }

    .model-offer__form-submit {
        display: grid;
        grid-gap: 24px;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .model-gallery-carousel {
        margin-top: 0;
    }

    .model-gallery-carousel__slide {
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    .model-gallery-carousel__item:not(:last-child) {
        height: auto;
    }

    .model-gallery-carousel__item {
        height: 165px !important;
        width: 100%;
    }

    .model-gallery-carousel__item:last-child {
        grid-column: unset;
    }

    .def-carousel-nav .def-pag .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
        display: none;
    }

    .def-carousel-nav .def-pag .swiper-pagination-bullet.swiper-pagination-bullet-active {
        margin: 0;
    }

    .model-gallery-carousel .swiper-pagination {
        display: none;
    }

    .def-carousel-nav {
        margin-top: 20px;
    }

    .mo-option__content.mo-option__content_columns {
        column-count: auto;
    }

    .mo-option__title {
        font-size: 18px;
    }

    .mo-option__prop {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .mo-option__prop-title {
        font-size: 16px;
    }

    .mo-option__prop:not(:last-child) {
        margin-bottom: 12px;
    }

    html.--fancybox-ofb {
        overflow: hidden;
    }
}

@media (max-width: 1100px) {
    .model-page__colors-list {
        grid-template-columns: repeat(8, 1fr);
    }
    .prize-draw-megasave br {
        display: block;
    }
    .prize-draw-megasave .prize-draw__content {
        bottom: 32px;
        top: auto;
        transform: none;
    }
    .prize-draw-megasave .prize-draw__content .main-heading{
        text-align: center;
        font-size: 28px;
        font-style: normal;
        font-weight: 500;
        line-height: 34px;
        margin-bottom: 12px;
    }
    .prize-draw-megasave .prize-draw__content .modal-offer__text{
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        margin-bottom: 32px;
        line-height: 24px; /* 150% */
    }

    .prize-draw-megasave .prize-draw__form__wrapper {
        max-width: calc(360px - 5%);
        align-items: center;
        justify-content: center;
    }
    .prize-draw-megasave .app-term{
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px; 
    }
   

    .prize-draw-megasave  .fancybox-close-small {
        right: 5% !important;
        top: 3% !important;
    }
    .prize-draw-megasave  {
        background: radial-gradient(145.41% 68.32% at 63.06% 39.01%, #1E4C62 0%, #18323D 100%);
    }

    .prize-draw-megasave .prize-draw__image {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0;
        position: relative;
        width: 100%;
    }
    
    .prize-draw-megasave .prize-draw__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0;
    }
    
    .prize-draw-megasave .prize-draw__image h3{
        font-size: 18px;
        font-weight: 700;
        line-height: 16px;
        border-radius: 4px;
        padding: 4px 10px;
     
    }
    .prize-draw-megasave .prize-draw__image span{
        font-size: 18px;
        font-weight: 700;
        line-height: 16px;
        border-radius: 4px;
        padding: 4px 10px;
    
    }
}

@media (max-width: 1100px) {
    .gos {
        padding: 40px 0px 40px 0px;
        }
    .gos__wrapper {
        flex-direction: column;
        }
    .gos__item {
        width: calc(100%);
        padding: 16px;
        gap: 20px;
    }

    .gos__text {
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
    }

    .gos__promo {
        padding: 16px;
        gap: 16px;
        overflow: hidden;
    }

    .gos__btn {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        justify-content: center;
    }

    .gos__promo-content {
        flex-basis: 100%;
        gap: 16px;
        z-index: 3;
    }

    .gos__promo-img {
        max-width: 140px;
        height: auto;
        position: absolute;
        right: 0;
        bottom: inherit;
        top: 0;
    }

    .gos__promo-title {
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        max-width: 50%;
    }

    .gos__promo-text {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        max-width: 70%;
    }
}

@media (max-width:491px) {
    .prize-draw-megasave .prize-draw__image {
        display: none;
    }
    .prize-draw-megasave .prize-draw__image__mobile {
        display: block;
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        right: 0;
    }
}