/* =======================================================
   СВЕРХКОМПАКТНЫЙ ВЕРТИКАЛЬНЫЙ СТИЛЬ РУКОВОДСТВА (В ОДНУ КОЛОНКУ)
   ======================================================= */

/* Общие сбросы и шрифты сайта */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #2e2c3e;
    line-height: 1.4; /* Уплотнили межстрочный интервал */
    padding: 20px 15px; /* Уменьшили внешние отступы страницы */
}

/* Контейнер руководства (Сжатый по высоте) */
.guide-container {
    max-width: 680px; /* Оптимальная ширина для компактного чтения в один столбик */
    margin: 0 auto;
    background: #ffffff;
    padding: 25px 30px; /* Сильно урезали внутренние отступы */
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px !important;
}

/* Шапка */
.guide-header {
    text-align: center;
    margin-bottom: 20px; /* Уменьшили отступ снизу */
}

.guide-title {
    font-size: 24px; /* Компактный заголовок */
    font-weight: 800;
    color: #0099cc;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.accent-red {
    color: #ff3b30; /* Сочный фирменный красный */
}

.guide-subtitle {
    font-size: 13.5px;
    color: #4a5568;
    max-width: 500px;
    margin: 0 auto 12px auto;
}

/* Закругленные теги */
.tag-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.guide-tag {
    font-size: 11.5px;
    color: #4a5568;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Карточки шагов — ОДНА КОЛОНКА, МАКСИМАЛЬНО ПЛОТНО */
.steps-section {
    display: flex;
    flex-direction: column;
    gap: 14px; /* Минимальный зазор между карточками */
    margin-bottom: 25px;
}

.step-card {
    display: flex;
    gap: 20px; /* Отступ между номером и контентом */
    padding: 16px 20px; /* Сжали карточку внутри */
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    align-items: flex-start; /* Выравнивание по верхней линии */
}

.step-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

/* Стиль для важного третьего шага (В стиле тарифа VIP) */
.step-card.highlight {
    border-left: 5px solid #007cc3 !important; /* Наш небесно-голубой цвет */
    background: #fcfdfe; /* Легкий чистый тон */
}

/* Сжатые номера шагов */
.step-number {
    font-size: 28px;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    flex-shrink: 0; /* Чтобы номер не сжимался */
}

.step-card.highlight .step-number {
    color: #007cc3;
}

.step-content {
    width: 100%;
}

.step-content h3 {
    font-size: 15.5px;
    color: #2e2c3e;
    margin-bottom: 4px;
    font-weight: 800;
}

.step-content p {
    font-size: 13.5px;
    color: #4a5568;
    margin: 0 !important;
}

.step-content a {
    color: #007cc3;
    text-decoration: none;
    font-weight: 700;
}

.step-content a:hover {
    text-decoration: underline;
}

/* Сжатые подблоки функций для шага 3 (Вложенная плашка) */
.sub-features {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px; /* Плотные строки */
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 2px solid #cbd5e1;
}

.feature-item {
    font-size: 12px;
    line-height: 1.3;
    color: #64748b;
}

.feature-item strong {
    color: #475569;
}

/* Подвал */
.guide-footer {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.guide-footer p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.wish-text {
    font-weight: 700;
    color: #2e2c3e;
    font-size: 14.5px;
    margin-bottom: 15px !important;
}

/* Фирменная синяя кнопка (В стиле кнопки ВЫБРАТЬ VIP) */
.btn-primary {
    display: inline-block;
    background-color: #007cc3; 
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 24px; /* Компактные размеры кнопки */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 124, 195, 0.2);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #0066a2;
    box-shadow: 0 4px 16px rgba(0, 124, 195, 0.3);
}

/* Адаптивность для мобильных */
@media (max-width: 580px) {
    .guide-container {
        padding: 20px 15px;
    }
    .step-card {
        gap: 12px;
        padding: 14px 15px;
    }
    .step-number {
        font-size: 24px;
    }
}



/* =======================================================
   МАКСИМАЛЬНО КОМПАКТНЫЙ СТИЛЬ РУКОВОДСТВА (ОДНА СТРОКА)
   ======================================================= */




.custom-test-checkout-wrapper {
    max-width: 600px; /* Компактная ширина для одного фокусного столбика */
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Принудительный сброс сетки WooCommerce в один строгий ряд */
.custom-test-checkout-wrapper form.checkout,
.custom-test-checkout-wrapper #customer_details,
.custom-test-checkout-wrapper #customer_details .col-1,
.custom-test-checkout-wrapper #customer_details .col-2,
.custom-test-checkout-wrapper #order_review {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
    gap: 0 !important;
}

/* Очистка дефолтных колонок темы */
.custom-test-checkout-wrapper #customer_details .col-1,
.custom-test-checkout-wrapper #customer_details .col-2 {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. Основные карточки блоков (Скругление 16px и рамка 2px, как у тарифов) */
.custom-test-checkout-wrapper #customer_details,
.custom-test-checkout-wrapper #order_review {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    margin-bottom: 24px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02);
}

/* Линия-разделитель между блоком данных и примечанием */
.custom-test-checkout-wrapper #customer_details .col-2 h3 {
    margin-top: 25px !important;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

/* 3. Оформление плашки уведомления о купоне */
.custom-test-checkout-wrapper .woocommerce-info {
    position: relative !important;
    border: 2px solid #007cc3 !important;
    border-top: 5px solid #007cc3 !important;
    background-color: #e6f4fc !important;
    color: #004b77 !important;
    padding: 16px 20px !important;
    border-radius: 12px;
    margin-bottom: 24px !important;
    font-size: 14px;
    font-weight: 500;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important; /* Отступ между фразами "Есть купон?" и "Нажмите..." */
}

