.rhv-filter {
	--rhv-black: #000;
	--rhv-pink: #fbe9eb;
	--rhv-pink-strong: #d4949b;
	--rhv-border: #e8e8e8;
	--rhv-muted: #777;
	background: #fff;
	color: var(--rhv-black);
	font-family: inherit;
	width: 100%;
}

.rhv-filter *,
.rhv-filter *::before,
.rhv-filter *::after {
	box-sizing: border-box;
}

.rhv-filter__mobile-toggle {
	display: none;
}

.rhv-filter__heading {
	align-items: center;
	border-bottom: 2px solid var(--rhv-black);
	display: flex;
	justify-content: space-between;
	padding: 0 0 15px;
}

.rhv-filter__heading h2 {
	color: var(--rhv-black);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.rhv-filter__heading > span {
	color: var(--rhv-muted);
	font-size: 11px;
}

.rhv-filter__group {
	border: 0;
	border-bottom: 1px solid var(--rhv-border);
	margin: 0;
	padding: 24px 0 20px;
}

.rhv-filter__group legend {
	color: var(--rhv-black);
	float: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .13em;
	margin: 0 0 15px;
	padding: 0;
	text-transform: uppercase;
	width: 100%;
}

.rhv-filter__group legend + * {
	clear: both;
}

.rhv-filter__option {
	align-items: center;
	color: #222;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 10px;
	line-height: 1.25;
	margin: 0;
	min-height: 34px;
	padding: 4px 0;
	position: relative;
}

.rhv-filter__option input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.rhv-filter__control {
	background: #fff;
	border: 1.5px solid #777;
	display: inline-block;
	flex: 0 0 18px;
	height: 18px;
	position: relative;
	transition: .18s ease;
	width: 18px;
}

input[type="radio"] + .rhv-filter__control {
	border-radius: 50%;
}

.rhv-filter__option input:checked + .rhv-filter__control {
	background: var(--rhv-black);
	border-color: var(--rhv-black);
}

.rhv-filter__option input:checked + .rhv-filter__control::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 9px;
	left: 6px;
	position: absolute;
	top: 2px;
	transform: rotate(45deg);
	width: 4px;
}

input[type="radio"]:checked + .rhv-filter__control::after {
	background: var(--rhv-pink);
	border: 0;
	border-radius: 50%;
	height: 6px;
	left: 4.5px;
	top: 4.5px;
	transform: none;
	width: 6px;
}

.rhv-filter__option:hover .rhv-filter__control {
	border-color: var(--rhv-pink-strong);
}

.rhv-filter__option input:focus-visible + .rhv-filter__control {
	outline: 2px solid var(--rhv-pink-strong);
	outline-offset: 2px;
}

.rhv-filter__label {
	flex: 1 1 auto;
}

.rhv-filter__count {
	color: #999;
	font-size: 11px;
}

.rhv-filter__actions {
	display: grid;
	gap: 10px;
	padding-top: 22px;
}

.rhv-filter__apply {
	background: var(--rhv-black);
	border: 2px solid var(--rhv-black);
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	min-height: 48px;
	padding: 12px;
	text-transform: uppercase;
	transition: .18s ease;
	width: 100%;
}

.rhv-filter__apply:hover {
	background: var(--rhv-pink);
	color: var(--rhv-black);
}

.rhv-filter__clear {
	color: var(--rhv-black);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	padding: 7px;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: uppercase;
}

.rhv-filter__clear:hover {
	color: var(--rhv-pink-strong);
}

@media (max-width: 767px) {
	.rhv-filter {
		border: 1px solid var(--rhv-border);
		margin-bottom: 20px;
	}

	.rhv-filter__mobile-toggle {
		align-items: center;
		background: var(--rhv-black);
		border: 0;
		color: #fff;
		display: flex;
		font-family: inherit;
		font-size: 12px;
		font-weight: 700;
		justify-content: space-between;
		letter-spacing: .14em;
		min-height: 52px;
		padding: 14px 16px;
		text-transform: uppercase;
		width: 100%;
	}

	.rhv-filter__active-count {
		align-items: center;
		background: var(--rhv-pink);
		border-radius: 50%;
		color: var(--rhv-black);
		display: inline-flex;
		font-size: 10px;
		height: 22px;
		justify-content: center;
		margin-left: auto;
		margin-right: 12px;
		width: 22px;
	}

	.rhv-filter__toggle-icon {
		font-size: 21px;
		font-weight: 400;
		line-height: 1;
	}

	.rhv-filter__mobile-toggle[aria-expanded="true"] .rhv-filter__toggle-icon {
		transform: rotate(45deg);
	}

	.rhv-filter__panel {
		display: none;
		padding: 18px;
	}

	.rhv-filter.is-open .rhv-filter__panel {
		display: block;
	}

	.rhv-filter__heading {
		display: none;
	}
}

