.tour-details-background{
    width: 1100%;
    margin-left: -500%;
}
@media (max-width: 991px) {
    .tour-details-background{
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }
}

.tour-view {
    background: hsl(var(--secondary) / 0.02);
}

@media (max-width: 991px) {
    .breadcrumb__list {
        flex-wrap: wrap;
    }
}

.tour-view__content > h2 {
    max-width: 780px;
    margin-bottom: 28px;
    color: hsl(var(--secondary));
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.18;
}

.tour-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    margin: 0;
    padding: 13px 16px;
    border-top: 1px solid hsl(var(--secondary) / 0.1);
    border-bottom: 1px solid hsl(var(--secondary) / 0.1);
    list-style: none;
}

.tour-facts li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: 0;
    color: hsl(var(--secondary));
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.tour-facts .material-icons {
    flex: 0 0 auto;
    color: hsl(var(--base));
    font-size: 1.15rem;
}

.tour-facts span {
    min-width: 0;
}

.tour-date-card small {
    display: block;
    margin-bottom: 3px;
    color: hsl(var(--secondary) / 0.58);
    font-size: 0.72rem;
    font-weight: 400;
}

.tour-view__section {
    margin-top: 42px;
}

.tour-view__section h3,
.tour-booking-widget h3 {
    margin-bottom: 16px;
    color: hsl(var(--secondary));
    font-size: 1.25rem;
    font-weight: 600;
}

.tour-view__section p {
    margin-bottom: 16px;
    color: hsl(var(--secondary) / 0.72);
    line-height: 1.75;
}

.tour-included-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px !important;
}

.tour-faq .accordion-item {
    overflow: hidden;
    border-color: hsl(var(--secondary) / 0.1);
}

.tour-faq .accordion-button {
    color: hsl(var(--secondary));
    font-weight: 600;
}

.tour-faq .accordion-button:not(.collapsed) {
    background: hsl(var(--base) / 0.08);
    box-shadow: none;
}

.tour-faq .accordion-button:focus {
    border-color: hsl(var(--base) / 0.4);
    box-shadow: 0 0 0 3px hsl(var(--base) / 0.08);
}

.tour-faq .accordion-body p {
    margin: 0;
}

.tour-booking-widget {
    position: sticky;
    top: 110px;
    margin-top: 0;
    padding: 24px;
    border: 1px solid hsl(var(--secondary) / 0.1);
    border-radius: 5px;
    background: hsl(var(--white));
    border-color: hsl(var(--secondary) / 0.1);
    box-shadow: 0 14px 38px hsl(var(--secondary) / 0.08);
}

.tour-booking-widget > .btn-magnetic {
    width: 100%;
    justify-content: center;
}

.tour-booking-widget__dates {
    display: grid;
    gap: 10px;
}

.tour-date-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 10px 12px;
    border: 1px solid hsl(var(--secondary) / 0.09);
    border-radius: 5px;
    color: hsl(var(--secondary));
    font-weight: 600;
}

.tour-date-card .material-icons {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: hsl(var(--base) / 0.1);
    color: hsl(var(--secondary));
}

.tour-booking-widget__section {
    margin-top: 26px;
}

.tour-ticket-list,
.tour-service-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tour-ticket-list li,
.tour-service-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    color: hsl(var(--secondary) / 0.72);
    font-size: 0.94rem;
}

.tour-service-item strong {
    flex: 0 0 auto;
    color: hsl(var(--secondary));
    font-size: 0.9rem;
    font-weight: 600;
}

.tour-ticket-list li {
    align-items: center;
}

.tour-ticket-list li > span:first-child {
    display: grid;
    gap: 2px;
}

.tour-ticket-list li small {
    color: hsl(var(--secondary));
    font-size: 0.85rem;
    font-weight: 600;
}

.tour-ticket-counter {
    display: inline-grid;
    grid-template-columns: 30px 28px 30px;
    align-items: center;
    overflow: hidden;
    border: 1px solid hsl(var(--secondary) / 0.16);
    border-radius: 5px;
    background: hsl(var(--white));
}