/* Полное удаление сломанного квадратика/иконки слева */
.custom-test-checkout-wrapper .woocommerce-info::before {
    display: none !important;
    content: none !important;
}

/* Ссылка в плашке купона */
.custom-test-checkout-wrapper .woocommerce-info a {
    color: #007cc3 !important;
    font-weight: 700;
    text-decoration: none !important;
}
.custom-test-checkout-wrapper .woocommerce-info a:hover {
    text-decoration: underline !important;
}

/* 4. Всплывающая карточка ввода купона */
.custom-test-checkout-wrapper form.checkout_coupon {
    background: #ffffff !important;
    padding: 25px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}
.custom-test-checkout-wrapper form.checkout_coupon p:first-of-type {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin-bottom: 15px !important;
}
.custom-test-checkout-wrapper form.checkout_coupon .form-row-first,
.custom-test-checkout-wrapper form.checkout_coupon .form-row-last {
    width: auto !important;
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}
.custom-test-checkout-wrapper form.checkout_coupon .form-row-first {
    margin-right: 12px !important;
}

/* Инпут купона */
.custom-test-checkout-wrapper form.checkout_coupon input.input-text {
    background-color: #f8fafc !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    height: 46px !important;
    font-size: 14px !important;
    color: #2e2c3e !important;
    box-sizing: border-box !important;
    width: 240px !important;
}

/* Кнопка «Применить купон» (в стиле ВЫБРАТЬ VIP) */
.custom-test-checkout-wrapper form.checkout_coupon button.button {
    background-color: #007cc3 !important;
    color: #ffffff !important;
    height: 46px !important;
    padding: 0 24px !important;
    line-height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 10px rgba(0, 124, 195, 0.2) !important;
    transition: all 0.2s ease !important;
}
.custom-test-checkout-wrapper form.checkout_coupon button.button:hover {
    background-color: #0066a2 !important;
    box-shadow: 0 4px 14px rgba(0, 124, 195, 0.35) !important;
    cursor: pointer !important;
}

/* 5. Заголовки блоков (Шрифт как в "Курс ЭКГ «БАЗОВЫЙ»") */
.custom-test-checkout-wrapper h3,
.custom-test-checkout-wrapper #order_review_heading {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    color: #2e2c3e; /* Фирменный темный оттенок */
    text-transform: none !important;
    letter-spacing: -0.5px;
}

/* Названия полей (Строгий верхний регистр) */
.custom-test-checkout-wrapper .form-row label {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #4a5568;
    margin-bottom: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Красные звездочки обязательных полей (в цвет баджа НАВСЕГДА) */
.custom-test-checkout-wrapper .form-row .required {
    color: #ff3b30 !important;
    text-decoration: none !important;
    font-weight: 700;
}

/* 6. Поля ввода чекаута */
.custom-test-checkout-wrapper .form-row input.input-text,
.custom-test-checkout-wrapper .form-row select,
.custom-test-checkout-wrapper .form-row textarea {
    background-color: #f8fafc !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    height: 46px !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    color: #2e2c3e;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box !important;
    width: 100%;
}
.custom-test-checkout-wrapper .form-row textarea {
    height: 90px !important;
}

/* Голубой неоновый фокус на активном поле */
.custom-test-checkout-wrapper .form-row input.input-text:focus,
.custom-test-checkout-wrapper .form-row select:focus,
.custom-test-checkout-wrapper .form-row textarea:focus {
    border-color: #007cc3 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0, 124, 195, 0.15) !important;
}

/* 7. Состав заказа и чек */
.custom-test-checkout-wrapper table.shop_table {
    border: none !important;
    width: 100%;
}
.custom-test-checkout-wrapper table.shop_table th,
.custom-test-checkout-wrapper table.shop_table td {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 14px 0 !important;
    font-size: 14px;
    color: #4a5568;
}
/* Выделение итоговой стоимости в цвете правого тарифа */
.custom-test-checkout-wrapper table.shop_table .order-total td,
.custom-test-checkout-wrapper table.shop_table .order-total th {
    border-bottom: none !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #007cc3;
    padding-top: 20px !important;
}

/* Способы оплаты (Robokassa) */
.custom-test-checkout-wrapper #payment ul.payment_methods {
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    list-style: none !important;
}
.custom-test-checkout-wrapper #payment ul.payment_methods li {
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 14px;
    font-weight: 700;
    color: #2e2c3e;
}
.custom-test-checkout-wrapper #payment div.payment_box {
    display: none !important; /* Убираем пустую серую плашку */
}

/* Пояснительный текст в блоке чека */
.custom-test-checkout-wrapper #order_review > p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin: 20px 0 !important;
}

/* Чекбокс согласия с правилами сайта */
.custom-test-checkout-wrapper .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #4a5568;
    margin: 20px 0 !important;
}
.custom-test-checkout-wrapper .woocommerce-form__label-for-checkbox input {
    margin-top: 3px !important;
}
.custom-test-checkout-wrapper .woocommerce-form__label-for-checkbox a {
    color: #007cc3 !important;
    text-decoration: underline;
    font-weight: 600;
}

/* 8. ГЛАВНАЯ КНОПКА ПОДТВЕРЖДЕНИЯ ЗАКАЗА ("ВЫБРАТЬ VIP") */
.custom-test-checkout-wrapper #place_order {
    background-color: #007cc3 !important;
    color: #ffffff !important;
    height: 54px !important;
    padding: 0 30px !important;
    line-height: 54px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    width: 100% !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 124, 195, 0.3) !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.custom-test-checkout-wrapper #place_order:hover {
    background-color: #0066a2 !important;
    box-shadow: 0 4px 18px rgba(0, 124, 195, 0.4) !important;
    cursor: pointer;
}



