/* Цвета макета */
:root {
    --brand-blue: #0F3C88;
    --brand-pink: #EB004B;
    --brand-pink-hover: #c9003f;
    --bg-page: #EEF3FB;
    --accent-blue: #3D88E8;
    --text-main: #2C2C2C;
}

body.mv-body {
    background-color: var(--bg-page);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  
  background-image: url('../img/bg.png');
  background-repeat: no-repeat round-mirror; /* по оси X не повторять, по оси Y — зеркалить */
  background-position: top center;
  background-size: 100% auto; /* или конкретная ширина/высота */
}

/* =========================================
   ШАПКА (HEADER)
   ========================================= */
.mv-header {
    background: transparent;
}

.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.logo-text {
    line-height: 1;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
}
.logo-title-blue { 
    color: #0B2860; 
    display: block; 
}
.logo-title-pink { 
    color: #EB004B; 
    display: block; 
}

/* Меню шапки: размер, цвет и шаг */
.mv-nav,
.mv-nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mv-header .mv-nav-link {
    display: inline-block;
    color: #001F6A;
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.mv-header .mv-nav-link:hover { 
    color: var(--brand-pink); 
    text-decoration: underline;
}

/* Кнопка в шапке "Выбрать выходной" */
.mv-header .btn-pink-header,
.mv-header .btn-pink-rounded {
    background-color: #EB004B;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 6px 14px -4px rgba(235, 0, 75, 0.45);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.mv-header .btn-pink-header:hover,
.mv-header .btn-pink-rounded:hover { 
    background-color: #D10042; 
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -3px rgba(235, 0, 75, 0.55);
}

/* =========================================
   КНОПКА-БУРГЕР И МОБИЛЬНОЕ МЕНЮ
   ========================================= */
.btn-mobile-burger {
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #072559;
    font-size: 1.5rem;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s, transform 0.15s;
}

.btn-mobile-burger:hover,
.btn-mobile-burger:focus {
    background-color: #F8FAFC;
    color: var(--brand-pink);
}

.mobile-menu-drawer {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    width: 300px !important;
}

.mob-drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #072559;
    text-decoration: none;
    transition: color 0.15s;
}
.mob-drawer-link:hover {
    color: var(--brand-pink);
}

/* =========================================
   СЕТКА ПЛАШЕК ГЕРОЯ
   ========================================= */
.hero-pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 480px;
}

.hero-pills-grid .info-pill {
    margin: 0;
    width: 100%;
    justify-content: flex-start;
}

/* =========================================
   АДАПТИВ ШАПКИ И ГЕРОЯ ДЛЯ СМАРТФОНОВ (<= 767.98px)
   ========================================= */
@media (max-width: 767.98px) {
    /* Скрываем текстовое меню на экранах смартфонов */
    .mv-nav,
    .mv-nav-list {
        display: none !important;
    }
    
     .mv-header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1020;
        background: rgba(238, 243, 251, 0.95); /* Цвет фона страницы (--bg-page) с легкой прозрачностью */
        backdrop-filter: blur(10px);          /* Эффект матового стекла */
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 4px rgba(15, 60, 136, 0.06); /* Легкая тень при наложении */
    }

    /* Заголовок MOS. ВЫХОДНОЙ в одну строчку на смартфонах */
    .hero-brand-title {
        font-size: 2.65rem !important;
        letter-spacing: -1px !important;
        line-height: 1.05 !important;
        margin-bottom: 4px;
    }

    .hero-subtitle {
        font-size: 1.55rem !important;
        margin-bottom: 6px !important;
    }

    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }

    /* Фотография под текстом по макету */
    .hero-mobile-blob-wrap {
        width: 100%;
        max-width: 320px;
        margin: 10px auto 16px auto;
    }

    .hero-mobile-blob-wrap .blob-image {
        width: 100%;
        height: auto;
        border-radius: 40% 60% 70% 30% / 45% 45% 55% 55%;
        object-fit: cover;
    }

    .hero-pills-grid {
        gap: 8px;
    }

    .hero-pills-grid .info-pill {
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        gap: 6px !important;
    }

    .btn-pink-hero {
        font-size: 0.88rem !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 16px !important;
        border-radius: 12px !important;
        text-align: center;
    }

    /* Телефон и режим работы строго в одну строку */
    .hero-contact {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        white-space: nowrap !important;
        width: 100% !important;
    }

    .hero-contact i {
        font-size: 1rem !important;
        flex-shrink: 0;
    }

    .hero-contact .hero-phone {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        flex-shrink: 0;
    }

    .hero-contact .text-muted {
        font-size: 0.72rem !important;
        flex-shrink: 0;
    }
}

