.filter {
	margin-bottom: 60px;
}
.filter-top {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 8px;
	box-sizing: border-box;
	max-width: 657px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 12px;
	background-color: rgba(250, 249, 247, 0.6);
	border-radius: 200px;
}
.filter-top-button {
	height: 42px;
	background-color: transparent;
	border: none;
	outline: none;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	color: #5E390D;
	display: inline-flex;
	align-items: center;
	padding: 0 24px;
	gap: 8px;
	border-radius: 200px;
	cursor: pointer;
	transition: .3s;
}

.filter-top-button svg {
	width: 12px;
	height: 8px;
}

.filter-top-button.active {
	background-color: #64634f;
	color: #fff;
}

.filter-top-button.active svg {
	transform: rotate(180deg);
}

.filter-top-button:not(.active):hover {
	background-color: #64634f;
	color: #fff;
}

@media(max-width: 767.98px) {
	.filter-top-button.active {
		color: #64634f;
	}
	.filter-top-button:not(.active):hover {
		color: #64634f;
	}
}



.filter-main {
	background-color: #FAF9F7;
	border-radius: 24px;
	padding: 20px 30px 30px;
	box-sizing: border-box;
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}
.filter-categories {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid rgba(100, 99, 79, 0.5);
	margin-bottom: 16px;
}

@media(min-width: 768px) {
	.filter-categories.filter-categories-center {
		justify-content: space-evenly;
	}
}

.filter-categories-button {
	background-color: transparent;
/*	width: 100%;
	max-width: 130px;*/
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #64634F;
	border: none;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 28px;
	box-sizing: border-box;
	cursor: pointer;
	border-bottom: 3px solid transparent;

}

.filter-categories-button.active {
	border-bottom: 3px solid #64634F;
}

.filter-main-row {
	display: flex;
	gap: 60px;

}
.filter-main-col {
	flex-basis: calc( (100% - 60px) / 2 );
}
.filter-row {
	display: flex;
	gap: 16px;
}
.filter-col {
	flex-basis: calc( (100% - 16px) / 2 );
}
.filter-block:not(:last-child) {
	margin-bottom: 30px;
}
.filter-label {
	margin-bottom: 10px;
	font-weight: 700;
	color: #5E390D;
}
.filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.filter-list-item:not(:last-child) {
	margin-bottom: 6px;
}
.filter-radio input {
	display: none;
}
.filter-radio label {
	display: inline-flex;
	gap: 8px;
	color: #5E390D;
	cursor: pointer;
}
.filter-radio label svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	transform: translateY(3px);
}

.filter-radio input:not(:checked) + label .filter-radio-dot {
	display: none;
}

.filter-select select {
	width: 100%;
	height: 40px;
	border: none;
	outline: none;
	border-bottom: 1px solid rgba(100, 99, 79, 0.5);
	background-color: transparent;
	color: #5E390D;
	transition: .3s;
}

.filter-select.invalid select {
	border-color: red;
	color: red;
}


.filter-block-row {
	display: flex;
	gap: 16px;
}
.filter-block-col {
	flex-basis: calc( (100% - 16px) / 2 );
}
.filter-input input {
	width: 100%;
	height: 20px;
	border: none;
	outline: none;
	border-bottom: 1px solid rgba(100, 99, 79, 0.5);
	background-color: transparent;
	color: #5E390D;
}

.filter-input label {
	font-size: 15px;
	font-weight: 500;
	color: #5E390D;
}

.filter-submit {
	margin-top: 60px;
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;

}
.filter-submit-button {
	height: 36px;
	font-size: 15px;
	background-color: #5E390D;
	text-transform: none;
	font-weight: 500;
	padding-left: 10px;
	padding-right: 10px;
	min-width: 0;
	min-width: 140px;
	transition: font-size 0s;
}
.button {
}

.filter-link {
	text-decoration: none;
	color: currentColor;
	line-height: 1.2;
}

.filter-submit-col {
	flex-basis: calc( (100% - 16px) / 2);
}


@media(max-width: 767.98px) {
	.filter-submit-col  {
		flex-basis: 100%;
		text-align: center;
	}
	.filter-submit {
		justify-content: center;
	}
	.filter-top {
		background-color: transparent;
		border-bottom: 1px solid rgba(100, 99, 79, 0.5);
		border-radius: 0;
		padding: 0;
		max-width: 100%;
	}
	.filter-top-button {
		font-family: 'Cormorant Garamond', serif;
		font-size: 20px;
		font-weight: 400;
		padding-left: 0;
		padding-right: 0;
		height: 44px;
		border-radius: 0;
		text-transform: none;
	}
	.filter-top-button.active {
		background-color: transparent;
		border-bottom: 3px solid #64634F;

	}
	.filter-top-button svg {
		display: none;
	}



	.filter-main {
		padding: 24px 16px;
	}
	.filter-categories {
		border: none;
		gap: 12px;
		margin-bottom: 24px;
	}

	.filter-categories-button {
		border: none;
		background-color: #AEAB9F;
		border-radius: 100px;
		color: #FAF9F7;
		flex-grow: 1;
		height: 36px;
		font-size: 15px;
		font-weight: 500;
		padding: 0 6px;
		border: none;
	}

	.filter-categories-button.active {
		background-color: #64634F;
		border: none;
	}

	.filter-main-row {
		display: block;
		font-size: 14px;
	}
	.filter-main-col:not(:last-child) {
		margin-bottom: 24px;
	}
	.filter-label {
		font-size: 14px;
	}


	.filter-submit {
		margin-top: 24px;
	}

	.filter-submit-button {
		font-size: 15px;
		width: 100%;
		max-width: 320px;
	}
}

@media(max-width: 400px) {
	.filter-categories {
		gap: 10px;
	}
	.filter-categories-button {
		font-size: 14px;
		padding-left: 10px;
		padding-right: 10px;

	}
}


.filter-submit-button svg {
	display: none;
}

.filter-submit-button.loading {
	font-size: 0;
}
.filter-submit-button.loading svg {
	display: inline;
}

.archive-not-found {
	text-align: center;
	font-size: 24px;
}

.dom-marker {
	cursor: pointer;
	top: -44px;
	left: -25px;
	display: flex;
}