

/* Start:/local/templates/newswason_new/components/bitrix/news.list/main_slider/style.css?17750400756111*/
/**
 * Стили для главного слайдера
 * Компонент: bitrix:news.list / шаблон: main_slider
 * 
 * Базовые стили (.section, .section-wrapper) в base.css
 * Здесь только специфичные стили компонента
 */

/* Контейнер слайдера */
.main-slider {
    margin-bottom: 37px; /* Специфичный отступ для главного слайдера */
    position: relative;
}

.main-slider__wrapper {
    position: relative;
}

/* Swiper контейнер */
.main-slider__swiper {
    overflow: visible;
    border-radius: 20px;
}

/* Слайд */
.main-slider__slide {
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

/* Стили для слайда-ссылки */
a.main-slider__slide {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.main-slider__slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Ширина слайдов вычисляется Swiper автоматически: (1167 - 25) / 2 = 571px */

/* Фоновое изображение */
.main-slider__slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Декоративное изображение */
.main-slider__slide-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.main-slider__slide-decoration-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Модификаторы для разных типов декоративных изображений */
.main-slider__slide-decoration--type1 {
    opacity: 1; /* Можно регулировать прозрачность */
}

.main-slider__slide-decoration--type2 {
    opacity: 1; /* Можно регулировать прозрачность */
}

/* Затемнение поверх изображения */
.main-slider__slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
}

/* Контент слайда */
.main-slider__slide-content {
    position: relative;
    z-index: 4;
    padding: 23px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Бейдж с информацией */
.main-slider__badge {
    position: absolute;
    top: 23px;
    right: 23px;
    background: rgba(175, 175, 175, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 10px 26px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
}

/* Заголовок */
.main-slider__slide-title {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.23;
    color: #FFFFFF;
    max-width: 339px;
    margin: 0;
}

/* Описание */
.main-slider__slide-text {
    margin-top: auto;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #FFFFFF;
}

/* Кнопка "Подробнее" */

.main-slider__slide-btn{
    margin-left: auto;
    pointer-events: none; /* Кнопка декоративная, клик обрабатывается на всей карточке */
}

/* Навигация - позиционирование кнопок для этого слайдера */
.main-slider__wrapper .slider-nav {
    /* Кнопки выходят за пределы wrapper на 36px с каждой стороны */
    left: -36px;
    right: -36px;
}

.main-slider__slide-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 37px;
}

.main-slider__top-left{
    font-size: 20px;
    color: #FFFFFF;
    line-height: 1.25;
}

.main-slider__label{
    max-width: 180px;
    backdrop-filter: blur(4px);
    background: rgba(175, 175, 175, 0.6);
    border-radius: 20px;
    margin-left: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 10px 25px;
}

.main-slider__label-text{
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: #fff;
}

.main-slider__slide-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.main-slider__slide-text{
    font-size: 16px;
    line-height: 1.12;
    color: #FFFFFF;
}


/* Адаптивность */
@media (max-width: 1200px) {
    .main-slider__slide {
        height: 240px;
    }
    
    .main-slider__slide-title {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .main-slider__slide {
        height: 220px;
    }
    
    .main-slider__slide-content {
        padding: 20px;
    }
    
    .main-slider__slide-title {
        font-size: 20px;
        max-width: 280px;
    }
    
    .main-slider__slide-text {
        font-size: 14px;
    }
    
    .main-slider__badge {
        font-size: 12px;
        padding: 8px 20px;
    }
}

@media (max-width: 991px) {
    .main-slider__wrapper {
        max-width: 100%;
    }
    
    .main-slider__slide {
        height: 280px;
    }
    
    .main-slider__slide-title {
        max-width: 100%;
        font-size: 18px;
    }

    .main-slider__wrapper .slider-nav{
        left: -9px;
        right: -9px;
    }
    
    .main-slider__wrapper .slider-nav__btn{
        width: 21px;
        height: 21px;
    }
   
    /* На мобильных скрываем кнопки через глобальные стили slider.css */
}

@media (max-width: 576px) {
    .main-slider__slide {
        height: 176px;
    }
    
    .main-slider__slide-content {
        padding: 16px;
    }
    
    .main-slider__slide-title {
        font-size: 16px;
        margin-top: 30px;
    }
    
    .main-slider__slide-text {
        font-size: 13px;
    }
}


/* End */


/* Start:/local/templates/newswason_new/components/bitrix/news.list/our_offers/style.css?178177125715719*/
/**
 * Стили для блока "Наши предложения"
 * Компонент: bitrix:news.list / шаблон: our_offers
 * 
 * Базовые стили (.section, .section-title, .section-wrapper, .card) в base.css
 * Здесь только специфичные стили компонента
 */

/* ================================================
   Wrapper - стили обертки
   ================================================ */

.section-wrapper--bg-pink {
    padding: 25px 17px;
    background: rgba(231, 139, 144, 0.15);
    background-image: url('/local/templates/newswason_new/components/bitrix/news.list/our_offers/img/offers1.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 125px 140px;
    border-radius: var(--border-radius);
}

.section-wrapper--bg-blue {
    padding: 25px 17px;
    background: rgba(0, 178, 202, 0.15);
    background-image: url('/local/templates/newswason_new/components/bitrix/news.list/our_offers/img/offers2.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 197px 107px;
    border-radius: var(--border-radius);
}

.section-wrapper--no-bg {
    background: transparent;
}

/* ================================================
   Заголовок блока - дополнительное оформление
   ================================================ */

.our-offers__title {
    display: flex;
    align-items: center;
    gap: 30px;
}

.our-offers__title-link {
    display: flex;
    align-items: center;
    gap: 30px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

.our-offers__title-link:hover {
    opacity: 0.7;
}

/* ================================================
   Табы (разделы)
   ================================================ */

.our-offers__tabs {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.our-offers__tab {
    padding: 21px 24px;
    border: none;
    border-radius: 20px;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #141414;
    cursor: pointer;
    transition: var(--transition-normal);
    outline: none;
}

.our-offers__tab.active {
    background: rgba(231, 139, 144, 0.2);
    color: #4e4e4e;
    font-weight: 700;
}

.our-offers__tab.active:hover {
    background: rgba(231, 139, 144, 0.25);
}

/* Неактивный таб — противоположный цвет (розовый/белый блок) */
.section-wrapper--bg-pink .our-offers__tab:not(.active),
.section-wrapper--no-bg .our-offers__tab:not(.active) {
    background: rgba(0, 178, 202, 0.25);
    color: #4e4e4e;
}

.section-wrapper--bg-pink .our-offers__tab:not(.active):hover,
.section-wrapper--no-bg .our-offers__tab:not(.active):hover {
    background: rgba(0, 178, 202, 0.3);
}

/* Голубая версия табов */
.section-wrapper--bg-blue .our-offers__tab.active {
    background: rgba(0, 178, 202, 0.25);
}

.section-wrapper--bg-blue .our-offers__tab.active:hover {
    background: rgba(0, 178, 202, 0.3);
}

/* Неактивный таб — противоположный цвет (синий блок) */
.section-wrapper--bg-blue .our-offers__tab:not(.active) {
    background: rgba(231, 139, 144, 0.2);
    color: #4e4e4e;
}

.section-wrapper--bg-blue .our-offers__tab:not(.active):hover {
    background: rgba(231, 139, 144, 0.25);
}

/* ================================================
   Контент табов
   ================================================ */

.our-offers__content {
    position: relative;
}

.our-offers__tab-content {
    display: none;
}

.our-offers__tab-content.active {
    display: block;
}

/* ================================================
   Слайдер
   ================================================ */

.our-offers__swiper {
    overflow: hidden;
}

.our-offers__swiper .swiper-slide {
    height: auto;
}

/* Навигация (стрелки) - выходят за пределы wrapper на 36px */
.our-offers__tab-content {
    position: relative;
}

.our-offers .our-offers__nav.slider-nav {
    position: absolute;
    top: 50%;
    left: -53px !important; /* Выход за пределы wrapper на 36px, !important для перебития slider.css */
    right: -53px !important;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.our-offers .our-offers__nav .slider-nav__btn {
    pointer-events: auto;
}

/* ================================================
   Карточка лагеря
   ================================================ */

.our-offers__card {
    display: block;
    height: 100%;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: var(--transition-normal);
    overflow: hidden;
}

.our-offers__card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* ================================================
   Карточка Type 3 - с фоновой картинкой
   ================================================ */

.our-offers__card-type3-bg {
    position: relative;
    height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.our-offers__card-type3-content {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    padding: 16px 20px 20px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    margin:4px;
}

.our-offers__card-type3-name {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #141414;
    margin-bottom: 8px;
}

/* Корректировка отступов для элементов внутри type3 */
.our-offers__card-type3-content .our-offers__card-location {
    margin-bottom: 5px;
}

.our-offers__card-type3-content .our-offers__card-age {
    margin-bottom: 5px;
}

.our-offers__card-type3-content .our-offers__card-days {
    margin-bottom: 5px;
}

.our-offers__card-type3-content .our-offers__card-schedule {
    margin-bottom: 5px;
}

.our-offers__card-type3-content .our-offers__card-price {
    margin-top: 4px;
}

/* Картинка с названием */
.our-offers__card-image {
    position: relative;
    width: calc(100% - 10px);
    height: 170px;
    margin: 5px;
    background: var(--bg-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.our-offers__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.our-offers__card:hover .our-offers__card-image img {
    transform: scale(1.05);
}

.our-offers__card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--bg-white);
}

/* Информация о лагере */
.our-offers__card-info {
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
}

.our-offers__card-location {
    font-weight: 300;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
}

.our-offers__card-age {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text-dark);
    margin-bottom: 7px;
}

.our-offers__card-days {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(9, 21, 82, 0.8);
    margin-bottom: 7px;
}

.our-offers__card-schedule {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: #4380a7;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 7px;
}

.our-offers__card-price {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.our-offers__card-price-btn {
    width: 37px;
    height: 37px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    transition: var(--transition-normal);
}

.our-offers__card-price-btn::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12H19M19 12L12 5M19 12L12 19' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.our-offers__card:hover .our-offers__card-price-btn {
    transform: scale(1.1);
}

/* Стили для режима "Ближайшие смены" */
.our-offers__card-info--nearest {
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.our-offers__card-name {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.5;
    color: #010C40;
    margin-bottom: 4px;
    min-height: 78px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.our-offers__card-dates {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #033142;
    opacity: 0.8;
    margin-bottom: 4px;
}

/* Сообщение о пустом списке */
.our-offers__empty {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    padding: 40px 0;
}

/* ================================================
   Адаптивность
   ================================================ */

/* Планшеты */
@media (max-width: 1024px) {
    .our-offers__tabs {
        margin-bottom: 30px;
    }
    
    .our-offers__tab {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .our-offers .our-offers__nav.slider-nav {
        left: -45px !important;
        right: -45px !important;
    }
}

/* Мобильные устройства */
@media (max-width: 991px) {
    .our-offers__tabs {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .our-offers__tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .our-offers__slider-wrapper {
        padding-right: 0;
        overflow: visible;
    }
    
    .our-offers__swiper {
        overflow: visible;
        padding-right: 0;
    }
    
    .our-offers__card-title {
        font-size: 18px;
        padding: 16px;
    }
    
    .our-offers__card-info {
        padding: 16px;
        gap: 10px;
    }
    
    .our-offers__card-info--nearest {
        padding: 16px;
    }
    
    .our-offers__card-name {
        font-size: 20px;
    }
    
    .our-offers__card-dates {
        font-size: 16px;
    }
    
    .our-offers__card-price {
        font-size: 20px;
    }
    
    .our-offers__card-info--nearest .our-offers__card-price {
        font-size: 24px;
    }

    .our-offers .our-offers__nav.slider-nav{
        left: -15px !important;
        right: -15px !important;
    }

    .section-wrapper--no-bg .our-offers__nav.slider-nav{
        left: -5px !important;
        right: -5px !important;
    }
    
    /* Type 3 адаптив для мобильных */
    .our-offers__card-type3-bg {
        height: 300px;
    }
    
    .our-offers__card-type3-content {
        padding: 12px 16px 16px 16px;
    }
    
    .our-offers__card-type3-name {
        font-size: 16px;
        margin-bottom: 6px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .our-offers__tab {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .our-offers__card-title {
        font-size: 16px;
    }
    
    .our-offers__card-info {
        padding: 16px 24px;
    }
    
    .our-offers__card-info--nearest {
        padding: 16px 24px;
    }
    
    .our-offers__card-name {
        font-size: 18px;
    }
    
    .our-offers__card-dates {
        font-size: 14px;
    }
    
    .our-offers__card-info--nearest .our-offers__card-price {
        font-size: 22px;
    }
    
    .our-offers__card-image {
        height: 140px;
    }
    
    /* Type 3 адаптив для маленьких мобильных */
    .our-offers__card-type3-bg {
        height: 280px;
    }
    
    .our-offers__card-type3-content {
        padding: 10px 12px 12px 12px;
    }
    
    .our-offers__card-type3-name {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .our-offers__card-type3-content .our-offers__card-location {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .our-offers__card-type3-content .our-offers__card-age {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .our-offers__card-type3-content .our-offers__card-days {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .our-offers__card-type3-content .our-offers__card-schedule {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .our-offers__card-type3-content .our-offers__card-price {
        font-size: 16px;
        margin-top: 2px;
    }
}

/* ================================================
   Расписание смен - селект
   ================================================ */

/* Контейнер селекта */
.our-offers__card-schedule-select {
    position: relative;
    cursor: pointer;
    user-select: none;
}

/* Заголовок селекта (видимая часть) */
.our-offers__schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Стрелка в селекте */
.our-offers__schedule-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: inherit;
}

/* Поворачиваем стрелку когда селект открыт */
.our-offers__card-schedule-select.is-open .our-offers__schedule-arrow {
    transform: rotate(180deg);
}

/* Выпадающий список - position: fixed для выхода за пределы swiper */
/* При открытии dropdown переносится в body через JS (portal) */
.our-offers__schedule-dropdown {
    display: none;
    position: fixed;
    /* top и left устанавливаются через JS */
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    min-width: 200px;
    width: max-content;
}

/* Контейнер portal в body */
#schedule-dropdown-portal {
    position: relative;
    z-index: 9999;
}

/* Пункт в выпадающем списке */
.our-offers__schedule-item {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.3;
    color: #141414;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.our-offers__schedule-item:hover {
    background-color: rgba(0, 197, 222, 0.1);
}

.our-offers__schedule-item.active {
    background-color: rgba(0, 197, 222, 0.15);
    font-weight: 500;
}

/* Скроллбар для выпадающего списка */
.our-offers__schedule-dropdown::-webkit-scrollbar {
    width: 6px;
}

.our-offers__schedule-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.our-offers__schedule-dropdown::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 10px;
}

.our-offers__schedule-dropdown::-webkit-scrollbar-thumb:hover {
    background: #b4b4b4;
}



/* End */


/* Start:/local/components/goodda/yandex_map/templates/.default/styles.css?177694560021342*/
#gm-container {
    position: relative;
    margin-bottom: 40px;
}
#gm-map-container {
    width: 100%;
    position: relative;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
}
#gm-map {
    width: 100%;
    height: 80vh;
    transition: all 0.3s ease;
}

/* ===== OVERLAY ПАНЕЛЬ (поиск + список) ===== */
#gm-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    width: 400px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 0;
    pointer-events: none;
}

/* ===== БЛОК ПОИСКА ===== */
#gm-search {
    position: relative;
    pointer-events: all;
    background: #fff;
    padding: 5px 5px 5px 16px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 4px rgba(163,163,163,0.45);
    border-radius: 20px;
    margin-bottom: 8px;
    box-sizing: border-box;
}
#gm-address-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: none;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    color: #141414;
}
#gm-address-input::placeholder {
    color: #929292;
}
#gm-find-btn {
    width: 110px;
    height: 30px;
    padding: 0;
    flex-shrink: 0;
    background: linear-gradient(90deg, #e78b90 0%, #f6a8d7 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
    box-sizing: border-box;
    white-space: nowrap;
}
#gm-find-btn:hover {
    opacity: 0.85;
    color: white;
    text-decoration: none;
}
#gm-suggestions ul {
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1001;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
}
#gm-suggestions li {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    font-size: 14px;
}
#gm-suggestions li:hover {
    background: #f5f5f5;
}
#gm-suggestions li:last-child {
    border-bottom: none;
}
#gm-suggestions li.gm-suggest-header {
    padding: 6px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #929292;
    background: #fafafa;
    cursor: default;
    font-weight: 600;
}
#gm-suggestions li.gm-suggest-header:hover {
    background: #fafafa;
}
#gm-suggestions li.gm-suggest-camp {
    color: #028697;
    font-weight: 500;
}
#gm-suggestions li.gm-suggest-camp:hover {
    background: #f0f9fa;
}