/* =========================================
   ГЕРОЙ БЛОК (ДЕСКТОП)
   ========================================= */
.hero-brand-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
}
.text-blue { color: var(--brand-blue); }
.text-pink { color: var(--brand-pink); }

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-blue);
}
.hero-description {
    font-size: 1.15rem;
    max-width: 420px;
    line-height: 1.45;
}

.info-pill {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.info-pill i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* Главная кнопка героя */
.mv-hero .btn-pink-hero {
    background-color: #EB004B;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    height: 60px;
    min-height: 60px;
    padding: 0 32px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 6px 14px -2px rgba(235, 0, 75, 0.5);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.mv-hero .btn-pink-hero:hover {
    background-color: #D10042;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -2px rgba(235, 0, 75, 0.6);
}

.btn-pink-hero i,
.btn-pink-header i,
.btn-pink-rounded i {
    font-size: 1.15rem;
    line-height: 1;
}

.hero-phone {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

/* Формы Blob для фото */
.blob-wrapper-secondary {
    width: 100%;
    max-width: 480px;
    height: 460px;
    overflow: hidden;
}
.blob-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   ФИЛЬТРЫ — ТОЧНАЯ СЕТКА ПО МАКЕТУ
   ========================================= */
.filters-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 30px;
}

/* Сетка: фильтры + кнопка сброса */
.filters-grid {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    width: 100%;
}

.filter-cell {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.filter-caption {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
    white-space: nowrap;
}

.filter-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Обертка кастомного выпадающего списка */
.custom-filter-select {
    position: relative;
    width: 100%;
}

/* Триггер (видимое поле выбора) */
.filter-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #001F6A;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-filter-select.is-open .filter-select-trigger {
    border-color: #3D88E8;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.filter-select-value {
    font-size: 0.875rem;
    font-weight: 400;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Тонкий шеврон по макету */
.filter-select-arrow {
    width: 8px;
    height: 8px;
    border-right: 1.8px solid #001F6A;
    border-top: 1.8px solid #001F6A;
    border-bottom: none;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 6px;
}

.custom-filter-select.is-open .filter-select-arrow {
    transform: rotate(135deg);
}

/* Выпадающее меню */
.filter-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #001F6A;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 1050;
    box-shadow: 0 10px 25px rgba(0, 31, 106, 0.08);
}

.custom-filter-select.is-open .filter-dropdown-list {
    display: block;
}

.filter-dropdown-item {
    margin: 0;
    padding: 0;
}

.filter-dropdown-item label {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #111827;
    cursor: pointer;
    margin: 0;
    transition: background-color 0.15s, color 0.15s;
}

.filter-dropdown-item input[type="radio"] {
    display: none;
}

.filter-dropdown-item label:hover,
.filter-dropdown-item input[type="radio"]:checked + span {
    background-color: #3D88E8;
    color: #ffffff;
}

/* Колонка кнопки сброса (десктоп) */
.filter-cell-reset {
    flex: 0 0 85px;
    border-left: 1px solid #E5E7EB;
    padding-left: 12px;
    height: 46px;
    justify-content: center;
}

.btn-filter-reset {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #111827;
    font-size: 0.72rem;
    line-height: 1.15;
    font-weight: 500;
    text-align: center;
}

.btn-filter-reset svg {
    margin-bottom: 3px;
}

.btn-filter-reset:hover {
    opacity: 0.7;
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ ФИЛЬТРОВ (СТРОГО 2 КОЛОНКИ)
   ========================================= */
@media (max-width: 991px) {
    .filters-card {
        padding: 16px 16px 24px 16px !important;
        border-radius: 28px !important;
    }

    .filters-mob-handle {
        width: 44px;
        height: 4px;
        background-color: #D1D5DB;
        border-radius: 4px;
        margin: 0 auto 16px auto;
    }

    .filters-mob-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: #072559;
    }

    #filters-selected-count {
        background-color: #3D88E8 !important;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.8rem;
        padding: 6px 12px;
        border-radius: 12px;
    }

    .filters-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        gap: 12px 10px !important;
    }

    .filter-cell {
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        min-width: 0 !important;
    }

    .filter-caption {
        font-size: 0.78rem !important;
        margin-bottom: 6px !important;
        color: #111827;
        font-weight: 500;
    }

    .filter-select-trigger {
        height: 46px !important;
        padding: 0 10px !important;
        border-radius: 10px !important;
    }

    .filter-select-value {
        font-size: 0.8125rem !important;
    }

    .filter-cell-reset {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid #F3F4F6 !important;
        padding-top: 16px !important;
        padding-left: 0 !important;
        margin-top: 8px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .btn-mob-apply {
        width: 100% !important;
        background-color: #3D88E8 !important;
        border-color: #3D88E8 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        height: 52px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(61, 136, 232, 0.35) !important;
    }

    .btn-filter-reset {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        color: #072559 !important;
        text-decoration: underline !important;
        margin: 0 auto !important;
    }

    .btn-filter-reset br {
        display: none !important;
    }
}

/* =========================================
   КАРТОЧКА МЕРОПРИЯТИЯ
   ========================================= */
.event-card-item {
    background: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.event-card-item:hover {
    transform: translateY(-4px);
}

.event-card-top {
    display: flex;
    gap: 10px;
    height: 185px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.event-badge {
    width: 110px;
    height: 100%;
    flex-shrink: 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px 14px 28px;
    border-radius: 18px 18px 0 0;
    line-height: 1.15;
}

.event-badge.badge-pink {
    background-color: #eb004b;
}

.event-badge.badge-blue {
    background-color: #3d88e8;
}

.badge-day {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.badge-date {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.badge-divider {
    width: 100%;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.45);
    margin: 4px 0 8px 0;
}

.badge-time {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 1rem;
    font-weight: 700;
}

.badge-time sup {
    font-size: 0.65rem;
    font-weight: 600;
    top: -0.4em;
    margin-left: 1px;
}

.event-thumb-wrap {
    flex-grow: 1;
    height: 100%;
    border-radius: 0 18px 0 0;
    overflow: hidden;
    cursor: pointer;
}

.event-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card-body {
    background: #ffffff;
    border-radius: 18px; 
    margin-top: -18px;    
    position: relative;
    z-index: 2;        
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.event-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #3d88e8;
    font-weight: 600;
}

.event-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-meta .meta-item i {
    font-size: 1rem;
}

.event-meta-prive {
    display: flex;
    flex-direction:column;
    gap: 16px;
    font-size: 0.65rem;
    color: #3d88e8;
    font-weight: 600;
}

.event-meta-prive .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-meta-prive .meta-item i {
    font-size: 1rem;
}

.event-title, .event-title a {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin-top: 4px;
    margin-bottom: 10px;
    text-decoration: none;
}
.event-title a:hover {
    color: var(--accent-blue);
}

.event-desc {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.45;
    margin-bottom: 18px;
}

.event-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Выталкиваем стоимость и кнопки строго в нижнюю часть карточки */
.event-price-wrap {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px; /* аккуратный промежуток между словом "Стоимость:" и суммой */
}

/* Убираем margin-top: auto у кнопок, чтобы они шли сразу за ценой */
.event-actions {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.btn-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1.5px solid #d3dbe8;
    background: #ffffff;
    color: #3d88e8;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-more:hover {
    border-color: #3d88e8;
    background: #f4f8ff;
    color: #2563eb;
}

.btn-card-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px 16px;
    border-radius: 12px;
    background-color: #3d88e8;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
    gap: 6px;
}

.btn-card-pay:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.badge-mob-divider {
    display: none;
}
.badge-time-dash {
    display: none;
}
.event-age-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #8C94A6;
    line-height: 1;
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ КАРТОЧКИ 
   ========================================= */
@media (max-width: 767.98px) {
    .event-card-item {
        background: #ffffff;
        border-radius: 20px;
        padding: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .event-card-top {
        display: block;
        position: relative;
        height: 190px;
        width: 100%;
        margin-bottom: 0;
    }

    .event-thumb-wrap {
        width: 100%;
        height: 100%;
        border-radius: 14px;
        overflow: hidden;
    }

    .event-badge {
        position: absolute;
        bottom: 10px;
        left: 10px;
        z-index: 3;
        width: auto;
        height: auto;
        padding: 6px 12px;
        border-radius: 8px;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        line-height: 1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .badge-day {
        font-size: 0.85rem;
        font-weight: 700;
        margin-bottom: 0;
    }

    .badge-mob-divider {
        display: inline-block;
        font-size: 0.75rem;
        opacity: 0.65;
        margin: 0 1px;
    }

    .badge-date {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0;
    }

    .badge-divider {
        display: none;
    }

    .badge-time {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 2px;
        font-weight: 600;
        font-size: 0.85rem;
        margin-left: 2px;
    }

    .badge-time-dash {
        display: inline-block;
        font-size: 0.85rem;
        margin: 0 1px;
    }

    .badge-time sup {
        font-size: 0.6rem;
    }

    .event-card-body {
        margin-top: 0;
        padding: 14px 4px 4px 4px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .event-meta {
        font-size: 0.8rem;
        gap: 12px;
        margin-bottom: 8px;
    }

    .event-title {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .event-desc {
        font-size: 0.82rem;
        line-height: 1.4;
        color: #555e6d;
    }

    .event-actions {
        gap: 10px;
        margin-top: 4px;
    }

    .btn-card-more,
    .btn-card-pay {
        padding: 9px 12px;
        font-size: 0.82rem;
        border-radius: 10px;
    }
}

/* =========================================
   BOOTSTRAP MODAL ОКНА МЕРОПРИЯТИЯ
   ========================================= */
.event-bootstrap-modal {
    z-index: 1060;
}

.event-bootstrap-modal .modal-dialog {
    max-width: 980px;
    margin: 1.75rem auto;
}

.event-modal-window {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.15s ease;
    padding: 0;
}
.modal-close-btn svg {
    width: 20px;
    height: 20px;
}
.modal-close-btn:hover {
    transform: scale(1.05);
}

.modal-img-wrap {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
}
.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-accent-blue {
    color: #3D88E8 !important;
}
.meta-item-modal {
    font-size: 0.95rem;
    line-height: 1.3;
}
.meta-item-modal i {
    width: 24px;
    text-align: center;
}

.modal-pay-row {
    border-top: 1px solid #E5E7EB;
}

.btn-modal-pay {
    background-color: #3D88E8;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-modal-pay:hover {
    background-color: #2b6cb0;
    color: #ffffff;
    transform: translateY(-1px);
}

.modal-date-badge {
    display: inline-block;
    background-color: #EB004B;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 16px;
    border-radius: 8px;
    line-height: 1;
}
.modal-date-badge sup {
    font-size: 0.65em;
    top: -0.4em;
    margin-left: 1px;
}

.modal-event-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.25;
}

.modal-event-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 12px;
}
.modal-event-content p {
    margin-bottom: 1rem;
}

/* =========================================
   АДАПТИВ МОДАЛЬНОГО ОКНА ДЛЯ СМАРТФОНОВ
   ========================================= */
@media (max-width: 767.98px) {
    .event-bootstrap-modal .modal-dialog {
        margin: 16px auto !important;
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
    }

    .event-modal-window {
        padding: 16px 16px 24px 16px !important;
        border-radius: 20px !important;
    }

    .modal-close-btn {
        top: 24px !important;
        right: 24px !important;
        width: 32px !important;
        height: 32px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    }
    .modal-close-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .modal-img-wrap {
        height: 200px !important;
        border-radius: 14px !important;
        margin-bottom: 1rem !important;
    }

    .modal-meta-list {
        font-size: 0.88rem !important;
        gap: 0.75rem !important;
        margin-bottom: 1.25rem !important;
    }

    .modal-pay-row {
        padding-top: 1rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: 1.25rem !important;
    }

    .btn-modal-pay {
        padding: 10px 20px !important;
        font-size: 0.88rem !important;
        border-radius: 10px !important;
    }

    .modal-date-badge {
        font-size: 0.88rem !important;
        padding: 6px 12px !important;
        margin-bottom: 0.75rem !important;
    }

    .modal-event-title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }

    .modal-event-content {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding-right: 0 !important;
    }
}

/* ========================================================
   ФИКС СДВИГА И СЖАТИЯ СЕТКИ ПРИ ОТКРЫТИИ МОДАЛКИ
   ======================================================== */
html body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

.modal.event-bootstrap-modal {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* =========================================
   ПАГИНАЦИЯ И БЛОК ПОМОЩИ (ПО МАКЕТУ)
   ========================================= */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Обычные цифры страниц */
.page-link-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #3D88E8;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.page-link-num:hover {
    color: #2563eb;
    background-color: #f1f5f9;
}

/* Активная страница — синий скругленный квадрат */
.page-link-num.active {
    background-color: #3D88E8;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 10px;
}

/* Кнопки стрелок (Prev / Next) */
.page-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #3D88E8;
    color: #3D88E8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.15s ease;
}

.page-link-arrow:hover {
    background-color: #3D88E8;
    color: #ffffff;
}

.page-link-arrow.disabled {
    border-color: #E2E8F0;
    color: #CBD5E1;
    background: #ffffff;
    cursor: not-allowed;
    pointer-events: none;
}

/* Блок помощи по макету */
.help-banner {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 32px;
    max-width: 680px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin: 2rem auto;
    width: 100%;
}

.help-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.help-subtitle {
    font-size: 1.05rem;
    color: #111827;
    font-weight: 500;
    margin-top: 2px;
}

/* Розовая кнопка звонка */
.btn-help-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #EB004B;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-help-phone:hover {
    background-color: #D10042;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-help-phone i {
    font-size: 1.2rem;
}


.step-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 0.9;
    color: var(--accent-blue);
}

.loyalty-card {
    background: #ffffff;
}

/* =========================================
   СЕКЦИЯ ШАГОВ (ДЕСКТОП И ОБЩИЕ)
   ========================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
    column-gap: 32px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    justify-content: center;
  margin:30px 0;
}

.step-img-box {
    width: 104px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.step-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 1.20rem;
    font-weight: 700;
    color: #072559;
    margin-bottom: 6px;
    line-height: 1.25;
}

.step-text {
    font-size: 0.88rem;
    color: #4B5563;
    line-height: 1.45;
    margin: 0;
}

/* =========================================
   БАННЕР ПРОГРАММЫ ЛОЯЛЬНОСТИ (ПО МАКЕТУ)
   ========================================= */
.loyalty-card-banner {
    background-color: #FFF0F4; /* Нежно-розовый цвет фона */
    border-radius: 28px;
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.loyalty-header-block {
    flex-shrink: 0;
}

.loyalty-gift-box {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loyalty-gift-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loyalty-banner-title {
    font-size: 1.80rem;
    font-weight: 400;
    line-height: 1.15;
}

.text-blue-dark {
    color: #072559;
}

/* Сетка белых карточек скидок (на десктопе в ряд) */
.loyalty-cards-list {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-grow: 1;
    justify-content: flex-end;
}

.loyalty-white-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(235, 0, 75, 0.04);
    min-width: 200px;
    flex: 1 1 0;
}

.loyalty-cal-box {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loyalty-cal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loyalty-info-box {
    display: flex;
    flex-direction: column;
}

.loyalty-condition {
    font-size: 1.1rem;
    font-weight: 400;
    color: #2C2C2C;
    line-height: 1.25;
    margin-bottom: 2px;
}

.loyalty-val {
    font-size: 2.7rem;
    font-weight: 700;
    color: #EB004B;
    line-height: 1;
    margin-top:4px;
}

/* =========================================
   АДАПТИВ ПОД МОБИЛЬНУЮ ВЕРСИЮ (ФОТО 3 И 4)
   ========================================= */
@media (max-width: 991.98px) {
    /* 1 колонка для шагов на смартфонах (Фото 3) */
    .steps-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .step-img-box {
        width: 74px;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-text {
        font-size: 0.85rem;
    }

    /* Мобильный баннер лояльности (Фото 4) */
    .loyalty-card-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 18px !important;
        border-radius: 24px;
        gap: 20px;
    }

    .loyalty-banner-title {
        font-size: 1.35rem;
    }

    .loyalty-cards-list {
        flex-direction: column;
        gap: 12px;
    }

    /* Каждая карточка в мобильной версии во всю ширину */
    .loyalty-white-card {
        width: 100%;
        min-width: 0;
        padding: 16px 20px;
        gap: 16px;
        border-radius: 16px;
    }

    .loyalty-cal-box {
        width: 52px;
        height: 52px;
    }

    .loyalty-condition {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .loyalty-val {
        font-size: 1.85rem;
    }
}

.gallery-img {
    border-radius: 14px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.2s;
}
.gallery-img:hover { opacity: 0.9; }

.reviews-slider::-webkit-scrollbar { height: 4px; }
.reviews-slider::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
.review-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    min-width: 320px;
    max-width: 380px;
    flex-shrink: 0;
}
.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E1E6EE;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.feedback-card {
    background: #ffffff;
    border-radius: 24px;
}
.feedback-input {
    background: #F4F6F9;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.9rem;
}
.boy-decor-wrapper {
    position: absolute;
    right: 0;
    bottom: -30px;
    width: 320px;
    height: 320px;
}
.boy-decor-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   ПОДВАЛ (FOOTER)
   ========================================= */
.mv-footer {
    background-color: #3b82f6 !important; /* Яркий синий цвет фона */
    color: #ffffff;
}

/* Логотипы слева */
.footer-logos-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.footer-logo-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.footer-brand-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Если исходные файлы цветные, строка ниже сделает их белыми как на макете */
}

/* Иконки соцсетей справа */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-soc-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.footer-soc-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-soc-img {
    width: 34px;
    height:34px;
    object-fit: contain;
    display: block;
    /* Делает иконки белыми, если они цветные */
    filter: brightness(0) invert(1);
}

/* Нижняя строка с текстами */
.footer-bottom-row {
    font-size: 0.88rem;
    font-weight: 400;
}

.footer-bottom-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-bottom-link:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}

.footer-phone-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-phone-link:hover {
    color: #ffffff;
    opacity: 0.85;
}

 /* Переход на другой сайт по всплывающей подсказке */
.tooltip-wrapper {
  position: relative;
  display: inline-block; 
  cursor: pointer;
}

.custom-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); 
  margin-top: 12px;
  background-color: rgba(45, 45, 45, 0.85); 
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  width: max-content;
  max-width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  font-family: inherit;
  font-size: 14px;
  cursor: default;
}

