@charset "UTF-8";
.top-filters ul, .top-filters li {
		list-style: none;
		margin: 0;
		padding: 0;
}
.top-filters li:before {
		display: none;
}
.top-filters label {
		cursor: pointer;
		user-select: none;
		position: relative;
}
.top-filters label input {
		position: absolute;
		transform: scale(0);
		opacity: 0;
}
.top-filters .title-block {
		margin: 0;
		padding: 0;
		background: none;
}
.top-filters .letters {
		display: flex;
		flex-wrap: wrap;
		text-align: center;
		align-items: center;
}
.top-filters .letters label > span {
		display: block;
		transition: color 0.4s ease;
		color: var(--color2);
		padding: 0 0.36em;
		position: relative;
}
@media (pointer:fine) {
		.top-filters .letters label:hover > span {
				color: var(--color3);
		}
}
.top-filters .letters label > span:after {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate3d(-50%, 0.8em, 0);
		width: 0.79em;
		height: 0.178em;
		border-radius: 5px;
		background: var(--txt);
		transition: opacity 0.4s ease;
		opacity: 0;
}
.top-filters .letters label > input:checked ~ span {
		color: var(--txt);
		font-weight: 600;
}
.top-filters .letters label > input:checked ~ span:after {
		opacity: 1;
}
@media only screen and (max-width: 939.99px) {
		.top-filters {
				margin-bottom: 32px;
		}
		.top-filters .title-block {
				margin-bottom: 32px;
		}
		.top-filters .bg {
				margin-bottom: 32px;
		}
		.top-filters .checks {
				display: flex;
				flex-wrap: wrap;
				gap: var(--gap-inner);
				margin-bottom: 24px;
		}
		.top-filters .checks li {
				flex: 0 0 auto;
				max-width: 100%;
		}
		.top-filters .checks label > span {
				display: block;
				font-weight: normal;
				font-size: 12px;
				line-height: 14px;
				padding: 2px 9px;
				border: 1px solid var(--color3);
				color: var(--color3);
				border-radius: 20px;
				transition-property: color, background, border;
				transition-duration: 0.4s;
				transition-timing-function: ease;
		}
		.top-filters .checks label > input:checked ~ span {
				background-color: var(--color1);
				color: var(--color3) !important;
		}
		.top-filters .letters {
				justify-content: center;
				font-weight: 500;
				font-size: 20px;
				line-height: 36px;
		}
}
@media only screen and (min-width: 940px) {
		.top-filters {
				/*margin-top: calc(25px - var(--content-top-padding));*/
				margin-bottom: 35px;
		}
		.top-filters .bg {
				background: var(--white);
				border: 1px solid var(--grey-light2);
				border-radius: var(--radius);
				padding: 60px 40px 75px 40px;
				margin-bottom: 60px;
		}
		.top-filters .title-block {
				margin-bottom: 52px;
		}
		.top-filters .checks {
				display: flex;
				flex-wrap: wrap;
				margin-top: 32px;
				align-items: flex-end;
				gap: 8px 0;
				overflow: hidden;
				position: relative;
		}
		.top-filters .checks li {
				flex: 0 1 22%;
				position: relative;
		}
		.top-filters .checks:before {
				content: '';
				position: absolute;
				top: 0;
				bottom: 0;
				left: 0;
				background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
				width: 20px;
				z-index: 2;
				pointer-events: none;
		}
		.top-filters .checks li:after {
				content: '';
				position: absolute;
				pointer-events: none;
				bottom: 0;
				left: -20px;
				right: 0;
				height: 8px;
				background: linear-gradient(to right, var(--color1) 0, var(--color1) calc(100% - 20px), var(--white) 100%);
				z-index: 1;
		}
		.top-filters .checks li:first-child:after {
				z-index: 2;
				background: var(--color1);
				left: 0;
		}
		.top-filters .checks li:last-child:after {
				background: var(--color1);
		}
		.top-filters .checks li:first-child:after {
				border-top-left-radius: 4px;
				border-bottom-left-radius: 4px;
		}
		.top-filters .checks li:last-child:after {
				border-top-right-radius: 4px;
				border-bottom-right-radius: 4px;
		}
		.top-filters .checks label > span {
				display: block;
				font-weight: normal;
				font-size: 18px;
				line-height: 22px;
				padding: 13px 8px 25px 8px;
				text-align: center;
				transition: color 0.4s ease;
				position: relative;
		}
		@media (pointer:fine) {
				.top-filters .checks label:hover > span {
						color: var(--color3);
				}
		}
		.top-filters .checks label > span > span {
				display: block;
				position: relative;
				z-index: 5;
		}
		.top-filters .checks label > span:after {
				content: '';
				position: absolute;
				bottom: 0;
				left: 0;
				right: 0;
				border-radius: 4px;
				height: 8px;
				background: var(--color3);
				opacity: 0;
				transition: opacity 0.4s ease;
				z-index: 3;
		}
		.top-filters .checks label > input:checked ~ span {
				color: var(--color3);
				font-weight: bold;
		}
		.top-filters .checks label > input:checked ~ span:after {
				opacity: 1;
		}
		.top-filters .letters {
				justify-content: flex-start;
				font-weight: normal;
				font-size: 28px;
				line-height: 34px;
				padding: 0 40px 12px 40px;
				gap: 12px 0;
		}
		@media only screen and (min-width: 1200px) {
				.top-filters .bg, .top-filters .letters {
						padding-left: 98px;
				}
		}
}
