@media (max-width: 1500px){
    .geo__popup{
        left: unset;
        right: 0;
        transform: unset;
    }

    .index-page{
        background-position: center;
    }

    .product-page__buy{
        flex-direction: column;
        align-items: initial;
    }
}

@media (max-width: 1400px){
    .product{
        flex: 0 0 calc((100% / 3) - calc(27px / 3 * 2));
    }

    .models-block__item{
        flex: 0 0 calc((100% / 4) - calc(60px / 4 * 3));
    }

    .advantages-block__item {
        flex: 0 0 calc((100% / 4) - calc(48px / 4 * 3));
        text-align: center;
    }

    .basket-page__content{
        flex-direction: column;
    }

    .basket-page__table,
    .basket-page__total{
        width: 100%;
    }

    .basket-page__total{
        flex-basis: auto;
    }

    .total-block{
        padding: 36px 16px;
    }

    .checkout-page__content{
        flex-direction: column;
    }

    .checkout-page__total,
    .checkout-page__fields{
        flex-basis: 100%;
        width: 100%;
    }

    .checkout-page__total{
        position: static;
    }
}

@media (max-width: 1300px){
    .header__phone .phone__text{
        display: none;
    }

    .product-page__props_block{
        flex-basis: 100%;
    }

    .product-page__stock{
        margin-bottom: 24px;
    }

    .product-page__code{
        margin-bottom: 36px;
    }
}

@media (max-width: 1200px){

    body{
        padding-top: 62px;
    }

    .index-page{
        height: calc( 100vh - 62px);
    }

    .geo__popup{
        display: none;
    }

    .header{
        padding: 16px 0;
    }

    .header__burger{
        display: flex;
    }

    .header__container{
        justify-content: flex-end;
    }

    .header__logo{
        position: absolute;
        left: 16px;
        top: 12px;
    }

    .logo{
        width: 77px;
    }

    .header__content{
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 42px 16px;
        height: calc(100vh - 62px);
        overflow: auto;
    }

    .header--opened .header__content{
        display: block;
    }

    .top-menu__btn{
        width: 100%;
        padding-top: 18px;
        padding-bottom: 18px;
        border-bottom: 2px solid #F6F6F6;
        text-align: left;
    }

    .menu:not(.footer-menu){
        margin: 36px 0 46px 0;  
    }

    .menu__list{
        flex-direction: column;
        align-items: flex-start;
    }

    .top-menu__block{
        top: 0;
        height: 100%;
        padding: 36px 0;
    }

    .top-menu__container{
        height: 100%;
        overflow: auto;
    }

    .top-menu__items-list,
    .top-menu__tags-list{
        gap: 24px;
    }

    .tag {
        width: calc(50% - 12px);
    }

    .tag:not(.tag--active){
        border-color: #F6F6F6;
    }

    .top-menu__block_close{
        display: block;
    }

    .stoptech{
        width: 217px;
    }

    .product-page__header{
        flex-direction: column;
        gap: 36px;
    }

    .product-page__images{
        flex-direction: column-reverse;
    }

    .product-gallery{
        width: 100%;
        height: 328px;
    }

    .product-gallery__item{
        height: 328px;
        max-width: 100%;
    }

    .product-page__images{
        flex-basis: 100%;
        max-width: 100%;
    }

    .product-thumbs__btn{
        display: none;
    }

    .product-thumbs__list{
        display: flex;
        width: fit-content;
    }

    .product-thumbs__viewport{
        max-width: 100%;
        width: 100%;
        height: auto;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
    }

    .product-thumbs__wrapper{
        max-width: 140px;
    }

    .product-thumbs__item{
        width: 140px !important;
    }
}

