

/* Start:/local/templates/main/css/filter-style.css?175792621215824*/
/* Используем существующие переменные из основного CSS */
:root {
	--border-color: rgba(0, 0, 0, .1);
	--main-color: #121a2f;
	--main-color-hover: #9d59e2;
	--main-bg-color: #F5F4F2;
	--main-bg-color-hover: #EBEAE8;
	--text-color: #21201F;
	--text-color-light: rgba(33, 32, 31, 0.5);
	--success: #6DC33A;
	--warn: #d6c20e;
	--grey: #CBCAC8;
	--border-radius: 20px;
	--light-grey: #F5F4F2;

	/* Новые переменные для фильтра */
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
	--z-modal: 1000;
	--z-dropdown: 100;
}

/* Базовые стили для иконок */
.icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
	flex-shrink: 0;
}

.icon--sm {
	width: 16px;
	height: 16px;
}

/* Кнопки */
.btn {
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	padding: 8px 16px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all var(--transition-fast);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	outline: none;
}

.btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(157, 89, 226, 0.3);
}

.btn--primary {
	background-color: var(--main-color-hover);
	color: white;
}

.btn--primary:hover {
	background-color: #8447c7;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn--text {
	background: transparent;
	color: var(--text-color-light);
	padding: 6px 12px;
}

.btn--text:hover {
	color: var(--text-color);
}

.btn--danger {
	color: #dc3545;
}

.btn--danger:hover {
	color: #c82333;
	background-color: rgba(220, 53, 69, 0.1);
}

.btn--large {
	padding: 10px 20px;
	font-size: 15px;
}

/* Блок выбора метро и района */
.location-selector {
	display: flex;
	gap: 12px;
	position: relative;
	margin: 16px 0;
	flex-wrap: wrap;
}

.location-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	background: white;
	border: 2px solid var(--border-color);
	border-radius: 10px;
	font-family: 'PT Sans', sans-serif;
	font-size: 15px;
	color: var(--text-color);
	cursor: pointer;
	transition: all var(--transition-fast);
	position: relative;
}

.location-btn:hover {
	border-color: var(--main-color-hover);
	box-shadow: var(--shadow-sm);
}

.location-btn.active {
	border-color: var(--main-color-hover);
	background-color: rgba(157, 89, 226, 0.05);
}

.location-btn__count {
	display: none;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background-color: var(--main-color-hover);
	color: white;
	font-size: 11px;
	font-weight: bold;
	border-radius: 9px;
	align-items: center;
	justify-content: center;
}

.location-btn__count[data-count]:not([data-count="0"]) {
	display: flex;
}

.location-btn__count[data-count]:not([data-count="0"])::after {
	content: attr(data-count);
}

.location-btn__arrow {
	width: 18px;
	height: 18px;
	fill: var(--text-color-light);
	transition: transform var(--transition-fast);
}

.location-btn.active .location-btn__arrow {
	transform: rotate(180deg);
}

/* Dropdown для выбора локаций */
.location-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 400px;
	max-width: calc(100vw - 32px);
	background: white;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all var(--transition-normal);
	z-index: var(--z-dropdown);
}

.location-dropdown.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.location-dropdown__header {
	padding: 12px;
	border-bottom: 1px solid var(--border-color);
}

.location-dropdown__search {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	outline: none;
	transition: border-color var(--transition-fast);
}

.location-dropdown__search:focus {
	border-color: var(--main-color-hover);
}

.location-dropdown__content {
	max-height: 350px;
	overflow-y: auto;
}

.location-dropdown__select-all {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	cursor: pointer;
	border-bottom: 1px solid var(--border-color);
	font-weight: 500;
	font-size: 14px;
}

.location-dropdown__select-all:hover {
	background-color: var(--main-bg-color);
}

.location-dropdown__list {
	padding: 8px 0;
}

/* Стили для линий метро */
.metro-line {
	margin-bottom: 12px;
}

.metro-line__header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	font-weight: 500;
	color: var(--text-color);
	font-size: 14px;
}

.metro-line__color {
	width: 14px;
	height: 3px;
	border-radius: 2px;
}

.metro-line__stations {
	padding-left: 36px;
}

/* Элементы локаций */
.location-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	cursor: pointer;
	transition: background-color var(--transition-fast);
	font-size: 14px;
}

.location-item:hover {
	background-color: var(--main-bg-color);
}

.location-dropdown__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-top: 1px solid var(--border-color);
	gap: 8px;
}

/* Кнопка открытия фильтра */
.filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	background-color: var(--main-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-family: 'PT Sans', sans-serif;
	font-size: 15px;
	cursor: pointer;
	transition: all var(--transition-fast);
}

