#tl-booking-form {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 50px;
}

@media (max-width: 700px) {
    #tl-booking-form {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 400px) {
    #tl-booking-form {
        padding: 0;
    }
}

body:has(#tl-booking-form).menu-open::before {
    z-index: 2147483632;
}

body:has(#tl-booking-form) .mobile-menu.active {
    z-index: 2147483633;
}

body:has(#tl-booking-form).menu-open .fixed-header {
    z-index: 2147483634;
}

#block-search,
#block-search * {
    box-sizing: border-box;
}

#block-search {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 15px 0px #0000000D;
    width: 100%;
    max-width: 1000px;
}


@media (max-width: 1700px) {
    #block-search.block-search--main {
        max-width: 900px;
    }
    .promo-banner .banner-title {
    font-size: 18px;
    }
    .promo-banner .feature-text {
    font-size: 14px;
    }
    .promo-banner .feature-icon {
    font-size: 18px;
    width: 25px;
    height: 25px;
    }
}

@media screen and (max-width: 1440px) {
    #block-search.block-search--main {
        max-width: 800px;
    }
}

@media screen and (max-width: 1440px) {
    .fixed-booking .booking-form {
        max-width: 900px;
    }
}

@media screen and (max-width: 1030px) {
    .sl-rate,
    .map-end {
        flex-wrap: wrap;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-content>div {
        width: 100%;
    }
}

.hero-slider {
    min-height: 720px;
}

@media screen and (max-width: 1440px) {
    .hero-slider {
        min-height: 960px;
    }
}

@media screen and (max-width: 460px) {
    .tl-after.container {
        margin-bottom: 155px;
    }
    .hero-slider {
        min-height: 505px;
    }
    .social-panel {
    top: 30%;
    }
}

@media screen and (max-width: 395px) {
    .tl-after.container {
        margin-bottom: 320px;
    }
    .hero-slider {
        min-height: 650px;
    }
}

.tl-container {
    padding: 0 20px;
}

.fixed-booking #block-search {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
}

#block-search.block-search--mobile {
    display: none;
}

@media (max-width: 1143px) {
    .fixed-booking {
        display: none;
    }

    #block-search.block-search--mobile {
        display: block;
        margin: 100px 10px 25px;
        width: unset;
        max-width: none;
    }
}

@media (max-width: 768px) {
    #block-search.block-search--mobile {
        margin-top: 25px;
    }
}
/* Дополнительные стили для TravelLine виджета в sticky header */

/* Контейнер формы в sticky header */
#sticky-booking-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* TravelLine форма в sticky header */
#tl-search-form-sticky {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Убираем лишние отступы */
.sticky-booking #tl-search-form-sticky > div {
    margin: 0 !important;
    padding: 0 !important;
}

/* Стилизация полей формы */
.sticky-booking .tl-search-form {
    display: flex !important;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.sticky-booking .tl-search-form__field {
    flex: 1;
    min-width: 100px;
}

.sticky-booking .tl-search-form__button {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Убираем фон у полей */
.sticky-booking .tl-search-form__field input,
.sticky-booking .tl-search-form__field select {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
}

/* Стилизация кнопки поиска */
.sticky-booking .tl-search-form__button button {
    background: #2d8659 !important;
    color: white !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.sticky-booking .tl-search-form__button button:hover {
    background: #1a5f4a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3) !important;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .sticky-booking .tl-search-form {
        gap: 8px;
    }
    
    .sticky-booking .tl-search-form__field {
        min-width: 90px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #sticky-booking-wrapper {
        padding: 8px;
    }
    
    .sticky-booking .tl-search-form {
        flex-wrap: wrap;
    }
    
    .sticky-booking .tl-search-form__field {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }
    
    .sticky-booking .tl-search-form__button {
        flex: 1 1 100%;
    }
    
    .sticky-booking .tl-search-form__button button {
        width: 100%;
    }
}

/* Скрытие на очень маленьких экранах */
@media (max-width: 640px) {
    #sticky-booking-wrapper {
        display: none;
    }
}