

/* Start:/local/templates/new_vinoterra/components/bitrix/breadcrumb/breadcrumb_2021/style.css?158756254777*/
@media(max-width:767px) {
   section.sub-banner {
      padding: 4px;
   }
}

/* End */


/* Start:/local/templates/new_vinoterra/css/event-booking.css?178765306015001*/
:root {
    --vt-burgundy: #59141E;
    --vt-burgundy-hover: #420D14;
    --vt-sand-bg: #ffffff; /* Чистый белый фон секции */
    --vt-card-active-bg: #FBF8F5; /* Цвет активной вкладки/карточки */
    --vt-card-inactive-bg: #F7F2EB; /* Очень легкий, ненавязчивый бежевый оттенок неактивных вкладок */
    --vt-border-color: #E6DCCE; /* Легкая граница для инпутов */
    --vt-text-dark: #333333;
    --vt-text-light: #666666;
    --vt-text-muted: #8E7C68;
    --vt-shadow: 0 10px 30px rgba(89, 20, 30, 0.05);
    --vt-shadow-active: 0 15px 40px rgba(89, 20, 30, 0.12);
}

/* ==========================================
   ГЛАВНЫЙ БЛОК БРОНИРОВАНИЯ МЕРОПРИЯТИЙ
========================================== */
.eb-section-wrapper,
.eb-section-wrapper *,
.eb-section-wrapper input,
.eb-section-wrapper select,
.eb-section-wrapper textarea,
.eb-section-wrapper button {
    font-family: "Proba Pro Regular", sans-serif !important;
}

.eb-section-wrapper {
    background-color: var(--vt-sand-bg);
    padding: 60px 20px 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.eb-container {
    max-width: 1200px;
    margin: 0 auto;
}

.eb-title-block {
    text-align: center;
    margin-bottom: 50px;
}

.eb-section-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--vt-burgundy);
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eb-section-subtitle {
    font-size: 16px;
    color: var(--vt-text-light);
    margin: 0;
    font-weight: 300;
}

/* Сетка карточек-вкладок */
.eb-cards-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}

/* Общие стили карточки */
.eb-card {
    flex: 1;
    background-color: var(--vt-card-inactive-bg);
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 30px 24px 35px 24px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Состояние: Неактивная вкладка */
.eb-card.eb-inactive {
    box-shadow: none;
}

.eb-cards-wrapper.eb-has-active .eb-card.eb-inactive {
    opacity: 0.65;
}

.eb-card.eb-inactive:hover {
    transform: translateY(-4px);
    background-color: #EFE8DD;
}

.eb-cards-wrapper.eb-has-active .eb-card.eb-inactive:hover {
    opacity: 0.95;
}

/* Состояние: Активная вкладка */
.eb-card.eb-active {
    background-color: var(--vt-card-active-bg); /* #FBF8F5 */
    border-color: var(--vt-burgundy);
    box-shadow: var(--vt-shadow-active);
    opacity: 1;
}

.eb-card.eb-active .eb-form {
    cursor: default;
}

/* Шапка карточки (минималистичный заголовок-вкладка) */
.eb-card-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* Текст кнопки-вкладки с элегантным подчёркиванием */
.eb-card-tab-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--vt-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.eb-card.eb-inactive:hover .eb-card-tab-title {
    color: var(--vt-burgundy);
    border-bottom-color: rgba(89, 20, 30, 0.3);
}

.eb-card.eb-active .eb-card-tab-title {
    color: var(--vt-burgundy);
    border-bottom: 2px solid var(--vt-burgundy);
}

/* Иконка шеврона (только для мобильной версии) */
.eb-card-chevron {
    display: none;
    width: 20px;
    height: 20px;
    color: var(--vt-burgundy);
    transition: transform 0.3s ease;
}

/* Маленькая мобильная иконка в шапке (скрыта на десктопе) */
.eb-card-header-icon-mobile {
    display: none;
}

/* Крупная иконка в теле карточки (для веб-версии увеличена в 2 раза) */
.eb-icon-wrapper {
    margin: 20px auto 30px auto; /* Центрируем иконку в карточке */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px; /* Увеличено в 2 раза */
    width: 160px;  /* Увеличено в 2 раза */
}

.eb-event-img {
    width: 96px; /* Размер векторной SVG иконки увеличен в 2 раза */
    height: 96px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.eb-card.eb-active .eb-event-img {
    transform: scale(1.05); /* Легкое изящное выделение активной иконки */
}

/* Текстовая информация о мероприятии */
.eb-event-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--vt-text-dark);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eb-event-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--vt-text-light);
    margin: 0 0 25px 0;
    min-height: 90px; /* Выравнивание высоты описаний на десктопе */
    max-width: 320px;
}

