@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;
		}
}
/* Search box styles */
.top-filters .search-box {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px;
		padding: 0 20px;
		margin-top: 24px;
}
.top-filters .search-input {
		flex: 1 1 auto;
		min-width: 200px;
		max-width: 400px;
		padding: 10px 40px 10px 16px;
		font-size: 16px;
		line-height: 1.4;
		border: 1px solid var(--grey-light2);
		border-radius: 8px;
		background: var(--white);
		transition: border-color 0.3s ease, box-shadow 0.3s ease;
		outline: none;
}
.top-filters .search-input:focus {
		border-color: var(--color3);
		box-shadow: 0 0 0 3px rgba(var(--color3-rgb, 139, 69, 19), 0.1);
}
.top-filters .search-input::placeholder {
		color: var(--grey);
}
.top-filters .search-clear {
		position: relative;
		margin-left: -36px;
		width: 28px;
		height: 28px;
		padding: 0;
		border: none;
		background: transparent;
		color: var(--grey);
		font-size: 24px;
		line-height: 1;
		cursor: pointer;
		transition: color 0.3s ease;
		display: none;
}
.top-filters .search-clear:hover {
		color: var(--txt);
}
.top-filters .search-count {
		font-size: 14px;
		color: var(--grey);
		white-space: nowrap;
}
.top-filters .no-results {
		text-align: center;
		padding: 40px 20px;
		color: var(--grey);
		font-size: 16px;
}

@media only screen and (max-width: 939.99px) {
		.top-filters .search-box {
				padding: 0;
				margin-top: 16px;
		}
		.top-filters .search-input {
				max-width: none;
				width: 100%;
				font-size: 14px;
				padding: 8px 36px 8px 12px;
		}
		.top-filters .search-clear {
				margin-left: -32px;
				width: 24px;
				height: 24px;
				font-size: 20px;
		}
		.top-filters .search-count {
				width: 100%;
				font-size: 12px;
		}
}

@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;
		}
		.top-filters .search-box {
				padding: 0 40px;
				margin-top: 32px;
		}
		@media only screen and (min-width: 1200px) {
				.top-filters .bg, .top-filters .letters, .top-filters .search-box {
						padding-left: 98px;
				}
		}
}
