@media (min-width: 1300px) {
    .container {
        max-width: 1245px;
    }
}



@media screen and (max-width: 1200px) {
    .container {
        width: 100%;
        max-width: 100%;
    }


}


@media screen and (max-width: 1024px) {
	
.prodpage-left {
    width: 40%;
}

form#prodpageForm {
    width: 60%;
}	
	
.product-wrap .product-item {
    width: calc(50% - 30px);
}	
	
a.mm-btn.mm-btn_next.mm-listitem__btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}	
    
header#header.fixed .header-top {
    display: flex;
}    

.header-bottom {display: none;}
a.openMenu {
    display: block;
    width: 50px;
    height: 50px;
    background: #003264;
    border-radius: 5px;
}

body {
    padding-top: 131px;
}

.logo {
    flex-grow: 1;
}

header nav#mainnav {
    display: none;
}

ul.mainlist a {
    font-weight: 500;
} 
a.mm-listitem__text {
    white-space: normal;
}    

header#header nav#mainnav {
    display: none;
}    
 
nav#mainnav {
    z-index: 1000; 
    transition: 0.5s;
    display: block;
    left: -500px;
} 

html.mm-wrapper_opening nav#mainnav {
    left: 0;
}
.mm-page.mm-slideout {
    min-height: unset !important;
}
ul.mainlist {
    display: block;
}

li.hide.mm-listitem {
    display: flex !important;
}

ul.mainlist li {
    margin: 0 !important;
}

.mm-wrapper_opening .mm-menu_offcanvas.mm-menu_opened~.mm-slideout {
    transform: none !important;
}

nav#mainnav a {
    text-transform: uppercase;
}
a.cart {
    margin-right: 20px;
}

.slider-head {
    font-size: 60px;
    line-height: 1.2;
}

.title {
    font-size: 40px;
    line-height: 1;
}

.fon-wrap {
    padding: 100px 0 130px;
}
.about {
    align-items: unset;
}

.history-slider_wrap::before {
    height: 54%;
    top: 30%;
    opacity: 0;
}

.history-text {
    color: #003264;
    margin-top: 0;
}



}





@media screen and (max-width: 992px)  {


}





@media screen and (max-width: 991px) {

}

@media screen and (max-width: 768px) {
    
a.header-user, a.header-favorite, a.header-search {
    display: none;
}   
.feat-item {
    width: calc(50% - 30px);
} 

.review-wrap {
    flex-direction: column-reverse;
}

.review-slider {
    width: 100%;
}

.review-right {
    width: 100%;
    padding-top: 0;
    margin-bottom: 40px;
}
 .footer-item.footer-item2, .footer-item.footer-item3 {
    display: none;
}
.slider-item {
    height: 500px;
} 
img.slider-img {
    border-radius: 60px;
}
.gallery-item {
    height: 200px;
}
	
.product-wrap .product-item {
    width: calc(50% - 30px);
}

.sidemenu {
    width: 100%;
    max-width: 300px;
    margin-right: 0;
    display: none;
}

.product-wrap .product-flex {
    width: 100%;
}
.prodpage-left {
    width: 100%;
    margin-bottom: 30px;
}

form#prodpageForm {
    width: 100%;
}

.whitebox {
    padding: 15px;
}

.slider-for_item img {
    max-height: 300px;
}	

}




@media screen and (max-width: 767px) {
    
.slider-head {
    font-size: 40px;
}

.slider-content {
    padding: 0 15px;
}    

.review-flex {
    column-count: 1;
}
.header-city {
    display: none;
} 
.header-city {
    display: none;
}

header#header.fixed .header-top {
    display: flex;
}

a.header-phone {
    font-size: 0;
    width: 37px;
    height: 38px;
    background: #ebf4fd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-right: 15px;
}

a.header-phone img {
    margin-right: 0;
}

.logo img {
    width: 150px;
}