/* ===== СПИСОК ОБЪЕКТОВ ===== */
#gm-list {
    flex: 1;
    min-height: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(163,163,163,0.45);
    border-radius: 20px;
    pointer-events: all;
    padding: 8px;
    box-sizing: border-box;
}
#gm-items {
    padding: 0;
    overflow-y: auto;
    overflow-x: visible;
    height: 100%;
    scrollbar-width: thin;
    scrollbar-color: #028697 transparent;
    border-radius: 12px;
}
#gm-items::-webkit-scrollbar {
    width: 4px;
}
#gm-items::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}
#gm-items::-webkit-scrollbar-thumb {
    background-color: #028697;
    border-radius: 2px;
}
#gm-items::-webkit-scrollbar-thumb:hover {
    background-color: #026f7f;
}
#gm-items::-webkit-scrollbar-button {
    display: none;
}
#gm-items.collapsed {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

/* ===== ЭЛЕМЕНТЫ СПИСКА ===== */
.gm-item {
    background: #fff;
    padding: 14px 20px;
    margin: 0;
    cursor: pointer;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
    transition: background 0.15s;
}
.gm-item:last-child {
    border-bottom: none;
}
.gm-item:hover {
    background: #f9f9fa;
    z-index: 10;
}
.gm-item__body {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Левая колонка */
.gm-item__left {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gm-item__name {
    font-size: 20px;
    font-weight: 700;
    color: #141414;
    line-height: 1.2;
    word-break: break-word;
}
.gm-item__region {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}
.gm-item__age {
    font-size: 14px;
    color: #141414;
    line-height: 1.3;
}

/* Колонка со стрелкой */
.gm-item__arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    margin-left: 4px;
}
.gm-item__arrow img {
    display: block;
}

/* Правая колонка */
.gm-item__right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 130px;
}
.gm-item__price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}
.gm-item__dates {
    font-size: 12px;
    color: #666;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.gm-item__dates-text {
    white-space: nowrap;
}
.gm-item__days {
    font-size: 14px;
    color: #141414;
    white-space: nowrap;
}

