@media (min-width: 1240px) {
    body {font-size: 18px;}
    .header__flex {height: 55px;}
    .header__logo {max-width: 124px;}

    header .right_menu li.only_icon {margin-right: 12px;}
    header .right_menu .only_icon svg {width: 20px;height: 20px;}

    .homepage1_flex .text {max-width: 440px;}
    .homepage2_flex .item .text {max-width: 180px;}

    .homepage7_flex .column_right .img {width: 220px;}
 
    
    .homepage9_flex .column_left .text {max-width: 300px;}
}

@media (min-width: 1361px) {
    body {font-size: 20px;}

    .homepage2_flex .item .text {max-width: 200px;}
    .homepage9_flex .column_left .text {max-width: 340px;}

    .button_wrap .btn {max-width: 300px;}


   
}

@media (max-width: 1650px) {
}

@media (max-width: 1399px) {
    
    .homepage7_flex .column_right .text:last-child {padding: 0;}
}


@media (max-width: 1250px) {
    .history__row,
    .principle__flex {
        margin: 0 -10px;
    }

    .history__item-wrap,
    .principle__item-wrap    {
        padding: 0 10px;
    }

    .catalog__flex,
    .work__flex,
    .tabs__links,
    .pay__flex,
    .return__flex,
    .form__flex,
    .retinfo__flex,
    .retmoney__flex,
    .faq__flex,
    .requisites__flex,
    .shops__list   {
        margin: -10px;
    }

    .catalog__column,
    .work__item-wrap,
    .tabs__links li,
    .pay__item-wrap,
    .return__item-wrap,
    .form__column,
    .retinfo__column,
    .retmoney__column,
    .faq__column,
    .requisites__column,
    .shop__item-wrap {
        padding: 10px;
    }

    

}

@media (max-width: 1200px) {
    .page__top {
        background-position: right;
    }

    .breadcrumbs {
        margin-bottom: 50px;
    }


    .work__bg,
    .return__img {
        min-height: 500px;
    }

    .delivery__adv,
    .contacts__top-flex {
        flex-wrap: wrap;
    }

}

@media (max-width: 1199px) {
    .homepage1_flex {padding: 40px 0;}
    .homepage1_flex .section_title {font-size: 6em;}

    .homepage2_flex .line {display: none;}

    .reviews_list {column-gap: 30px;}



    .homepage6_flex .item:not(:last-child):after {right: -80px;}
    .homepage9_flex .column_right .section_title {font-size: 5em;}
    .homepage9_flex .column_right .text1 {font-size: 1.5em;}

    .footer_flex .column2 ul {column-gap: 20px;}
    .footer_flex .column {min-width: 220px;}


    .adv__flex {
        margin: -10px;
        gap: 0;
    }

    .adv__item {
        padding: 10px;
        width: 50%;
    }

    .history,
    .principle,
    .catalog,
    .delivery,
    .return,
    .form,
    .retinfo,
    .faq,
    .shops {
        padding: 50px 0;
    }

    .work,
    .reviews,
    .pay,
    .retmoney, .application,
    .feedback,
    .requisites  {
        padding-bottom: 50px;
    }

    .principle::after {
        font-size: 70px;
    }

    .work__bg,
    .reviews__top {
        margin-bottom: 50px;
    }

    .return__img,
    .shops__box:first-child {
        margin-top: 50px;
    }

    

    

}


