/* Bootstrap Carousel - ПО 1 НОМЕРУ НА СЛАЙД С ЧАСТИЧНОЙ ВИДИМОСТЬЮ СОСЕДНИХ СЛАЙДОВ */
#roomsCarousel {
    padding: 20px 0 0px;
    position: relative;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    left: 0 !important;
    right: 0 !important;
    overflow: visible;
}

#roomsCarousel .carousel-inner {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 8%;
}

#roomsCarousel .carousel-item {
    display: none;
    position: relative;
    width: 100%;
    transition: transform 0.6s ease-in-out;
    backface-visibility: hidden;
    perspective: 1000px;
    float: left !important;
    margin-right: -100% !important;
}

/* Показываем активный и соседние слайды */
#roomsCarousel .carousel-item.active,
#roomsCarousel .carousel-item-next,
#roomsCarousel .carousel-item-prev {
    display: block !important;
}

/* Затемняем и уменьшаем соседние слайды */
#roomsCarousel .carousel-item-next,
#roomsCarousel .carousel-item-prev {
    opacity: 0.7;
    filter: brightness(0.8);
    pointer-events: none;
}

/* Активный слайд - полная видимость */
#roomsCarousel .carousel-item.active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
    pointer-events: auto;
    z-index: 10;
}

/* Контейнер для слайда */
.rooms-slider-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Эффект для контента внутри соседних слайдов */
#roomsCarousel .carousel-item-next .rooms-slider-wrapper,
#roomsCarousel .carousel-item-prev .rooms-slider-wrapper {
    opacity: 0.6;
    transform: scale(0.97);
    transition: all 0.3s ease;
}

#roomsCarousel .carousel-item.active .rooms-slider-wrapper {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.pagetitle_roboto {
    font-family: 'Roboto', sans-serif !important;
}

/* Карточка номера */
.rooms-slider-single {
    display: block;
    width: 100%;
}

/* ИСПРАВЛЕНО: Добавлена высота для элемента с background-image */
.rooms-slider-single .service-image-items-1 {
    width: 100% !important;
    height: 500px !important;
    position: relative;
    overflow: visible !important;  /* <- ИСПРАВЛЕНО */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
} 

/* Скрываем старые стили для img, но оставляем для мобильной версии */
.rooms-slider-single img {
    display: none;
}

/* Контейнер для контента - поверх изображения */
.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 40px 30px 30px;
    transition: all 0.3s ease;
    border-radius: 0 0 8px 8px;
}

/* Заголовок и цена */
.service-content .room-rate {
    color: #B99D75;
    font-weight: 700;
    font-size: 1.3em;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #B99D75;
}

.service-content .title {
    margin: 10px 0 15px;
}

.service-content .title a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
    display: inline-block;
}

.service-content .title a:hover {
    color: #B99D75;
}

/* Описание */
.service-content .content > p {
    max-width: 80%;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Список удобств */
.service-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.service-content ul li {
    color: white;
    font-size: 0.95em;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-content ul li .icon {
    color: #B99D75;
    font-size: 1.1em;
}

/* Кнопка */
.theme-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #B99D75;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: 10px;
}

.theme-btn:hover {
    background: transparent;
    border-color: #B99D75;
    color: #B99D75;
}

/* Кастомные кнопки навигации */
.custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid #9E9E9E;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-carousel-control:hover {
    background-color: #B99D75;
    color: #fff;
    border-color: #B99D75;
    box-shadow: 0 6px 15px rgba(185, 157, 117, 0.3);
}

.custom-carousel-control.carousel-control-prev {
    left: 30px;
}

.custom-carousel-control.carousel-control-next {
    right: 30px;
}

/* Индикаторы */
#roomsCarousel .carousel-indicators {
    position: static;
    margin-top: 40px;
    gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
}

#roomsCarousel .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #D9D9D9;
    border: 2px solid transparent;
    margin: 0 6px;
    opacity: 1;
    text-indent: 0;
    position: relative;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

