

/* Start:/local/templates/main_b2c/components/bitrix/system.pagenavigation/pagenav_with_show_more/style.css?17852351512784*/


.b2c-pagination {
    margin: 2.5rem 0 0;
    .b2c-pagination__more:not(:hover) {
        background-color: var(--q-primary-light);
        border-color: var(--q-primary-light);
        color: var(--t-color-1);
    }

    .b2c-pagination__btn-move {
        min-width: 30px;
        height: 30px;
        margin: 0;
        padding: 0;
        border: none !important;
        outline: none !important;
        background: none !important;
        line-height: 1;

        svg {
            height: 16px;
            width: 16px;
        }
    }
    .b2c-pagination__btn-move:disabled {
        opacity: 0.6;
    }
    .b2c-pagination__btn-move:last-child svg {
        margin-left: auto;
    }

    .b2c-pagination__btn-page {
        height: 30px;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none !important;
        outline: none !important;
        border-radius: 100%;
        background: none;
        line-height: 1;
        transition: var(--animate-duration);
    }
    .b2c-pagination__btn-page:hover {
        background-color: #E6E4EC !important;
    }
    /* Многоточие — не кнопка: без hover-фона и без текстового курсора (как на B2B) */
    .b2c-pagination__btn-page.b2c-pagination__btn-page_dot,
    .b2c-pagination__btn-page.b2c-pagination__btn-page_dot:hover {
        background-color: transparent !important;
        cursor: default;
        user-select: none;
        pointer-events: none;
    }
    .b2c-pagination__btn-page.b2c-pagination__btn-page_active {
        background-color: var(--q-secondary-light);
        color: var(--t-color-1);
        pointer-events: none;
    }
}

.b2c-pagination .b2c-pagination__side {
    display: flex;
    align-items: center;
    min-width: 128px;
    flex-shrink: 0;
}

.b2c-pagination .b2c-pagination__side--next {
    justify-content: flex-end;
}

@media (max-width: 950px) {
    .b2c-pagination .b2c-pagination__side {
        min-width: 30px;
    }
}

/* Спиннер на кнопке «Показать ещё» при догрузке товаров */
.b2c-pagination__more.is-loading {
    position: relative;
    pointer-events: none;
}

.b2c-pagination__more.is-loading .js-bxmaker__ajaxpagenav__block-showmore-btn {
    visibility: hidden;
}

.b2c-pagination__more.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2px solid rgba(10, 26, 62, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: pagenav-showmore-spin 0.7s linear infinite;
}

@keyframes pagenav-showmore-spin {
    to {
        transform: rotate(360deg);
    }
}

/* End */


/* Start:/local/templates/main_b2c/components/bitrix/news.list/tourism_companies/style.css?17850608752158*/
/* Для обрезки intro-text до 3 строк */
.clamp-3-lines {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

div.news-list {
	word-wrap: break-word;
}

div.news-list img.preview_picture {
	float: left;
	margin: 0 4px 6px 0;
}

.news-date-time {
	color: #486DAA;
}

h1.h-2.b2c-page-title {
	font-size: clamp(1.375rem, 1.2rem + 0.875vw, 2.25rem);
	font-weight: 700;
}

.company-catalog-filter-field-search {
	grid-column: span 2;
}

.company-catalog-filter-group {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-2);

	.custom-select-trigger {
		border-color: var(--border-color-2);
		color: var(--t-color-3);
	}

	.custom-text-wrapper svg {
		color: var(--q-primary);
	}

	@media all and (max-width: 768px) {
		grid-template-columns: repeat(3, 1fr);

		.company-catalog-filter-field-search {
			grid-column: span 3;
		}
	}

	@media all and (max-width: 576px) {
		grid-template-columns: repeat(2, 1fr);

		.company-catalog-filter-field-search {
			grid-column: span 2;
		}
	}

	@media all and (max-width: 480px) {
		grid-template-columns: 1fr;

		.company-catalog-filter-field-search {
			grid-column: span 1;
		}
	}
}

.b2c-card-visit-info {
	color: #939393;
}

/* Стили для кнопки "Читать полностью" */
.read-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 1rem;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-family-1);
	font-size: 1rem;
	font-weight: 500;
	color: var(--q-primary);
}

.read-more-btn:after {
	display: block;
	content: '';
	width: 24px;
	height: 24px;
	transition: all 0.2s ease;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10.5L12 14.5L8 10.5" stroke="%238654CC" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.read-more-btn.expanded:after {
	transform: rotate(180deg);
}

#intro-text {
	line-height: 1.4;
}
/* End */


/* Start:/local/components/b2c/ui.form/templates/text/style.css?17768485281596*/
.custom-text-label {
    width: 100%;
}

.custom-text-wrapper {
    width: 100%;
    position: relative;
}

.custom-text-wrapper:focus-within svg {
    color: var(--q-primary);
}

