
.travelone-compact-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.travelone-compact-container {
    margin-top: -271px;
    width: 100%;
    padding: 15px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

/* ГЛАВНАЯ СТРОКА ФОРМЫ - ВСЕ ПОЛЯ В ОДНУ ЛИНИЮ */
.travelone-form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: -70px;
}

/* ОБЩИЙ СТИЛЬ ДЛЯ ВСЕХ ПОЛЕЙ */
.form-field {
    display: flex;
    flex-direction: column;
    height: 65px;
}

.form-field label {
    font-size: 13px;
    color: white;
    margin-bottom: 4px;
    font-weight: 500;
    white-space: nowrap;
}

/* ПОЛЯ ВВОДА - ОДИНАКОВЫЕ */
.travelone-input,
.travelone-select {
    width: 100%;
    height: 36px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px !important;
    line-height: 1.4;
    background: white;
    transition: all 0.2s;
    color: #227877 !important;
    cursor: pointer;
}

.travelone-input:focus,
.travelone-select:focus {
    border-color: #ff8c00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.1);
}

/* ГОРОД ОТПРАВЛЕНИЯ */
.field-departure {
    min-width: 120px;
}

/* ДАТЫ */
.field-date {
    min-width: 100px;
    position: relative;
}

/* НАПРАВЛЕНИЕ */
.field-direction {
    min-width: 140px;
}

/* НОЧИ */
.field-nights {
    min-width: 70px;
}

/* ВЗРОСЛЫЕ/ДЕТИ */
.field-persons {
    min-width: 80px;
}

/* КНОПКА ПОИСКА */
.field-submit {
    min-width: 110px;
    margin-bottom: -10px;
}

.travelone-button {
    height: 36px;
    padding: 0 55px;
    background: #29ccca;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
}

.travelone-button:hover {
    background: #29ccca;
    transform: translateY(-1px);
}

/* ВОЗРАСТ ДЕТЕЙ - ВЫПАДАЮЩЕЕ МЕНЮ */
.children-age-field {
    min-width: 100px;
}

.children-dropdown {
    position: relative;
    width: 100%;
    height: 33px;
}

.children-dropdown-btn {
    width: 100%;
    height: 36px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    text-align: left;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.children-dropdown-btn:hover {
    border-color: #999;
}

/* ВЫПАДАЮЩЕЕ МЕНЮ - КАК В ПРИМЕРЕ */
.children-dropdown-content {
    display: none;
    min-width: 241px;
    padding: 6px 12px;
    margin-top: -17px;
    font-size: 13px;
    color: #495057;
    text-align: left;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 
                0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 
                0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 
                0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
    animation: fade-in2 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

/* Анимация появления */
@keyframes fade-in2 {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Когда меню открыто */
.children-dropdown-content.show {
    display: block;
    height: 140px;
    position:inherit !important;
    z-index:1000 !important;
}

/* ЗАГОЛОВОК */
.children-dropdown-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    padding-bottom: 4px;
    text-align: center;
}

/* КОНТЕЙНЕР С ВОЗРАСТАМИ - В СТРОКУ КОМПАКТНО */
#children-age-fields {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

/* КАЖДОЕ ПОЛЕ С ВЫБОРОМ ВОЗРАСТА */
.child-age-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-width: 70px;
    flex: 1;
}

.child-age-item label {
    display: block;
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.child-age-select {
    width: 100%;
    height: 28px;
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 11px;
    text-align: center;
    transition: border-color 0.2s;
    background: white;
}

.child-age-select:focus {
    border-color: #ff8c00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.1);
}

/* КНОПКА ОК */
.dropdown-close-btn {
    width: 100%;
    padding: 6px;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.2;
}

.dropdown-close-btn:hover {
    background: #e67e00;
}

/* ==================== НАВИГАЦИОННЫЕ КНОПКИ ==================== */
.travelone-nav-simple {
    display: flex;
    justify-content: space-between;
    background: #f5f5f5;
    gap: 1px;
    height: 50px;
}

.nav-simple-btn {
    flex: 1;
    padding: 10px 5px;
    background: white;
    border: 1px solid #227877;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #227877;
    text-align: center;
    transition: all 0.2s;
}

.nav-simple-btn:hover {
    background: #f0f0f0;
}

.nav-simple-btn.active {
    background: #227877;
    color: white;
    font-weight: 700;
}

/* ==================== РЕЗУЛЬТАТЫ ПОИСКА ==================== */
.travelone-results {
    line-height: 1;
    margin-top: -35px;
}

.travelone-results__divs {
    margin: 100px 0px 0px 0px;
}

/* ОБЕРТКА ДЛЯ ФИЛЬТРОВ И КАРТОЧЕК */
.travelone-results-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* ФИЛЬТРЫ СЛЕВА (30%) — раскрываются по клику */
.travelone-filters {
    flex: 0 0 24%;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    height: fit-content;
}

.travelone-filters-collapsible {
    padding: 0;
    overflow: hidden;
}

.travelone-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: #227877;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    transition: background 0.2s;
}

.travelone-filters-toggle:hover {
    background: #1a6463;
}

.travelone-filters-toggle-icon {
    transition: transform 0.25s ease;
    font-size: 12px;
}

.travelone-filters-collapsible:not(.is-collapsed) .travelone-filters-toggle-icon {
    transform: rotate(180deg);
}

.travelone-filters-body {
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
}

.travelone-filters-collapsible.is-collapsed .travelone-filters-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
}