#roomsCarousel .carousel-indicators button.active {
    background-color: #B99D75;
    transform: scale(1.3);
    border-color: white;
    box-shadow: 0 2px 8px rgba(185, 157, 117, 0.5);
}

/* Анимации перехода */
#roomsCarousel .carousel-item-next:not(.carousel-item-start),
#roomsCarousel .active.carousel-item-end {
    transform: translateX(100%) scale(0.95);
}

#roomsCarousel .carousel-item-prev:not(.carousel-item-end),
#roomsCarousel .active.carousel-item-start {
    transform: translateX(-100%) scale(0.95);
}

/* Для очень больших экранов */
@media (min-width: 1600px) {
    .rooms-slider-wrapper {
        max-width: 1400px;
    }
   
    .rooms-slider-single .service-image-items-1 {
        height: 600px !important;
    }
}


/* ===== НОВЫЙ МЕДИА-ЗАПРОС ДЛЯ ЭКРАНОВ 769px - 1398px ===== */
@media (min-width: 769px) and (max-width: 1398px) {
    /* ИСПРАВЛЕНО: Изменяем высоту для элемента с background-image */
    .rooms-slider-single .service-image-items-1 {
        height: 550px !important;
    }
    
    .service-content {
        padding: 35px 28px 28px;
    }
    
    .service-content .room-rate {
        font-size: 1.2em;
        padding: 5px 14px;
    }
    
    .service-content .title a {
        font-size: 1.4em;
    }
    
    .service-content .content > p {
        font-size: 1em;
        max-width: 85%;
        -webkit-line-clamp: 3;
        margin-bottom: 18px;
    }
    
    .service-content ul {
        gap: 18px;
        margin: 18px 0;
    }
    
    .service-content ul li {
        padding: 7px 15px;
        font-size: 0.95em;
    }
    
    .theme-btn {
        padding: 12px 28px;
        font-size: 0.9em;
    }
	
	#aportament_id .pagetitle_roboto {
		font-size: 50px !important;
	}	
}

/* Дополнительный медиа-запрос для средних экранов (примерно 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .rooms-slider-single .service-image-items-1 {
        height: 520px !important;
    }
    
    .service-content {
        padding: 30px 25px 25px;
    }
	
	#aportament_id .pagetitle_roboto {
		font-size: 50px !important;
	}	
}

/* Адаптив */
@media (max-width: 1200px) {
    #roomsCarousel .carousel-inner {
        padding: 0 6%;
    }
   
    .rooms-slider-single .service-image-items-1 {
        height: 450px !important;
    }
	
	#aportament_id .pagetitle_roboto {
		font-size: 50px !important;
	}	
}

@media (max-width: 992px) {
    #roomsCarousel .carousel-inner {
        padding: 0 5%;
    }
   
    .rooms-slider-single .service-image-items-1 {
        height: 400px !important;
    }
   
    .service-content .title a {
        font-size: 1.3em;
    }
   
    .service-content .content > p {
        max-width: 100%;
        -webkit-line-clamp: 2;
    }
}

/* Для десктопа скрываем мобильное изображение */
@media (min-width: 769px) {
    .rooms-slider-single img {
        display: none !important;
    }
	
	#aportament_id .pagetitle_roboto {
		font-size: 70px !important;
	}		
}

 