.custom-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%; 
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #343a40 transparent; 
}

@media (max-width: 767.98px) {
    .custom-tooltip {
      max-width: 200px;
      top: 100%;
      left: 100%;
    }
    .custom-tooltip::after {
      bottom: 100%; 
      left: 20%;
    }
}

.custom-tooltip.show {
  visibility: visible;
  opacity: 1;
}

.tooltip-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background-color: #D10042;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.tooltip-btn:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}


/* Адаптив для смартфонов */
@media (max-width: 767.98px) {
    .footer-brand-img {
        height: 36px;
    }
    
    .footer-soc-img {
        width: 24px;
        height: 24px;
    }

    .footer-bottom-row {
        gap: 6px;
    }
}

.events-main-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 600;
    color: #072559;
    line-height: 1.18;
    letter-spacing: -0.8px;
}

.events-main-heading .accent-pink {
    color: #EB004B;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 500;
    color: #072559;
    line-height: 1.18;
}

.lesson-item {
    height: 100%;
}

/* Квадратные изображения со скруглёнными углами */
.gallery-item-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* Гарантирует строгий квадрат */
    overflow: hidden;
    border-radius: 18px; /* Радиус скругления как на макете */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Защита от искажения пропорций */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item-link:hover .gallery-img {
    transform: scale(1.04);
}