/* Скрываем "Просмотр корзины" только внутри блоков с вашими кнопками */
.custom-price-footer .added_to_cart.wc-forward {
    display: none !important;
}


/* CSS для анимации крутящегося спиннера внутри кнопки */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: btnSpinAround 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes btnSpinAround {
    to { transform: rotate(360deg); }
}

/* Общий контейнер для кнопок */
.custom-pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.custom-price-footer {
  width: 100%;
  max-width: 800px; /* Ограничение ширины как на скриншоте */
  margin: 0 auto;
}

.custom-btn {
  display: block !important;
  max-width: 400px !important; /* Текст "ОФОРМИТЬ ЗАКАЗ (6 МЕСЯЦЕВ)" поместится в одну строку */
  width: 100% !important;
  margin: 0 auto 15px auto !important; /* Центрирует в обычном потоке и делает зазор 15px снизу */
  align-self: center !important; /* Принудительно центрирует внутри Flexbox-контейнеров */
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  text-align: center;
}

/* ВТОРОСТЕПЕННАЯ КНОПКА (За 2900 - Контурная, менее заметная) */
.custom-btn-secondary {
  background-color: transparent;
  color: #342e42; /* Темный цвет текста */
  border: 2px solid #342e42; /* Контур */
}

.custom-btn-secondary:hover {
  background-color: rgba(52, 46, 66, 0.05); /* Легкий фон при наведении */
  transform: translateY(-1px);
}

/* ГЛАВНАЯ КНОПКА (За 4900 - Акцентная, полностью залитая) */
.custom-btn-primary {
  background-color: #342e42; /* Темный глубокий цвет из скриншота */
  color: #ffffff;
  border: 2px solid #342e42;
  box-shadow: 0 4px 12px rgba(52, 46, 66, 0.2); /* Тень для объема */
}

.custom-btn-primary:hover {
  background-color: #242030; /* Чуть темнее при наведении */
  border-color: #242030;
  transform: translateY(-2px); /* Приподнимается чуть выше */
  box-shadow: 0 6px 16px rgba(52, 46, 66, 0.3); /* Тень становится ярче */
}

/* Красивый текстовый разделитель "или" */
.custom-or-divider {
  display: flex;
  align-items: center;
  align-content: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 15px 0;
  color: #8a8a8a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-or-divider::before,
.custom-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.custom-or-divider:not(:empty)::before {
  margin-right: .5em;
}

.custom-or-divider:not(:empty)::after {
  margin-left: .5em;
}

.custom-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  
  /* Отступы: 24px сверху и снизу, 0 по бокам */
  margin: 24px 0; 
  
  /* Стиль текста */
  color: #5c5561;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  width: 100%;
}

/* Элегантные тонкие линии по бокам */
.custom-or-divider::before,
.custom-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e0dbe3; /* Мягкий цвет линии */
  max-width: 150px; /* Длина линий, чтобы они не растягивались на весь экран */
}

.custom-or-divider::before {
  margin-right: 20px; /* Отступ от текста слева */
}

.custom-or-divider::after {
  margin-left: 20px; /* Отступ от текста справа */
}



/* Стиль для ссылки-кнопки */
.about-usage-link {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 4px;
  background-color: #e6f0fa; /* Нежно-голубой фоновый цвет */
  color: #0066cc;            /* Насыщенный синий цвет текста */
  font-weight: 700;          /* Жирный шрифт для акцента */
  text-decoration: none;     /* Убираем стандартное подчеркивание */
  border-radius: 6px;        /* Скругление углов */
  font-size: 0.9em;          /* Чуть меньше основного текста для аккуратности */
  letter-spacing: 0.5px;     /* Небольшой отступ между буквами */
  transition: all 0.2s ease; /* Плавная анимация при наведении */
}

/* Эффект при наведении (hover) */
.about-usage-link:hover {
  background-color: #0066cc; /* Синий фон */
  color: #ffffff;            /* Белый текст */
  transform: translateY(-1px); /* Легкое приподнятие кнопки */
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15); /* Мягкая тень */
}

/* Контейнер всей секции использования курса */
.about-usage-section {
  width: 100%;
  max-width: 800px;
  margin: 25px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  text-align: left;
}

/* Заголовок "Как пользоваться курсом" */
.about-usage-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 15px;
}

/* Обычные абзацы текста */
.about-usage-text {
  font-size: 16px;
  margin: 0 0 16px 0;
  color: #222222;
}

/* Мягкое выделение для абзаца "Очень важно!" */
.about-usage-alert {
  font-size: 16px;
  background-color: #fff9e6; /* Мягкий, едва заметный желтый оттенок */
  border-left: 4px solid #ffcc00; /* Яркая левая линия для привлечения внимания */
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
  color: #333333;
}

.about-usage-alert strong {
  color: #cc9900; /* Темный золотой цвет для самого слова */
}

/* Блок с цифрами курса */
.about-welcome-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.about-stat-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.about-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #0099cc; /* Акцентный синий цвет под цифры */
  margin-bottom: 5px;
}

.about-stat-desc {
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
}

/* Заключение и ссылка */
.about-welcome-summary {
  font-size: 16px;
  margin-bottom: 25px;
}

.about-welcome-summary a {
  color: #0099cc;
  text-decoration: none;
  font-weight: 500;
}

.about-welcome-summary a:hover {
  text-decoration: underline;
}

/* Финальное пожелание */
.about-welcome-wish {
  font-size: 18px;
  font-weight: bold;
  color: #28a745; /* Зеленый доброжелательный цвет */
  border-top: 1px dashed #dee2e6;
  padding-top: 20px;
  text-align: center;
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 600px) {
  .about-welcome-stats {
    grid-template-columns: 1fr; /* Цифры встают в один столбик */
    gap: 10px;
  }
  .about-welcome-lead {
    font-size: 18px;
  }
}



