@media (max-width:1800px){
    .body-wrapper.is-main-page:before, .body-wrapper:after {
        display: none;
    }
}

@media (max-width:1200px) {
	.catalog-menu-list ul {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
	.catalog-menu-container .js-cats ul {
		flex-wrap: wrap;
		justify-content: flex-start;
    }
}

@media (max-width:1050px) {
	.general-header .header-modules ul li:last-child {
		margin-right: 10px;
	}
	.general-header .header-modules ul li {
		padding: 0 7px;
	}
	.custom-top-phone .phone-wrapper .phones-wrapper {
		display: block;
	}
	.custom-top-phone .phone-wrapper .phones-wrapper > a:first-child {
		margin-right: 0;
	}
	.general-header .logo-slogan .slogan {
		margin-left: 30px;
	}
	.header-socials {
		margin-left: 40px;
	}

	.general-header .header-modules ul li a {
		font-size: 11px;
	}
	.custom-top-phone {
		height: auto;
	}
}

@media (max-width:900px) {
	.catalog-menu-list ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
	.list-products.list {
        grid-template-columns: 1fr 1fr 1fr;
	}
	* {
		z-index: 1;
	}
	.mobile-menu-main .close {
		width: 46px;
		height: 46px;
        background: url(../images/close-menu.png) top left no-repeat;
		position: absolute;
		top: 15px;
		right: 15px;
    }

	header .container {
		background: #fff;
	}
	.catalog-menu-list ul {
		grid-template-columns: 1fr 1fr 1fr;
	}
    .burger {
        display: inline-block;
        margin-left: 30px;
        position: relative;
        z-index: 1000;
    }
    .general-header .header-modules ul {
        display: none;
    }
    .general-header .header-modules .nav-container {
        display: none;
    }
    .header-modules {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
	
    header.is-open .general-header .header-modules .nav-container {
        display: none;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 950;
        padding-top: 130px;
    }


    .general-header .header-modules .nav-container ul{
        display: block;
        padding: 0 25px;
        max-height: calc(100vh - 130px);
        overflow: auto;
    }

    .general-header .header-modules .nav-container ul li{
        margin: 0 0 20px;
        padding: 0;
    }

    .general-header .header-modules .nav-container ul li a{
        font-size: 18px;
    }

	header.is-open .catalog-menu-container {
		z-index: 1;
	}
.catalog-menu-container .js-cats .mobile-menu {
		width: auto;
    }
	.custom-top-phone-mobile {
		display: flex;
	}
	.custom-top-phone-mobile a:first-child{
		margin-left: 15px;
		margin-right: 0;
	}
	.custom-top-phone-mobile a:last-child{
		margin-right: 15px;
	}
	.custom-top-phone-mobile {
		justify-content: center;
	}
	.catalog-menu-list ul li .img img {
		max-width: 100%;
	}

    .custom-top-phone {
        display: none;
    }
    .logo img {
        max-height: 80px;
    }
    .header-modules {
        height: 80px;
		display: block;
    }

}

@media (max-width:768px) {
	.blog-item-container {
		grid-template-columns: 1fr;
		grid-gap: 10px;
		margin-bottom: 60px;
	}
	.body-wrapper {
		padding-top: 190px;
	}
	header {
		width: 100%;
		position: fixed;
		-webkit-transition: max-height .5s, padding .5s;
		transition: max-height .5s, padding .5s;
		overflow: hidden;
		z-index: 1000;
	}
	header.scrolling-down {
		max-height: 0;
	}
	header.scrolling-top {
		max-height: 210px;
	}

	header.is-open1, header.is-open {
		overflow: unset;
	}
	/*
	.custom-top-phone-mobile {
		display: none;
	}
	*/

	header .catalog-menu-container .js-cats ul li a:hover, header .catalog-menu-container .js-cats ul li.active a {
		background: transparent;
		color: #2b2a29;
	}

	.catalog-menu-container .js-cats ul li:last-child a:hover {
		color: #f01a26 !important;
	}

	.steps .container{
		grid-template-columns: 1fr 1fr;
	}

    .catalog-menu-list ul {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .general-header .logo-slogan .slogan {
        margin-left: 30px;
    }

    .general-header {
        position: relative;
        z-index: 1000;
		padding: 10px 0 5px;
    }

	.catalog-menu-list ul li a:hover .name {
		font-weight: bold;
		color: #f01a26;
	}

	.catalog-menu-list ul {
		padding: 0 15px;
	}

    /*
    header .catalog-menu-container .catalog-menu {
        display: block;
        max-height: calc(100vh - 300px);
        overflow: auto;
    }

    header.scroll-down .catalog-menu-container .catalog-menu {
        max-height: calc(100vh - 300px);
    }
    */

    header .catalog-menu-container .catalog-menu-wrapper {
        display: none;
        background: #fff;
        position: fixed;
        top: 210px;
        height: calc(100vh - 210px);
        left: 0;
        width: 100vw;
        overflow: auto;
        padding-bottom: 30px;
    }

    header.is-open1 .catalog-menu-container .catalog-menu-wrapper {
        display: block;
    }

    header.scroll-down .catalog-menu-container .catalog-menu-wrapper {
        top: 46px;
        height: calc(100vh - 46px);
    }

    .catalog-menu-container .catalog-menu-wrapper .titles {
        padding: 0 15px;
    }

    .catalog-menu-container .catalog-menu-wrapper .titles .h1{
        margin-top: 15px;
    }

    .catalog-menu-container .js-cats .img {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 200px;
    }

    .catalog-menu-container .titles {
        display: block;
    }

    .catalog-menu-container .js-cats .img img {
        max-width: 100%;
    }

    .catalog-menu-container .js-cats ul {
        grid-template-columns: 1fr 1fr 1fr;
        display: grid;
        align-items: flex-start;
        justify-content: space-between;
        grid-column-gap: 30px;
        grid-row-gap: 60px;
        text-align: center;
    }

    .catalog-menu-container .js-cats .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-left: 15px;
        padding: 7px 20px;
        background: #f11f25;
        color: #fff;
        border-radius: 16px;
		max-width: 170px;
    }

    .catalog-menu-container .js-cats .mobile-menu:after {
        display: block;
        content: "";
        width: 15px;
        height: 8px;
        background: url(../images/arrow-down.png) top left no-repeat;
        margin-left: 10px;
    }

    header.is-open1 .catalog-menu-container .js-cats .mobile-menu:after {
        width: 15px;
        height: 15px;
        background: url(../images/close-catalog-menu.png) top left no-repeat;
    }


    .list-products.list {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail .product-info .img {

    }

    .product-detail .product-info .img img{
        max-width: 100%;
    }

    .product-detail .product-info .info {
        height: 400px;
    }

    .cart-header .count-header {
        width: 100px;
    }
    .cart-item .cart-count {
        width: 100px;
    }

    .cart-item .delete, .cart-header .delete-header {
        width: 50px;
    }

    .cart-item .summ, .cart-header .summ-header {
        width: 70px;
    }

    .chechout-delivery .inner {
        width: 70%;
    }
}

@media (max-width:700px){
	
    h1, .h1 {
        margin-top: 50px;
        font-size: 40px;
    }

    h2, .h2 {
        margin-bottom: 30px;
    }

    .list-products .item .buy-area {
        flex-wrap: wrap;
        margin-top: 45px;
        justify-content: center;
    }

	.was_added_to_cart {
		font-size: 12px;
	}

    .list-products .item .buy-area .count {
        justify-content: center;
    }

    .list-products .item .buy-area .price {
        width: 100%;
        text-align: center;
    }

    .list-products .item .buy {
        margin-top: 5px;
    }

    .pre-footer {
        flex-wrap: wrap;
    }

    .pre-footer > div{
        width: 100%;
        text-align: right;
        margin-bottom: 20px;
    }

    .pre-footer .delivery-text {
        max-width: 100%;
    }

    .pre-footer .payments {
        order: 3;
    }

    .pre-footer .discount {
        order: 2;
    }

    .chechout-delivery .inner {
        width: 100%;
    }
    .checkout-data .form-inputs, .address-data .form-inputs {
        grid-template-columns: 1fr 1fr;
    }
    .counts-pribor .pre-label {
        display: block;
    }

    .moduletablecatalog-menu {
        display: none;
    }

    .pre-footer {
        margin-top: 50px;
        padding: 30px 15px;
    }

    .catalog-menu-container .js-cats .img {
        display: block;
        height: 180px;
    }
	.list-products .item a .img {
		min-height: 190px;
	}
	.halfs {
		grid-template-columns: 1fr 1fr;
		grid-gap: 10px;
	}

	.product-detail .product-info {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
	.header-socials {
		margin-left: 50px;
	}
}

@media (max-width:450px){
	.custom-top-phone-mobile .phones-wrapper a {
		margin: 0 !important;
	}
	.custom-top-phone-mobile .phones-wrapper {
		justify-content: space-between;
		width: 100%;
	}
	.total-list {
		display: none;
	}
	.total-list.mobile-total-list {
		display: block;
	}
	.wok-constructor {
		display: block;
	}
	.wok-constructor .options-container {
		max-width: 100%;
		width: 100%;
	}
	.wok-constructor .img-container {
		width: 100%;
	}
	.wok-constructor .img-container img {
		max-width: 100%;
	}
	.block-4, .block-5, .block-6 {
		width: 100%;
	}
	.list-products .item .buy {
		width: 100%;
	}
	.list-products .item .buy-area a {
		right: 50%;
		margin-right: -54px;
	}
	.block-4 .options input[type="radio"] + label, 
	.block-6 .options input[type="radio"] + label,
	.block-5 .options input[type="checkbox"] + label {
		width: 100%;
		margin-right: 0;
	}
	.summary-info {
		display: block;
	}
	.summary-info .total-summ {
		margin-bottom: 20px;
	}
	.big-block-img {
		min-height: 167px;
	}
	.no-slider {
		background-size: auto 100%;
	}
	.no-slider .breadcrumb li {
		line-height: 20px;
	}
	p.jshop_cart_attribute {
		margin: 5px 0;
	}
	.list-products .item a .img {
		min-height: 160px;
	}
	.catalog-menu-container .js-cats .img {
		height: 145px;
	}
	.catalog-menu-container .js-cats .img img{
		max-height: 145px;
	}
	.steps {
		margin-top: 50px;
	}
	.steps .container{
		grid-template-columns: 1fr;
	}

	.steps .step-block{ 
		max-width: 100%;
	}

	.steps .step-block.even{ 
		padding-left: 60px;
	}

    .banner-text {
        left: 20px;
    }

	.list-products .item .buy-area {
		margin-top: 15px;
	}

	.list-products .item .sdesc {
		min-height: 0;
		text-align: center;
	}
	.list-products .item a .name {
		margin: 10px 0;
		text-align: center;
		font-size: 14px;
	}

    .catalog-menu-container .js-cats ul {
        grid-template-columns: 1fr 1fr;
		grid-row-gap: 30px;
    }

    .catalog-menu-list ul {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-menu-list ul li .img img {
        max-width: 100%;
    }

    .moduletable-info {
        display: none;
    }

    .moduletable-copyrights {
        width: 100%;
        text-align: center;
    }

    .footer-phone {
        display: inline-block;
    }

    .copyrights, .copyright-it {
        text-align: center;
    }

    .content-text, .category_description p {
        max-width: 100%;
    }
    .pre-footer .payments img{
        max-width: 100%;
    }

    .cart-item {
        display: block;
    }

    .cart-header {
        display: none;
    }

    .cart-item {
        padding: 20px 0;
    }

    .cart-item .img {
        float: left;
    }

    .cart-item > .name, .cart-item  > .price, .cart-item  > .cart-count, .cart-item >  .summ {
        float: right;
        width: calc(100% - 150px);
        text-align: left;
        margin-bottom: 7px;
    }

    .cart-item .cart-count .count {
        justify-content: flex-start;
    }

    .cart-item .delete {
        width: 120px;
    }

    .cart-item i {
        display: inline-block;
		width: 60px;
    }

	.delivery-line {
		flex-wrap: wrap;
	}

	.delivery-line .check {
		margin-bottom: 5px;
	}

	.delivery-line .text {
		width: 100%;
	}

    .delivery-line .text span.location:before {
        display: inline-block;
    }
    .delivery-line .text span.location {
        display: block;
    }

    .chechout-delivery .total span{
        display: block;
    }

    .checkout-data .title, .checkout-data .subtitle {
        text-align: center;
    }

    .counts-pribor .pre-label {
        display: none;
    }
    .checkout-data .form-inputs, .address-data .form-inputs {
        grid-template-columns: 1fr;
    }

    .cart-item:after {
        content: "";
        display: block;
        clear: both;
    }

    .cart-header.bottom {
        display: block;
        text-align: center;
    }

    .cart-header.bottom .summ-header {
        width: 100%;
    }

    .delivery-line .check {
        margin-top: 5px;
    }

    .product-detail .product-info .img {
        height: auto;
    }

    .product-detail .product-info .info {
        padding: 15px;
        height: auto;
    }

    .list-products.carousel {
       /* padding: 0 20px; */
    }

	.address-data.is-address {
		max-height: 800px;
	}
	.list-products .item .item-wrapper, .list-products .item {
		padding: 5px;
	}
	.label-products {
		margin: 0 -15px;
	}

	.related-title {
		margin: 50px 0 20px;
	}

	.related-products {
		margin: 0 -15px;
	}

	.header-socials {
		position: absolute;
		right: 0;
		bottom: 5px;
		display: flex;
		align-items: center;
		z-index: 20;
	}
	.header-socials a{ 
		text-indent: -9999px;
	}
	.header-socials a.vk{
		margin: 0;
	}
	.general-header .logo-slogan {
		position: static;
	}
}

@media (max-width:375px){
	.finish-text a {
		width: auto;
	}
	.burger {
		margin-left: 0;
	}
	.catalog-menu-container .js-cats .mobile-menu {
		margin-left: 0;
	}
	.list-products .item a .img {
		min-height: 140px;
	}
	.custom-top-phone-mobile a:first-child{
		margin-left: 0;
		margin-right: 0;
	}
	.custom-top-phone-mobile a:last-child{
		margin-right: 0;
	}
	.custom-top-phone-mobile a {
		font-size: 16px;
	}
	.product-detail .product-info .info .buy {
		justify-content: space-between;
	}
	.product-detail .product-info .info .buy button {
		margin-left: 0;
	}
	.slider .slick-dots {
		padding-left: 15px;
		margin: -20px auto 0;
	}
	.slick-dots li {
		width: 10px;
		height: 10px;
	}
}

@media (max-width:350px){
	.finish-text a {
		width: auto;
		font-size: 13px;
		height: 30px;
		line-height: 30px;
		border-radius: 15px;
		background: red;
	}
}