/* Мобильная версия — контент ПОД изображением */
@media (max-width: 768px) {
    #roomsCarousel .carousel-inner {
        padding: 0 3%;
    }
    
    /* Уменьшаем эффект для соседних слайдов на мобильных */
    #roomsCarousel .carousel-item-next,
    #roomsCarousel .carousel-item-prev {
        opacity: 0.4;
        transform: scale(0.92);
        filter: brightness(0.8);
        pointer-events: none;
    }
    
    #roomsCarousel .carousel-item.active {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
        pointer-events: auto;
        z-index: 10;
    }
    
    /* Сбрасываем background-image и показываем img */
    .service-image-items-1 {
        display: flex;
        flex-direction: column;
        height: auto !important;
        background-image: none !important;
        background: none !important;
    }
	
	.rooms-slider-single {
		height: 700px !important;
    }	

    .rooms-slider-single .service-image-items-1 {
        height: 695px !important;
    }	
	
	
    /* Показываем мобильное изображение */
    .rooms-slider-single img {
        display: block !important;
        width: 100% !important;
        height: 320px !important;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
        margin: 0;
        padding: 0;
    }
    
    .rooms-slider-single:hover img {
        transform: scale(1.05);
    }

    /* Контейнер для контента - увеличиваем отступы */
    .service-content {
        /*position: relative !important;
        bottom: auto !important;*/
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-top: -8px;
        padding: 30px 20px 35px !important;
        color: white;
        border-radius: 0 0 8px 8px;
        min-height: auto;
    }
    
    /* Заголовок и цена */
    .service-content .room-rate {
        color: #B99D75;
        font-weight: 700;
        font-size: 1.2em;
        display: inline-block;
        padding: 6px 15px;
        border: 1px solid #B99D75;
    }
    
    .service-content .title {
        margin: 12px 0 15px;
    }
    
    .service-content .title a {
        color: #B99D75;
        text-decoration: none;
        font-size: 0.8em;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        transition: color 0.3s ease;
        display: inline-block;
        line-height: 1.3;
    }
    
    .service-content .title a:hover {
        color: #B99D75;
    }
    
    /* Описание */
    .service-content .content > p {
        max-width: 100%;
        margin-bottom: 18px;
        line-height: 1.6;
        font-size: 0.95em;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Список удобств */
    .service-content ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 18px 0 20px;
        padding: 0;
        list-style: none;
    }
    
    .service-content ul li {
        color: white;
        font-size: 0.9em;
        background: rgba(255,255,255,0.1);
        padding: 8px 16px;
        border-radius: 30px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .service-content ul li .icon {
        color: #B99D75;
        font-size: 1em;
    }
    
    /* Кнопка */
    .theme-btn {
        display: inline-block;
        padding: 12px 28px;
        background: #B99D75;
        color: white;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.88em;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    
    .theme-btn:hover {
        background: transparent;
        border-color: #B99D75;
        color: #B99D75;
    }
    
    /* Кастомные кнопки навигации */
    .custom-carousel-control {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .custom-carousel-control.carousel-control-prev {
        left: 12px;
    }
    
    .custom-carousel-control.carousel-control-next {
        right: 12px;
    }
    
    /* Скрываем элементы */
    .comfort {
        display: none !important;
    }
    
    .room-carousel [class^="service-image-items-"] .service-content .content {
        padding: 5px 5px;
    }
    
    /* Индикаторы */
    #roomsCarousel .carousel-indicators {
        margin-top: 30px;
        gap: 10px;
    }
    
    #roomsCarousel .carousel-indicators button {
        width: 12px;
        height: 12px;
        margin: 0 4px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 576px) {
    #roomsCarousel .carousel-inner {
        padding: 0 2%;
    }
    
    /* Уменьшаем эффект для соседних слайдов */
    #roomsCarousel .carousel-item-next,
    #roomsCarousel .carousel-item-prev {
        opacity: 0.3;
        transform: scale(0.9);
        filter: brightness(0.7);
    }
    
    #roomsCarousel .carousel-item.active {
        transform: scale(1);
        opacity: 1;
    }
    
    /* Изображение */
    .rooms-slider-single img {
        height: 260px !important;
    }
    
    .rooms-slider-single:hover img {
        transform: scale(1.03);
    }
    
    /* Контейнер для контента - увеличиваем отступы */
    .service-content {
        padding: 25px 15px 30px !important;
        margin-top: -5px;
    }
    
    /* Заголовок и цена */
    .service-content .room-rate {
        font-size: 1.1em;
        padding: 5px 12px;
        margin-bottom: 8px;
    }
    
    .service-content .title {
        margin: 8px 0 12px;
    }
    
    .service-content .title a {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    /* Описание */
    .service-content .content > p {
        font-size: 0.9em;
        -webkit-line-clamp: 4;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    /* Список удобств */
    .service-content ul {
        gap: 8px;
        margin: 15px 0 18px;
    }
    
    .service-content ul li {
        padding: 6px 12px;
        font-size: 0.85em;
    }
    
    .service-content ul li .icon {
        font-size: 0.95em;
    }
    
    /* Кнопка */
    .theme-btn {
        padding: 10px 24px;
        font-size: 0.85em;
        margin-top: 8px;
        margin-bottom: 5px;
    }
    
    /* Кастомные кнопки навигации */
    .custom-carousel-control {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .custom-carousel-control.carousel-control-prev {
        left: 8px;
    }
    
    .custom-carousel-control.carousel-control-next {
        right: 8px;
    }
    
    /* Индикаторы */
    #roomsCarousel .carousel-indicators {
        margin-top: 25px;
        gap: 8px;
    }
    
    #roomsCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
    
    /* Скрываем элементы */
    .comfort {
        display: none !important;
    }
} 


.room-carousel [class^="service-image-items-"] .service-content {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.room-carousel [class^="service-image-items-"] .service-content .content p {
    max-width: 100%;
}

.room-carousel [class^="service-image-items-"] .service-content .content {
    background-color: #ffffffba;
}



/* ===== МОБИЛЬНАЯ ВЕРСИЯ ДЛЯ service-box-items-2 ===== */
@media (max-width: 768px) {
    /* Контейнер слайда */
    .service-box-items-2 {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 500px !important;
        overflow: hidden !important;
        margin-top: 15px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Изображение */
    .service-box-items-2 img {
        width: 100% !important;
        height: 320px !important;
        object-fit: cover !important;
        position: relative !important;
        display: block !important;
    }
    
    /* Затемнение фона */
    .service-box-items-2::before {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)) !important;
        content: "" !important;
        z-index: 1 !important;
    }
    
    /* Градиентный фон */
    .service-box-items-2::after {
        display: none !important;
    }
    
    /* Контент поверх изображения */
    .service-box-items-2 .service-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
        background: transparent !important;
        padding: 20px 20px 40px !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    /* Заголовок */
    .service-box-items-2 .service-content .title {
        margin-bottom: 10px !important;
    }
    
    .service-box-items-2 .service-content .title a {
        color: #FFFFFF !important;
        font-size: 22px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        display: inline-block !important;
    }
    
    .service-box-items-2 .service-content .title a:hover {
        color: #B99D75 !important;
    }
    
    /* Описание */
    .service-box-items-2 .service-content p {
        color: #FFFFFF !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-top: 8px !important;
        margin-bottom: 0 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        max-width: 100% !important;
    }
    
    /* Номер на мобильных - скрываем или уменьшаем */
    .service-box-items-2 .number {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        bottom: auto !important;
        left: auto !important;
        font-size: 40px !important;
        font-weight: 700 !important;
        color: rgba(255,255,255,0.3) !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
        z-index: 10 !important;
    }
    
    /* Активный слайд - особые стили если нужно */
    .service-box-items-2.active {
        min-height: 550px !important;
    }
    
    .service-box-items-2.active .service-content {
        bottom: 0 !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .service-box-items-2 {
        min-height: 450px !important;
    }
    
    .service-box-items-2 img {
        height: 280px !important;
    }
    
    .service-box-items-2 .service-content {
        padding: 15px 15px 30px !important;
    }
    
    .service-box-items-2 .service-content .title a {
        font-size: 18px !important;
    }
    
    .service-box-items-2 .service-content p {
        font-size: 13px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .service-box-items-2 .number {
        font-size: 30px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

/* Для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-box-items-2 {
        min-height: 480px !important;
    }
    
    .service-box-items-2 .service-content {
        padding: 20px 20px 35px !important;
    }
    
    .service-box-items-2 .service-content .title a {
        font-size: 20px !important;
    }
    
    .service-box-items-2 .service-content p {
        font-size: 14px !important;
    }
}



/* ===== СКРЫТИЕ ИЗОБРАЖЕНИЯ В БЛОКЕ ABOUT НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    /* Скрываем первое изображение (about-image-1) */
    .about-section .about-image-1 {
        display: none !important;
    }
    
    /* Центрируем контент */
    .about-section .about-content-1_88 {
        padding-top: 0 !important;
        text-align: center !important;
    }
    
    /* Второе изображение (about-image-2) - уменьшаем и центрируем */
    .about-section .about-image-2 {
        max-width: 250px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .about-section .about-image-2 img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Для планшетов - тоже скрываем (опционально) */
@media (min-width: 769px) and (max-width: 991px) {
    .about-section .about-image-1 {
        display: none !important;
    }
    
    .about-section .about-content-1_88 {
        padding-top: 0 !important;
    }
}


/* ===== УВЕЛИЧЕНИЕ ШРИФТА H1 В СЛАЙДЕРЕ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .hero-section .hero-content .title {
        font-size: 8vw !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-section .hero-content h2 {
        font-size: 3.5vw !important;
        line-height: 1.3 !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-section .hero-content .title {
        font-size: 8vw !important;
    }
    
    .hero-section .hero-content h2 {
        font-size: 4vw !important;
    }
}

/* Для планшетов (опционально - чуть меньше увеличение) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section .hero-content .title {
        font-size: 6vw !important;
    }
    
    .hero-section .hero-content h2 {
        font-size: 3vw !important;
    }
}


/* ===== УМЕНЬШЕНИЕ ЗАГОЛОВКА В СЕКЦИИ КАРТЫ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .video-section .video-main-items .title {
        font-size: 2.5em !important;
        padding: 15px !important;
        text-align: center !important;
    }
    
    .video-section .video-main-items .content {
        padding: 20px !important;
        text-align: center !important;
    }
    
    .video-section .video-main-items .content p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .video-section .video-main-items .content .theme-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .video-section .video-main-items .title {
        font-size: 1.8em !important;
        padding: 12px !important;
    }
    
    .video-section .video-main-items .content {
        padding: 15px !important;
    }
    
    .video-section .video-main-items .content p {
        font-size: 13px !important;
    }
    
    .video-section .video-main-items .content .theme-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

/* Для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-section .video-main-items .title {
        font-size: 3.5em !important;
        padding: 20px !important;
    }
}



/* ===== УМЕНЬШЕНИЕ ОТСТУПОВ В БЛОКЕ УДОБСТВ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .room-details__details-box {
        padding: 25px 20px 20px 20px !important;
    }
    
    .room-details__details-box .list-one {
        margin-bottom: 20px !important;
    }
    
    .room-details__details-box .list-one .icon {
        width: 50px !important;
        height: 50px !important;
        line-height: 50px !important;
    }
    
    .room-details__details-box .list-one .icon img {
        width: 1.2em !important;
    }
    
    .room-details__details-box .list-one p {
        font-size: 13px !important;
        margin-left: 10px !important;
    }
    
    .room-details__details-box .col-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .room-details__details-box {
        padding: 20px 15px 15px 15px !important;
    }
    
    .room-details__details-box .list-one .icon {
        width: 45px !important;
        height: 45px !important;
        line-height: 45px !important;
    }
    
    .room-details__details-box .list-one p {
        font-size: 12px !important;
        margin-left: 8px !important;
    }
    
    .room-details__details-box .col-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .room-details__details-box {
        padding: 35px 30px 25px 30px !important;
    }
}


/* ===== УДОБСТВА В СТРОКУ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .kodelisting-room-basic-info {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 0 15px 0 !important;
    }
    
    .kodelisting-room-basic-info li {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        background: rgba(185, 157, 117, 0.1) !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        font-size: 13px !important;
    }
    
    .kodelisting-room-basic-info li i {
        margin-right: 6px !important;
        font-size: 12px !important;
    }
    
    .kodelisting-room-basic-info li .csrbi-text {
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

/* Для очень маленьких экранов - если нужно уменьшить шрифт ещё */
@media (max-width: 480px) {
    .kodelisting-room-basic-info li {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }
    
    .kodelisting-room-basic-info li .csrbi-text {
        font-size: 11px !important;
    }
}


/* =============================================
   Новый слайдер с префиксом nomeranew_
   ТОЧНАЯ КОПИЯ стилей оригинального room-service-slider
   ============================================= */

/* Основной контейнер слайдера */
.nomeranew_service_slider {
    position: relative;
    z-index: 9;
}

/* Wrapper для слайдов */
.nomeranew_service_slider .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}

/* Слайд */
.nomeranew_service_slider .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}

/* Контейнер слайда с изображением */
.nomeranew_service_slider .room-offer-iamge-card-3 {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.nomeranew_service_slider .room-offer-iamge-card-3::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    content: "";
    opacity: 0.8;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #B99D75 100%);
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    bottom: -70%;
    z-index: 1;
}

.nomeranew_service_slider .room-offer-iamge-card-3 img {
    width: 100%;
    height: 100%;
    transition: all 300ms ease;
}

.nomeranew_service_slider .room-offer-iamge-card-3 .price-text {
    display: inline-block;
    font-size: 16px;
    color: var(--theme-color-white);
    background-color: var(--theme-color1);
    position: absolute;
    top: -140px;
    left: 40px;
    padding: 10px 16px;
    line-height: 1;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content {
    position: absolute;
    bottom: 3px;
    left: 30px;
    right: 30px;
    bottom: -100px;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content p {
    color: var(--theme-color-white);
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content .title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content .title a {
    background-position: 0 95%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    display: inline;
    transition: all 0.2s ease-in-out;
    color: var(--theme-color-white);
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content .title a:hover {
    background-size: 100% 2px;
    background-image: linear-gradient(180deg, var(--theme-color-white) 0%, var(--theme-color-white) 100%);
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content ul li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-color-white);
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content ul li .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    border: 1px solid #E3E3E3;
    text-align: center;
}

.nomeranew_service_slider .room-offer-iamge-card-3 .content ul li .icon svg path {
    fill: var(--theme-color-white);
}

/* Hover эффекты */
.nomeranew_service_slider .room-offer-iamge-card-3:hover img {
    transform: scale(1.1);
}

.nomeranew_service_slider .room-offer-iamge-card-3:hover::before {
    opacity: 0.8;
    visibility: visible;
}

.nomeranew_service_slider .room-offer-iamge-card-3:hover .price-text {
    top: 30px;
    opacity: 1;
    visibility: visible;
}

.nomeranew_service_slider .room-offer-iamge-card-3:hover .content {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

/* Пагинация (точки) */
.nomeranew_swiper_dot {
    position: relative;
    z-index: 99;
    text-align: center;
    margin-top: 70px;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .nomeranew_swiper_dot {
        margin-top: 30px;
    }
}

.nomeranew_swiper_dot .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    transition: all 0.2s ease-in-out;
    background-color: #D9D9D9;
    opacity: 1;
    border-radius: 15px;
}

.nomeranew_swiper_dot .swiper-pagination-bullet:not(:last-child) {
    margin-right: 10px;
}

.nomeranew_swiper_dot .swiper-pagination-bullet-active {
    background-color: var(--theme-color1);
    transition: 0.6s;
    position: relative;
}

/* Класс для нового пагинационного контейнера */
.nomeranew_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Кнопки навигации (если нужны) */
.nomeranew_array_button {
    gap: 12px;
    display: flex;
    align-items: center;
}

.nomeranew_array_button .nomeranew_array_prev,
.nomeranew_array_button .nomeranew_array_next {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #9E9E9E;
    background-color: transparent;
    border-radius: 50%;
    font-size: 20px;
    color: var(--headings-color);
    transition: all 0.2s ease-in-out;
    z-index: 9;
    position: relative;
}

.nomeranew_array_button .nomeranew_array_prev:hover,
.nomeranew_array_button .nomeranew_array_next:hover {
    background-color: var(--theme-color1);
    color: var(--theme-color-white);
}