@media (max-width: 1705px){
    .types__inner-items{
        justify-content: center;
    }
    .types__inner-item {
        width: 750px;
        height: 410px;
    }
    .product__blocks{
        justify-content: center;
    }
    .product__blocks a:nth-child(3){
        /* margin-right: 0; */
    }
    .product__blocks a{
        margin-right: 25px;
    }
}

@media (max-width: 1600px) {
    .header__burger{
        display: block;
    }
    .header__nav{
        display: none;
    }
    .types__inner-item:nth-child(2n){
        margin: 0 0 20px 0;
    }
    .types__inner-item{
        width: 100%;
        margin-bottom: 20px;
    }
    .types__inner-item-secondPage{
        margin: 0 0 25px 0 !important;
    }
    .burger__button{
        display: none;
    }
}


@media (max-width: 1366px) {
    .history__block,
    .story__block{
        flex-direction: column;
    }
    .history__block:last-child{
        flex-direction: column-reverse;
    }
    .history__block-text,
    .story__block-text{
        max-width: 100%;
        margin: 40px 0px 70px 0px;
    }
    .history__block-text:last-child{
        margin: 40px 0 0 0;
    }
    .history__block img,
    .story__block img{
        width: 100%;
    }
    .recipes__blocks{
        flex-direction: column;
        align-items: flex-start;
    }
    .recipes__photo,
    .recipes__photo img{
        width: 100%;
    }
    .recipes__ingredients{
        margin: 70px 0 0 0;
    }
}

@media (max-width: 1050px) {
    .contacts__blocks{
        flex-direction: column;
        align-items: center;
    }
    .contacts__block:last-child{
        margin: 94px 0 0 0;
    }
    .contacts__block:first-child::after{
        width: 4px;
        height: 94px;
        top: unset;
        bottom: -94px !important;
        left: 50%;
    }
    .partners__blocks{
        flex-direction: column;
    }
    .partners__block:last-child{
        margin: 40px 0 0 56px;
    }
    .ourpart__inner img + img{
        margin: 0;
    }
}

@media (max-width: 850px) {
    .header__burger{
        margin-right: 40px;
    }
    .lang{
        margin-left: 40px;
    } 
    .header__top-snumber,
    .header__top-email{
        margin-left: 45px;
    }
    .header__top-text,
    .header__top-text a{
        font-size: 12px;
    }
    .header__bottom-number{
        font-size: 16px;
    }
    .header__button button,
    .header__bottom-location{
        font-size: 14px;
    }
    .types__description-title{
        font-size: 30px;
        line-height: 40px;
    }
    .types__description-text{
        font-size: 16px;
        line-height: 24px
    }
    .product__blocks{
        flex-direction: column;
        align-items: center;
    }
    .product__blocks a,
    .product__blocks a:nth-child(3){
        margin: 0 !important;
    }
}

@media (max-width: 650px) {
    .header__burger{
        margin-right: 20px;
    }
    .lang{
        margin-left: 20px;
    } 
    .header__button{
        display: none;
    }
    .header__top-snumber,
    .header__top-email{
        margin-left: 45px;
    }
    .header__top-text,
    .header__top-text a{
        font-size: 10px;
    }
    .header__bottom-number{
        font-size: 16px;
    }
    .header__button button,
    .header__bottom-location{
        font-size: 14px;
    }
    .types__description-title{
        font-size: 30px;
    }
    .types__description-text{
        font-size: 16px;
    }
    .types__inner-item{
        padding: 37px 45px; 
        min-height: 225px
    }
    .types__item-title{
        font-size: 20px;
        line-height: 36px;
    }
    .types__item-text{
        font-size: 14px;
        line-height: 17px;
    }
    .types__description-title{
        margin-left: 20px;
    }
    .types__description-title::before{
        left: -20px;
    }
    .prod__wrapper{
        flex-direction: column;
    }
    .prod__filter{
        max-width: unset;
        margin-bottom: 100px;
    }
    .prod__goods{
        margin-left: 0;
    }
    .prod__goods-item{
        width: 100%;
    }
    .goods__item-image{
        height: unset;
        min-height: 293px;
    }
    .goods__item-image img{
        width: 100%;    
    }
    .footer__top{
        display: none !important;
    }
    .prod__filter{
        border: none;
        border-bottom: 1px solid #000;
        padding-bottom: 50px;
        margin-bottom: 50px;
    }
}

@media (max-width: 575px){
    .header__top-inner{
        justify-content: center;
    }
    .header__top-inner .m-auto{
        display: none;
    }
    .header__top-times{
        display: none;
    }
    .container{
        padding: 0 15px;
    }
    .types__item-button{
        width: 60px;
        height: 60px;
        border-radius: 60px;
        padding: 0 18px 0 22px;
    }
    .contacts__block{
        padding: 20px 50px;
    }
    .contacts__time-text {
        max-width: 104px;
    }
    .contacts__block-info.reverse{
        display: flex;
        flex-direction: column-reverse;
    }
    .contacts__address{
        margin-top: 20px;
    }
    .advances{
        display: none;
    }
}

@media (max-width: 475px){
    .header__address{
        display: none;
    }
    .types__description-title{
        font-size: 16px;
        line-height: 20px;
    }
    .types__description-text{
        font-size: 8px;
        line-height: 12px;
    }
    .feedback__inner-block{
        padding: 20px 18px;
    }
    .header__top-text, .header__top-text a {
        font-size: 8px;
    }
    .burger__link a{
        font-size: 20px;
        line-height: 24px;
    }  
    .contacts__block-image{
        right: 0 !important;
    }
    .contacts__block-image img{
        width: 152px;
        height: 172px;
    }
    #second__contacts-image img{
        width: 185px;
        height: 121px !important;
    }
    .story__block-text{
        font-size: 14px;
        line-height: 24px;
    }
    .documents__images{
        justify-content: center;
    }
    .documents__images img{
        width: 320px;
    }
}