

/* Start:/bitrix/components/bitrix/map.yandex.system/templates/.default/style.css?1768215697666*/
div.bx-yandex-map {color: black; font-size: 11px;}
div.bx-yandex-map div.YMaps-b-balloon-content {color: black; font-size: 11px;}
div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td {
	padding: 0px !important;
}


div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td textarea{
	font-size: 11px;
}


div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td.YMaps-b-balloon-b {
	background-image: none !important;
}

/* End */


/* Start:/local/templates/main_b2c/components/bitrix/news.detail/tourism_tour/style.css?17849016872739*/
h1.h-2.b2c-page-title {
    font-size: clamp(1.375rem, 1.2rem + 0.875vw, 2.25rem);
    font-weight: 700;
}

.tour-map-balloon__title {
    text-decoration: none;
    margin-bottom: 8px;
    color: #9c68e5;
}

.tour-map-balloon__desc {
    padding-top: 8px;
}

.tourism-detail__branches {
    display: flex;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tourism-detail__branches-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    border-radius: 14px;
    border: 1px solid var(--q-violet-3);
    color: var(--q-primary);
    font-size: 14px;
    padding: 0 0.5rem;
}

.info-group {
    flex-wrap: wrap;

    @media not all and (min-width: 690px) {

        > :nth-child(1),
        > :nth-child(2) {
            width: 100%;
        }
    }

    @media all and (min-width: 690px) {

        > :nth-child(1),
        > :nth-child(2) {
            width: calc(50% - var(--space-2));
        }
    }

    > :nth-child(3) {
        width: 100%;
    }
}

.info-block {
    border: solid rgb(214, 215, 255) 1px;
}

.info-icon {
    min-width: 56px;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background: #9D8FFE;
}

.tour-program {
    ul {
        padding: var(--space-4) var(--space-8) var(--space-8) 48px;

        li::marker {
            color: var(--q-primary);
        }
    }

    br:last-child {
        display: none;
    }
}

.tour-program-header {
    cursor: pointer;
    padding-bottom: var(--space-4);
    user-select: none;
    transition: padding var(--animate-delay) ease;
}

.tour-program:not(:active) .tour-program-header {
    padding-bottom: var(--space-8);
}

.tour-program-content {
    display: none;
}

.tour-program.active .tour-program-content {
    display: block;
}

.tour-program-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--animate-delay) ease;
    color: rgb(117, 117, 117);
}

.tour-program.active .tour-program-icon {
    transform: rotate(180deg);
}

#BX_YMAP_MAP_zKXRla:not(:has(*)) {
    padding-left: 8px;
}

.b2c-tour-request-btn-mobile {
    display: none !important;
}

@media (max-width: 480px) {
    .pxy8.tourism-detail__description {
        padding-bottom: var(--space-5) !important;
    }

    .b2c-tour-request-btn {
        display: none !important;
    }

    .b2c-btn.b2c-tour-request-btn-mobile {
        display: block !important;
        margin-bottom: var(--space-10) !important;
        min-height: 48px;
        text-align: center;
    }
}

.tourism-detail__description {
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    line-height: 1.4;
}
/* End */


/* Start:/local/components/spll/media.list/templates/tourism_tour/style.css?17768485295470*/
.tourism-gallery-modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tourism-gallery-modal-img,
.tourism-gallery-modal-video {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--br-3);
}

.tourism-gallery-modal-video {
    background: #000;
}

.video-component__preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-component__preview:hover .play-button {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Стили для кнопки воспроизведения на превью */
.video-component .play-button {
    transition: transform 0.3s ease;
}

.video-component:hover .play-button {
    transform: scale(1.1);
}

.tourism-gallery {
    width: 100%;
}

.tourism-gallery__grid {
    display: grid;
    /* For smaller screens, we can add media queries later, but testing desktop now */
    grid-template-columns: 773fr 546fr;
    gap: var(--space-4);
    /* min-height: 434px; */
}

.tourism-gallery__grid-item {
    border-radius: var(--br-3);
    overflow: hidden;
    /*height: 100%;*/
}

.video-component {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--br-3);
    overflow: hidden;
    background-color: #000;
}

.video-component__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-component>div {
    width: 100% !important;
    height: 100% !important;
}

.tourism-gallery__grid-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
    height: 100%;
}