/* Кнопка дропдауна смен */
.gm-item__shifts-toggle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.2s;
    color: #666;
}
.gm-item__shifts-toggle:hover {
    background: #028697;
    border-color: #028697;
    color: white;
}
.gm-item__shifts-toggle--open svg {
    transform: rotate(180deg);
}

/* Дропдаун со списком смен */
.gm-item__shifts-list {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 9999;
    min-width: 200px;
    max-width: 280px;
    overflow: hidden;
}
.gm-item__shift-option {
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    white-space: nowrap;
}
.gm-item__shift-option:last-child {
    border-bottom: none;
}
.gm-item__shift-option:hover {
    background: #f0f5ff;
    color: #5880e8;
}
.gm-phones {
    margin: 8px 0;
}
.gm-phones a {
    color: #333;
    display: inline-block;
    font-size: 14px;
    margin: 2px 0;
    transition: all 0.3s ease;
    text-decoration: underline;
}
.gm-phones a:hover {
    text-decoration: none;
    color: #23527c;
}
.gm-metro {
    margin: 8px 0;
}
.gm-metro-station {
    display: inline-block;
    background: #e8f0ff;
    color: #5880e8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 2px 4px 2px 0;
}
.gm-hours {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.4;
}
.gm-additional-info {
    margin: 8px 0;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
}
.gm-detail-link {
    margin: 12px 0;
    text-align: center;
}
.gm-detail-link a {
    display: inline-block;
    background: #5880e8;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s;
}
.gm-detail-link a:hover {
    background: rgba(88, 128, 230, 0.8);
    border-color: rgba(88, 128, 230, 0.8);
    color: white;
    text-decoration: none;
}

