/* catalog hero */
.catalog-hero__inner {
	border-radius: 10px;
	overflow: hidden;
	width: 100%;

	aspect-ratio: 1840 / 580;
	position: relative;
}
.catalog-title {
	color: var(--main-white);
	margin-bottom: 20px;
}
.catalog-text {
	max-width: 40vw;
	margin-top: auto;
	color: var(--main-white);
	font-size: 20px;
	height: fit-content;
}
.catalog-hero__content {
	width: 100%;
	height: 100%;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
	padding: 30px;
}
.catalog-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.catalog-hero__img-container {
	width: 100%;
	height: calc(100% + 40px);
	position: relative;
}
.catalog-hero__img-container::before {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-color: var(--img-proload-color);
	opacity: 0.2;
}
.catalog-hero__img-self {
	transition: all 0.6s var(--main-transition-ease);
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
	opacity: 0;
	transform: scale(1.06);
}
.catalog-hero__img-self.lazy-loaded {
	opacity: 1;
	transform: scale(1.02);
}
/* catalog hero */

/* catalog categories links */
.catalog-categories {
	margin-top: 40px;
}
.catalog-category {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 20px;
	border-radius: 10px;
	background: var(--semi-grey);
	overflow: hidden;
}
.catalog-category__img {
	height: auto;
	aspect-ratio: 237 / 252;
	overflow: hidden;
	width: 100%;
}
.catalog-category__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--main-transition-ease);
}
.catalog-category__title {
	transition: color 0.5s var(--main-transition-ease);
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	text-align: center;
	padding: 0px 5px;
}
.catalog-categories__inner {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 30px;
}
.catalog-category:hover .catalog-category__title {
	color: var(--main-red);
}
.catalog-category:hover .catalog-category__img img {
	transform: scale(1.05);
}
/* catalog categories links */

/* catalog + filters */
.catalog-self {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 50px;
	margin-left: auto;
	transition: all 0.5s var(--main-transition-ease);
	width: 100%;
}
.catalog--top-line--inner,
.catalog__filters-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 40px;
}

