/* ========================================== */
/* СТРАНИЦЫ КУРСОВ — ЧИСТЫЙ БЛОК */
/* ========================================== */

/* 1. Позиционирование */
#auto-relative {
    position: relative !important;
}

/* 2. Машины на страницах курсов */
.coursebase-auto,
.coursepro-auto,
.coursemoto,
.courseopti-auto {
    width: 100%;
    height: 425px;
    top: 0;
    right: 0;
    opacity: 0.9;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    pointer-events: none; /* Клики проходят сквозь машину */
    /* Возвращаем общий фон, чтобы машина появилась */
    background-repeat: no-repeat;
}

/* Индивидуальные настройки для каждой машины */
.coursebase-auto {
    background-image: url('../img/coursebase-auto.png') !important;
    background-position: right -150px bottom -40px !important;
    background-size: 800px !important;
}

.coursepro-auto {
    background-image: url('../img/coursepro-auto.png') !important;
    background-position: right -150px bottom 0px !important;
    background-size: 850px !important;
}

/* 3. Меню курсов */
.menu-course {
    display: flex;
    position: relative;
    z-index: 10 !important;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 0;
    margin: 0 auto 20px auto; /* Центрируем и даем отступ снизу */
    max-width: 800px; /* Ограничиваем ширину, чтобы не растягивалось */
}

.menu-course .menu-item {
    list-style: none;
    flex: 1;
    border-right: 1px solid #e0e0e0;
}

.menu-course .menu-item:last-child {
    border-right: none;
}

.menu-course .menu-item a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.menu-course .menu-item a:hover {
    color: #ff7800;
    background-color: #f9f9f9;
}

/* Активный пункт меню */
.menu-course .current_page_item {
    background-color: #7d8dbb;
}

.menu-course .current_page_item a {
    color: #ffffff !important;
}

/* 4. Стили для калькулятора */
.cbase {
    min-width: 220px !important;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.cbase .wpforms-form .wpforms-field {
    padding: 0px 0 !important;
}

.cbase .wpforms-form .wpforms-field-label {
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.cbase .wpforms-field-label-inline {
    color: #333;
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 8px 15px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    background: #fff;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-block;
    margin: 2px;
}

.cbase .wpforms-payment-price:checked + .wpforms-field-label-inline,
.cbase .wpforms-image-choices-item input:checked + label {
    background-color: #7d8dbb !important;
    color: #fff !important;
    border-color: #7d8dbb !important;
}

.cbase .wpforms-payment-total {
    font-size: 28px !important;
    text-align: center;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 20px !important;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
}
/* ========================================== */
/* ПРОДАЮЩИЙ БЛОК РЯДОМ С КАЛЬКУЛЯТОРОМ */
/* ========================================== */

.course-promo-box {
    padding: 30px;
    background: #fff8f0;
    border-radius: 15px;
    border: 2px dashed #ff7800;
    width: 100%;
}

.course-promo-box h3 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 1.3;
}

.course-promo-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
}

.course-promo-box ul li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.course-promo-btn {
    display: block;
    text-align: center;
    background: #ff7800;
    color: #fff !important;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255, 120, 0, 0.4);
    font-size: 18px;
    transition: all 0.3s ease;
}

.course-promo-btn:hover {
    background: #e66a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 120, 0, 0.6);
}

.course-promo-privacy {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    margin-bottom: 0;
}
/* Убираем черные точки (маркеры) в меню курсов */
.menu-course li {
    list-style-type: none !important;
}

/* Убираем черные точки в блоке с преимуществами (галочками) */
.course-promo-box ul li {
    list-style-type: none !important;
}
/* Скрываем строку "Итого" в калькуляторе Alovio */
.cbase .alc-summary {
    display: none !important;
}