.catalog .container {
	position: relative;
	max-width: calc(100% - 96px);
}
.catalog-wrapper {
	width: 100%;
	display: flex;
	gap: 24px;
	padding-top: 24px;
}
.catalog_action {
	flex: 0 0 290px;
	position: relative;
	margin-bottom: 100px;
}

.catalog_action .catalog_action_wrapper {
	position: sticky;
	top: calc(88px);
	padding-top: var(--offset-y, 0px);
}

#bx-panel ~ main .search .catalog_action .catalog_action_wrapper,
#bx-panel ~ main .catalog .catalog_action .catalog_action_wrapper  {
	top: calc(235px);
}

#bx-panel.bx-panel-folded ~ main .search .catalog_action .catalog_action_wrapper,
#bx-panel.bx-panel-folded ~ main .catalog .catalog_action .catalog_action_wrapper  {
	top: calc(127px);
}

.categories_tools[data-scrollbar] {
	max-height: calc(100dvh - calc(112px + var(--offset-y, 0px)));
	padding-right: 8px;
}
#bx-panel~ main .search .catalog_action .categories_tools[data-scrollbar],
#bx-panel~ main .catalog .catalog_action .categories_tools[data-scrollbar] {
	max-height: calc(100dvh - calc(259px + var(--offset-y, 0px)));
}
#bx-panel.bx-panel-folded ~ main .search .catalog_action .categories_tools[data-scrollbar],
#bx-panel.bx-panel-folded ~ main .catalog .catalog_action .categories_tools[data-scrollbar] {
	max-height: calc(100dvh - calc(151px + var(--offset-y, 0px)));
}
.categories_tools[data-scrollbar] .scrollbar-track-y,
.categories_tools[data-scrollbar] .scrollbar-thumb-y {
	width: 4px;
}
.categories_tools[data-scrollbar] .scrollbar-thumb-y {
	border-radius: 2px;
}
.categories_tools > div {
	margin-bottom: 24px;
}

.categories_tools .catalog__catalog__search_action {
	display: flex;
	height: 40px;
	align-items: center;
}

.catalog-list-wrapper {
	flex: 1;
	margin-bottom: 48px;
	margin-top: 64px;
}

.catalog-list-wrapper.search-page {
	margin-top: 64px;
}

/* grid flow */
.gallery-display .products-group {
	display: grid;
	grid-template-rows: repeat(6, auto);
	grid-template-columns: repeat(12, 1fr);
	gap: 16px 4px;
}
.gallery-display .products-group .products-item {
	max-width: 100%;
}

.gallery-display .products-group .products-item .products-item_img {
	height: 0;
	padding-bottom: 150%;
}

.gallery-display .products-group .products-item .products-item_img img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.gallery-display .products-group .products-item:nth-child(1) {
	grid-column: 1/4;
	grid-row: 1/2;
}

.gallery-display .products-group .products-item:nth-child(2) {
	grid-column: 4/7;
	grid-row: 1/2;
}

.gallery-display .products-group .products-item:nth-child(3) {
	grid-column: 1/4;
	grid-row: 2/3;
}

.gallery-display .products-group .products-item:nth-child(4) {
	grid-column: 4/7;
	grid-row: 2/3;
}

.gallery-display .products-group .products-item:nth-child(5) {
	grid-column: 7/13;
	grid-row: 1/3;
}

.gallery-display .products-group .products-item:nth-child(6) {
	grid-column: 1/4;
	grid-row: 3/4;
}

.gallery-display .products-group .products-item:nth-child(7) {
	grid-column: 4/7;
	grid-row: 3/4;
}

.gallery-display .products-group .products-item:nth-child(8) {
	grid-column: 7/10;
	grid-row: 3/4;
}

.gallery-display .products-group .products-item:nth-child(9) {
	grid-column: 10/13;
	grid-row: 3/4;
}

.gallery-display .products-group .products-item:nth-child(10) {
	grid-column: 1/5;
	grid-row: 4/6;
}
.gallery-display .products-group .products-item:nth-child(11) {
	grid-column: 5/9;
	grid-row: 4/6;
}

.gallery-display .products-group .products-item:nth-child(12) {
	grid-column: 9/13;
	grid-row: 4/6;
}