.filter-toggle:hover {
	background-color: #1e2a47;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.filter-toggle__count {
	display: none;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background-color: var(--main-color-hover);
	color: white;
	font-size: 12px;
	font-weight: bold;
	border-radius: 10px;
	align-items: center;
	justify-content: center;
}

.filter-toggle__count[data-count]:not([data-count="0"]) {
	display: flex;
}

.filter-toggle__count[data-count]:not([data-count="0"])::after {
	content: attr(data-count);
}

/* Модальное окно фильтра */
.filter-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition-normal);
}

.filter-modal.active {
	opacity: 1;
	visibility: visible;
}

.filter-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.filter-modal__content {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 80vh;
	background: white;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	transform: scale(0.9);
	transition: transform var(--transition-normal);
}

.filter-modal.active .filter-modal__content {
	transform: scale(1);
}

.filter-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid var(--border-color);
}

.filter-modal__title {
	font-size: 20px;
	font-weight: normal;
	color: var(--text-color);
	margin: 0;
}

.filter-modal__close {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color var(--transition-fast);
}

.filter-modal__close:hover {
	background-color: var(--main-bg-color);
}

.filter-modal__close svg {
	width: 20px;
	height: 20px;
	fill: var(--text-color-light);
}

.filter-modal__body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.filter-modal__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-top: 1px solid var(--border-color);
	gap: 12px;
}

/* Секции фильтра */
.filter-section {
	margin-bottom: 24px;
}

.filter-section:last-child {
	margin-bottom: 0;
}

.filter-section__title {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-color);
	margin: 0 0 12px 0;
}

.filter-section--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.filter-section--row {
	display: flex;
	gap: 12px;
}

/* Range слайдеры */
.range-slider {
	margin-bottom: 8px;
}

.range-slider__values {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--text-color);
	font-weight: 500;
}

.range-slider__container {
	position: relative;
	height: 36px;
	margin: 0 10px;
}

.range-slider__track {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 4px;
	background-color: #e0e0e0;
	border-radius: 2px;
}

.range-slider__range {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 4px;
	background-color: var(--main-color-hover);
	border-radius: 2px;
	pointer-events: none;
}

.range-slider__input {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 4px;
	margin: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	pointer-events: all;
}

.range-slider__input[data-type="min"] {
	z-index: 4;
}

.range-slider__input[data-type="max"] {
	z-index: 3;
}

/* Webkit browsers (Chrome, Safari) */
.range-slider__input::-webkit-slider-track {
	width: 100%;
	height: 4px;
	background: transparent;
	border: none;
}

.range-slider__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	background: white;
	border: 2px solid var(--main-color-hover);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all var(--transition-fast);
	position: relative;
	z-index: 5;
}

.range-slider__input::-webkit-slider-thumb:hover {
	transform: scale(1.15);
	box-shadow: 0 2px 8px rgba(157, 89, 226, 0.4);
}

.range-slider__input::-webkit-slider-thumb:active {
	transform: scale(1.1);
}

/* Firefox */
.range-slider__input::-moz-range-track {
	width: 100%;
	height: 4px;
	background: transparent;
	border: none;
}

.range-slider__input::-moz-range-thumb {
	width: 18px;
	height: 18px;
	background: white;
	border: 2px solid var(--main-color-hover);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all var(--transition-fast);
	position: relative;
	z-index: 5;
	-moz-appearance: none;
}

.range-slider__input::-moz-range-thumb:hover {
	transform: scale(1.15);
	box-shadow: 0 2px 8px rgba(157, 89, 226, 0.4);
}

/* IE/Edge */
.range-slider__input::-ms-track {
	width: 100%;
	height: 4px;
	background: transparent;
	border-color: transparent;
	color: transparent;
}

.range-slider__input::-ms-thumb {
	width: 18px;
	height: 18px;
	background: white;
	border: 2px solid var(--main-color-hover);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Чекбоксы */
.filter-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	color: var(--text-color);
	user-select: none;
}

.filter-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: white;
	border: 2px solid #d0d0d0;
	border-radius: 4px;
	transition: all var(--transition-fast);
}

.filter-checkbox input[type="checkbox"]:checked {
	background-color: var(--main-color-hover);
	border-color: var(--main-color-hover);
}

.filter-checkbox input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 5px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.filter-checkbox input[type="checkbox"]:hover {
	border-color: var(--main-color-hover);
}

.filter-checkbox input[type="checkbox"]:focus-visible {
	outline: 2px solid rgba(157, 89, 226, 0.4);
	outline-offset: 2px;
}

/* Чекбоксы в дропдаунах локаций */
.location-item input[type="checkbox"],
.select-all-checkbox {
	width: 18px;
	height: 18px;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: white;
	border: 2px solid #d0d0d0;
	border-radius: 4px;
	transition: all var(--transition-fast);
	position: relative;
}