/* Новая секция — идет под баннером и занимает 100% ширины экрана */
.about-pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;    /* Центрирует белую карточку по горизонтали */
  justify-content: center;
  width: 100%;            /* Полная ширина экрана */
  padding: 60px 20px;     /* Отступы сверху/снизу и по бокам на мобильных */
  background-color: #f8f9fa; /* Светлый фон, чтобы отделить от баннера и футера */
  box-sizing: border-box; /* Чтобы padding не ломал ширину */
}

/* Стили самой карточки, чтобы она не растягивалась на гигантский экран */
.price-card {
  width: 100%;
  max-width: 800px;       /* Оптимальная ширина для одной карточки тарифа */
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.cardio-banner-about {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Контейнер: увеличили gap для большего отступа между кнопками */
.card-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;        /* Отступ между кнопками */
  margin-top: auto; /* Прижимает блок кнопок к низу карточки, если контента мало */
  padding: 0 20px;  /* Отступы по бокам внутри карточки для кнопок */
  width: 100%;
  box-sizing: border-box;
}

/* Кнопка "О КУРСЕ": уменьшили высоту */
.about-course-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;     /* ИСПРАВЛЕНО: уменьшена высота (было 46px) */
  margin: 5px auto;
  
  /* Дизайн */
  background-color: transparent; 
  color: #1495e8;                
  border: 2px solid #1495e8;     
  border-radius: 10px;           
  
  /* Шрифт */
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;  /* Чуть уменьшили шрифт под новую высоту */
  font-weight: 700;
  letter-spacing: 1px;
  
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Иконка внутри кнопки (размер адаптирован под уменьшенную высоту) */
.info-icon {
  width: 16px;      /* ИСПРАВЛЕНО: уменьшен размер иконки */
  height: 16px;
  margin-right: 8px; 
  flex-shrink: 0;
}

/* Эффект при наведении */
@media (min-width: 769px) {
  .about-course-btn:hover {
    background-color: #1495e8;
    color: #ffffff;
  }
}

/* Кнопка КУПИТЬ остается прежней, мощной и высокой */
.buy-btn {
  width: 100%;
  height: 46px;     /* Сохраняем акцент на главной кнопке */
  border-radius: 10px; 
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Расстояние между иконкой и текстом */
  padding: 10px 18px;
  background-color: #0099cc; /* Основной цвет кнопки (синий) */
  color: #ffffff; /* Цвет текста и иконки */
  text-decoration: none;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px; /* Скругление углов */
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Стили для SVG-иконки внутри кнопки */
.cart-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0; /* Запрещает иконке сжиматься */
}

/* Эффект при наведении курсора */
.cart-btn:hover {
  background-color: #0056b3; /* Более темный оттенок синего */
  color: #ffffff;
}

/* Эффект при клике (нажатии) */
.cart-btn:active {
  transform: scale(0.98); /* Легкое уменьшение кнопки при клике */
}

/* Мобильная адаптивность (опционально) */
@media (max-width: 576px) {
  .cart-btn-text {
    display: none; /* Скрывает текст на смартфонах, оставляя только иконку */
  }
  .cart-btn {
    padding: 10px; /* Делает кнопку квадратной на мобильных */
  }
}

/* Внешняя обертка */
.cardio-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 5px 0;
}

/* Максимально собранный и узкий блок */
.cardio-banner__content {
  width: 100%;
  max-width: 800px;         /* Блок стал заметно уже */
  box-sizing: border-box;
  font-family: sans-serif;
  
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;       /* Более аккуратное скругление углов */
  padding: 20px 30px;        /* Минимальные вертикальные отступы внутри */
  
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;                 /* Минимальный зазор между элементами */
}

/* Группа заголовков */
.cardio-banner__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;                  /* Полностью убрали зазор между строками заголовка */
}

.cardio-banner__label {
  font-size: 20px;           /* Компактный размер */
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.cardio-banner__title {
  font-size: 44px;           /* Аккуратный заголовок бренда */
  font-weight: 900;
  color: #0077cc;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1.1;
}

.cardio-banner__title-prefix {
  color: #ff0033;
}

/* Подзаголовок */
.cardio-banner__subtitle {
  font-size: 14px;           /* Уменьшенный размер текста */
  color: #555555;
  line-height: 1.3;
  margin: 0;
  max-width: 650px;
}

/* Контейнер для тегов */
.cardio-banner__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;                  /* Очень плотная посадка плашек */
  margin-top: 2px;
}

/* Мини-плашки */
.cardio-banner__tag {
  display: inline-block;
  padding: 4px 10px;         /* Очень тонкие отступы внутри плашек */
  font-size: 11px;           /* Компактный шрифт */
  color: #666666;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  white-space: nowrap;
}

/* Адаптив для мобильных экранов */
@media (max-width: 840px) {
  .cardio-banner { padding: 5px 10px; }
}

@media (max-width: 480px) {
  .cardio-banner__content { padding: 15px 20px; gap: 8px; }
  .cardio-banner__label { font-size: 16px; }
  .cardio-banner__title { font-size: 32px; }
  .cardio-banner__subtitle { font-size: 12px; }
}


/* СТАРЫЙ */

.section-inline-btn {
  margin-top: 12px !important;
  margin-bottom: 4px !important;
}

/* 1. ИСПРАВЛЕНО: Панель теперь пропускает сквозь себя все клики мыши, 
      поэтому правее иконки сайт будет полностью кликабельным! */