/* ===== КНОПКА ГЕОЛОКАЦИИ ===== */
.gm-geo-btn {
    position: absolute;
    top: 13px;
    left: 420px; /* 10px (отступ overlay) + 400px (ширина overlay) + 10px (зазор) */
    z-index: 990;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.gm-geo-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.gm-geo-btn:hover {
    opacity: 0.8;
}
.gm-geo-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.gm-geo-btn.loading img {
    animation: gm-spin 1s linear infinite;
}
@keyframes gm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ИНФОРМАЦИОННЫЙ БЛОК ===== */
.gm-info {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    z-index: 990;
    max-height: 70vh;
    width: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #028697 transparent;
}
.gm-info::-webkit-scrollbar {
    width: 4px;
}
.gm-info::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}
.gm-info::-webkit-scrollbar-thumb {
    background-color: #028697;
    border-radius: 2px;
}
.gm-info::-webkit-scrollbar-button {
    display: none;
}
.gm-info-inner {
    margin-top: 15px;
    overflow: visible;
}
.gm-info h3 {
    margin: 0;
    color: #333;
}
.gm-info p {
    margin: 8px 0;
    color: #333;
}
.gm-info a {
    color: #028697;
    text-decoration: none;
}
.gm-info a:hover {
    text-decoration: underline;
}