.custom-text-input {
    width: 100%;
    box-sizing: border-box;
    height: var(--form-field-height);
    padding: 1px var(--space-3) 1px var(--space-4);
    background-color: transparent;
    border: 1px solid var(--border-color-2);
    border-radius: var(--form-field-br);
    outline: none;
    transition: all var(--animate-duration);
    font-family: inherit;
    font-size: inherit;
}

.custom-text-input:hover {
    border-color: var(--q-primary);
}

.custom-text-input:focus {
    padding: 0 calc(var(--space-3) - 1px) 0 calc(var(--space-4) - 1px);
    border: 2px solid var(--q-primary);
}

.custom-text-input::placeholder {
    color: var(--t-color-3);
}

/* Icon Support */
.custom-text-wrapper {
    position: relative;
    display: flex;
    /* Ensure proper stacking context */
    align-items: center;
}

.custom-text-input.with-icon {
    padding-right: 40px;
    /* Space for icon */
}

.custom-text-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t-color-3);
    /* Inherit color or set specific */
    /* Inherit color or set specific */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.custom-text-icon svg {
    width: 100%;
    height: 100%;
    transition: all var(--animate-duration);
}
/* End */


/* Start:/local/components/b2c/ui.card/templates/tourism/style.css?17768485282628*/
.b2c-card__link {
    text-decoration: none;
}

.b2c-card {
    width: 100%;
    height: 100%;
    overflow: hidden;

    .b2c-card__title {
        color: var(--q-dark);
        font-weight: 600;
    }

    .b2c-card__link {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        cursor: pointer;

        .b2c-card__link__imager {
            position: relative;
            overflow: hidden;
            max-height: 273px;
            aspect-ratio: 16 / 9;

            img {
                width: 100%;
                height: 100%;
                object-position: center;
                object-fit: cover;
                display: block;
            }

            .b2c-card__link__imager_texts {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: space-between;

                .b2c-card__link__imager_texts__labels {
                    display: flex;
                    flex-direction: row;
                    align-items: flex-start;
                    flex-wrap: wrap;
                    gap: 6px;
                }
                .b2c-card__link__imager_texts__labels__label {
                    background-color: #fff;
                }

                .b2c-card__link__imager_texts__dot {
                    transform: translateY(-20%);
                }
            }
        }
        .b2c-card__link__imager::before {
            position: absolute;
            content: "";
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .b2c-card__link__imager-grad-1::before {
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70.77%, rgba(0, 0, 0, .75) 104.81%);
        }

        .card__link_address {
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            opacity: 0.6;
            font-weight: 400;
            font-style: normal;
            color: var(--q-dark);
        }

        .card__link_description {
            font-size: 1rem;
            font-weight: 400;
            color: var(--q-dark);
            width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 2;        /* количество строк */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
    }
}

/* End */


/* Start:/local/components/spll/favorite.add/templates/.default/style.css?17851490771966*/
.b-detail__favorite {
	background: none;
	margin: 0;
	cursor: pointer;
	outline: none;
	transition: .2s ease-in;
	padding: 11px;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #8654cc;
	font-size: 14px;
	font-weight: 500;
	color: #8654cc;
	border-radius: 8px;
	white-space: nowrap;
}

@media screen and (max-width: 768px) {
	.b-detail__favorite span {
		/* display: none; */
	}
}

.b-detail__favorite .detail__favorite-icon {
	width: 24px;
	height: 24px;
	fill: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.b-detail__favorite.short span {display: none}

.add-to-favorite, .remove-to-favorite {
	transition: all 0.3s ease;

}

.add-to-favorite[disabled], .remove-to-favorite[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

.add-to-favorite.loading, .remove-to-favorite.loading {
	opacity: 0.7;
	pointer-events: none;
	position: relative;
}

.add-to-favorite.loading::after,
.remove-to-favorite.loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
	border: 2px solid #8654CC;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.short.add-to-favorite, .short.remove-to-favorite {
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	z-index: 20;
	background: transparent;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Стиль для активного состояния (когда в избранном) */
.remove-to-favorite svg path {
	fill: #8654CC;
}

.support-page .b-detail__favorite {
	border-color: var(--b2b-accent);
	color: var(--b2b-accent);
}

.support-page .detail__favorite-icon svg path {
	stroke: var(--b2b-accent);
}

.support-page .b-detail__favorite:hover .detail__favorite-icon svg {
	fill: var(--b2b-accent);
}

.support-page .b-detail__favorite  {
	justify-content: center;
}
/* End */
/* /local/templates/main_b2c/components/bitrix/system.pagenavigation/pagenav_with_show_more/style.css?17852351512784 */
/* /local/templates/main_b2c/components/bitrix/news.list/tourism_companies/style.css?17850608752158 */
/* /local/components/b2c/ui.form/templates/text/style.css?17768485281596 */
/* /local/components/b2c/ui.card/templates/tourism/style.css?17768485282628 */
/* /local/components/spll/favorite.add/templates/.default/style.css?17851490771966 */