/* Кнопка "Показать ещё фото" по макету */
.btn-gallery-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #3b82f6; /* Насыщенный синий цвет */
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 10px; /* Слегка скругленные углы вместо rounded-pill */
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-gallery-more:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-gallery-more:active {
    transform: translateY(0);
}

.btn-gallery-more .arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-gallery-more:hover .arrow {
    transform: translateX(3px);
}

/* Скрытие элементов для JS */
.gallery-item.d-none {
    display: none !important;
}

/* Обертка для предотвращения горизонтального скролла всей страницы */
/* =========================================
   СЛАЙДЕР ОТЗЫВОВ (ФИКСАЦИЯ ВЫСОТЫ И ОБРЕЗКА)
   ========================================= */
.reviews-section {
    overflow: hidden;
    position: relative;
    padding-bottom: 2rem;
}

.reviews-slider-wrap {
    width: 100%;
    position: relative;
    padding: 10px 0 20px;
    touch-action: pan-y; /* Разрешает вертикальный скролл страницы и горизонтальный свайп слайдов */
}

.reviews-swiper {
    overflow: visible !important;
}

/* Высота и ширина слайдов */
.reviews-swiper .swiper-slide {
    width: 540px;           /* Ширина слайда на десктопе */
    max-width: 82vw;        /* Ширина на мобильных */
    height: 320px !important; /* Жёсткая одинаковая высота для ВСЕХ слайдов */
    box-sizing: border-box;
}