@media (max-width: 1024px){
    .index-page__container{
        gap: 36px;
        transform: unset;
    }

    .index-page__title{
        font-size: 28px;
    }

    .search{
        background: transparent;
        flex-direction: column;
        gap: 24px;
        padding: 0;
    }

    .search__list{
        background: #fff;
    }

    .search__list .fake-list__btn{
        padding: 24px 72px 24px 24px;
    }

    .search__list .fake-list__btn_icon{
        right: 24px;
    }

    .search__list .fake-list__list{
        width: 100%;
        top: 100%;
        max-height: 150px;
        padding: 16px 0;
    }

    .search__list .fake-list__item{
        padding: 8px 24px;
    }

    .footer{
        padding: 36px 0;
    }

    .footer__container{
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 36px;
    }

    .footer-menu{
        width: 100%;
    }
    .footer-menu--bottom{
        padding-top: 36px;
        border-top: 1px solid #EAEAEA;
    }

    .price:not(.price--old){
        font-size: 24px;
    }

    .breadcrumbs__list{
        display: none;
    }

    .sertificate-block__container{
        flex-direction: column;
    }

    .sertificate-block__image{
        flex-basis: 100%;
    }

    .block-title{
        font-size: 24px;
    }

    .product-page__title{
        margin-bottom: 24px;
    }

    .models-block__item,
    .advantages-block__item {
        flex: 0 0 calc((100% / 3) - calc(60px / 3 * 2));
    }

    .block-title{
        margin-bottom: 24px;
    }

    .product-page__body,
    .models-block,
    .video-block,
    .products-block,
    .sertificate-block{
        padding: 20px 0;
    }

    .advantages-block{
        padding: 50px 0;
    }

    .product-page__advantages{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .video-block__container{
        flex-direction: column;
        gap: 50px;
    }
    .video-block__block{
        flex-basis: unset;
        width: 100%;
    }

    .sertificate-block__text{
        font-size: 24px;
    }

    .sertificate-block__btn{
        width: 100%;
        text-align: center;
    }

    .product-page__header{
        padding-bottom: 40px;
    }

    .product-page__anchors{
        display: block;
    }

    .product-table__row{
        flex-wrap: wrap;
        gap: 16px;
    }

    .product-table__cell--big{
        width: 100%;
    }

    .product-table__row--header{
        display: none;
    }

    .basket-page{
        padding: 0 0 50px 0;
    }

    .total-block__price_title{
        font-size: 24px;
    }

    .total-block__text{
        margin-bottom: 24px;
    }

    .fields-section{
        padding: 24px;
    }

    .checkout-page__content{
        gap: 36px;
    }

    .checkout-page{
        padding: 0 0 50px 0;
    }

    .thanks-section__title{
        font-size: 28px;
    }

    .error-page,
    .contacts-page{
        padding: 0 0 50px 0;
        background-position: center bottom;
    }
    

    .contacts-page__info{
        width: 100%;
        margin-bottom: 50px;
        padding: 24px;
        font-size: 24px;
        gap: 24px;
    }

    .contacts-page__map{
        position: static;
        height: 500px;
    }

    .cart:hover .cart__preview{
        display: none;
    }

    .fake-list{
        width: 100%;
    }
}


@media (max-width: 900px){
    .product{
        flex: 0 0 calc((100% / 2) - calc(27px / 2));
    }
}

@media (max-width: 768px){
    .models-block__item,
    .advantages-block__item {
        flex: 0 0 calc((100% / 2) - calc(60px / 2));
    }

    .field--half,
    .field--address{
        flex-basis: 100%;
    }

    .fields-section__fields:not(.fields-section__fields--subsection){
        gap: 24px;
    }

    .fields-section__fields:not(:last-child){
        margin-bottom: 36px;
    }

    .fields-section__translate{
        display: none;
    }

    .field--address-part{
        flex-basis: calc(50% - 8px);
    }

    .props-list__title--bold{
        max-width: 80%;
    }

    .filter{
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .catalog-page__filter-btn{
        display: block;
    }

    .catalog-page__filter{
        display: none;
    }

    .catalog-page__filter--opened .catalog-page__filter{
        display: block;
    }

    .catalog-page__filter--opened .catalog-page__filter-btn{
        margin-bottom: 0;
    }
}


@media (max-width: 600px){
    .product{
        flex: 0 0 100%;
    }

    .models-block__item,
    .advantages-block__item {
        flex: 0 0 100%;
    }

    .media__image{
        height: 190px;
    }

    .models-block:not(.models-block--opened) .models-block__item--hidden{
        display: none;
    }

    .models-block:not(.models-block--opened) .models-block__btn{
        display: block;
    }

    .product-cell{
        align-items: flex-start;
    }

    .product-cell__image{
        gap: 24px;
        flex-basis: 60px;
        height: 60px;
    }

    .product-table__cell--price{
        display: none;
    }

    .product-table__cell:not(.product-table__cell--big){
        flex-basis: calc((100% / 2 - 66px) - 16px * 2 / 3);
        text-align: center;
    }

    .product-table__cell.product-table__cell--count{
        flex-basis: 120px;
    }

    .delete-block{
        justify-content: flex-end;
    }
}