/* КАРТОЧКИ СПРАВА (70%) */
.travelone-hotels {
    margin-top:-22px;
    flex: 0 0 74%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* СТИЛИ ФИЛЬТРОВ */
.filter-section {
    padding: 8px 0 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #227877;;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Кнопка‑заголовок для каждой секции фильтров */
.filter-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    background: #f5fbfb;
    border: 1px solid #d7e8e8;
    border-radius: 4px;
    cursor: pointer;
}

.filter-section-toggle-icon {
    font-size: 11px;
    color: #227877;
    transition: transform 0.25s ease;
}

.filter-section:not(.is-collapsed) .filter-section-toggle-icon {
    transform: rotate(180deg);
}

.filter-section.is-collapsed .filter-options {
    display: none;
}

.filter-options {
    display: flex;
    flex-direction: column;
    padding: 8px 4px 0 4px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.filter-label {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.filter-label:hover {
    color: #227877;
}

.star-icons {
    color: #f1c40f;
    font-size: 20px;
}

.filter-apply-btn,
.filter-reset-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

.filter-apply-btn {
    background: #227877;
    color: white;
}

.filter-apply-btn:hover {
    background: #1a6463;
}

.filter-reset-btn {
    background: #6c757d;
    color: white;
}

.filter-reset-btn:hover {
    background: #5a6268;
}

/* КАРТОЧКИ ОТЕЛЕЙ */
.travelone-hotel-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, opacity 0.3s ease, transform 0.3s ease, margin 0.3s ease;
    margin-bottom: 16px;
    display: block;
    opacity: 1;
    width: 100%;
    box-sizing: border-box;
    transform: scale(1);
    cursor: pointer;
}

.travelone-hotel-card.filtered-out {
    display: none !important;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden;
    border: none !important;
}

.travelone-hotel-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.hotel-name {
    margin-bottom: 14px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    flex-wrap: wrap;
}

.hotel-name strong {
    margin-left: -5px;
    text-transform: uppercase;
    border-radius: 8px;
    color: white;
    padding: 4px;
    font-size: 18px;
    font-weight: 800;
    background: #227877;
    font-family: Montserrat, sans-serif;
}
.hotel-stars {
    color: #f1c40f;
    font-size: 16px;
    margin-left: 8px;
    font-weight: normal;
}

.hotel-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.hotel-info-left {
    text-align:left;
    flex: 1;
}

.hotel-info-item {
    height:14px;
    font-size: 14px;
    display: flex;
    margin-bottom: 18px;
}

.hotel-info-item:last-child {
    margin-bottom: 10px;
}

.info-label {
    color: #666;
    font-weight: 500;
    margin-right: 12px;
    min-width: 140px;
}

.info-value {
    color: #333;
    flex: 1;
}

.hotel-info-right {
    margin-top: auto;
    text-align: right;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hotel-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff5500;
    margin-bottom: 15px;
}

.hotel-book-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.hotel-book-btn:hover {
    background: #27ae60;
}

/* Circuite cards: cleaner typography and spacing */
.travelone-hotel-card.admiral-exc-card {
    background: #f9fcfc;
    border-color: #dbe9e9;
}

.travelone-hotel-card.admiral-exc-card .hotel-name strong {
    margin-left: 0;
    text-transform: none;
    letter-spacing: 0;
    background: transparent;
    color: #1e6f70;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
}

.travelone-hotel-card.admiral-exc-card .hotel-info-item {
    height: auto;
    min-height: 20px;
    margin-bottom: 9px;
    align-items: flex-start;
    font-size: 14px;
}

.travelone-hotel-card.admiral-exc-card .info-label {
    min-width: 140px;
    color: #4c6666;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.travelone-hotel-card.admiral-exc-card .info-value {
    color: #2c4040;
    line-height: 1.4;
    font-size: 14px;
}

.travelone-hotel-card.admiral-exc-card .hotel-price {
    font-size: 30px;
    line-height: 1.1;
}

.travelone-hotel-card.admiral-exc-card .hotel-info-right {
    min-width: 190px;
}

.travelone-hotel-card.admiral-exc-card .exc-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 12px 0;
}

.travelone-hotel-card.admiral-exc-card .exc-summary-media {
    display: block;
    flex: 0 0 220px;
    width: min(220px, 100%);
    height: 125px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.travelone-hotel-card.admiral-exc-card .exc-summary-content {
    min-width: 0;
}

.travelone-hotel-card.admiral-exc-card .exc-summary-item {
    font-size: 14px;
    line-height: 1.4;
    color: #2c4040;
    margin-bottom: 5px;
}

.travelone-hotel-card.admiral-exc-card .exc-summary-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #2c4040;
}

/* СТИЛИ ДЛЯ ДАТЫ */
.travelone-input[type="date"]::-webkit-calendar-picker-indicator {
    display: none !important;
}

.travelone-input[type="date"]::-webkit-inner-spin-button,
.travelone-input[type="date"]::-webkit-clear-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.travelone-input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
}