/* ===== БЛОКИ КАРТОЧКИ В GM-INFO ===== */
#gm-info .camp-card-horizontal__location,
#gm-info .camp-card-horizontal__age {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}
#gm-info .camp-card-horizontal__info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
#gm-info .camp-card-horizontal__shifts {
    margin: 14px 0;
}
#gm-info .camp-card-horizontal__shifts-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}
#gm-info .camp-card-horizontal__shift-dates-value {
    font-size: 14px;
    color: #333;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}
#gm-info .camp-card-horizontal__shift-days {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
}
#gm-info .camp-card-horizontal__shift-price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
}
#gm-info .camp-card-horizontal__shifts-toggle-row {
    margin-top: 6px;
    padding-left: 35px;
}
#gm-info .camp-card-horizontal__shifts-empty {
    font-size: 14px;
    color: #999;
}

/* Кнопка-триггер дропдауна в gm-info */
#gm-info .camp-card-horizontal__shift-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    color: #028697;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
#gm-info .camp-card-horizontal__shift-toggle:hover {
    text-decoration: underline;
}
#gm-info .camp-card-horizontal__shift-toggle.gm-shifts-toggle--open svg {
    transform: rotate(180deg);
}

/* ===== ПЛАВАЮЩИЙ ДРОПДАУН СМЕН ===== */
#gm-floating-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 9999;
    min-width: 220px;
    max-width: 320px;
    overflow: hidden;
}
.gm-floating-option {
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    white-space: nowrap;
}
.gm-floating-option:last-child {
    border-bottom: none;
}
.gm-floating-option:hover {
    background: #f0f9fa;
    color: #028697;
}

