@media screen and (max-width:1270px) {
    .header-inner{
        gap:55px;
    }
}
@media screen and (max-width:1100px) {
    .tool-box a > span{
        display: none;
    }
}
@media screen and (max-width:1020px) {
    .product-page .flex-row{
        flex-wrap: wrap;
    }
    .product-page .tool-wrapper {
        gap:10px 30px;
        margin-left: inherit;
    }
}
@media screen and (max-width:991px) {
    footer .row > div{
        margin-bottom: 20px;
    }
    footer .f-title{
        margin:0;
    }
}
@media screen and (max-width:950px) {
    .about-section-layout {
        display: grid;
        grid-auto-rows: 1fr;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas:
    "s-tl s-tr"
    "s-ct s-ct"
    "s-bl s-br";
        aspect-ratio:inherit;
        background-size: auto;
        background-repeat: repeat-y;
    }
    .s-tl { grid-area: s-tl; border-bottom:30px solid #fff;border-right:15px solid #fff;}
    .s-tr { grid-area: s-tr; border-bottom:30px solid #fff;border-left:15px solid #fff;}
    .s-ct { grid-area: s-ct; border-left:0; border-right:0; }
    .s-bl { grid-area: s-bl; border-top:30px solid #fff; border-right:15px solid #fff;}
    .s-br { grid-area: s-br; border-top:30px solid #fff;border-left:15px solid #fff;}
}
@media screen and (max-width:901px) {
    .catalog-btn-index{
        flex: inherit;
        border-radius: 10px;
        cursor: pointer;
        min-width: inherit;
    }
    .catalog-btn-index #catalog-menu{
        display: none;
    }
    .category-left-row{
        display: block;
    }
    .category-left-wrapper{
        display: none;
    }
    .category-right-wrapper{
        width: inherit;
    }
    .popular-categories-slider .owl-stage-outer{
        padding:0;
        margin: 0;
    }
    #popular-categories .popular-categories-slider .popular-item{
        box-shadow: none;
    }

    .catalog-btn,
    .main-menu,
    .service-menu-wrapper .service-menu-inner .top-nav,
    .index-menu-spacer{
        display: none;
    }
    #btn-burger{
        display: block;
    }
    .service-menu-wrapper .service-menu-inner{
        justify-content: center;
    }
    .service-menu-wrapper .phone-wrapper{
        margin-left: inherit;
    }
    /*.header-inner{
        flex-direction: column;
        gap: 20px 55px;
        padding: 20px 0;
        justify-content: center;
        height: auto;
    }*/
    .header-inner{
    	display: grid;
    	height:auto;
    	margin-bottom:20px;
    	padding-top:15px;
    	grid-template-columns: 1fr 1fr; 
    	grid-template-rows: 1fr 1fr; 
    	gap: 15px 20px; 
    	grid-template-areas: 
	    "top-logo tool-box"
	    "search-cell search-cell"; 
    }
    .header-inner .top-logo img{
    	max-width:100%;
    	height:auto;
    }
    .tool-box{
    	gap:20px;
    	margin-left:auto;
    	padding-right:4px;
    }
    .top-logo { grid-area: top-logo; }
	.tool-box { grid-area: tool-box; }
	.search-cell { grid-area: search-cell; }
	
    .goods-scroller-title{
        text-align: center;
    }
    .category-index{
        column-count: 2;
        margin-bottom:60px;
    }
    .product-item .quick-view{
        display: none;
    }
    .search-cell{
        flex:inherit;
        width:100%;
    }
}

@media screen and (max-width:767px) {
    .category-list-wrapper .category-filter{
        display:none;
    }
    .select-tools .select-box{
        order:3;
    }
    .select-tools .select-box.text-center{
        order:1;
    }
    .categoty-page-header h1{
        min-width: 50%;
    }
    #btn-filter{
        display: flex;
    }
    #form-tooltip{
        display: none !important;
    }
    .cart-table colgroup,
    .cart-table thead {
        display: none;
    }

    .cart-table{
        margin:0;
    }
    .cart-table,
    .cart-table tbody,
    .cart-table tfoot{
        display:block;
    }
    .cart-table tfoot tr,
    .cart-table tfoot td{
        display:block;
    }
    .cart-table tfoot td{
        padding-top:25px;
    }
    .cart-table tfoot td .btn{
        display: block;
        width: 100%;
    }
    .cart-table tbody tr td {
        display:block;
        padding:0;
    }
    .cart-table tbody tr td > div {
        width:100%;
    }

    .cart-table tbody tr{
        border-bottom: 1px solid #ddd;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        padding-bottom:30px;
        margin-bottom:30px;
        gap: 15px 10px;
        grid-auto-flow: row;
        grid-template-areas:
        "name name name name name tool"
        "photo price price total total total"
        "photo quantity quantity total total total";
    }
    .cart-table tbody tr:last-child{
        margin-bottom:15px;
    }
    .cart-table tbody tr td.cell-photo{
        grid-area: photo;
    }
    .cart-table tbody tr td.cell-name{
        grid-area: name;
    }
    .cart-table tbody tr td.cell-quantity{
        grid-area: quantity;
    }
    .cart-table tbody tr td.cell-price{
        grid-area: price;
    }
    .cart-table tbody tr td.cell-total{
        grid-area: total;
        text-align: right;
        white-space: nowrap;
        position: relative;
        font-weight: 400;
        font-size: 26px;
        letter-spacing: -0.06em;
        line-height: 1;
    }
    .cart-table tbody tr td.cell-total::before{
        content:'Общая стоимость';
        position: relative;
        display: block;
        font-size: 10px;
        letter-spacing: 0.01em;
        font-weight: 700;
        line-height: 10px;
        margin-bottom: 3px;
    }
    .cart-table tbody tr td.cell-tool{
        grid-area: tool;
        text-align: right;
    }
    .cart-table tbody tr td .product-pricing{
        display: flex;
        gap:20px;
        margin:0;
    }
    .cart-table tbody tr td .product-pricing .price{
        margin:0 !important;
    }
    .profile-page-menu{
        margin-bottom:40px;
    }
	.product-photos{
		padding-top:30px;
	}
	#preview{
		border:1px solid var(--border-color);
		border-radius:6px;
	}
	.cart-empty a.btn{
		margin:0 auto;
		display:block;
	}
	.product-description .text-group .spec-block{
	    columns: 1;
		column-gap: 0;
	}
}
@media screen and (max-width:731px) {
	.product-item{
		max-width:100%;
	}
}
@media screen and (max-width:630px) {
    .f_copy_block{
        flex-direction: column;
    }
    .f_copy_block_row{
        display: flex;
        justify-content: center;
        text-align: center;
        margin-bottom:5px;
    }
    .f_copy_block_cell.right{
        margin-left: inherit;
    }
    #top-slider{
    	display:none;
    }
    #popular-categories{
    	margin-top:30px;
    }
}
@media screen and (max-width:568px) {
    .about-section-layout{
        display: block;
        background-size: 250% auto;
        background-repeat: repeat-y;
        margin-bottom: 60px;
    }
    .about-section-layout > div{
        min-height: 150px;
    }
    .s-ct{
        border-width:0;
       
    }
    .about-section-layout > div.s-tl, 
    .about-section-layout > div.s-bl, 
    .about-section-layout > div.s-tr, 
    .about-section-layout > div.s-br{
    	display:none;
    }
}