.help-sticky-panel {
  position: fixed !important;
  left: 0 !important;
  bottom: 30px !important; 
  z-index: 999999 !important;
  box-sizing: border-box !important;
  pointer-events: none !important; /* Разрешает кликать "сквозь" пустую область */
}

/* 2. ИСПРАВЛЕНО: Возвращаем исходную логику сдвига, но разрешаем клики 
      только по самой кнопке */
.help-sticky-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: #ffffff !important; 
  border: 2px solid #1495e8 !important; 
  border-left: none !important; 
  border-radius: 0 25px 25px 0 !important;
  box-shadow: 4px 0 16px rgba(20, 149, 232, 0.15) !important;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease !important;
  box-sizing: border-box !important;
  height: 46px !important;
  
  /* Возвращаем сдвиг, чтобы иконка всегда была видна справа */
  transform: translateX(-100%) translateX(46px) !important;
  pointer-events: auto !important; /* Кнопка снова реагирует на мышь */
}

/* 3. ИСПРАВЛЕНО: Теперь наведение отслеживаем ТОЛЬКО на самой ссылке, а не на панели */
@media (min-width: 769px) {
  .help-sticky-link:hover {
    transform: translateX(0) !important;
    background: #f1f7fc !important; 
  }
}

.help-sticky-link.open {
  transform: translateX(0) !important;
  background: #f1f7fc !important;
}

.help-sticky-text {
  color: #172554 !important; 
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 0 0 0 16px !important;
  white-space: nowrap !important;
  display: block !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.help-sticky-icon-box {
  width: 46px !important;
  min-width: 46px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding-left: 2px !important;
}

.help-sticky-icon {
  width: 22px !important;
  height: 22px !important;
  color: #1495e8 !important;
  display: block !important;
}

/* --- АДАПТИВНОСТЬ ДЛЯ СМАРТФОНОВ --- */
@media (max-width: 768px) {
  .help-sticky-panel {
    bottom: 90px !important; 
  }

  .help-sticky-link {
    height: 40px !important;
    border-radius: 0 20px 20px 0 !important;
    transform: translateX(-100%) translateX(40px) !important;
  }

  .help-sticky-text {
    font-size: 12px !important;
    padding: 0 0 0 14px !important;
  }

  .help-sticky-icon-box {
    width: 40px !important;
    min-width: 40px !important;
    height: 36px !important;
  }

  .help-sticky-icon {
    width: 19px !important;
    height: 19px !important;
  }
}



  .program-section,
  .advanced-course-block,
  .reviews-section,
  .accordion-container {
    max-width: calc(100% - 16px) !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
  }
}
#tarif {
  scroll-margin-top: 80px; 
}

#program-section {
  scroll-margin-top: 80px; 
}


.trial-btn-container {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}


.advanced-trial-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}


.advanced-trial-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}


.trial-btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.advanced-trial-btn:hover .trial-btn-arrow {
  transform: translateX(3px); 
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ КНОПКИ --- */
@media (max-width: 768px) {
  .trial-btn-container {
    margin-top: 14px;
    width: 100%;
  }


  .advanced-trial-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
  }
}

.advanced-course-block {
  background: #ffffff !important;
  padding: 24px !important;
}

.advanced-grid-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.advanced-image-side {
  width: 30%;
  flex-shrink: 0;
  position: sticky;
  top: 100px; 
}

.advanced-faded-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}


.advanced-desc-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}


.advanced-text-highlight {
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 12px 0 8px 0;
}


.advanced-text {
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px 0;
}


.font-italic {
  font-style: italic;
  color: #475569;
  margin-top: 6px;
}


.course-process-box {
  background: #f8fbff;
  border-left: 4px solid #1495e8;
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin: 12px 0;
}

.process-box-title {
  color: #172554;
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.course-process-box .advanced-text {
  margin: 0;
}


@media (max-width: 768px) {
  .program-section.advanced-course-block {
    padding: 0 0 20px 0 !important;
    border-radius: 14px;
  }

  .advanced-grid-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .advanced-image-side {
    width: 100% !important;
    max-width: 100% !important;
    position: static;
  }

  .advanced-faded-img {
    border-radius: 14px 14px 0 0;
    box-shadow: none;
  }

  .advanced-desc-content {
    padding: 0 16px !important;
    box-sizing: border-box;
  }
  
  .program-badge {
    margin-top: 4px;
  }
}


.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible !important; 
  padding: 10px 0 20px 0;
  box-sizing: border-box;
}


.carousel-clip {
  width: 100%;
  overflow: hidden !important;
  border-radius: 4px; 
}

.carousel-container {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}


.review-slide {
  min-width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  padding: 0 8px;
  flex-shrink: 0 !important;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e1edf8;
  border-radius: 14px;
  padding: 16px 18px;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(15,23,42,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  border-left: 3px solid #1495e8;
  padding-left: 10px;
}

.review-author-name {
  font-size: 15px;
  font-weight: 800;
  color: #172554;
}

.review-author-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

.review-text {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #cce2f5;
  border-radius: 50%;
  font-size: 22px;
  color: #1a6cb3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  z-index: 10;
  outline: none;
}

.carousel-btn:hover {
  background: #f1f7fc;
  color: #2563eb;
  border-color: #2563eb;
}

.prev-btn { 
  left: -22px !important; 
}

.next-btn { 
  right: -22px !important; 
  left: auto !important; 
}


.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: #1495e8;
  width: 20px;
  border-radius: 4px;
}


