.promo {
	margin: 114px 0 36px;
	.promo-slider {
		height: calc(100vh - 235px);
		margin-bottom: 30px;
		min-height: 210px;
		.slide {
			position: relative;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: end;
			gap: 16px;
			padding: 30px;
			img {
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				height: 100%;
			}
			:is(p, a) {
				position: relative;
				z-index: 1;
			}
			p {
				color: var(--text-color);
				font-family: Lato;
				text-align: center;
			}
			a {
				padding: 10px 25px;
				border-radius: 3px;
				background-color: rgba(255, 255, 255, 0.5);
				color: #2D2F2EBA;
				text-align: center;
				font-family: Lato;
				font-size: 14px;
				line-height: 1;
				text-transform: uppercase;
			}
		}
	}
}
form * {
	color: var(--text-color);
}
.breadcrumbs {
	margin-bottom: 45px;
}
.filters {
	position: relative;
	margin-bottom: 20px;
	.top {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: start;
		gap: 20px;
		max-width: 1800px;
		:is(.open-filter, .parameter) {
			display: flex;
			align-items: center;
			gap: 4px;
			font-family: Lato;
			color: var(--text-color);
			padding: 2px 8px;
			font-size: 16px;
			background-color: #f8f8f8;
		}
		.open-filter {
			padding-top: 0;
			height: 28px;
			line-height: 1;
			&.active {
				background-color: rgba(255, 203, 194, 0.7);
			}
			&::before {
				margin-top: 2px;
				content: '\e914';
				flex-shrink: 0;
				line-height: 1;
				font-size: 15px;
				display: flex;
				font-family: icon;
				color: var(--text-color);
			}
		}
		.checked-filters {
			display: flex;
			align-items: center;
			justify-content: end;
			flex-wrap: wrap;
			gap: 20px;
			.item {
				display: flex;
				align-items: center;
				font-family: Lato;
				gap: 4px;
				color: var(--text-color);
				padding: 2px 8px;
				background: #f8f8f8;
				white-space: nowrap;
				width: fit-content;
				button {
					width: 24px;
					aspect-ratio: 1/1;
					flex-shrink: 0;
					display: flex;
					align-items: center;
					justify-content: center;
					background-color: transparent;
					border-radius: 4px;
					&::before {
						content: '\e909';
						font-family: icon;
						line-height: 16px;
						font-size: 14px;
						color: #000;
					}
				}
			}
			.box-counter {
				position: relative;
				span {
					font-family: Lato;
					padding: 2px 8px;
					background-color: #f8f8f8;
					min-width: 80px;
					transition: background-color 0.2s linear;
					white-space: nowrap;
					cursor: pointer;
					color: var(--text-color);
				}
				&.active {
					span {
						background-color: rgba(255, 203, 194, 0.7);
					}
					.items {
						max-height: 200px;
					}
				}
				.items {
					position: absolute;
					right: 0;
					top: calc(100% + 10px);
					display: flex;
					flex-direction: column;
					align-items: end;
					gap: 5px;
					z-index: 3;
					background: var(--White);
					border-radius: 4px;
					box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
					padding: 0 20px;
					overflow: auto;
					max-height: 0;
					transition: max-height 0.3s linear;
					scrollbar-width: none;
					&::-webkit-scrollbar {
						width: 0;
						height: 0;
						background: transparent;
						display: none;
					}
					.item {
						&:first-child {
							margin-top: 20px;
						}
						&:last-child {
							margin-bottom: 20px;
						}
					}
				}
			}
		}
		.clear-filter {
			font-family: Lato;
			padding: 2px 8px;
			background-color: transparent;
			color: #a33838;
			white-space: nowrap;
			transition: color 0.2s linear;
		}
	}
	form {
		position: absolute;
		width: 100%;
		top: calc(100% + 20px);
		left: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		padding: 0 40px;
		background: var(--White);
		box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
		max-height: 0;
		transition: max-height 0.3s linear;
		overflow: hidden;
		> *:last-child {
			margin-bottom: 30px;
		}
		&.active {
			max-height: 600px;
		}
		.close {
			position: absolute;
			top: 20px;
			right: 20px;
			width: 20px;
			height: 20px;
			display: flex;
			align-items: center;
			justify-content: center;
			background: transparent;
			&::before {
				content: '\e915';
				line-height: 1;
				font-family: icon;
				transition: color 0.2s linear;
				color: #000000;
			}
		}
		> div {
			width: 100%;
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			gap: 20px;
			margin-top: 50px;
			padding-right: 10px;
			overflow: auto;
			scrollbar-width: none;
			&::-webkit-scrollbar {
				width: 0;
				height: 0;
				display: none;
			}
			&::-webkit-scrollbar-track {
				background: #dddede;
			}
			&::-webkit-scrollbar-thumb {
				display: block;
				border: 3px solid #dddede;
				background-color: var(--menu-bg);
			}
			fieldset {
				border: none;
				display: flex;
				flex-direction: column;
				gap: 10px;
				width: fit-content;
				padding-right: 20px;
				legend {
					font-family: Lato;
					padding-bottom: 20px;
				}
				.check-all {
					color: #2D2F2EBA;
					font-family: Lato;
					font-size: 14px;
					text-transform: lowercase;
					background: transparent;
					padding: 0;
					width: fit-content;
					transition: color 0.2s linear;
				}
				label {
					cursor: pointer;
					input {
						display: none;
						&:checked + span {
							color: var(--text-color);
							&::before {
								color: var(--text-color);
								border-color: var(--text-color);
							}
						}
					}
					span {
						color: #666766;
						font-family: Lato;
						font-size: 14px;
						font-weight: 300;
						display: flex;
						align-items: center;
						gap: 4px;
						white-space: nowrap;
						transition: color 0.2s linear;
						&::before {
							content: '\e910';
							display: flex;
							align-items: center;
							justify-content: center;
							font-family: icon;
							color: transparent;
							width: 16px;
							font-size: 11px;
							aspect-ratio: 1/1;
							flex-shrink: 0;
							border: 1px solid #666766;
						}
					}
				}
			}
		}
		.border-line {
			background: rgba(45, 47, 46, 0.16);
			width: 100%;
			height: 1px;
			margin-top: 0px;
		}
		.button-box {
			display: contents;
		}
		button[type="submit"] {
			border-radius: 3px;
			background-color: #f4f3f6;
			padding: 10px 25px;
			color: rgba(45, 47, 46, 0.73);
			text-align: center;
			font-family: Lato;
			font-size: 14px;
			line-height: 1;
			margin-bottom: 30px;
			text-transform: uppercase;
			&:disabled {
				color: #d0d0d0;
				pointer-events: none;
			}
		}
	}
}
.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	grid-auto-rows: 1fr;
	margin-bottom: 60px;
	.product-item {
		background: #F1F2EF;
		aspect-ratio: 442/464;
		&:nth-child(16n - 14),
		&:nth-child(16n - 10),
		&:nth-child(16n - 9),
		&:nth-child(16n) {
			grid-column: span 2;
			aspect-ratio: initial;
		}
	}
}
.pagination {
	display: flex;
	width: 100%;
	justify-content: center;
	gap: 20px;
	margin-bottom: 60px;
	* {
		color: var(--text-color);
		transition: .3s linear;
	}
	a {
		&:is(.prev, .next) {
			display: flex;
			align-items: center;
			justify-content: center;
			padding-top: 2px;
			&.disabled {
				pointer-events: none;
				opacity: 0.5;
			}
			&::before {
				content: '\e90f';
				font-family: icon;
				line-height: 1;
				font-size: 14px;
			}
		}
		&.next::before {
			transform: scaleX(-1);
		}
	}
	a.selected {
		color: var(--hover);
	}
}
.empty {
	color: var(--text-color);
	margin: 50px 0;
	font-family: Helvetica;
	line-height: 1;
	grid-column: span 2;
}
footer {
	z-index: 0;
	.wrapper {
		min-height: 75dvh;
	}
	.main-menu {
		margin-top: auto;
		margin-bottom: auto;
	}
}
@media screen and (max-width: 1500px) {
	.filters {
		form > div {
			display: grid;
			grid-template-columns: repeat(4, auto);
			fieldset {
				max-height: 200px;
				min-height: 200px;
				overflow-y: auto;
				&::-webkit-scrollbar {
					width: 8px;
				}
				&::-webkit-scrollbar-track {
					background: #dddede;
				}
				&::-webkit-scrollbar-thumb {
					display: block;
					border: 3px solid #dddede;
					background-color: var(--menu-bg);
				}
			}
		}
	}
}
@media screen and (max-width: 1279px) {
	header {
		padding-top: 20px !important;
		> .wrapper {
			grid-template-columns: 1fr auto !important;
			.buttons.mob {
				display: none;
			}
			> .logo {
				width: initial !important;
				min-height: initial !important;
				font-size: 35px !important;
				border: none !important;
				margin: 0 auto 0 0 !important;
				&::before,
				span {
					display: none !important;
				}
			}
			> .buttons:not(.mob) > *:not(.burger) {
				display: flex;
			}
			.catalog {
				grid-column: span 2 !important;
				margin: 0 auto 0 0 !important;
			}
		}
	}
	.promo {
		margin-top: 109px;
	}
	.promo .promo-slider {
		height: calc(100vh - 270px);
	}
	.filters {
		.top {
			grid-template-columns: repeat(2, auto);
			justify-content: space-between;
			.checked-filters {
				grid-column: span 2;
				grid-row: 2/3;
				.box-counter {
					width: 100%;
					.items {
						right: initial;
						left: 0;
					}
				}
			}
			.checked-filters {
				justify-content: start;
				gap: 8px;
			}
			.open-filter {
				margin-right: auto;
			}
			.clear-filter {
				margin-left: auto;
			}
		}
		form > div {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
			gap: 30px 40px;
			scrollbar-width: auto;
			&::-webkit-scrollbar {
				width: 8px;
				height: auto;
				display: initial;
			}
			fieldset {
				gap: 8px;
			}
			button[type="submit"] {
				margin-bottom: 25px;
			}
		}
	}
	.products {
		grid-template-columns: repeat(3, 1fr);
		margin-bottom: 40px;
		.product-item {
			aspect-ratio: 237/270;
			&:nth-child(16n - 14),
			&:nth-child(16n - 10),
			&:nth-child(16n - 9),
			&:nth-child(16n) {
				grid-column: span 1;
				aspect-ratio: 237/270;
			}
			&:nth-child(16n - 11),
			&:nth-child(16n - 7),
			&:nth-child(16n - 4),
			&:nth-child(16n - 3),
			&:nth-child(16n) {
				grid-column: span 2;
				aspect-ratio: initial;
			}
		}
	}
	footer .menu .ws-menu {
		margin-top: 20px;
	}
}
@media screen and (max-width: 767px) {
	header .wrapper {
		gap: 25px 10px !important;
		> .logo {
			font-size: 18px !important;
			background: none !important;
		}
	}
	.promo {
		margin-bottom: 45px;
	}
	.filters {
		.top {
			.open-filter,
			.clear-filter {
				font-size: 14px;
			}
			.checked-filters {
				.item {
					font-size: 14px;
				}
				.box-counter span {
					font-size: 14px;
				}
			}
		}
		form {
			padding: 0;
			.close {
				top: 10px;
				right: 10px;
			}
			> div:not(.button-box) {
				padding: 0 22px;
				margin-right: 9px;
				container: filters / inline-size;
				fieldset {
					min-height: 184px;
				}
			}
			.border-line {
				display: none;
			}
			.button-box {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 100%;
				overflow: visible;
				padding: 25px 0;
				margin: 20px 0 0;
				background: var(--White);
				box-shadow: 0px -4px 24px 0px rgba(0, 0, 0, 0.25);
			}
			> div button[type="submit"] {
				margin-bottom: 0;
			}
		}
	}
	.products {
		grid-template-columns: repeat(2, 1fr);
		margin-bottom: 40px;
		.product-item {
			aspect-ratio: 183/250;
			&:nth-child(16n - 11),
			&:nth-child(16n - 7),
			&:nth-child(16n - 4),
			&:nth-child(16n - 3),
			&:nth-child(16n) {
				grid-column: span 1;
				aspect-ratio: 183/250;
			}
		}
	}
	.pagination a {
		font-size: 14px;
	}
}
@container filters (max-width: 547.5px) {
	.filters form > div:not(.button-box) fieldset {
		min-height: initial;
		max-height: initial;
		overflow: visible;
	}
}
@media screen and (max-width: 400px) {
	.filters form > div {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	.vertical .promo .wrapper {
		gap: 25px;

	}
	.promo .content p {
		font-size: 14px;
	}
}
@media screen and (hover: hover) {
	.promo .promo-slider .slide a:hover {
		background-color: rgba(255, 218, 212, 0.68);
		box-shadow: 0px 12px 40px 0px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(25px);
	}
	.filters {
		.top {
			.open-filter:hover {
				background-color: rgba(255, 203, 194, 0.7);
			}
			.checked-filters .item button:hover {
				background-color: rgba(255, 218, 212, 0.7);
			}
			.box-counter span:hover {
				background-color: rgba(255, 218, 212, 0.7);
			}
			.clear-filter:hover {
				color: var(--text-color);
			}
		}
		form {
			.close:hover::before {
				color: var(--hover);
			}
			> div fieldset {
				.check-all:hover {
					color: var(--hover);
				}
				label:hover span {
					color: var(--text-color);
					&::before {
						border-color: var(--text-color);
					}
				}
			}
			button[type="submit"]:not(:disabled):hover {
				background-color: #2d2f2e;
				color: var(--White);
			}
		}
	}
	.pagination *:hover {
		color: var(--hover);
	}
}