/* Карточка отзыва */
.review-card {
    width: 100%;
    height: 100% !important;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden !important; /* Обрезает всё, что не влезает */
    position: relative;
}

.review-card-link {
    display: block;
    width: 100%;
    height: 100% !important;
    cursor: zoom-in;
    overflow: hidden;
}

/* Картинка заполняет карточку ровно на 100% высоты, лишнее снизу срезается */
.review-card .review-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important; /* Привязка к верху (автор, аватарка, звёзды) */
    display: block;
}

/* Пагинация (точки) */
.reviews-pagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 1.5px solid #3b82f6;
    opacity: 0.5;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.reviews-pagination .swiper-pagination-bullet-active {
    background-color: #3b82f6;
    opacity: 1;
    transform: scale(1.2);
}

/* =========================================
   ФИКС И СТИЛИЗАЦИЯ ПАГИНАЦИИ ОТЗЫВОВ ПО МАКЕТУ
   ========================================= */

/* Опускаем блок пагинации под слайдер и убираем абсолютное позиционирование Swiper */
.reviews-section .reviews-pagination,
.reviews-swiper .reviews-pagination.swiper-pagination-bullets {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 36px !important; /* Отступ вниз от карточек */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;         /* Расстояние между точками */
    z-index: 10;
}

/* Увеличенные точки (контурные по макету) */
.reviews-section .swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    background-color: transparent !important;
    border: 1.5px solid #3b82f6 !important;
    opacity: 0.5 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

