/* === CRLIST-004: desktop filter accordion (body.page_listing #sidebar only) === */
body.page_listing #sidebar aside.filter-gorod,
body.page_listing aside.category-filter.filter-gorod {
	display: none !important;
}

body.page_listing #sidebar #cr-filter-rating,
body.page_listing #sidebar aside.cr-filter-rating {
	display: none !important;
}

body.page_listing aside.filter-services li:has(input[data-value="vyvoz-musora"]),
body.page_listing aside.filter-services li:has(input[data-value="prochie-uslugi"]),
body.page_listing #sidebar aside.filter-services li:has(input[data-value="vyvoz-musora"]),
body.page_listing #sidebar aside.filter-services li:has(input[data-value="prochie-uslugi"]) {
	display: none !important;
}

body.page_listing #sidebar .select-all-localfilter {
	display: none !important;
}

@media (min-width: 993px) {
	body.page_listing .filter_result_wrapper {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
	}

	body.page_listing .filter_wrapper {
		flex: 0 0 384px;
		width: 384px;
		max-width: 384px;
		min-width: 384px;
		box-sizing: border-box;
	}

	body.page_listing #sidebar:not(.object_side) {
		background: #fff;
		border-radius: 20px;
		box-shadow: 0 0 5px rgba(30, 30, 30, 0.06);
		padding: 26px 20px 20px;
		box-sizing: border-box;
		width: 100%;
		max-width: 384px;
		flex-shrink: 0;
	}

	body.page_listing #sidebar .titlefilternew {
		margin: 0 0 20px;
		padding: 0;
		color: #000b2f;
		font-size: 28px;
		line-height: 38px;
		font-weight: 600;
	}

	body.page_listing #sidebar aside.category-filter {
		margin: 0;
		padding: 0 0 20px;
		border: 0;
		border-bottom: 1px solid rgba(0, 11, 47, 0.15);
		background: transparent;
		box-shadow: none;
	}

	body.page_listing #sidebar aside.category-filter:last-of-type,
	body.page_listing #sidebar aside.cr-filter-rating {
		border-bottom: 1px solid rgba(0, 11, 47, 0.15);
	}

	body.page_listing #sidebar .title-newfilter {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0;
		padding: 16px 0 0;
		cursor: pointer;
	}

	body.page_listing #sidebar aside.category-filter:first-of-type .title-newfilter {
		padding-top: 0;
	}

	body.page_listing #sidebar .title-newfilter b {
		color: #000b2f;
		font-size: 18px;
		line-height: 24px;
		font-weight: 600;
	}

	body.page_listing #sidebar .title-newfilter .arrow-down {
		flex: 0 0 24px;
		width: 24px;
		height: 24px;
		margin: 0;
		padding: 0;
		border: 0;
		background-color: transparent;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000B2F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 24px 24px;
		transform: rotate(180deg);
		transition: transform 0.2s ease;
	}

	body.page_listing #sidebar .title-newfilter .arrow-down.active {
		transform: rotate(0deg);
	}

	body.page_listing #sidebar .filter-hide-block {
		margin: 0;
		padding: 16px 0 0;
	}

	body.page_listing #sidebar .possticky {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 14px;
	}

	body.page_listing #sidebar .search-in-filter {
		flex: 1 1 auto;
		width: 100%;
		min-height: 44px;
		margin: 0;
		padding: 12px 18px 12px 44px;
		border: 0;
		border-radius: 4px;
		background: #f6f7f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.25' stroke='%23000B2F' stroke-width='1.5'/%3E%3Cpath d='M13.5 13.5L17 17' stroke='%23000B2F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 18px center no-repeat;
		background-size: 20px 20px;
		color: #000b2f;
		font-size: 16px;
		line-height: 18px;
		box-shadow: none;
	}

	body.page_listing #sidebar .search-in-filter::placeholder {
		color: #000b2f;
		opacity: 0.6;
	}

	body.page_listing #sidebar .select-all-localfilter {
		display: none !important;
	}

	body.page_listing #sidebar .filter-container,
	body.page_listing #sidebar .checkboxes {
		max-height: 280px;
		overflow-x: hidden;
		overflow-y: auto;
	}

	body.page_listing #sidebar .radios {
		max-height: none;
		overflow: visible;
	}

	body.page_listing #sidebar ul.category-new {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	body.page_listing #sidebar ul.category-new > li {
		margin: 0 0 10px;
		padding: 0;
	}

	body.page_listing #sidebar ul.category-new > li:last-child {
		margin-bottom: 0;
	}

	body.page_listing #sidebar .checkbox-new,
	body.page_listing #sidebar .radio-new {
		display: flex;
		align-items: center;
		gap: 8px;
		color: #000b2f;
		font-size: 16px;
		line-height: 24px;
		font-weight: 400;
	}

	body.page_listing #sidebar li.nonleaf {
		margin-bottom: 12px;
	}

	body.page_listing #sidebar li.nonleaf {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	body.page_listing #sidebar li.nonleaf > .link-cat,
	body.page_listing #sidebar li.nonleaf > label.link-cat {
		flex: 1 1 auto;
		font-size: 16px;
		line-height: 24px;
		font-weight: 500;
		color: #000b2f;
	}

	body.page_listing #sidebar li.nonleaf > .arrow {
		flex: 0 0 24px;
		display: block;
		width: 24px;
		height: 24px;
		margin: 0 0 0 auto;
		padding: 0;
		cursor: pointer;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000B2F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
		transform: rotate(0deg);
		transition: transform 0.2s ease;
	}

	body.page_listing #sidebar li.nonleaf > .arrow.active {
		transform: rotate(180deg);
	}

	body.page_listing #sidebar li.nonleaf > ul {
		flex: 1 1 100%;
		margin: 8px 0 0;
		padding: 0;
	}

	body.page_listing #sidebar aside.filter-geo li.nonleaf > ul {
		display: none !important;
	}

	body.page_listing #sidebar aside.filter-services li.nonleaf > ul {
		display: none !important;
	}

	body.page_listing #sidebar aside.filter-geo li.nonleaf > .arrow.active ~ ul {
		display: block !important;
	}

	body.page_listing #sidebar aside.filter-services li.nonleaf > .arrow.active ~ ul {
		display: block !important;
	}

	body.page_listing #sidebar .reset-all-filters {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		min-height: 48px;
		padding: 12px 16px;
		margin: 16px 0 8px;
		border-radius: 8px;
		background: #4a72ff;
		color: #fff;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.25;
		text-align: center;
		text-decoration: none;
	}

	body.page_listing #sidebar .apply-all-filters-wrapper {
		margin: 0;
	}

	body.page_listing #sidebar .apply-all-filters {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 48px;
		padding: 12px 16px;
		border-radius: 8px;
		background: #4a72ff;
		color: #fff;
		font-size: 16px;
		font-weight: 600;
		text-decoration: none;
	}

	body.page_listing #sidebar .cr-filter-rating .cr-rating-any {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
}

body.page_listing #sidebar .cr-filter-rating .radio-new {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #000b2f;
	font-size: 16px;
	line-height: 24px;
}
/* === /CRLIST-004 === */