.about-img, .about_alg .about-img {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

.about-item, .about_alg .about-item {
    width: 100%;
}

.history-img {
    width: 100%;
    margin-bottom: 30px;
    margin-right: 0;
    max-width: 400px;
}

.history-img img {
    max-height: 300px;
    width: 100%;
}

.history-content {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.history-slider .slick-arrow {
    top: unset;
    bottom: -50px;
    transform: none;
    left: 0;
}

.history-slider_wrap {
    padding-bottom: 50px;
}

.history-slider .slick-arrow.slick-next {
    left: 50px;
}

.about {
    flex-direction: column;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
}

.title {
    font-size: 35px;
}

.history-text {
    font-size: 16px;
    line-height: 1.6;
}
	
	



.cart-table > div {
    width: 49%;
    border: none;
    width: auto;
    margin-right: 15px;
    margin-bottom: 10px;
}

.cart-top {
    display: none;
}

.cart-table_wrap {
    border-radius: 15px;
}

.cart-table > div.cart-desc {
    width: 100%;
}

.cart-item {
    padding: 25px 0; 
}

.cart-table > .cart-delete {
    position: absolute;
    margin: 0;
    right: 13px;
}

.cart-table {
    position: relative;
    padding-right: 45px;
}

.cart-head {
    font-size: 22px;
}	
	
.cart-box {
    padding: 30px 20px;
}

.dostavka-flex2 {
    max-width: unset;
    width: 100%;
    border: none;
    margin-right: 0;
    padding-right: 0;
} 
.dostavka-flex2 .cart-select {
    max-width: 100%;
    margin-right: 0;
    width: 100%;
}

.podtext {
    font-size: 18px;
}
}









@media screen and (max-width: 480px) {

.cart-table > div.cart-name {
    width: 100%;
} 
.cart-table > div {
    padding-right: 0;
    margin-right: 20px;
    padding-left: 0;
    margin-bottom: 15px;
}

.cart-item {
    padding-bottom: 15px;
}
	
.product-name {
    font-size: 15px;
}

.product-desc {
    font-size: 12px;
} 
.product-price {
    font-size: 18px;
}

.product-item, .product-wrap .product-item {
    width: calc(50% - 10px);
    margin-right: 5px !important;
    margin-left: 5px !important;
}
.product-item:hover::before {
    opacity: 0;
}
.product-flex {
    margin-right: -5px;
    margin-left: -5px;
}	
	
.feat-item {
    width: calc(100% - 30px);
}
.slider-head {
    font-size: 40px;
}

.slider-content {
    padding: 0 15px;
}

.feat-item {
    width: calc(100% - 30px);
}

.footer-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-item {
    margin-right: 0;
    text-align: center;
    max-width: 100%;
}

.footer-social a {
    margin: 0 10px 10px;
}

.footer-social {
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 200px;
    background-size: contain;
}
.logo {
    margin-right: 10px;
}
	
.faqmenu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.faqbtn {
    padding: 10px 15px;
    width: auto;
    margin: 1px;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    min-height: unset;
}

.faq {
    width: 100%;
}

.faq-item {
    padding: 0 20px;
}

.faq-head {
    padding: 15px 0;
    padding-left: 35px;
    font-size: 20px;
}

.faq-head svg {
    top: 25px;
}

.faq-content {
    font-size: 18px;
}	
	
.gallery-item {
    height: 200px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    grid-column-gap: unset;
    grid-row-gap: unset;
    justify-content: space-between;
}

.gallery-item {
    grid-area: unset !important;
    width: 49%;
    margin-bottom: 10px;
}

.gallery-item:nth-child(1) {
    width: 100%;
}	
.slider-nav.slider-row .slick-slide {
    margin-right: 5px;
    margin-left: 5px;
}

.slider-nav.slider-row .slick-list {
    margin-right: -5px;
    margin-right: -5px;
}

.slider-nav_item img {
    height: 100px;
}

.slider-for {
    margin-bottom: 10px !important;
}
.product-quantity_btn {
    padding: 3px 16px;
    font-size: 40px;
}	
.product-quantity {
    bottom: unset;
    right: unset;
    position: relative;
    padding: 0 12px;
    width: 100%;
    justify-content: center;
    order: 3;
} 
.product-price {
    /* width: 100%; */
    margin-bottom: 15px;
}

.product-btn {
    margin-left: auto;
    margin-bottom: 15px;
}

input.product-quantity_input {
    font-size: 20px;
}

.product-quantity_btn {
    padding: 3px 20px;
}
	



	
}


@media screen and (max-width: 500px) {
    .cook-comment {
        padding: 8px 5px;
    }

    #catalognav {
        overflow-x: auto;
        display: flex;
        justify-content: flex-start;
        white-space: nowrap; /* Не переносить элементы на новую строку */
        -webkit-overflow-scrolling: touch;
    }

    .header-bottom {
        display: block;
    }

    ul.cataloglist {
        flex-wrap: nowrap;
    }

    ul.cataloglist li {
        margin-right: 15px;
    }

    ul.cataloglist a {
        white-space: nowrap;
    }
    #catalognav::-webkit-scrollbar {
        height: 5px;
    }
    
    .header-bottom {
        padding: 15px 0 0;
    }
    
    #catalognav {
        padding-bottom: 7px;
    }
}