.tour-ticket-counter button {
    display: inline-flex;
    width: 30px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: hsl(var(--secondary));
    font-size: 1.15rem;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.tour-ticket-counter button:hover,
.tour-ticket-counter button:focus-visible {
    background: hsl(var(--base));
    color: hsl(var(--white));
    outline: 0;
}

.tour-ticket-counter button:disabled {
    background: transparent;
    color: hsl(var(--secondary) / 0.28);
    cursor: not-allowed;
}

.tour-ticket-counter output {
    color: hsl(var(--secondary));
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.tour-service-item {
    margin: 0;
    cursor: pointer;
}

.tour-service-item > span {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.tour-service-item input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: hsl(var(--base));
}

.tour-booking-widget__total {
    margin-top: 26px;
    padding: 20px 0 18px;
    border-top-color: hsl(var(--secondary) / 0.1);
}

.tour-booking-widget__total h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    font-size: 1.3rem;
}

.tour-booking-widget__total h3 span {
    font-size: 1.45rem;
}

.tour-route {
    padding-top: 48px;
    background: hsl(var(--white));
}

.tour-route__header {
    margin-bottom: 28px;
}

.tour-route__header h2 {
    margin: 0;
}

.tour-route__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
}

.tour-route .tour-route__layout {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.tour-route-map {
    position: relative;
    min-width: 0;
    height: 420px;
    overflow: hidden;
    border: 1px solid hsl(var(--secondary) / 0.12);
    border-radius: 5px;
    background: #eef3ee;
}

.tour-route .tour-route-map {
    flex: 1 1 60%;
    height: 480px;
    min-height: 480px;
}

.tour-route-map__yandex {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tour-route .tour-route-map__yandex {
    width: 100%;
    height: 100%;
}

.tour-route-map__status {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    padding: 10px 14px;
    border-radius: 5px;
    background: hsl(var(--white) / 0.94);
    box-shadow: 0 6px 20px hsl(var(--secondary) / 0.12);
    color: hsl(var(--secondary) / 0.7);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.tour-route-map.is-yandex-ready .tour-route-map__status {
    display: none;
}

.tour-route-map.has-map-error .tour-route-map__status {
    max-width: calc(100% - 32px);
    color: hsl(var(--secondary));
    text-align: center;
    white-space: normal;
}

.tour-route-points {
    display: grid;
    align-content: start;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid hsl(var(--secondary) / 0.1);
    border-radius: 5px;
    background: hsl(var(--white));
    list-style: none;
    counter-reset: route-point;
}

.tour-route .tour-route-points {
    flex: 1 1 40%;
    height: 480px;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding-right: 8px;
}

.tour-route-points li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 70px;
    padding: 12px 16px;
    border-bottom: 1px solid hsl(var(--secondary) / 0.08);
    color: hsl(var(--secondary));
    font-weight: 600;
}

.tour-route-points li:last-child {
    border-bottom: 0;
}

@media (min-width: 992px) {
    .tour-route-points li:last-child {
        border-bottom: 1px solid hsl(var(--secondary) / 0.08);
    }
}

.tour-route-points li span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: hsl(var(--base));
    color: hsl(var(--white));
}

@media (max-width: 991px) {
    .tour-booking-widget {
        position: static;
    }

    .tour-route .tour-route__layout {
        flex-direction: column;
    }

    .tour-route .tour-route-map,
    .tour-route .tour-route-points {
        flex: 1 1 auto;
    }

    .tour-route .tour-route-map {
        height: 380px;
        min-height: 380px;
    }

    .tour-route .tour-route-points {
        height: auto;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .tour-included-list {
        grid-template-columns: 1fr 1fr;
    }

    .tour-route .tour-route-map {
        height: 340px;
        min-height: 340px;
    }
}

@media (max-width: 575px) {
    .tour-view {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .tour-included-list {
        grid-template-columns: 1fr;
    }

    .tour-facts {
        justify-content: flex-start;
        gap: 10px 16px;
        padding-inline: 0;
    }

    .tour-facts li {
        flex: 1 1 calc(50% - 8px);
    }

    .tour-booking-widget {
        padding: 20px 16px;
    }

    .tour-route {
        padding-bottom: 60px !important;
    }

    .tour-route .tour-route-map {
        height: 270px;
        min-height: 270px;
    }

    .tour-news {
        padding-bottom: 60px !important;
    }

    .tour-news .mt-60 {
        margin-top: 34px;
    }

}

@media (min-width: 992px) {
    .container .tour-view{
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

    .tour-news {
        margin-top: 75px !important;
        padding-bottom: 60px !important;
    }

    .tour-route{
        padding-bottom: 0px !important;
    }