.gallery-display .products-group .products-item:nth-child(10) .products-item_img,
.gallery-display .products-group .products-item:nth-child(11) .products-item_img,
.gallery-display .products-group .products-item:nth-child(12) .products-item_img {
	padding-bottom: 200%;
}
.gallery-display .products-group .products-item:nth-child(13) {
	grid-column: 1/4;
	grid-row: 6/7;
}

.gallery-display .products-group .products-item:nth-child(14) {
	grid-column: 4/7;
	grid-row: 6/7;
}

.gallery-display .products-group .products-item:nth-child(15) {
	grid-column: 7/10;
	grid-row: 6/7;
}

.gallery-display .products-group .products-item:nth-child(16) {
	grid-column: 10/13;
	grid-row: 6/7;
}
.gallery-display .products-group .products-item:nth-child(13),
.gallery-display .products-group .products-item:nth-child(14),
.gallery-display .products-group .products-item:nth-child(15),
.gallery-display .products-group .products-item:nth-child(16) {
	padding-bottom: 16px;
}


.gallery-display .products-group .products-item {
	display: flex;
	flex-direction: column;
}
.gallery-display .products-group .products-item .products-item_img{
	flex: 1;
}

.catalog-display {
	display: grid;
	gap: 16px 4px;
	grid-template-columns: repeat(4, 1fr);
}

.catalog-display .products-item .products-item_img {
	height: 0;
	padding-bottom: 160%;
}

.catalog-display .products-item .products-item_img img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

@media (min-width: 1280px) {
	.catalog_action {
		z-index: 11;
	}
}

@media (max-width: 1680px) {
	.catalog_header {
		height: 250px;
		padding: 110px 35px 10px;
		margin-bottom: 70px;
	}
	.catalog_header h1 {
		font-size: 72px;
	}
}
@media (max-width: 1280px) {
	.catalog_header {
		height: 240px;
		margin-bottom: 60px;
	}
	.catalog_header h1 {
		font-size: 48px;
	}
}
@media (max-width: 1000px) {
	.catalog_action {
		flex-wrap: wrap;
	}
}
@media (max-width: 991px) {
	.catalog .container {
		max-width: calc(100% - 48px);
	}
	.catalog_action.catalog_categories {
		display: none;
	}
	.catalog-list-wrapper.search-page,
	.catalog-list-wrapper {
		margin-top: 0;
	}
	.gallery-display .products-group {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: auto;
	}
	.gallery-display .products-group .products-item {
		grid-column: auto!important;
		grid-row: auto!important;
	}
	.catalog-wrapper {
		padding-top: 48px;
	}
	.catalog-list {
		padding-top: 24px;
	}
	.catalog_action.catalog_filter {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		margin: 0;
		z-index: 1;
		background: #fff;
	}
	.catalog_action.catalog_filter.opened {
		z-index: 2147483001;
		bottom: 0;
	}
	.catalog_action.catalog_filter .catalog_action_wrapper {
		position: static;
		height: 100%;
		display: block
	}

	#bx-panel ~ main .catalog .catalog_action.catalog_filter  {
		top: 210px;
	}

	#bx-panel.bx-panel-folded ~ main .catalog .catalog_action.catalog_filter  {
		top: 102px;
	}
}

@media (max-width: 720px) {
	.catalog_header {
		padding-left: 20px;
		/*padding: 140px 20px 0;*/
	}
	.catalog_header h1 {
		font-size: 32px;
	}
}
@media (max-width: 650px) {
	.catalog_header {
		height: 230px;
		margin-bottom: 40px;
	}
	.catalog_header .breadcrumbs {
		margin-left: 0;
	}
	header._min + main .catalog_header {
		padding-top: 85px;
		height: 200px;
	}
	.catalog-display {
		grid-template-columns: repeat(2, 1fr);
	}
	.catalog-display .products-item:nth-child(5n) {
		grid-column: 1/3;
	}
}

.section__slider {
	height: 350px;
	width: 100%;
	overflow: hidden;
	margin-bottom: 40px;
}

.section__slider-item {
	width: 100%;
}

.section__slider-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mb40 {
	margin-bottom: 40px;
}
@media (max-width: 520px) {
	.mb40, .section__slider {
		margin-bottom: 25px;
	}
}