.wp-block-preformatted {
    margin: 0 auto;
    width:100%;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .travelone-form-row {
        flex-wrap: wrap;
    }
    
    .form-field {
        min-width: calc(25% - 10px);
    }
}

@media (max-width: 992px) {
    .travelone-results-wrapper {
        flex-direction: column;
    }
    
    .travelone-filters {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .travelone-hotels {
        flex: 0 0 auto;
        width: 100%;
        margin-top:-24px;
    }
}

@media (max-width: 768px) {
    .hotel-name strong{
        width: 100%;
        margin-bottom:10px;
    }
    .travelone-form-row {
        flex-direction: column;
        gap: 12px;
        padding:10px 10px 20px 10px !important;
    }
    
    .form-field {
        width: 100%;
        height: auto;
    }
    
    .children-dropdown-content {
        min-width: auto;
    }
    
    #children-age-fields {
        flex-wrap: wrap;
    }
    
    .child-age-item {
        min-width: 60px;
        flex: 0 0 calc(33.333% - 8px);
    }
    
    .hotel-card-body {
        flex-direction: column;
        gap: 15px;
    }
    
    .hotel-info-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .travelone-nav-simple {
        margin-bottom: 27px;
        flex-wrap: wrap;
    }
    
    .nav-simple-btn {
        flex: 0 0 calc(50% - 1px);
        padding: 8px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-simple-btn {
        flex: 0 0 100%;
    }
    
    .travelone-nav-simple{
        margin-bottom: 105px;
    }
}




/* ==================== ИКОНКИ ОТЕЛЯ ==================== */
.hotel-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hotel-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: opacity 0.2s;
}