@media (max-width: 768px) {
  .program-section.reviews-section {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 12px 10px !important;
    margin: 10px auto !important;
  }

  .carousel-wrapper {
    overflow: hidden !important; 
    padding: 10px 0 15px 0 !important;
  }

  .carousel-clip {
    overflow: visible !important; 
  }

  .review-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 44px !important; 
    flex-shrink: 0 !important;
  }

  .carousel-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
    z-index: 999 !important;
  }

  .prev-btn {
    left: 4px !important;
  }

  .next-btn {
    right: 4px !important;
    left: auto !important;
  }

  .carousel-dots {
    margin-top: 14px !important;
  }
}


.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #dceaf7;
  padding: 10px 0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  z-index: 99999;
}

.header-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; 
  gap: 15px !important; 
}

.header-logo {
  display: flex;
  align-items: center;
  height: 52px !important; /* Увеличено с 38px для ПК */
  text-decoration: none !important;
  flex-shrink: 0;
  margin-right: auto !important; 
}

.logo-image {
  height: 100% !important;
  width: auto !important;
  max-width: 220px !important; 
  object-fit: contain !important;
}


.dropdown-courses {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f7fc;
  border: 1px solid #cce2f5;
  color: #1a6cb3;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.dropdown-toggle:hover {
  background: #e2f0fc;
  border-color: #1a6cb3;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}


.dropdown-courses.open .dropdown-chevron {
  transform: rotate(180deg);
}


.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid #dceaf7;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  min-width: 280px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100000;
}

.dropdown-courses.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


.dropdown-item {
  display: block;
  padding: 10px 16px;
  color: #1e293b !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
  background: #f1f7fc;
  color: #2563eb !important;
}

.dropdown-item-sub {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  display: block;
  margin-top: 1px;
}


.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
  flex-shrink: 0;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.login-icon {
  width: 16px;
  height: 16px;
}


body {
  padding-top: 75px !important;
}



@media (max-width: 768px) {
  .site-header {
    padding: 6px 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
  }

  
  .header-container {
    padding: 0 10px !important;
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  
  
   .header-logo {
    height: 38px !important; 
    margin-right: auto !important;
  }

  .logo-image {
    max-width: 140px !important; 
    height: 100% !important;
    width: auto !important;
  }

  
  .dropdown-courses {
    flex-shrink: 0 !important;
  }

  .dropdown-toggle {
    padding: 6px 8px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  .dropdown-chevron {
    width: 9px !important;
    height: 9px !important;
  }

  
  .dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    min-width: 240px !important;
  }

  .dropdown-courses.open .dropdown-menu {
    transform: translateX(-50%) translateY(0) !important;
  }

  
  .login-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
  }

  
  .login-btn-text,
  .login-btn span {
    display: none !important; 
  }

  
  .login-icon {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    display: block !important;
  }

  
  body {
    padding-top: 55px !important;
  }
}

/* FOOTER) */
.site-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #dceaf7;
  padding: 30px 0 25px 0;
  margin-top: 40px;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #1495e8 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-link:hover {
  color: #2563eb !important;
}


.footer-copyright {
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}

.footer-copyright p {
  margin: 0;
}



@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .login-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-link {
    width: 100%;
    text-align: center;
  }
}


.scroll-to-top-btn {
  
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
  
  
  display: flex !important; 
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease-in-out !important;
  z-index: 999999 !important;
  
  
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.8) translateY(10px) !important;
}


.scroll-to-top-btn:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
}


.scroll-to-top-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: scale(1) translateY(0) !important;
}


.scroll-arrow {
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  border-left: 3px solid #ffffff !important;
  border-top: 3px solid #ffffff !important;
  transform: rotate(45deg) !important;
  margin-top: 5px !important;
}

.program-section {
  max-width: 900px;
  margin: 15px auto; 
  padding: 18px 20px; 
  background:
    radial-gradient(circle at top right,#0ea5e915 0%,transparent 40%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);
  border-radius: 22px;
  font-family: 'Helvetica Neue', Arial, sans-serif; 
  border: 1px solid #d9e7f5;
}

.program-heading {
  text-align: center;
  margin-bottom: 14px; 
}

.program-badge {
  display: inline-block;
  padding: 3px 10px; 
  border-radius: 40px;
  background: #fff;
  border: 1px solid #d7e4f3;
  color: #1495e8;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 4px; 
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  text-transform: uppercase;
}

.section-title {
  color: #172554;
  font-size: 26px; 
  line-height: 1.15;
  margin: 0 0 4px 0; 
  font-weight: 800;
}

.section-subtitle {
  color: #64748b;
  font-size: 13.5px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.3; 
}

.accordion-container {
  width: 100%;
}

.accordion-item {
  margin-bottom: 6px; 
  border-radius: 12px; 
  overflow: hidden;
  border: 1px solid #dceaf7;
  background: #fff;
  transition: 0.25s ease;
  box-shadow: 0 3px 8px rgba(15,23,42,0.02); 
}

.accordion-item:hover {
  transform: translateY(-1px);
  border-color: #8fd0ff;
  box-shadow: 0 5px 12px rgba(15,23,42,0.04); 
}

.accordion-item.active {
  border-color: #1697eb;
  box-shadow: 0 6px 18px rgba(20,149,232,0.08); 
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  outline: none;
  text-decoration: none !important; 
}

.accordion-header *, 
.accordion-header:hover *, 
.accordion-header:focus * {
  text-decoration: none !important;
}

.accordion-left {
  display: flex;
  align-items: center;
  gap: 10px; 
  flex-grow: 1; 
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; 
  height: 38px; 
  padding: 0 8px; 
  line-height: 1;   
  border-radius: 8px; 
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  white-space: nowrap; 
  background: linear-gradient(135deg,#0ea5e9 0%,#2563eb 100%);
  box-shadow: 0 3px 8px rgba(37,99,235,0.15); 
}

.accordion-title-text {
  display: block;
  color: #172554;
  font-size: 16px; 
  font-weight: 800;
  margin-bottom: 1px; 
  line-height: 1.2;
}

.accordion-counter {
  color: #64748b;
  font-size: 12.5px;
}

.accordion-icon {
  width: 14px;
  height: 14px;
  position: relative;
  transition: 0.25s ease;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: #1e293b;
  border-radius: 4px;
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
  top: 6px;
  left: 0;
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
  left: 6px;
  top: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg); 
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fbfcfd;
}

.accordion-item.active .accordion-content {
  max-height: 1200px; 
}

.accordion-content-inner {
  padding: 2px 14px 10px 14px; 
}

.lessons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px; 
  text-decoration: none !important;
}