/* Специфические буллеты/теги */
.eb-event-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    width: 100%;
}

.eb-tag {
    font-size: 12px;
    background-color: rgba(89, 20, 30, 0.05);
    color: var(--vt-burgundy);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.eb-card.eb-inactive .eb-event-tags {
    opacity: 0.7;
}

/* ==========================================
   ФОРМА ЗАЯВКИ
========================================== */
.eb-card-body {
    width: 100%;
}

/* На десктопе скрываем форму неактивной карточки, оставляя контент видимым */
.eb-card.eb-inactive .eb-form {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.eb-card.eb-active .eb-form {
    max-height: 1500px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
}

.eb-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    text-align: left;
    margin-top: 10px;
    border-top: 1px dashed rgba(89, 20, 30, 0.15);
    padding-top: 25px;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.eb-form-group {
    position: relative;
    width: 100%;
}

/* Однострочный грид для гостей и бюджета */
.eb-form-row {
    display: flex;
    gap: 12px;
    width: 100%;
}
.eb-form-row .eb-form-group {
    flex: 1;
}

/* Лейблы над инпутами (мелкие, для фиксации полей даты и радиобатонов) */
.eb-input-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--vt-text-muted);
    margin-bottom: 5px;
    display: block;
    letter-spacing: 0.5px;
}

/* Стили полей ввода */
.eb-form input[type="text"],
.eb-form input[type="date"],
.eb-form select,
.eb-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--vt-border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    background-color: #ffffff;
    color: var(--vt-text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.eb-form input::placeholder, 
.eb-form select:invalid,
.eb-form textarea::placeholder {
    color: #9c8a77;
}

.eb-form input:focus,
.eb-form select:focus,
.eb-form textarea:focus {
    border-color: var(--vt-burgundy);
    outline: none;
    box-shadow: 0 0 0 3px rgba(89, 20, 30, 0.08);
}

/* Настройка поля пожеланий (textarea) */
.eb-form textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 1500px;
    overflow-y: auto;
}

/* Стилизация радиобатонов для Мастер-класса */
.eb-radio-group {
    display: flex;
    gap: 15px;
    margin-top: 4px;
}

.eb-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
    color: var(--vt-text-dark);
    font-weight: 600;
}

.eb-radio-label input[type="radio"] {
    margin: 0;
    accent-color: var(--vt-burgundy);
    width: 16px;
    height: 16px;
}

/* Кнопка отправки */
.eb-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--vt-burgundy);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

.eb-submit-btn:hover {
    background-color: var(--vt-burgundy-hover);
}

.eb-submit-btn:active {
    transform: scale(0.99);
}