.activate-filters {
	overflow: hidden;
	border-radius: 30px;
	outline: none;
	width: calc(var(--filters-area-width) - 20px);
	border: none;
	position: relative;
	cursor: pointer;
	padding: 0;
	background-color: transparent;
}
.activate-filters--block {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
	overflow: hidden;
	border-radius: 30px;
	padding: 7px 20px;
	transition: all 0.4s var(--main-transition-ease);
	background: var(--semi-grey);
}
.activate-filters--block span {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.activate-filters--block svg {
	flex-shrink: 0;
}

.activate-filters--bottom {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateY(100%) scale(0.6);
	opacity: 0;
	border-radius: 30px;
	overflow: hidden;
	color: var(--main-white);
	background-color: var(--main-red);
}
.activate-filters--bottom span {
	color: var(--main-white);
}
.activate-filters:hover .activate-filters--bottom {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.activate-filters:hover .activate-filters--top {
	opacity: 0;
	transform: translateY(-10%) scale(0.8);
}
.catalog-sorting--wrap select {
	cursor: pointer;
	border-radius: 30px;
	background: var(--semi-grey);
	border: none;
	outline: none;
	padding: 7px 14px;
	padding-right: 35px;
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: all 0.4s var(--main-transition-ease);
}
.catalog-sorting--wrap {
	position: relative;
	transition: all 0.4s var(--main-transition-ease);
}
.catalog-sorting--wrap::after {
	content: "+";
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	font-size: 22px;
	right: 14px;
	color: var(--dark);
	font-family: var(--oswald-font);
	transition: all 0.4s var(--main-transition-ease);
}
.catalog-sorting--wrap:hover::after {
	color: var(--main-red);
	transform: translateY(-50%) rotate(50deg);
}

.catalog--top-line--inner {
	margin-top: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}
.catalog-self .product-card {
	border-top: 1px solid var(--dark);
	border-right: 1px solid var(--dark);
}
.catalog-self > .product-card:nth-child(3n) {
	border-right: none;
}
.catalog-main__wrap {
	display: flex;
	margin-top: 20px;
}
.catalog-filters-self {
	flex-shrink: 0;
	width: 0px;
	clip-path: inset(0 0 100% 0);
	transition: all 0.4s var(--main-transition-ease);
}
.catalog-filters-self.active {
	width: var(--filters-area-width);
	clip-path: inset(0 0 0% 0);
}

.catalog-filters--sticky-container {
	width: 100%;
	height: auto;
	position: sticky;
	top: calc(70px + 70px);
	left: 0;
}
.catalog__right {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}
.catalog .container {
	overflow: visible;
}
.catalog-filters-container {
	height: 100%;
	margin-right: 20px;
	border-top: 1px solid var(--dark);
}
.filt {
	height: 200px;
	background-color: aquamarine;
}
.catalog-filters--top-product {
	height: 536px;
	background-color: antiquewhite;
}

.catalog-filters--header-fix {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows 0.3s;
}
.catalog-filters--header-fix.active {
	grid-template-rows: 1fr;
}
.catalog-filters--header-fix div {
	min-height: 0;
}
.catalog-filters--header-fix span {
	background-color: transparent;
	display: block;
	height: 72px;
}
.catalog-filtres--content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 20px;
}
.catalog--top-line {
	position: absolute;
	top: 100%;
	width: 100%;
	display: flex;
	left: 0;
	z-index: 1;
	clip-path: inset(0 0 100% 0);
	transition: all 0.3s;
}
.catalog--top-line--inner {
	background-color: var(--main-white);
	border-top: 1px solid var(--dark);
	border-bottom: 1px solid var(--dark);
	height: 70px;
}
.catalog--top-line.active {
	clip-path: inset(0 0 0% 0);
}
/* catalog + filters */

/* catalog seo text */
.catalog__seo {
	padding: 20px;
	border-radius: 10px;
	overflow: hidden;
	background-color: var(--semi-grey);
}
.catalog__seo-wrap {
	height: 150px;
	max-height: 150px;
	overflow-y: auto;
	padding-right: 25px;
}
.catalog__seo-wrap p {
	color: var(--dark);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.catalog__seo-wrap::-webkit-scrollbar {
	width: 6px !important;
}

.catalog__seo-wrap::-webkit-scrollbar-thumb {
	background: var(--dark) !important;
	border-radius: 10px;
}

.catalog__seo-wrap::-webkit-scrollbar-track {
	background: #d9d9d9 !important;
}
/* catalog seo text */

/* filters */

.mk-custom-filter h3,
.mk-custom-filter h3.bapf_hascolarr {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-right: 0;
	gap: 5px;
}

.mk-custom-filter .bapf_val {
	color: var(--dark);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.mk-custom-filter .bapf_head {
	cursor: pointer;
}
.mk-custom-filter .bapf_body {
	display: grid !important;
	grid-template-rows: 1fr;
	transition: all 0.4s var(--main-transition-ease);
	overflow: hidden;
}
.mk-custom-filter .bapf_body > * {
	min-height: 0;
}

.mk-custom-filter .bapf_ocolaps .bapf_body {
	grid-template-rows: 0fr;
	display: grid !important;
}

.mk-custom-filter .bapf_body ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mk-custom-filter .bapf_body ul li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.mk-custom-filter .bapf_body ul label {
	color: var(--dark);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.mk-custom-filter .bapf_body ul input[type="checkbox"] {
	margin: 0;
	width: 20px;
	height: 20px;
	accent-color: var(--main-red);
	transition: all 0.4s var(--main-transition-ease);
}
.mk-custom-filter .bapf_slidr_all {
	padding-right: 10px;
	padding-left: 10px;
}

.mk-custom-filter .bapf_slidr_main.ui-widget-content .ui-slider-range {
	background: var(--main-red);
}
.mk-custom-filter .bapf_slidr_main.ui-widget-content .ui-slider-handle {
	background: var(--main-red);
}

.mk-custom-filter .bapf_head:hover .bapf_colaps_smb {
	background-color: var(--main-red);
}
.mk-custom-filter .bapf_head:hover .bapf_colaps_smb::before {
	color: var(--main-white);
}
.mk-custom-filter h3 .bapf_colaps_smb {
	display: block;
	position: relative;
	inset: 0;
	width: 27px;
	height: 27px;
	border-radius: var(--rounded-full);
	overflow: hidden;
	background-color: var(--semi-grey);
	display: grid;
	place-content: center;
	transition: all 0.4s var(--main-transition-ease);
}
.mk-custom-filter h3 .bapf_colaps_smb::before {
	content: "+";
	font-size: 16px;
	color: var(--dark);
	font-weight: 600;
	font-family: var(--oswald-font);
	transition: all 0.4s var(--main-transition-ease);
}

.mk-custom-filter .bapf_tbprice {
	display: none;
}

.mk-custom-filter .bapf_head {
	padding-bottom: 20px;
}
/* filters */

.catalog__filters-line.catalog__filters-line--mob {
	display: none;
}

.empty-cat__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 30px;
	margin-bottom: 30px;
}
.empty-cat__btn {
	max-width: 375px;
	width: 100%;
}

/* mobile filters overlay */
.mobile-filters--overlay {
	position: fixed;
	z-index: -20;
	background-color: #0000006d;
	width: 100%;
	height: 100vh;
	opacity: 0;
	top: 0;
	left: 0;
	transition: all 0.4s var(--main-transition-ease);
	cursor: pointer;
	display: none;
}
.catalog-filters-self #close-mobile-filters {
	display: none;
}
html.mobileFiltersOpened .mobile-filters--overlay {
	z-index: 1000;
	opacity: 1;
}
/* mobile filters overlay */

/* media */
@media screen and (max-width: 1650px) {
	.activate-filters--block span {
		font-size: 16px;
	}
	.catalog-sorting--wrap select {
		font-size: 16px;
	}

	:root {
		--filters-area-width: 350px;
	}
	.catalog-text {
		max-width: 50vw;
		font-size: 16px;
	}
	.catalog-hero__inner {
		aspect-ratio: 1840 / 625;
	}
	.catalog-categories__inner {
		grid-template-columns: repeat(6, 1fr);
	}
	.catalog-category__title {
		font-size: 14px;
	}
	.catalog-self .product-card__btns .product-card__cart-btn {
		flex: 0.25;
	}
	.catalog-self .product-card__btns .product-card__btn {
		flex: 0.75;
	}
	.mk-custom-filter .bapf_body ul label,
	.mk-custom-filter h3,
	.mk-custom-filter h3.bapf_hascolarr {
		font-size: 16px;
	}
}
@media screen and (max-width: 1220px) {
	.catalog-self .product-card__btns .main-btn,
	.catalog-self .product-card__btns .product-card__cart-btn {
		height: 44px;
	}

	.catalog-categories__inner {
		gap: 20px;
		grid-template-columns: repeat(5, 1fr);
	}
	:root {
		--filters-area-width: 270px;
	}
	.activate-filters--block span {
		font-size: 14px;
	}
	.activate-filters--block svg {
		width: 11px;
	}
	.catalog-sorting--wrap select {
		font-size: 14px;
	}
	.catalog-category__img {
		aspect-ratio: 1/ 1;
	}
	.mk-custom-filter .bapf_body ul input[type="checkbox"] {
		width: 18px;
		height: 18px;
	}
	.mk-custom-filter .bapf_val {
		font-size: 14px;
	}
	.mk-custom-filter .bapf_body ul label,
	.mk-custom-filter h3,
	.mk-custom-filter h3.bapf_hascolarr {
		font-size: 14px;
	}
	.catalog__filters-line {
		margin-top: 20px;
	}
	.catalog-self {
		row-gap: 30px;
	}
	.catalog-sorting--wrap select {
		text-overflow: ellipsis;
		width: 250px;
	}
}

@media screen and (max-width: 1044px) {
	.mobile-filters--overlay {
		display: block;
	}
	.catalog-text {
		font-size: 14px;
	}
	.catalog-hero__inner {
		aspect-ratio: unset;
	}
	.catalog-hero__content {
		padding: 20px;
	}
	.catalog-text {
		margin-top: 75px;
	}
	.catalog-categories__inner {
		grid-template-columns: repeat(4, 1fr);
	}
	.catalog-self .product-card .product-card__tags {
		position: absolute;
		top: 10px;
		left: 10px;
		width: 70%;
	}
	.catalog-self .product-card .product-card__img {
		margin-top: 40px;
	}
	.catalog--top-line {
		display: none !important;
	}
	.catalog__filters-line {
		display: none;
	}
	.catalog__filters-line.catalog__filters-line--mob {
		display: flex;
	}
	.catalog-filters-self {
		z-index: 1001;
		position: fixed;
		top: 0;
		left: 0;
		background-color: var(--main-white);
		width: 375px;
		height: 100vh;
		clip-path: unset !important;
		transform: translateX(-101%);
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		gap: 20px;
		padding: 40px 20px;
		padding-bottom: 60px;
	}
	.catalog-filtres--content {
		height: 100%;
		padding: 0;
	}
	.catalog-filters-container {
		height: 70vh;
		overflow-y: auto;
		border: none;
		margin: 0;
	}
	.catalog-filters-container .catalog-filters--header-fix {
		display: none;
	}
	.catalog-filters--sticky-container {
		display: contents;
	}
	.catalog-filters-self #close-mobile-filters {
		display: block;
	}
	html.mobileFiltersOpened .catalog-filters-self {
		transform: translateX(0);
	}
	.catalog__seo-wrap p {
		font-size: 14px;
	}
	.activate-filters--block {
		color: var(--main-white);
		background-color: var(--main-red);
	}
	.activate-filters--block span {
		color: inherit;
	}
	.activate-filters--block.activate-filters--bottom {
		display: none;
	}
	.catalog-sorting--wrap select {
		width: 200px;
	}
}

@media screen and (max-width: 840px) {
	.catalog-categories__inner {
		grid-template-columns: repeat(3, 1fr);
	}
	.catalog-hero__inner {
		border-radius: 0;
	}
	.catalog-category__img {
		display: none;
	}

	.catalog-hero .container {
		padding: 0;
	}
	.catalog-sorting--wrap select {
		padding-right: 40px;
	}
	.activate-filters {
		width: fit-content;
	}
	.catalog-self {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.catalog-self .product-card:nth-child(3n) {
		border-right: 1px solid var(--dark);
	}
	.catalog-self > .product-card {
		border-right: 1px solid var(--dark);
	}

	.catalog-self > .product-card:nth-child(2n) {
		border-right: none;
	}
	.catalog-category {
		padding: 16px 7px;
	}
	.catalog-categories {
		margin-top: 20px;
	}
	.catalog__seo {
		padding: 10px;
	}
	.catalog__seo-wrap {
		padding-right: 15px;
	}
	.catalog-text {
		max-width: 100%;
	}
	.activate-filters--block {
		gap: 40px;
	}
}
@media screen and (max-width: 660px) {
	.catalog-categories__inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.catalog__filters-line.catalog__filters-line--mob {
		gap: 20px;
	}
	.catalog-sorting--wrap select {
		width: 100%;
	}
	.activate-filters {
		width: 50%;
		flex-shrink: 0;
	}
	.activate-filters--block span {
		text-overflow: ellipsis;
	}
}
@media screen and (max-width: 550px) {
	.catalog-self .product-card .product-card__tags {
		position: absolute;
		top: 5px;
		left: 5px;
		width: 85%;
		min-height: auto;
		gap: 3px;
	}
	.catalog-self > :nth-child(odd) {
		padding: 5px 5px 0px 0px;
	}
	.catalog-self > :nth-child(even) {
		padding: 5px 0px 0px 5px;
	}
	.catalog__filters-line.catalog__filters-line--mob {
		gap: 10px;
	}
	.activate-filters--block {
		gap: 5px;
	}
	.catalog-self .product-card .product-card__img {
		margin-top: 30px;
	}
	.empty-cat__inner {
		gap: 30px;
	}
	.catalog-filters-self {
		padding-bottom: 60px;
	}
	.catalog-category__title {
		font-size: 12px;
		text-overflow: ellipsis;
		white-space: nowrap;
		padding: 0;
		width: 100%;
		display: block;
		overflow: hidden;
	}
	.catalog-filters-self {
		width: 75vw;
	}
}

/* media */