.lessons-list li {
  display: flex;
  align-items: center;
  gap: 10px; 
  padding: 6px 10px; 
  border-radius: 8px; 
  background: #f8fbff;
  border: 1px solid #e1edf8;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.3; 
  transition: 0.2s ease;
  text-decoration: none !important;
}

.lessons-list li:hover {
  background: #eef7ff;
  transform: translateX(2px); 
}

.lesson-num {
  min-width: 28px; 
  height: 28px; 
  border-radius: 6px; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg,#1e293b 0%,#334155 100%);
  font-size: 11px;
  flex-shrink: 0;
}

.lesson-num.quiz {
  background: linear-gradient(135deg,#0ea5e9 0%,#2563eb 100%);
}

.lesson-num.exam {
  background: linear-gradient(135deg,#ff003c 0%,#ff5f1f 100%);
}

@media(max-width:768px){
  .program-section {
    padding: 12px 10px; 
    border-radius: 14px; 
    margin: 10px auto; 
  }

  .section-title {
    font-size: 21px;
  }

  .section-subtitle {
    font-size: 12.5px;
  }

 
  .accordion-header {
    padding: 8px 10px; 
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  
  .accordion-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-grow: 1 !important;
    min-width: 0 !important; 
  }

  
  .accordion-left > div {
    min-width: 0 !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  
  .module-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px !important; 
    max-width: 74px !important;
    height: 36px;
    padding: 0 4px !important;   
    line-height: 1;    
    border-radius: 8px;
    font-size: 11px !important; 
    font-weight: 800;
    color: #fff;
    text-align: center;
    white-space: nowrap; 
    background: linear-gradient(135deg,#0ea5e9 0%,#2563eb 100%);
    box-shadow: 0 3px 8px rgba(37,99,235,0.15);
    flex-shrink: 0 !important; 
  }

  
  .accordion-title-text {
    font-size: 14.5px;
    line-height: 1.25 !important;
    white-space: normal !important; 
    word-wrap: break-word !important; 
    display: block !important;
    margin-bottom: 2px !important;
  }

  .accordion-counter {
    font-size: 11.5px;
  }

  
  .accordion-icon {
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .lessons-list li {
    font-size: 13px;
    padding: 5px 8px; 
    gap: 8px; 
  }

  .lesson-num {
    min-width: 24px; 
    height: 24px; 
    font-size: 10px;
    border-radius: 5px; 
  }

  
  .accordion-item {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
  color: inherit; 
  outline: none;
  box-shadow: none;
}

.accordion-item a,
.lessons-list a {
  text-decoration: none !important;
  color: inherit;
}

.accordion-item a *,
.lessons-list a * {
  text-decoration: none !important;
}

.lessons-list li.locked a::after {
    content: "🔒";
    font-size: 14px;
    vertical-align: middle;
    margin-left: 6px; 
    opacity: 0.7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.promo-card {
  display: grid;
  grid-template-columns: 160px 1fr 400px; 
  gap: 20px;
  background-color: #ffffff;
  max-width: 900px; 
  width: 100%;
  margin: 0 auto;
  padding: 35px 35px 20px 35px; 
  align-items: start;
  position: relative;
  overflow: hidden;
  grid-template-areas: "left center right"
                       "left center action";
}

.column-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 5px;
  position: relative;
  z-index: 10; 
}

.author-info {
  width: 100%;
  background: linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%);
  padding-right: 5px;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
  line-height: 1.2;
}

.author-title, .author-description {
  font-size: 11px;
  color: #3d3f3d;
  line-height: 1.3;
  margin-bottom: 8px;
}

.column-center {
  grid-area: center;
  position: relative;
  min-height: 440px; 
  z-index: 1; 
}

.speaker-img {
  position: absolute;
  bottom: 0;
  left: 50%; 
  transform: translateX(-50%);
  width: auto;
  height: 100%; 
  max-width: none; 
  object-fit: contain; 
  display: block;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.ecg-paper-bg {
  position: absolute;
  left: -20px;
  bottom: 60px;
  width: 180px;
  height: 240px;
  background-size: contain;
  opacity: 0.15;
  transform: rotate(-15deg);
  z-index: 0;
}

.column-right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.course-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2px;
}

.brand-title {
  font-size: 32px; 
  font-weight: 900;
  color: #1a1d20;
  text-transform: uppercase;
  line-height: 0.95; 
}

.status-badges {
  display: flex;
  gap: 10px;
}

.main-title {
  font-size: 46px; 
  font-weight: 900;
  color: #2b263d;
  line-height: 0.9; 
  letter-spacing: -1px;
  margin-bottom: 4px; 
}

.subtitle {
  font-size: 15px;
  color: #495057;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.3;
}

.subtitle span {
  font-weight: 700;
  color: #212529;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 10px; 
}

.tag {
  border: 1px solid #ced4da;
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: #495057;
  font-weight: 500;
  white-space: nowrap;
}

.action-panel {
  grid-area: action;
  background-color: #e9ecef;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  align-self: start; 
  position: relative;
  z-index: 20; 
}

.btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

@media (min-width: 769px) {
  .btn:hover {
    transform: translateY(-3px); /* Эффект подвешивания */
  }
  .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(52, 46, 66, 0.3);
    background-color: #433b54;
  }
  .btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(144, 144, 144, 0.3);
    background-color: #a1a1a1;
  }
  .btn-vip:hover {
    box-shadow: 0 8px 25px rgba(0, 143, 217, 0.4);
  }
}

.btn-primary {
  background-color: #342e42;
  color: #ffffff;
}

.btn-secondary {
  background-color: #909090;
  color: #ffffff;
}

.brand-e {
  color: #ff0025; 
}

.brand-cardio {
  color: #008fd9; 
}

.pricing-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
  max-width: 930px; /* Увеличили на 30px, чтобы чистая ширина карточек осталась ровно 900px */
  width: 100%;
  margin: 5px auto; 
  
  /* ИСПРАВЛЕНО: Добавлены универсальные боковые отступы от краев экрана */
  padding: 0 15px;  
  box-sizing: border-box;
}

.price-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px; 
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 2px solid #1c1e1f;
  position: relative;
}

