.filter-container {
	width: 100%;
	margin: 0 auto;
	background: white;
	padding: 24px;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
	align-items: flex-end;
}

.dropdown {
	position: relative;
}

.label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 8px;
}

.dropbtn {
	width: 100%;
	background: #f9fafb;
	border: 1px solid #d1d5db;
	padding: 12px 16px;
	border-radius: 20px 0 10px 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 110%;
	left: 0;
	width: 100%;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 20px 0 10px 0;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
	z-index: 100;
	padding: 10px;
}

.dropdown-option {
	padding: 8px 10px;
	border-radius: 10px 0 5px 0;
	cursor: pointer;
}

.dropdown-option:hover {
	background: #f3f4f6;
}

.show {
	display: block !important;
}

/* Слайдер цен */
.price-panel {
	width: 340px;
	padding: 25px;
}

.price-presets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 22px;
}

.price-presets button {
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 10px 0 5px 0;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 8px;
}

.price-presets button.active {
	background: var(--awb-color5);
	color: var(--awb-color1);
}

.slider-container {
	position: relative;
	width: 100%;
	height: 20px;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
}

.slider-track {
	position: absolute;
	width: 100%;
	height: 16px;
	border-radius: 10px;
	z-index: 1;
}

input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	position: absolute;
	background: transparent;
	pointer-events: none;
	z-index: 2;
	margin: 0;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 22px;
	width: 22px;
	background: var(--awb-color5);
	border-radius: 50%;
	border: 4px solid var(--awb-color1);
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.price-values {
	display: flex;
	justify-content: space-around;
	font-weight: 600;
	font-size: 18px;
}

/* Кнопки комнат */
.rooms-panel {
	width: 280px;
}

.floor-panel {
	max-height: 240px;
	overflow-y: auto;
}

.location-district-panel {
	max-height: 240px;
	overflow-y: auto;
}

.section-title {
	font-size: 10px;
	text-transform: uppercase;
	color: #9ca3af;
	margin-bottom: 8px;
	font-weight: 800;
}

.btn-group {
	display: flex;
	gap: 8px;
	margin-bottom: 15px;
}

.btn-group button {
	flex: 1;
	padding: 8px;
	border: 1px solid #d1d5db;
	background: white;
	border-radius: 10px 0 5px 0;
	cursor: pointer;
}

.btn-group button.active {
	background: var(--awb-color5);
	color: var(--awb-color1);
}

.search-btn {
	background: var(--awb-color5);
	color: var(--awb-color1);
	border: none;
	padding: 14px;
	border-radius: 20px 0 10px 0;
	font-weight: 700;
	cursor: pointer;
}

.filter-actions {
	display: flex;
	gap: 10px;
	line-height: 0.7;
	font-size: 14px;
	justify-content: flex-end;
	margin-left: auto;
	min-width: 260px;
}

.filter-actions .search-btn,
.filter-actions .reset-btn {
	align-items: center;
	display: inline-flex;
	flex: 1;
	justify-content: center;
	text-align: center;
}

.reset-btn {
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 20px 0 10px 0;
	color: #374151;
	cursor: pointer;
	font-weight: 700;
	padding: 14px;
	text-decoration: none;
}

.reset-btn:hover,
.reset-btn:focus {
	color: #111827;
	text-decoration: none;
}

.search-btn:disabled {
	opacity: .5;
}

.filter-bottom {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #f3f4f6;
	display: flex;
	align-items: center;
	gap: 24px;
}

.amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	flex: 1;
}

.checkbox-container {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
}

.checkbox-container input {
	margin-right: 8px;
	width: 18px;
	height: 18px;
	accent-color: var(--awb-color5);
}

.arrow {
	border: solid #9ca3af;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
}


#property-results {
	margin-top: 50px;
	transition: opacity 0.3s;
}

@media (max-width: 767px) {
	.filter-bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.filter-actions {
		margin-left: 0;
		min-width: 0;
		width: 100%;
	}
}