.tourism-gallery__grid-item--small {
    position: relative;
    border-radius: var(--br-3);
    overflow: hidden;
}

.tourism-gallery__grid-image {
   /* width: 100%;
    height: 100%;*/
    object-fit: cover;
    display: block;
}

.tourism-gallery__grid-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--br-3);
    z-index: 2;
}

.tourism-gallery__grid-plus {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    font-family: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.tourism-gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.tourism-gallery-modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--br-3);
}

.tourism-gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.tourism-gallery-modal-prev,
.tourism-gallery-modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: var(--space-4);
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: var(--animate-delay) ease;
    border-radius: 0 var(--br-3) var(--br-3) 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    z-index: 10000;
}

.tourism-gallery-modal-prev {
    left: 0;
}

.tourism-gallery-modal-next {
    right: 0;
    border-radius: var(--br-3) 0 0 var(--br-3);
}

.tourism-gallery-modal-prev:hover,
.tourism-gallery-modal-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive layout for medium screens (between 405px and 920px) */
@media screen and (max-width: 920px) and (min-width: 405px) {
    .tourism-gallery {
        height: auto;
    }

    .tourism-gallery__grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .tourism-gallery__grid-item {
        height: auto !important;
        border-radius: var(--br-5);
        flex-grow: 1;
        display: flex;
    }

    .video-component {
        min-height: 350px !important;
        height: 350px !important;
        width: 100% !important;
    }

    .tourism-gallery__grid-group {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 139px;
        max-width: 100%;
        height: auto;
    }

    .tourism-gallery__grid-item--small {
        height: 139px;
    }
}

@media screen and (max-width: 480px) {
    .tourism-gallery {
        height: auto;
    }

    .tourism-gallery__grid {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: var(--space-2);
    }

    .tourism-gallery__grid-item {
        height: auto !important;
        border-radius: var(--br-3);
        flex-grow: 1;
        display: flex;
    }

    .video-component {
        min-height: 200px !important;
        height: 200px !important;
        width: 100% !important;
    }

    .tourism-gallery__grid-group {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
        grid-template-rows: 80px 80px;
        max-width: 100%;
        height: auto;
        gap: var(--space-2);
    }

    .tourism-gallery__grid-item--small {
        height: 80px;
        border-radius: var(--br-3);
    }

    .tourism-gallery__grid-plus {
        font-size: 20px;
    }
}
/* End */


/* Start:/local/components/spll/tour.request/templates/.default/style.css?17775546622527*/
.b2c-tour-request-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid #1C1B1D33;
    border-radius: 6.6px;
    background: var(--q-secondary-light);;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    vertical-align: middle;
    margin: 0;
    display: inline-block;
}

.b2c-tour-request-checkbox:checked {
    background-color: var(--q-primary);
    border-color: var(--q-primary);
}

.b2c-tour-request-checkbox:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.tour-req-form-fields {
    display: grid;
    gap: var(--space-5) var(--space-3);

    > :nth-child(1) {
        grid-area: c1;
    }

    > :nth-child(2) {
        grid-area: c2;
    }

    > :nth-child(3) {
        grid-area: c3;
    }

    > :nth-child(7) {
        grid-area: c4;
    }

    > :nth-child(9) {
        grid-area: c5;
    }

    @media not all and (min-width: 470px) {
        grid-template-columns: 1fr;
        grid-template-areas: "c1"
            "c2"
            "c3"
            "c4"
            "c5";
    }

    @media all and (min-width: 470px) {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "c1 c1"
            "c2 c3"
            "c4 c5";
    }

    @media all and (min-width: 921px) {
        grid-template-columns: repeat(6, 1fr);
        grid-template-areas: "c1 c1 c2 c2 c3 c3"
            "c4 c4 c4 c5 c5 c5";
    }
}

.tour-request-form-wrapper {
    padding: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
    border-radius: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
    border: 1px solid var(--q-violet-3);
    background-color: var(--q-secondary-light);
}





.tour-request-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tour-request-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--q-primary);
}

.tour-request-form-price {
    font-size: 1rem;
    font-weight: 500;
    color: var(--q-primary);
}

.b2c-tour-request-agree-text {
    font-size: 16px !important;
    font-weight: 500;
    color: black !important;
}

.b2c-tour-request-agree-text a {
    color: var(--q-primary);
}