@media screen and (max-width:550px) {
    .category-index {
        column-count: 1;
        column-gap: 0;
        padding: 0;
    }
    .category-list-wrapper .category-list{
        grid-gap: 30px 15px;
        --auto-grid-min-size: 10rem;
    }

    .product-item{
        min-width: inherit;
    }
    .product-item .title{
        font-size:16px;
    }
    .product-pricing .price .value{
        font-size:22px;
    }
    .product-pricing .price.discount{
        margin-left:0;
    }
    .product-pricing .price.discount .label,
    .product-pricing .price.discount .value{
        text-align: left;
    }
}
@media screen and (max-width:500px) {
    .product-page .flex-row {
        flex-direction: column;
        gap:25px;
    }
    .product-page .product-pricing .price.discount{
        margin-left:auto;
    }
    .product-page .product-pricing .price.discount .label,
    .product-page .product-pricing .price.discount .value {
        text-align: right;
    }
}
@media screen and (max-width:493px) {
	.category-list-wrapper .category-list.long-grid{
		--auto-grid-min-size: 10rem;
	}
}
@media screen and (max-width:460px) {
    /*.product-description .tab-row{
        display: none;
    }

    .product-description .tab-content{
        border:1px solid var(--border-color);
        border-radius:8px;
        padding:0;
    }
    .product-description .text-group{
        display:block;
    }
    .product-description .text-group .text-content{
        display:none;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .product-description .text-group .text-content{
        display: block;
    }
    .product-description .text-group.active:last-child .text-content{
        border-bottom:0;
    }
    .product-description .text-group .current-tab-title{
        display: flex;
    }
    .product-description .text-group:last-child .current-tab-title{
        border-bottom: 0;
        line-height: 1;
    }*/
    
    .product-description .tab-row{
        display: none;
    }

    .product-description .tab-content{
        border:1px solid var(--border-color);
        border-radius:8px;
        padding:0;
    }
    .product-description .text-group{
        display:block;
    }
    .product-description .text-group .text-content{
        display:none;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .product-description .text-group.active .text-content{
        display: block;
    }
    .product-description .text-group.active:last-child .text-content{
        border-bottom:0;
    }
    .product-description .text-group .current-tab-title{
        display: flex;
        border-bottom: 1px solid var(--border-color);
    }
    .product-description .text-group:last-child .current-tab-title{
        border-bottom: 0;
        line-height: 1;
    }
}

@media screen and (max-width:450px) {
    .product-item .title{
        font-size:14px;
    }
    .product-pricing{
        gap:7px;
    }
    .product-pricing .price .value{
        font-size:20px;
        font-weight: bold;
    }
    .map-address{
        left:50%;
        -webkit-transform-style: flat;
    	transform-style: flat;
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        width: 100%;
    }
    .map-address img{
        width:100%;
        max-width:316px;
        display: block;
        height: auto;
    }
}
@media screen and (max-width:349px) {
	.brands-scroller .owl-stage-outer, 
	.goods-scroller .owl-stage-outer{
		padding:0;
		margin:0;
	}
	.product-item,
	.product-item:hover{
		width: calc(100% - 10px);
		margin:0 auto;
		box-shadow:none;
		border:1px solid var(--border-color);
	}
}