/* Активная залитая точка */
.reviews-section .swiper-pagination-bullet-active {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Адаптив высоты для экранов телефонов */
@media (max-width: 767.98px) {
    .reviews-swiper .swiper-slide {
        height: 240px !important; /* Компактная высота для смартфонов */
        max-width: 80vw;
    }
}

/* Гарантированный приоритет кликабельности мобильного меню */
.mobile-menu-drawer {
    z-index: 1060 !important;
    pointer-events: auto !important;
}

.mobile-menu-drawer .offcanvas-body {
    pointer-events: auto !important;
}

.mob-drawer-link {
    cursor: pointer;
    touch-action: manipulation;
    padding: 6px 0;
    display: block;
}
/* =========================================
   ФОРМА ОБРАТНОЙ СВЯЗИ ПО МАКЕТУ
   ========================================= */
.feedback-section {
    position: relative;
    overflow: hidden;
}

.feedback-main-title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 700;
    color: #072559;
}

/* Белая карточка формы */
.feedback-card-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 34px 38px;
    box-shadow: 0 10px 40px rgba(15, 60, 136, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.6);
}

/* Поля ввода с тонкой серой рамкой */
.feedback-input {
    background: #ffffff !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.92rem !important;
    color: #1E293B !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.feedback-input:focus {
    border-color: #3b82f6 !important;
}