/* Кнопки действий */
#gm-info .camp-card-horizontal__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}
#gm-info .camp-card-horizontal__btn {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}
#gm-info .camp-card-horizontal__btn--details {
    background: transparent;
    color: #028697;
    font-weight: 500;
    border: 1px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff),
        linear-gradient(90deg, #028697 0%, #81effe 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.2s ease;
    max-width: 153px;
    width: 100%;
}
#gm-info .camp-card-horizontal__btn--details:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0px 6px 15px rgba(200,200,200,0.8);
    color: #028697;
}
#gm-info .camp-card-horizontal__btn--booking {
    background: linear-gradient(90deg, #e78b90 0%, #f6a8d7 100%);
    color: #ffffff;
    border: 2px solid transparent;
    max-width: 153px;
    width: 100%;
    transition: all 0.2s ease;
    font-weight: 700;
    font-size: 14px;
}
#gm-info .camp-card-horizontal__btn--booking:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0px 4px 12px rgba(255,107,107,0.3);
    color: #ffffff;
}
#gm-close-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
#gm-close-info:hover {
    background: #f0f0f0;
    color: #333;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ КЛАССЫ ===== */
.gm-message {
    color: #5880E6;
}
.gm-message-detail {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
}
.gm-franch, .gm-franch-detail {
    color: #666;
    font-size: 13px;
    margin: 6px 0;
}
.gm-phone-comment {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 4px 0;
}
.gm-phone-comment-detail {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin: 8px 0;
}
.gm-messengers {
    margin: 12px 0;
    display: flex;
    gap: 10px;
}
.gm-messenger {
    display: block;
}
.gm-messenger img {
    transition: all 0.2s;
    width: 66%;
}
.gm-messenger:hover img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
    transform: translateY(-1px);
}
.gm-contacts {
    margin: 12px 0;
}
.gm-contact-link {
    color: #5880e8;
    text-decoration: none;
    display: inline-block;
    margin: 2px 0;
}
.gm-contact-link:hover {
    text-decoration: underline;
}
.gm-license {
    margin: 8px 0;
    font-size: 13px;
    color: #666;
}

/* ===== КНОПКА ОЧИСТКИ МЕСТОПОЛОЖЕНИЯ ===== */
.gm-clear-location-btn {
    position: absolute;
    top: 80px;
    right: 20px;
    z-index: 1000;
    background: white;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #e74c3c;
}
.gm-clear-location-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}
.gm-clear-location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== ПОДПИСИ МАРКЕРОВ ===== */
.gm-marker-wrap {
    text-align: center;
    pointer-events: none;
}
.gm-marker-label {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 5px;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    text-shadow: none;
    pointer-events: none;
    line-height: 1.4;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Скрываем подписи при малом зуме */
#gm-map.gm-labels-hidden .gm-marker-label {
    display: none;
}

