.filters {
	margin-bottom: 6px;
}

.filters-wrapper {
	margin: 0 auto;
}

.filter-sections {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.filter-section {
	width: 100%;
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
	gap: 1rem;
}

.filters .filter-section-title {
	display: block;
	font-size: var(--font-size-b-2);
	text-transform: uppercase;
	min-width: 7em;
	font-weight: var(--font-weight-book);
}

.filters .checkboxlist {
	display: flex;
	justify-content: flex-start;
	gap: 1rem;
	margin-bottom: 1em;
}

.filters .checkboxlist label {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	min-width: 5rem;
	cursor: pointer;
	white-space: nowrap;
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-book);
}

.filters .checkboxlist label:first-of-type {
	text-transform: uppercase;
}

.filters .checkboxlist input[type=checkbox] {
	-webkit-appearance: none;
	appearance: none;
	margin: 0 4px 0 0;
}

.filters .checkboxlist input[type=checkbox]:before {
	content: "";
	display: inline-block;
	width: 17px;
	height: 17px;
	background-color: #fff;
	border: 1px solid #000000;
	margin-right: 8px;
	margin-bottom: -1px;
	box-sizing: border-box;
}

.filters .checkboxlist input[type="checkbox"]:checked::before {
	background-color: var(--color-brown);
}

.filters .checkboxlist br {
	display: none;
}

label[for=frm-filters-form-only_free], label[for=frm-filters-form-favorites] {
	display: none;
}

.filter-boxes {
	display: flex;
	width: 100%;
	flex-flow: row nowrap;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 35px;
	margin-top: 2em;
}

.filter-box {
	width: auto;
	text-decoration: none;
}

.filter-box .text-box-close {
	font-size: 150%;
	position: relative;
	top: 0.05em;
}

.filter-box .box {
	width: 100%;
	font-family: var(--font-family-inter);
	font-weight: var(--font-weight-regular);
	font-size: var(--font-size-base);
	color: #000000;
	background-color: var(--color-brown);
	text-transform: lowercase;
	font-style: normal;
	text-align: center;
	padding: 7px 17px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: opacity 0.3s ease;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
}

.filter-box .box:hover {
	opacity: 0.9;
}

.filter-box .text-box {
	height: 100%;
	display: flex;
	align-items: center;
	font-size: var(--font-size-b);
	color: var(--color-dark-brown);
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.filter-box:hover .text-box {
	opacity: 1;
	color: var(--color-foreground);
}

.filter-box .favorite-mark {
	margin-right: 0.5em;
}

.filter-box .favorite-mark path {
	fill: var(--color-brown);
}

@media screen and (max-width: 1400px) {
	.filters .checkboxlist {
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 980px) {
	.filter-sections, .filter-section {
		gap: 1.5em;
	}

	.filters .checkboxlist {
		margin-bottom: 1em;
	}
}

@media screen and (max-width: 740px) {
	.filter-boxes {
		gap: 1em;
	}

	.filter-box {
		width: 100%;
	}

	.filter-box .box {
		display: inline-flex;
		width: auto;
	}
}

@media screen and (max-width: 540px) {
	.filter-section {
		flex-direction: column;
	}

	.filters .checkboxlist {
		font-size: var(--font-size-s-2);
	}

	.filters .filter-section-title {
		font-size: var(--font-size-base);
	}

	.filters .checkboxlist input[type=checkbox]:before {
		width: 14px;
		height: 14px;
	}

	.filters-summary .filter-box .box {
		font-size: var(--font-size-s-2);
	}
}

@media screen and (max-width: 380px) {

	.filter-box .box {
		font-size: 1em;
	}
}