.price-card-vip {
  border: 2px solid #008fd9;
  box-shadow: 0 15px 35px rgba(0, 143, 217, 0.08);
}

.price-card-adv {
  border: 2px solid #580d0d;
  box-shadow: 0 15px 35px rgba(0, 143, 217, 0.08);
}

.price-header {
  margin-bottom: 12px; 
}

.price-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 15px;
}

.price-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #e9ecef;
  color: #495057;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.vip-badge {
  background-color: #f75151;
  color: #ffffff;
}

.vip-badge-plus {
  background-color: #ff0000;
  color: #ffffff;
}

.price-title {
  font-size: 22px; 
  font-weight: 900;
  color: #2b263d;
  line-height: 1.1;
}

.price-box {
  background: #ffffff;
  color: #2b263d;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
  margin-left: auto;
  box-shadow: 0 6px 16px rgba(43, 38, 61, 0.06);
  border: 1px solid #eef2f6;
}

.vip-price-box {
  background: #008fd9;
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 143, 217, 0.25);
}

.price-link {
  font-size: 13px;
  color: #008fd9;
  text-decoration: none;
  font-weight: 500;
}

.price-link:hover {
  text-decoration: underline;
}

.price-body {
  flex-grow: 1; 
}

.list-title {
  font-size: 13px;
  font-weight: 700;
  color: #3d3f3d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px; 
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0; 
}

.features-list li {
  font-size: 14px;
  color: #495057;
  line-height: 1.35; 
  margin-bottom: 8px; 
  position: relative;
  padding-left: 24px;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  background-color: #e9ecef;
  color: #342e42;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.vip-list li::before {
  background-color: rgba(0, 143, 217, 0.1);
  color: #008fd9;
}

.btn-vip {
  background: linear-gradient(135deg, #008fd9 0%, #006699 100%);
  color: #ffffff;
}

@media (max-width: 768px) {
  .promo-card {
    display: flex;
    flex-direction: column;
    padding: 20px 15px 15px 15px; 
    gap: 0; 
    overflow: visible; 
    height: auto;
  }

  .column-right {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }


  .course-header {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px; 
    width: 100%;
  }

  .brand-title { 
    font-size: 18px; 
    line-height: 0.9;
  }
  
  .main-title { 
    font-size: 42px; 
    text-align: center; 
    width: 100%; 
    line-height: 0.85; 
    margin-bottom: 2px;
  }
  
  .subtitle { 
    font-size: 13.5px; 
    text-align: center; 
    width: 100%; 
    margin-bottom: 12px;
    line-height: 1.25;
  }

  .tags-container {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 5px;
    margin-bottom: 20px; 
  }

  .tag {
    padding: 4px 10px;
    font-size: 11px; 
  }

  .column-center {
    order: 2;
    width: 100%;
    min-height: auto;
    height: 400px; 
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .speaker-img {
    position: relative;
    left: auto;
    transform: none;
    width: auto;
    height: 100%; 
    max-width: 100%;
    z-index: 2;
    display: block;
    margin: 0 auto;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  }

  .ecg-paper-bg {
    display: none;
  }

  .column-left {
    order: 3; 
    width: 100%;
    position: relative;
    margin-top: -100px; 
    z-index: 10;
    padding-top: 0;
    display: flex;
    justify-content: center;
  }

  .author-info {
    background: rgba(255, 255, 255, 0.53);
    padding: 12px;
    width: 100%;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  }

  .author-name { font-size: 13px; margin-bottom: 2px; }
  .author-title, .author-description { font-size: 11px; margin-bottom: 2px; line-height: 1.2; }

  .action-panel {
    order: 4; 
    margin: 12px auto 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 12px; 
    background-color: #e9ecef;
    border-radius: 12px;
    gap: 8px;
  }

 
  .pricing-section {
    display: flex !important;       /* Переключаем на flex, чтобы grid-свойства темы не мешали */
    flex-direction: column !important;
    width: 100% !important;
    max-width: calc(100% - 16px) !important; /* Ограничиваем ширину, автоматически оставляя по 8px с каждого края */
    margin: 5px auto !important;    /* Выравниваем строго по центру экрана, центрируя оставшиеся боковые зазоры */
    padding: 0 !important;          /* Сбрасываем внутренние паддинги, чтобы они не деформировали блоки */
    gap: 16px !important;
  }
  
  .price-card {
    padding: 18px 10px; 
    border-radius: 14px;
  }

  .price-header {margin-bottom: 8px;
}
}