#elementor-popup-modal-3151 .dialog-message{width:900px;height:auto;}#elementor-popup-modal-3151{justify-content:center;align-items:center;pointer-events:all;background-color:rgba(0,0,0,.8);}#elementor-popup-modal-3151 .dialog-close-button{display:flex;top:20%;background-color:#FFFFFF00;font-size:18px;}#elementor-popup-modal-3151 .dialog-widget-content{background-color:#F2EAE1;border-radius:15px 15px 15px 15px;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}body:not(.rtl) #elementor-popup-modal-3151 .dialog-close-button{right:20%;}body.rtl #elementor-popup-modal-3151 .dialog-close-button{left:20%;}#elementor-popup-modal-3151 .dialog-close-button i{color:#000000;}#elementor-popup-modal-3151 .dialog-close-button svg{fill:#000000;}/* Start custom CSS for column, class: .elementor-element-119f12d */.elementor-3151 .elementor-element.elementor-element-119f12d { min-height: 500px; }/* End custom CSS */
/* Start custom CSS *//* --- 1. СТИЛИЗАЦИЯ ИНТЕРФЕЙСА МОДУЛЯ --- */

/* Главные кнопки */
.searchRoomsButton__2fSnk, 
.bookButton__1BNgo, 
.proceedButton__2Bs38 {
    background-color: #5b6d5b !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease !important;
}

.searchRoomsButton__2fSnk:hover, 
.bookButton__1BNgo:hover, 
.proceedButton__2Bs38:hover {
    background-color: #4a5a4a !important;
}

/* Заголовки */
.mdc-typography--headline6, 
.title__2byF1 {
    font-family: 'Montserrat', sans-serif !important;
    color: #333 !important;
    font-weight: 700 !important;
}

/* Карточки номеров */
.categoryElevation__2i45G {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
    border: 1px solid #eee !important;
}

/* Корзина */
.shoppingCartElevation__3cfLB {
    border-radius: 8px !important;
    border: 1px solid #5b6d5b !important;
    box-shadow: none !important;
}

/* Календарь и цены */
.CalendarIcon svg { fill: #5b6d5b !important; }
.DayInput { border-radius: 4px !important; border: 1px solid #ddd !important; }
.categoryAvailability__3G8uy b, .price__1KHx_ b { color: #5b6d5b !important; }

/* --- 2. РЕШЕНИЕ КОНФЛИКТА С ГАЛЕРЕЕЙ И ПОП-АПОМ --- */

/* ПРИНУДИТЕЛЬНО поднимаем кнопку закрытия поп-апа выше всего */
.elementor-popup-modal .dialog-close-button {
    z-index: 2147483647 !important; 
    position: fixed !important; /* Фиксируем, чтобы всегда была поверх оверлея галереи */
}

/* Галерея EasyMS: чуть ниже кнопки закрытия, но выше самого поп-апа */
#lightboxBackdrop,
.container_9tizg4,
.lg-outer,
.lg-backdrop {
    z-index: 2147483640 !important; /* На 7 пунктов ниже кнопки закрытия */
    display: flex !important;
}

/* Сам поп-ап Elementor: стандартный слой */
.elementor-popup-modal {
    z-index: 9999 !important;
}

/* Разрешаем вылет элементов за пределы контейнера */
.elementor-location-popup, 
.elementor-widget-container {
    overflow: visible !important;
    transform: none !important; /* Убираем transform, так как он создает новый контекст наложения */
}

/* 3. Кнопка закрытия (Крестик Elementor) */
body .elementor-popup-modal .dialog-close-button {
    display: flex !important;
    z-index: 2147483647 !important; 
    color: #333333 !important;
    opacity: 1 !important;
    visibility: visible !important;
    
    /* Позиционирование относительно формы, а не экрана */
    position: absolute !important; 
    top: 15px !important; 
    right: 15px !important;
    
    /* Убираем лишние отступы, если они были */
    margin: 0 !important;
    padding: 5px !important;
}

/* Увеличим саму иконку, чтобы по ней было легче попасть */
.elementor-popup-modal .dialog-close-button i {
    font-size: 24px !important;
    line-height: 1 !important;
}/* End custom CSS */