@media (max-width: 1023px) {
    .btn {padding: 15px 30px;}

    .header__logo {position: initial;transform: none;}
    .header__flex {padding: 0;}

    .homepage1_flex .section_title {font-size: 5em;}
    

    .homepage2 {margin-bottom: 30px;}
    .homepage2_flex {padding: 20px;flex-wrap: wrap;gap: 20px;}

    .homepage3_flex .item_first {min-width: 220px;}

    .homepage5, .homepage6 {padding: 40px 0;}

    .homepage6_flex .line {display: none;}
    .homepage6_flex .item {min-width: auto;}

    .homepage7_flex .column_right {padding: 20px 30px;}
    .homepage7_flex .column_right .img {width: 80px;}
    
    .homepage8 .text span {display: block;}

    .homepage9_flex .column_left .text {left: 30px;bottom: 30px;}

    .homepage9_flex .column_right .section_title {font-size: 4em;}
    .homepage9_flex .column_right .text1 {font-size: 1.4em;}
    .homepage9 .column_right-flex {gap: 20px;}

    

    .homepage10_flex {flex-wrap: wrap;}
    .homepage10_flex .column_left {width: 100%;max-width: 100%;}
    .homepage10_flex .column_right {columns: 3;width: 100%;}

    .footer_flex {gap: 20px;flex-wrap: wrap;}
    .footer_flex .column1 {width: 100%;margin-bottom: 20px;}
    .footer_flex .column_title:before {display: none;}

    .contacts_socials a {width: 40px;height: 40px;}



    .form__fields {
        flex-wrap: wrap;
    }
    .form__name {
        max-width: none;
        margin: 0;
        margin-bottom: 15px;
    }
    
    .reviews__flex {
        flex-wrap: wrap;
    }

    .reviews__content {
        max-width: none;
        margin: 0 0 30px 0; 
    }

    .reviews__box {
        margin: 0 auto;
        flex-shrink: 1;
    }

    .catalog__flex {
        flex-wrap: wrap;
    }

    .w50 {
        width: 100%;
    }

    .w25 {
        width: 50%;
    }

    .catalog__column.w25 .catalog__item {
        min-height: 240px;
    }
    .catalog__column {
        gap: 15px 0;
    }

    .principle__item {
        padding: 20px 14px;
    }

    .section__title {
        font-size: 40px;
    }

    .breadcrumbs,
    .page__title {
        margin-bottom: 20px;
    }

    .page__title {
        font-size: 50px;
    }

    .header__hamburger {
        display: block;
        width: 30px;
        height: 30px;
   
        margin-left: 20px;
        position: relative;
        flex-shrink: 0;
    }

    .header__hamburger span {
        width: 80%;
        height: 2px;
        background-color: #000;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: .3s;
    }

    .header__hamburger span:nth-of-type(1) {
        top: 7px;
    }

    .header__hamburger span:nth-of-type(2) {
        top: 13px;
    }
    
    .header__hamburger span:nth-of-type(3) {
        top: 19px;
    }


    .header__hamburger.open span:nth-of-type(1) {
        transform: translateX(-50%) rotate(45deg);
        top: 14px;
    }

    .header__hamburger.open span:nth-of-type(2) {
        opacity: 0;
        transform: translateX(100%);
    }

    .header__hamburger.open span:nth-of-type(3) {
        transform: translateX(-50%) rotate(-45deg);
        top: 14px;
    }

    .header__nav {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        padding: 20px 10px;
        background-color: #fdf3ea;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        transform-origin: 0 0;
        transform: rotateX(-90deg);
        transition: .6s;
        opacity: 0;
        z-index: 1000;
        text-align: center;
    }

    .header__nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: rotateX(0deg);
    }

    .header__nav ul {
        flex-wrap: wrap;
        gap: 22px;
    }

    .header__nav ul li {
        width: 100%;
    }

    .header__nav ul li a {
        font-size: 18px;
    }

    .header__nav .parent > a {display: flex;align-items: center;margin-bottom: 12px;justify-content: center;}
    .header__nav .parent > a:after {
        content: "";
        border: 3px solid transparent;
        border-top: 3px solid;
        margin: 3px 0 0 3px;
    }

    .header__nav ul ul {
        gap: 8px;
    }
    .header__nav ul li li a {
        font-size: 14px;
    }


    .header__top ul {
        justify-content: flex-end;
    }

    .header__top {
        padding-bottom: 0;
        border-bottom: none;
    }

    .header__nav > li a {
        font-size: 20px;
    }

    .header__nav > li:not(:last-child) {
        margin-bottom: 15px;
    }

    .header__top .top__search,
    .header__top .top__shops,
    .header__top .top__phone,
    .header__top .top__mail {
        display: none;
    }

    .section-catalog_columns {display: block;}
    .section-catalog_columns aside {
        width: 100%;
        margin-right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .section-catalog_columns aside .categories_links-wrap {width:150px;position: fixed;left: -150px;transition: all 0.3s ease;background: #fff;z-index: 100;}
    .section-catalog_columns aside.open .categories_links-wrap {left:0}
    aside .categories_links-wrap .module_name {
	    font-size: 18px;
	    position: absolute;
	    transform: rotate(90deg) translate(47px, -102px);
	    width: 120px;
	    height: 26px;
	    background: #000;
	    color: #fff;
	}
    .categories_links-wrap .categories_links {margin-bottom: 0;}

}

@media (max-width: 900px) {
    .feedback__form-top,
    .feedback__bottom {
        flex-wrap: wrap;
    }

    .feedback__file {
        margin-bottom: 15px;
    }

    .feedback__form-top {
        margin-bottom: 15px;
    }

    .feedback__bottom .check {
        margin: 0;
        margin-bottom: 15px;
    }

    .feedback__name,
    .feedback__phone {
        max-width: none;
        margin: 0;
        margin-bottom: 15px
    }

    .faq__text p:not(:last-child) {
        margin-bottom: 15px;
    }

    .faq__btn {
        text-align: center;
    }

    .faq__text:not(:last-child) {
        margin-bottom: 30px;
    }

    .principle__item-wrap,
    .return__item-wrap,
    .form__column,
    .retinfo__column,
    .retmoney__column,
    .faq__column,
    .requisites__column,
    .shop__item-wrap  {
        width: 100%;
    }

    .form__content {
        max-width: none;
    }

    .check {
        width: 100%;
    }

    .work__item-wrap {
        width: 100%;
    }

    .delivery__flex {
        flex-wrap: wrap;
    }

    .delivery__content {
        max-width: none;
        margin: 0;
        margin-bottom: 30px;
    }

    .delivery__img {
        margin: 0 auto;
    }



}

@media (max-width: 800px) {
    .footer-subscribe {
        padding: 44px 0 40px;
    }
    .footer-subscribe__inner {
        display: block;
    }
    .footer-subscribe__title {
        margin-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    .footer-subscribe__form {
        display: block;
        max-width: 90%;
        margin: 0 auto;
    }
    .footer__menu {
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    .footer__menu-list {
        width: 49%;
        margin-bottom: 30px;
    }
    
    .tabs__links {
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow-x: scroll;
        -webkit-box-pack: start;
        -webkit-justify-content: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
    

    .tabs__links li,
    .retinfo__tabs .tabs__links li {
        flex-shrink: 0;
        width: auto;
    }

    .page__top {
        background-position: center;
    }
}

@media (max-width: 767px) {
    body {font-size: 15px;}
    header .right_menu .js-mob {display: none;}

    .container {padding: 0 25px;}
    .section_title {font-size: 36px;letter-spacing: -0.02em;}
    .section_subtitle {font-size: 20px;}

    header .right_menu {margin-right: 0;}
    header .right_menu li.only_icon {margin-right: 18px;}
    .header__hamburger {margin-left: 0px;}

    .homepage1 .container {padding: 0;}
    .homepage1_flex {padding: 50px 20px;flex-wrap: wrap;}
    .homepage1_flex .section_title {font-size: 77px;}
    .homepage1_flex .text {font-size: 18px;margin-bottom: 60px;}
    .homepage1_flex .button_wrap {display: flex;flex-wrap: wrap;justify-content: center;}
    .homepage1_flex .button_wrap .img2 {margin:47px 0 80px;}
    .homepage1_flex .img {width: 50%;padding: 0 10%;}

    .homepage2_flex .item .name {width: 50%;}
    .homepage2_flex .item .text {max-width: 50%;font-size: 13px;}

    .homepage3_flex {flex-wrap: wrap;}
    .homepage3_flex .item_first {width: 100%;margin: 0;}
    /*.homepage3_flex .item_first .button_wrap {display: none;}*/
    .homepage3_flex .item {max-width: 30%;margin: 0 3% 0 0;/*margin: 0 0 32px;*/} 
    .homepage3_flex .item span {/*font-size: 18px;*/}

    .homepage4 .top .text {font-size: 14px;}

    .catalog_items .item_wrap {width: 50%;/*padding: 0;*//*margin-bottom: 32px;*/}
    

    .reviews_list {columns: 1;}
    .reviews_list .item {margin: 0 10px;}

    .homepage6_flex {justify-content: center;flex-wrap: wrap;gap: 60px;margin-bottom: 0}
    /*.homepage6 .button_wrap {display: none;}*/

    .homepage7_flex {gap: 32px;flex-wrap: wrap;}
    .homepage7_flex .column_left, .homepage7_flex .column_right {width: 100%;}
    .homepage7_flex .column_left .section_title {padding: 0 30px;}
    .homepage7_flex .column_left .text {font-size: 18px;}
    .homepage7_flex .column_right {font-size: 14px;}
    .homepage7_flex .column_right .img {margin: 30px 0;}

    .homepage9_flex {flex-wrap: wrap;}
    .homepage9_flex .column_left, .homepage9_flex .column_right {width: 100%;}
    

    .homepage10_flex .column_right {columns: 2;}
    .homepage10_contacts {flex-wrap: wrap;}
}

@media (max-width: 700px) {
    .pay__item-wrap {
        width: 100%;
    }

    .delivery__adv-img {
        width: 60px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .guarantee__flex {
        flex-wrap: wrap;
    }

    .guarantee__days {
        width: 100%;
    }

    .guarantee__content {
        margin-left: 0;
        margin-top: 15px;
    }

}

@media (max-width: 600px) {
    .box__border,
    .faq__item {
        padding: 15px;
    }

    .contacts__phone,
    .contacts__mail {
        width: 100%;
    }
    
    .work__bg,
    .return__img {
        min-height: 380px;
    }

    .history__row {
        flex-wrap: wrap;
    }

    .history__item-wrap {
        width: 100%;
        margin-bottom: 15px;
    }

    .adv__item {
        width: 100%;
    }

    .section__title {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .history__row.revers   .history__item-wrap:nth-child(2) {
        order: -1;
    }
    
    .history__row:not(:last-of-type) {
        margin-bottom: 20px;
    }

}

@media (max-width: 500px) {
    
    .footer-subscribe__form-input {
        width: 200px;
    }
    .footer-subscribe__title {
        margin-bottom: 20px;
    }

    .delivery__partners li,
    .delivery__city li {
        width: 100%;
    }

    .w50 {
        min-height: 380px;
    }

    .catalog__column.w25 .catalog__item {
        min-height: 190px;
    }

    .header__top ul li a span {
        font-size: 0;
        line-height: 0;
    }

    .header__top ul svg {
        width: 30px;
        height: 30px;
        margin: 0;
    }



    .principle::after {
        font-size: 55px;
    }
    
}

@media (max-width:479px) {
    .homepage1_flex .img {padding: 0 3%;}

    .homepage3_flex .item {max-width: 48%;margin: 0 4% 20px 0;}
    .homepage3_flex .item:nth-child(3) {margin-right: 0;}

    .catalog_items .item_wrap {width: 100%;padding: 0;margin-bottom: 20px;}
    .catalog_items .item_wrap .item .name {font-size: 18px;}
    .catalog_items .item_wrap .item .prices .price {font-size: 18px;}
    .catalog_items .item_wrap .item .prices .old_price {font-size: 13px;}
    
    .page__title {
        font-size: 40px;
    }

    .work__img {
        max-width: 40px;

    }


    .retinfo__tabs .tabs__links li a {
        font-size: 14px;
    }
}