/* ==========================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНУЮ ВЕРСИЮ
========================================== */
@media (max-width: 992px) {
    .eb-cards-wrapper {
        gap: 16px;
    }
    .eb-card {
        padding: 24px 16px 28px 16px;
    }
    .eb-event-title {
        font-size: 18px;
    }
    .eb-event-desc {
        font-size: 13px;
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .eb-section-wrapper {
        padding: 40px 15px;
    }

    .eb-card-body {
        transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
    }
    
    .eb-section-title {
        font-size: 24px;
    }
    
    .eb-section-subtitle {
        font-size: 14px;
    }

    .eb-cards-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    /* Карточка превращается в элемент аккордеона */
    .eb-card {
        width: 100%;
        flex: none !important;
        padding: 16px 18px;
        background-color: var(--vt-card-inactive-bg);
        border: 1px solid #dccbb3;
        align-items: flex-start;
        text-align: left;
        border-radius: 4px;
    }

    .eb-cards-wrapper.eb-has-active .eb-card.eb-inactive,
    .eb-cards-wrapper.eb-has-active .eb-card.eb-inactive:hover {
        opacity: 1;
    }

    /* Настройка шапки для мобильного клика */
    .eb-card-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0;
        padding: 0;
        background-color: transparent;
        border: none;
    }

    /* Объединяем иконку и текст в левый блок с точным вертикальным центрированием */
    .eb-card-header-left {
        display: flex;
        align-items: center;
    }

    /* Название вкладки на мобильном — сброс паддинга для выравнивания точно по центру иконки */
    .eb-card-tab-title {
        font-size: 14px;
        margin: 0;
        padding-bottom: 0;
        border-bottom: none;
        line-height: 1.2;
        font-weight: 700;
        color: var(--vt-burgundy);
        display: flex;
        align-items: center;
    }

    /* Иконка в шапке слева от заголовка на мобильном (отображается ВСЕГДА) */
    .eb-card-header-icon-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        flex-shrink: 0;
        height: 26px;
    }
    .eb-card-header-img {
        width: 26px;
        height: 26px;
        display: block;
        object-fit: contain;
    }

    /* На мобильном скрываем крупную иконку в теле карточки, чтобы она не дублировалась под текстом */
    .eb-icon-wrapper {
        display: none !important;
    }

    /* Объединяем иконку и текст в левый блок */
    .eb-card-header-left {
        display: flex;
        align-items: center;
    }

    /* Показываем шеврон */
    .eb-card-chevron {
        display: block;
    }

    /* Поворачиваем шеврон активной карточки */
    .eb-card.eb-active .eb-card-chevron {
        transform: rotate(180deg);
    }

    /* Скрываем тело свернутого аккордеона */
    .eb-card.eb-inactive .eb-card-body {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        margin-top: 0;
        border-top: none;
        padding-top: 0;
    }

    /* Раскрываем тело активного аккордеона */
    .eb-card.eb-active .eb-card-body {
        margin-top: 15px;
        max-height: 1500px;
        opacity: 1;
        pointer-events: auto;
        border-top: 1px dashed rgba(89, 20, 30, 0.15);
        padding-top: 20px;
    }

    /* Крупная иконка и описание внутри тела на мобильном */
    .eb-icon-wrapper {
        margin: 10px auto 15px auto;
        height: 64px;
        width: 64px;
    }
    .eb-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .eb-event-title {
        font-size: 18px;
        text-align: center;
    }

    .eb-event-desc {
        font-size: 13px;
        text-align: center;
        margin: 0 auto 20px auto;
        min-height: unset;
    }

    /* Форма больше не требует верхней рамки */
    .eb-form {
        border-top: none;
        padding-top: 0;
        gap: 12px;
    }

    .eb-form-row {
        flex-direction: column;
        gap: 12px;
    }
}

.eb-card-tab-title,
.eb-event-title,
.eb-submit-btn {
    font-family: "Proba Pro Medium", sans-serif !important;
}

.eb-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.eb-status {
    color: #a33;
    font-size: 14px;
    margin-bottom: 12px;
}

.eb-agree {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--vt-text-muted);
}

.eb-agree a {
    color: var(--vt-text-muted);
    text-decoration: underline;
}

.eb-success {
    text-align: center;
    padding: 30px 0;
    color: var(--vt-text-dark);
}

.eb-form .g-recaptcha {
    margin-bottom: 16px;
}

/* End */
/* /local/templates/new_vinoterra/components/bitrix/breadcrumb/breadcrumb_2021/style.css?158756254777 */
/* /local/templates/new_vinoterra/css/event-booking.css?178765306015001 */