@media (max-width: 480px) {
    .tour-request-form .b2c-btn {
        width: 100% !important;
    }
}
/* 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.form/templates/date-range/style.css?17768485281629*/
.custom-d-range-label {
    width: 100%;
}

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

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

.custom-d-range-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-d-range-input:hover {
    border-color: var(--q-primary);
}

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

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

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

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

.custom-d-range-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-d-range-icon svg {
    width: 100%;
    height: 100%;
    transition: all var(--animate-duration);
}
/* End */


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

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

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

.custom-number-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-number-input:hover {
    border-color: var(--q-primary);
}

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

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

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

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

.custom-number-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-number-icon svg {
    width: 100%;
    height: 100%;
    transition: all var(--animate-duration);
}
/* End */


/* Start:/local/components/b2b/notification/templates/.default/style.css?17850059875175*/
.notification-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    width: 100%;
    padding: 16px;
}

/* Позиции */
.notification-container--top-right {
    top: 0;
    right: 0;
}

.notification-container--top-left {
    top: 0;
    left: 0;
}

.notification-container--bottom-right {
    bottom: 0;
    right: 0;
}

.notification-container--bottom-left {
    bottom: 0;
    left: 0;
}

.notification-container--top-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.notification-container--bottom-center {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Уведомление */
.notification {
    /* Базовый цвет — фирменный, per-site: --q-primary (B2B #2f8eed / B2C #8654cc),
       фолбэк на --b2b-primary и хардкод. Семантика для success/warning/error. */
    --n-primary: var(--q-primary, var(--b2b-primary, #2f8eed));
    --n-success: #23a26d;
    --n-warning: #ff9800;
    --n-error: #e53935;

    position: relative;
    padding: 16px 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    overflow: hidden;
    min-width: 300px;
    width: 100%;
    /* Базовая (info/дефолт) подсветка — фирменный цвет */
    border-left: 4px solid var(--n-primary);
    transition: all 0.3s ease;
}

.notification--error {
    border-left-color: var(--n-error);
}

.notification--success {
    border-left-color: var(--n-success);
}

.notification--warning {
    border-left-color: var(--n-warning);
}

.notification--info {
    border-left-color: var(--n-primary);
}

.notification__icon {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /* Дефолт — фирменный цвет */
    color: var(--n-primary);
    background: color-mix(in srgb, var(--n-primary) 12%, transparent);
}

.notification--error .notification__icon {
    color: var(--n-error);
    background: color-mix(in srgb, var(--n-error) 12%, transparent);
}

.notification--success .notification__icon {
    color: var(--n-success);
    background: color-mix(in srgb, var(--n-success) 12%, transparent);
}

.notification--warning .notification__icon {
    color: var(--n-warning);
    background: color-mix(in srgb, var(--n-warning) 12%, transparent);
}

.notification--info .notification__icon {
    color: var(--n-primary);
    background: color-mix(in srgb, var(--n-primary) 12%, transparent);
}

.notification__content {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    word-break: break-word;
}

.notification__close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 5px;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.notification__close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.notification__timer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
}

.notification__timer-bar {
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.15);
    animation: timer linear forwards;
}

/* Анимации */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes timer {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.notification--slide {
    animation: slideIn 0.3s ease forwards;
}

.notification--fade {
    animation: fadeIn 0.3s ease forwards;
}

.notification--scale {
    animation: scaleIn 0.3s ease forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
    .notification-container {
        padding: 10px;
        max-width: 100%;
    }

    .notification {
        min-width: auto;
        padding: 12px 16px;
    }

    .notification-container--top-center,
    .notification-container--bottom-center {
        width: 100%;
    }
}
/* End */
/* /bitrix/components/bitrix/map.yandex.system/templates/.default/style.css?1768215697666 */
/* /local/templates/main_b2c/components/bitrix/news.detail/tourism_tour/style.css?17849016872739 */
/* /local/components/spll/media.list/templates/tourism_tour/style.css?17768485295470 */
/* /local/components/spll/tour.request/templates/.default/style.css?17775546622527 */
/* /local/components/b2c/ui.form/templates/text/style.css?17768485281596 */
/* /local/components/b2c/ui.form/templates/date-range/style.css?17768485281629 */
/* /local/components/b2c/ui.form/templates/number/style.css?17768485281618 */
/* /local/components/b2b/notification/templates/.default/style.css?17850059875175 */