.hotel-icon:hover {
    opacity: 0.8;
}

.hotel-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.date-available-orange{
    background: orange !important;
}


/* Подсказки для дат */
.ui-state-default[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    white-space: pre-line;
    z-index: 1001;
    font-size: 12px;
    min-width: 150px;
    text-align: center;
    pointer-events: none;
}

/* Скрываем легенду на мобильных */
@media (max-width: 768px) {
    .travelone-calendar-legend {
        font-size: 8px !important;
        padding: 3px !important;
    }
    
}

.calendar-loader {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    text-align: center;
    z-index: 1000;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.field-date {
    position: relative;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Лоадер для загрузки календаря */
.travelone-calendar-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 120, 119, 0.55);
    backdrop-filter: blur(5px);
    z-index: 100001;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.loader-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: block;
    margin: 0 auto;
}

.loader-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loader-dots span {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Лоадер для поиска туров */
.search-loader-wrapper {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-loader-container {
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.search-loader-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.search-loader-logo {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: logoPulse 2s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.search-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #227877;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.search-loader-text {
    font-size: 16px;
    color: #227877;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.search-loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.search-loader-dots span {
    width: 10px;
    height: 10px;
    background: #227877;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s ease-in-out infinite both;
}

.search-loader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.search-loader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

/* Сообщение когда не найдено туров */
.no-results-message {
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-results-icon {
    margin-bottom: 0px;
}

.sad-plane-icon {
    max-width: 150px;
    height: auto;
    display: block;
}

.no-results-text {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}

.no-results-text h3 {
    font-size: 24px;
    font-weight: 800;
    color:#227877;
}

.no-results-text p {
    font-size: 16px;
    color:#227877;
    margin: 0;
    font-weight: 800;
}

.info-value_hotelse{
    color:#227877 !important;
    font-weight:600;
}

.vilet{
   margin: -14px 0px 0px -32px; 
}


/* Стили для поиска отеля */
#hotel-search-input:focus {
    outline: none;
    border-color: #227877;
    box-shadow: 0 0 0 2px rgba(34, 120, 119, 0.2);
}

#search-clear:hover {
    color: #ff6b6b;
}

/* Подсветка найденного текста */
.hotel-card-highlight {
    background-color: #F5F5DC  !important;
    color: #333 !important;
}


/* Индикатор поиска */
.searching-indicator {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: right;
}










#travelone-search-form *,
#travelone-search-form input,
#travelone-search-form select,
#travelone-search-form option,
#travelone-search-form button,
#travelone-search-form label,
#travelone-search-form span {
    font-family: Montserrat, sans-serif !important;
}

/* Курсор pointer на всех кликабельных элементах формы и результатов */
#travelone-search-form button,
#travelone-search-form select,
#travelone-search-form .travelone-input[readonly],
.travelone-filters-toggle,
.travelone-filters button,
.travelone-filters .filter-checkbox,
.travelone-filters .filter-label,
.travelone-hotel-card,
.hotel-book-btn,
.hotel-icon,
.hotel-favorite,
.hotel-share,
.travelone-nav-simple .nav-simple-btn {
    cursor: pointer;
}


/* Для всего плагина TravelOne */
.travelone-wrapper,
.travelone-search-form,
.travelone-results,
.travelone-filters,
.travelone-hotel-card {
    font-family: Montserrat, sans-serif !important;
}

/* Специфические веса для разных элементов */
.hotel-name strong {
    font-weight: 700 !important; /* Montserrat Bold */
}

.hotel-price {
    font-weight: 800 !important; /* Montserrat ExtraBold */
}

.filter-label,
.hotel-info-item {
    font-weight: 400 !important; /* Montserrat Regular */
}

.btn,
.hotel-book-btn {
    font-weight: 600 !important; /* Montserrat SemiBold */
}







/* ==================== МОДАЛЬНОЕ ОКНО БРОНИРОВАНИЯ ==================== */
.travelone-booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.travelone-booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.travelone-booking-modal {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.travelone-booking-modal-overlay.active .travelone-booking-modal {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #227877;
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

.hotel-summary {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #227877;
}

.hotel-summary h4 {
    margin-top: 0;
    color: #227877;
    font-size: 1.2rem;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    font-size: 14px;
}

.summary-details p {
    margin: 5px 0;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #227877;
    box-shadow: 0 0 0 2px rgba(34, 120, 119, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.adult-fields-group {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.adult-fields-group h4 {
    margin-top: 0;
    color: #555;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

.submit-booking-btn,
.cancel-booking-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-booking-btn {
    background: #227877;
    color: white;
}

.submit-booking-btn:hover {
    background: #1a615f;
}

.submit-booking-btn:disabled {
    background: #8dc8c6;
    cursor: not-allowed;
}

.cancel-booking-btn {
    background: #f0f0f0;
    color: #666;
}

.cancel-booking-btn:hover {
    background: #e0e0e0;
}

/* Сообщения */
.booking-success {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.booking-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #c62828;
}

.error {
    border-color: #ff6b6b !important;
}

#travelone-search-form{
    padding:10px; 
    background:#227877;
}

/* Адаптивность */
@media (max-width: 768px) {
    .travelone-booking-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .travelone-compact-container{
        padding:10px 20px !important;
        margin-top: -33px;
    }
    
    .travelone-form-row{
        margin-bottom:10px;
    }
    
    .persons-info_wrap{
        margin-left: 0px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .summary-details {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-booking-btn,
    .cancel-booking-btn {
        width: 100%;
    }
}

@media (max-width: 424px) {
    .hotel-icons{
        margin-top: 10px;
    }
}



@media (max-width: 456px) {
    .hotel-info-left{
        margin-top: 22px;
        display:flex;
        flex-direction:column;
        gap:6px;
    }
    
    .hotel-info-item {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .hotel-info-left{
        gap:16px;
    }
    
     .hotel-info-item {
        font-size: 12px;
    }
}


@media (max-width: 500px){
    .travelone-results__divs{
        flex-wrap:wrap;  
        margin: 46px 0px 30px 0px;
    }
    .hotel-search-box{
        margin:0 auto;
    }
}

            
            
/* Убираем лишние отступы между карточками */
#travelone-results-content {
    padding: 0;
    margin: 0;
}


.road-nights-plus {
    color: #ff8c00;
    font-weight: 600;
}    






/* Оптимизация рендеринга */
#travelone-results-content {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    contain: content;
}

.travelone-hotel-card {
    will-change: transform, opacity;
    contain: layout style paint;
}

/* Индикатор фильтрации */
.filter-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    font-size: 14px;
    color: #227877;
}

.filter-loading:after {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #227877;
    border-top-color: transparent;
    border-radius: 50%;
    animation: filterSpin 0.8s linear infinite;
    margin-right: 10px;
}

@keyframes filterSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Оверлей загрузки вариантов перелёта */
.travelone-flight-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100002;
    backdrop-filter: blur(3px);
}
.travelone-flight-loading-box {
    background: #fff;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 260px;
}
.travelone-flight-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #227877;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.travelone-flight-loading-text {
    font-size: 15px;
    font-weight: 600;
    color: #227877;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}
.travelone-flight-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #227877;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.tour_search_form{
    display:none !important;
}