.feedback-input::placeholder {
    color: #94A3B8;
    font-size: 0.88rem;
}

.feedback-textarea {
    height: 105px !important;
    resize: none;
}

/* Блок оценки (звёзды) */
.rating-label {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #64748B;
}

.stars-rating-group {
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
}

.stars-rating-group .star-item {
    font-size: 1.6rem;
    color: #CBD5E1; /* Неактивная звезда */
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.stars-rating-group .star-item.active {
    color: #F59E0B; /* Жёлтая звезда */
}

.stars-rating-group .star-item:hover {
    transform: scale(1.15);
}

/* Чекбокс согласия */
.feedback-checkbox {
    border-radius: 6px !important;
    border: 1.5px solid #94A3B8 !important;
    cursor: pointer;
}

.feedback-checkbox:checked {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.feedback-check-label {
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

/* Кнопка отправки */
.btn-feedback-submit {
    background-color: #3b82f6;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-feedback-submit:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

/* Фигурная рамка для мальчика справа (Blob) */
.feedback-boy-frame {
    width: 100%;

}

.feedback-boy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Выпадающий календарь */
.custom-calendar-filter {
    position: relative;
    width: 100%;
}

.custom-calendar-filter .calendar-dropdown-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 60, 136, 0.15);
    border: 1px solid #E2E8F0;
    padding: 18px;
    z-index: 1060 !important;
    display: none;
}

/* При открытии строго показываем блок */
.custom-calendar-filter.is-open .calendar-dropdown-box {
    display: block !important;
}

.custom-calendar-filter.is-open .filter-select-trigger {
    border-color: #3D88E8;
    box-shadow: 0 0 0 3px rgba(61, 136, 232, 0.15);
}

.calendar-month-title {
    font-size: 0.95rem;
    color: #072559;
}

.btn-clear-date {
    background: transparent;
    border: none;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}
.btn-clear-date:hover {
    color: #EB004B !important;
}

.calendar-weekdays-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94A3B8;
    margin-bottom: 8px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day-cell {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    border-radius: 10px;
    color: #CBD5E1;
    user-select: none;
}

/* Доступные даты (18, 24, 25, 31 октября) */
.cal-day-cell.available {
    color: #072559;
    font-weight: 700;
    background: #EEF3FB;
    cursor: pointer;
    border: 1.5px solid #3D88E8;
    transition: all 0.2s ease;
}

.cal-day-cell.available:hover {
    background: #3D88E8;
    color: #ffffff;
    transform: scale(1.08);
}

.cal-day-cell.selected {
    background: #3D88E8 !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 10px rgba(61, 136, 232, 0.4);
}

.loyalty-card-banner {
    background-color: #FFF0F4;
    border-radius: 28px;
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Левая колонка фиксированной аккуратной ширины */
.loyalty-header-col {
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Сам текст под заголовком */
.loyalty-sub-text {
    font-size: 1.04rem;
    line-height: 1.35;
    color: #555e6d;
}

@media (max-width: 991.98px) {
    .loyalty-header-col {
        max-width: 100%;
        text-align: left;
    }
}

/* Кнопки переключения месяцев */
.btn-cal-nav {
    background: transparent;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3D88E8;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-cal-nav:hover {
    background-color: #EEF3FB;
    color: #072559;
}

.calendar-month-title {
    font-size: 0.92rem;
    white-space: nowrap;
    min-width: 110px;
    text-align: center;
}

/* Изолированные стили календаря */
.calendar-filter-box {
    position: relative;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

.calendar-filter-box .calendar-dropdown-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 295px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 60, 136, 0.15);
    border: 1px solid #E2E8F0;
    padding: 18px;
    z-index: 1060 !important;
    display: none;
}

.calendar-filter-box.is-open .calendar-dropdown-box {
    display: block !important;
}

.calendar-filter-box.is-open .filter-select-trigger {
    border-color: #3D88E8;
    box-shadow: 0 0 0 3px rgba(61, 136, 232, 0.15);
}

.calendar-filter-box.is-open .filter-select-arrow {
    transform: rotate(135deg);
}

/* Изменение порядка пунктов в фильтре "Посещение" */
[data-filter="mv_vizit"] .custom-filter-select.is-open .filter-dropdown-list{
    display: flex !important;
    flex-direction: column !important;
}

/* 1. Пункт "Все" остается первым */
[data-filter="mv_vizit"] .filter-dropdown-item:first-child {
    order: 1 !important;
}

/* 2. "Только ребенок" поднимаем на второе место */
[data-filter="mv_vizit"] .filter-dropdown-item:nth-child(3) {
    order: 2 !important;
}

/* 3. "Ребенок + родитель" опускаем на третье место */
[data-filter="mv_vizit"] .filter-dropdown-item:nth-child(2) {
    order: 3 !important;
}

/* Верхние кнопки-стрелки месяца */
.btn-cal-nav {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background-color: #EEF3FB;
    color: #3D88E8;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-cal-nav:hover {
    background-color: #3D88E8;
    color: #ffffff;
}

/* Нижняя панель с кнопками Назад / Вперёд */
.calendar-bottom-nav {
    border-top: 1px solid #F1F5F9;
}

.btn-cal-footer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: #EB004B;
    border: 1px solid #DCE6F5;
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cal-footer i {
    font-size: 0.85rem;
    color: #fff;
    transition: color 0.15s ease;
}

.btn-cal-footer:hover {
    background-color: #3D88E8;
    border-color: #3D88E8;
    color: #ffffff;
}

.btn-cal-footer:hover i {
    color: #ffffff;
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 767.98px) {
    .feedback-card-box {
        padding: 22px 18px;
        border-radius: 18px;
    }
    
    .rating-widget {
        margin-top: 10px;
        margin-bottom: 8px;
    }
    
    .btn-feedback-submit {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .help-banner {
        flex-direction: column;
        align-items: stretch !important;
        gap: 18px;
        padding: 20px 18px;
        border-radius: 20px;
    }
    
    .section-title {
        font-family: 'Inter', sans-serif;
        font-size: clamp(2rem, 3.2vw, 2.75rem);
        font-weight: 500;
        color: #072559;
        line-height: 1.18;
    }
    
    .section-title span {display: block;}
    
    .step-card {margin:4px;}

    .help-title {
        font-size: 1.05rem;
    }

    .help-subtitle {
        font-size: 0.95rem;
    }

    .btn-help-phone {
        width: 100%;
        font-size: 1rem;
        padding: 12px 20px;
    }
}