/* ===== КЛАСТЕРЫ ===== */
.gm-cluster {
    width: 34px;
    height: 57px;
    background: url('/local/components/goodda/yandex_map/templates/.default/map-icon.svg') no-repeat center bottom;
    background-size: 27px 34px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
}
.gm-cluster__count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    margin-top: 2px;
    background: white;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* ===== ОТЛАДОЧНАЯ ПАНЕЛЬ ===== */
#debug-panel {
    background: #f8f9fa;
    border: 2px solid #5880e8;
    padding: 15px;
    margin: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
}
#debug-panel h4 {
    margin: 0 0 15px 0;
    color: #5880e8;
    font-size: 16px;
}
#debug-panel label {
    display: block;
    margin: 8px 0;
    cursor: pointer;
    color: #333;
}
#debug-panel input[type="checkbox"] {
    margin-right: 10px;
}
#debug-save-btn {
    background: #5880e8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 14px;
}
#debug-save-btn:hover {
    background: #4a6fd9;
}
#debug-clear-location-btn {
    background: #5880e8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 14px;
}
#debug-clear-location-btn:hover {
    background: #4a6fd9;
}
#debug-panel select {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    #gm-map-container {
        display: flex;
        flex-direction: column;
        gap: 8px;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        position: relative;
    }
    /* Контейнер overlay отменяется — его дети (search и list)
       становятся прямыми детьми gm-map-container для управления порядком */
    #gm-overlay {
        display: contents;
    }
    #gm-search {
        order: 1;
        position: relative;
        width: 100%;
        border-radius: 20px;
        margin-bottom: 0;
    }
    #gm-map {
        order: 2;
        width: 100%;
        height: 450px;
        min-height: 0;
        border-radius: 20px;
        overflow: hidden;
    }
    #gm-list {
        order: 3;
        flex: 0 0 450px;
        height: 450px;
        border-radius: 20px;
    }
    #gm-items {
        height: 100%;
        overflow-y: auto;
        border-radius: 12px;
    }
    #gm-search {
        flex: 0 0 auto;
    }
    #gm-map {
        flex: 0 0 450px;
    }
    /* Кнопка геолокации — правый верхний угол карты */
    .gm-geo-btn {
        top: calc(40px + 8px + 10px);
        left: auto;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    /* Подробная карточка — поверх списка, та же высота 450px */
    .gm-info {
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: none;
        max-height: none;
        height: 450px;
        width: 100%;
        border-radius: 20px;
        margin: 0;
        z-index: 99;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        border: none;
        overflow-y: auto;
    }
    .gm-info-inner {
        margin: 0;
        padding: 0;
        overflow: visible;
    }
    #debug-panel {
        margin: 5px 10px;
        padding: 10px;
        font-size: 12px;
    }
    #debug-panel h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    #gm-map {
        height: 40vh;
        min-height: 300px;
    }
}

/* End */


/* Start:/local/templates/newswason_new/components/bitrix/catalog.section.list/popular_categories/style.css?17750400752363*/
/**
 * Стили для компонента "Популярные категории"
 * Компонент: bitrix:catalog.section.list / шаблон: popular_categories
 * 
 * Базовые стили (.section, .section-title, .card, .grid) в base.css
 * Здесь только специфичные стили компонента
 */

/* Карточка категории */
.popular-category-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 126px;
    padding: 17px 19px 34px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.popular-category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* Сетка категорий - 5 колонок */
.popular-categories__grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Иконка категории */
.popular-category-card__icon {
    display: flex;
    justify-content: flex-end;
    margin-bottom: auto;
}

.popular-category-card__icon img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Название категории */
.popular-category-card__name {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    color: var(--color-text-medium);
    margin-top: auto;
}


/* ==========================================================================
   Адаптивность
   ========================================================================== */

