/* ПК: фильтр подкатегории — без внешнего скролла, скролл только в списках (Марка и т.д.) */
@media (min-width: 968px) {
	.filtered-page-grid > .filter-wrap-popup,
	.filtered-page-grid > .filtered-page-sidebar > .filter-wrap-popup {
		position: static !important;
		align-self: start;
		max-height: none !important;
		height: auto !important;
		overflow: visible !important;
	}

	.filtered-page-grid .filter-wrap-popup .filter-form.filter-body-popup,
	.filtered-page-grid .filter-wrap-popup .filter-body-popup.filter-form {
		display: block !important;
		max-height: none !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	/* Мобильная обёртка не участвует в layout — убирает внешний скролл */
	.filtered-page-grid .filter-wrap-popup .filter-mobile-scroll {
		display: contents !important;
		max-height: none !important;
		height: auto !important;
		overflow: visible !important;
	}

	.filtered-page-grid .filter-wrap-popup .filter-mobile-header {
		display: none !important;
	}

	.filtered-page-grid .filter-wrap-popup .filter-sticky-btn {
		position: static !important;
	}

	/* Скролл внутри списков: Марка, Модель и т.п. */
	.filtered-page-grid .filter-search-results {
		display: block !important;
		max-height: 255px !important;
		height: auto !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		padding-right: 10px;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.filtered-page-grid .filter-search-results::-webkit-scrollbar {
		width: 6px;
	}

	.filtered-page-grid .filter-search-results::-webkit-scrollbar-track {
		background: transparent;
	}

	.filtered-page-grid .filter-search-results::-webkit-scrollbar-thumb {
		background: var(--dark10);
		border-radius: 3px;
	}

	.filtered-page-grid .filter-search-results::-webkit-scrollbar-thumb:hover {
		background: var(--dark20);
	}
}