.location-item input[type="checkbox"]:checked,
.select-all-checkbox:checked {
	background-color: var(--main-color-hover);
	border-color: var(--main-color-hover);
}

.location-item input[type="checkbox"]:checked::after,
.select-all-checkbox:checked::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 5px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.location-item input[type="checkbox"]:hover,
.select-all-checkbox:hover {
	border-color: var(--main-color-hover);
}

/* Селекты */
.filter-select {
	flex: 1;
}

.filter-select__label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--text-color-light);
}

.filter-select__input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	color: var(--text-color);
	background-color: white;
	cursor: pointer;
	outline: none;
	transition: border-color var(--transition-fast);
}

.filter-select__input:focus {
	border-color: var(--main-color-hover);
}

/* Скроллбар */
.location-dropdown__content::-webkit-scrollbar,
.filter-modal__body::-webkit-scrollbar {
	width: 8px;
}

.location-dropdown__content::-webkit-scrollbar-track,
.filter-modal__body::-webkit-scrollbar-track {
	background: var(--main-bg-color);
	border-radius: 4px;
}

.location-dropdown__content::-webkit-scrollbar-thumb,
.filter-modal__body::-webkit-scrollbar-thumb {
	background: var(--grey);
	border-radius: 4px;
}

.location-dropdown__content::-webkit-scrollbar-thumb:hover,
.filter-modal__body::-webkit-scrollbar-thumb:hover {
	background: var(--text-color-light);
}

/* Адаптивность */
@media screen and (max-width: 768px) {
	.location-selector {
		flex-direction: column;
		gap: 12px;
	}

	.location-btn {
		width: 100%;
		justify-content: space-between;
	}

	.location-dropdown {
		width: 100%;
		left: 0;
		right: 0;
	}

	.filter-modal__content {
		max-width: 100%;
		max-height: 100%;
		height: 100%;
		border-radius: 0;
	}

	.filter-modal {
		padding: 0;
	}

	.filter-section--grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.filter-section--row {
		flex-direction: column;
	}

	.filter-modal__footer {
		flex-direction: column-reverse;
		gap: 10px;
		padding: 12px 16px;
	}

	.filter-modal__footer .btn {
		width: 100%;
		justify-content: center;
	}

	.filter-modal__body {
		padding: 16px;
	}

	.filter-section {
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 400px) {
	.filter-modal__header {
		padding: 16px;
	}

	.filter-modal__body {
		padding: 12px;
	}

	.filter-modal__title {
		font-size: 18px;
	}

	.location-btn {
		padding: 10px 16px;
		font-size: 14px;
	}

	.filter-checkbox {
		font-size: 13px;
	}

	.range-slider__values {
		font-size: 13px;
	}
}
/* End */


/* Start:/local/templates/main/components/r-info/footer.text/.default/style.css?17538564841961*/
.footer_text {
    max-width: 964px;
    min-height: 255px;
    margin: 0 auto;
    background-color: #fefefe;
}

.footer-text {
    overflow: hidden;
    max-height: 150px;
    margin-right: 255px;
    /*
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -ms-line-clamp: 3;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    display: box;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    */
}

.footer-text.show-all {
    /*
    -ms-line-clamp: unset;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    */
    overflow: visible;
    max-height: 100%;
}

.footer-text-show-all {
    margin-top: 10px;
    font-size: 20px;
    text-decoration: underline;
    color: #000000;
    transition: all .2s;
    cursor: pointer;
}

.footer-text-show-all:hover {
    color: #9d59e2;
}

.footer_text ul li {
    position: relative;
    padding-left: 22px;
    margin: 1em 0;
}

.footer_text ul li:before {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #000000;
    top: 13px;
    left: 0;
}

.footer-text h2 {
    font-size: 26px;
}

.footer-text,
.footer-text a,
.footer-text p {
    font: 15px 'PT Sans', sans-serif;
    line-height: 150%;
    letter-spacing: 0.02em;
}

.footer-text a {
    text-decoration: underline;
}

.footer_text .full-text {
    display: none;
}

.footer_text .full-text .hide-text img {
    transform: rotate(180deg);
}

.footer_text img {
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .footer_text {
        width: initial;
        margin: 30px auto 20px auto;
        padding: 15px 15px 0;
    }

    .footer-text {
        margin-right: auto;
        max-height: 100px;
    }

    .footer-text h2 {
        font-size: 20px;
    }

    .footer-text,
    .footer-text a,
    .footer-text p {
        font-size: 14px;
    }
}
/* End */
/* /local/templates/main/css/filter-style.css?175792621215824 */
/* /local/templates/main/components/r-info/footer.text/.default/style.css?17538564841961 */