@media (max-width: 1200px) {
    .popular-categories__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .popular-categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .popular-category-card__name {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .popular-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popular-category-card {
        min-height: 110px;
        padding: 12px 15px 25px 15px;
    }
    
    .popular-category-card__icon img {
        max-width: 50px;
        max-height: 50px;
    }
    
    .popular-category-card__name {
        font-size: 14px;
    }
}


/* End */


/* Start:/local/templates/newswason_new/components/bitrix/news.list/reviews/style.css?17750400757010*/
/* Блок отзывов */
.reviews {
    margin-bottom: 40px;
}

/* Grid режим: сетка 2x2 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.reviews-grid__item {
    display: flex;
}

.reviews-grid__show-all{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.reviews-grid__show-all-link {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
    border-radius: 20px;
    background: transparent;
    color: var(--color-primary);
    font-weight: 500;
    border: 1px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #028697 0%, #81effe 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all var(--transition-fast);
    max-width: 153px;
    width: 100%;
}

.reviews-grid__show-all-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--color-primary);
}

/* Заголовок */
.reviews__header-wrapper {
    margin-bottom: 40px;
}

.reviews__title {
    display: flex;
        align-items: center;
        gap: 30px;
}

/* Контейнер слайдера */
.reviews__slider-container {
    position: relative;
}

/* Обертка слайдера */
.reviews__slider-wrapper {
    position: relative;
    overflow: visible; /* Изменено, чтобы тени были видны */
    padding-bottom: 30px; /* Отступ снизу для теней */
}

/* Обертка навигации - позиционирована поверх слайдера */
.reviews__nav-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.reviews__nav-wrapper .container--sm {
    position: relative;
    height: 100%;
}

/* Навигация слайдера - на краях container--sm */
.reviews__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.reviews__nav .slider-nav__btn {
    pointer-events: auto;
}

.reviews__nav .slider-nav__btn--disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews__nav .slider-nav__btn--disabled:hover {
    transform: none;
}

/* Swiper слайдер */
.reviews__swiper {
    overflow: visible;
}

.reviews__swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

.reviews__swiper .swiper-slide {
    width: 500px !important;
    height: auto;
    display: flex;
    flex-shrink: 0;
}

/* Карточка отзыва */
.reviews__card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* Фото автора */
.reviews__card-photo {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviews__card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews__card-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Контент карточки */
.reviews__card-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
}

/* Левая часть: Информация */
.reviews__card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.reviews__card-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #141414;
}

.reviews__card-date {

    font-size: 14px;
    line-height: 18px;
    color: #666666;
}

/* Рейтинг */
.reviews__card-rating {
    display: flex;
    gap: 4px;
    align-items: center;
}

.reviews__card-star {
    width: 16px;
    height: 15px;
    flex-shrink: 0;
}

/* Правая часть: Текст отзыва */
.reviews__card-text {

    font-size: 14px;
    line-height: 20px;
    color: #141414;
    
    /* Ограничение 6 строк с троеточием */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(20px * 6); /* line-height * количество строк */
}

/* Подвал карточки */
.reviews__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.reviews__card-source {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews__card-source img {
    height: 20px;
    width: auto;
}

.reviews__card-source span {

    font-size: 14px;
    line-height: 18px;
    color: #666666;
}

.reviews__card-link {
    font-weight: 700;
    font-size: 10px;
    line-height: 1.1;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #101010;
}

.reviews__card-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .reviews__swiper .swiper-slide {
        width: 450px !important;
    }
}

@media (max-width: 992px) {
    .reviews__swiper .swiper-slide {
        width: 400px !important;
    }
    
    .reviews__card-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reviews__card-info {
        min-width: auto;
    }
}

@media (max-width: 991px) {

    
    .reviews__header-wrapper {
        margin-bottom: 30px;
    }
    
    /* На мобильных скрываем навигацию - пользователь может свайпить */
    .reviews__nav-wrapper {
        display: none;
    }
    
    .reviews__swiper .swiper-slide {
        width: 90% !important;
    }
    
    .reviews__card {
        padding: 20px;
        gap: 15px;
    }
    
    .reviews__card-content {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .reviews__swiper .swiper-slide {
        width: 85% !important;
    }
    
    .reviews__card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Режим rows */
.reviews-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-rows .reviews__card-text {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: unset;
    max-height: none;
}

/* Адаптивность для grid режима */
@media (max-width: 992px) {
    .reviews-grid {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* End */
/* /local/templates/newswason_new/components/bitrix/news.list/main_slider/style.css?17750400756111 */
/* /local/templates/newswason_new/components/bitrix/news.list/our_offers/style.css?178177125715719 */
/* /local/components/goodda/yandex_map/templates/.default/styles.css?177694560021342 */
/* /local/templates/newswason_new/components/bitrix/catalog.section.list/popular_categories/style.css?17750400752363 */
/* /local/templates/newswason_new/components/bitrix/news.list/reviews/style.css?17750400757010 */
