/* super.css - Объединенные стили для проекта */

/* ========== ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ========== */
body {
    --primary_color: #3F0B81; /* базовый (неподсвеченный) фиолетовый */
    --primary_color_active: #580BE4; /* подсвеченный фиолетовый */
    --footer_padding_bottom: 250px; /* пустое пространство в футере до низа экрана */
    --footer_background_color: #f8f8f8; /* цвет фона в футере */
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

a {
    color: black;
}

/* ========== LAYOUT СТРУКТУРА ========== */
.main-content {
    flex: 1;
    padding: 20px 0px 50px 0px;
}

.footer-wrapper {
    background-color: #f0f0f0;
    width: 100%;
    padding: 10px 0;
}

.footer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px 150px 20px;
}

.footer-text {
    text-align: left;
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-links a {
    margin-right: 15px;
    text-decoration: none;
    color: inherit;
    font-size: 20px;
}

/* ========== HOVER ЭФФЕКТЫ ДЛЯ ССЫЛОК ========== */
a {
    color: #000;
    transition: color 0.3s ease;
}

a:hover {
    color: #6200ea;
}

/* ========== НАВИГАЦИЯ ========== */
.navbar {
    padding: 15px 20px 15px 20px;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.menu_item {
    color: var(--primary_color);
    font-size: 22px;
}

.menu_item:hover,
.menu_item:focus,
.menu_item:active {
    color: var(--primary_color_active);
}

.locale_switch {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
    color: var(--primary_color);
}

.locale_switch:hover,
.locale_switch:active {
    color: var(--primary_color_active);
}

/* ========== ТИПОГРАФИКА ========== */
.main-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 24px 0;
    line-height: 1.3;
}

.main-text {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin: 16px 0;
    text-align: justify;
}

.lead-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: left;
    margin: 24px 0;
    line-height: 1.3;
}

.lead-text {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    line-height: 1.5;
    margin: 20px 0;
    text-align: justify;
}

.just_text {
    font-size: 22px;
    line-height: 1.382;
    color: black;
}

.just_zagolovok {
    font-size: 32px;
    line-height: 1.382;
    color: black;
    font-weight: bold;
}

.zagolovok {
    font-size: 26px;
    line-height: 1.382;
    color: black;
    font-weight: bold;
}

.podzagolovok {
    font-size: 22px;
    line-height: 1.382;
    color: black;
    margin-top: 5px;
    margin-bottom: 10px;
}

.sloganbox {
    font-size: 30px;
    line-height: 1.618;
    margin-top: 30px;
    margin-bottom: 30px;
}

.note {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

/* Дополнительные типографические классы из geek.css */
.zagolovok_2 {
    font-size: 36px;
    line-height: 1.382;
    color: black;
    font-weight: bold;
}

.lead_2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.618;
}

.cases {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 1.618;
}

.cases_title {
    font-size: 28px;
    line-height: 1.618;
    font-weight: bold;
}

.titbit_text {
    font-size: 28px;
    line-height: 1.382;
    color: black;
}

.space {
    font-size: 20px;
}

.space_2 {
    font-size: 20px;
}

.video_space_2 {
    font-size: 22px;
}

/* ========== КНОПКИ ========== */
.btn-close {
    color: #3F0B81;
}

.btn-primary {
    background-color: #FFF;
    color: var(--primary_color);
    border-color: var(--primary_color);
    border-radius: 25px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary_color_active);
    color: #FFF;
    border-color: var(--primary_color_active);
}

.buy_button {
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    background-color: #6200ea;
    color: white;
    font-size: 30px;
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.buy_button:hover {
    background-color: #3700b3;
    transform: translateY(-3px);
}

.button-container {
    text-align: center;
}

/* ========== ФОРМЫ ========== */
.form-contact {
    align-content: center;
    width: 100%;
    font-size: 32px;
    color: var(--primary_color);
    padding: 20px;
    border: 1px solid var(--primary_color);
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 15px;
    margin-bottom: 15px;
    resize: vertical;
}

.form-message {
    align-content: center;
    width: 100%;
    font-size: 32px;
    color: var(--primary_color);
    padding: 20px;
    border: 1px solid var(--primary_color);
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 15px;
    resize: vertical;
}

textarea {
    width: 100%;
    font-size: 28px;
    color: var(--primary_color);
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
    resize: vertical;
}

.form-group {
    margin: 24px 0;
}

.input_field_large {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #6200ea;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #333;
    outline: none;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input_field {
    max-width: 400px;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #6200ea;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #333;
    outline: none;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input_field_small {
    max-width: 200px;
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    border: 2px solid #6200ea;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #333;
    outline: none;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input_field:focus,
.input_field_large:focus,
.input_field_small:focus {
    border-color: #3700b3;
    box-shadow: 0px 0px 6px rgba(98, 0, 234, 0.5);
    background-color: #ffffff;
}

.input_field.error,
.input_field_small.error {
    border-color: red;
    background-color: #ffe6e6;
}

.input_group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.input_group .input_field {
    flex: 1;
    min-width: 140px;
}

/* ========== PLACEHOLDER СТИЛИ ========== */
::-webkit-input-placeholder {
    color: var(--primary_color);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

::-moz-placeholder {
    color: var(--primary_color);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

:-moz-placeholder {
    color: var(--primary_color);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

:-ms-input-placeholder {
    color: var(--primary_color);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

:focus::-webkit-input-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus::-moz-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus:-moz-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus:-ms-input-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ========== ЧЕКБОКСЫ И ВАЛИДАЦИЯ ========== */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.checkbox-error {
    color: red;
    margin-top: 8px;
    display: none;
    font-size: 14px;
    font-weight: 500;
}

.checkbox-highlight {
    outline: 2px solid red;
    outline-offset: 3px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    line-height: 1.4;
}

.pvz-error {
    color: black;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.4;
}

/* ========== ЛОГОТИП И РАЗДЕЛЫ ========== */
.logo-container {
    text-align: center;
    padding: 0px 0px 20px 0px;
}

.logo {
    margin-top: 20px;
}

.prbox {
    margin: 5px;
    padding: 5px;
}

.razdel_box {
    margin-bottom: 20px;
}

.pr_razdel_box {
    margin-bottom: 40px;
}

.video_box {
    margin-bottom: 20px;
}

.send_button_box {
    margin-bottom: 15px;
}

.second_videobox {
    margin-bottom: 40px;
}

.second_videobox_last {
    margin-top: 40px;
    margin-bottom: 40px;
}

.case_videobox {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ========== КАРУСЕЛЬ ========== */
.carousel_wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ========== НОВЫЕ СТИЛИ ВИТРИНЫ ТОВАРОВ (superindex) ========== */
.product-showcase .product-entry {
    margin-bottom: 6rem; /* Большой отступ между товарами для "воздуха" */
    padding-bottom: 6rem;
    border-bottom: 1px solid #e9ecef; /* Тонкий разделитель */
}

.product-showcase .product-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; /* Убираем разделитель у последнего элемента */
}

.product-showcase-img {
    border-radius: 1.5rem; /* Оставляем скругление */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    width: 100%;
}

.product-image-col a:hover .product-showcase-img {
    transform: scale(1.03); /* Легкое увеличение при наведении */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-details-col {
    padding-left: 2rem;
    padding-right: 2rem;
}

.product-title {
    font-size: 3rem; /* Крупный, уверенный заголовок */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #212529;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d; /* Слегка приглушенный цвет для текста */
    margin-bottom: 2rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 300; /* Легкое начертание для цены */
    color: #000;
    margin-bottom: 2.5rem;
}

.btn-buy-now {
    background-color: var(--primary_color, #3F0B81);
    color: white;
    border: none;
    border-radius: 50px; /* Полностью скругленная кнопка */
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-buy-now:hover {
    background-color: var(--primary_color_active, #580BE4);
    color: white;
    transform: translateY(-3px); /* Легкий подъем при наведении */
}

/* ========== МЕДИАЗАПРОСЫ ========== */
@media (max-width: 768px) {
    /* Адаптация витрины для мобильных */
    .product-showcase .product-entry {
        margin-bottom: 4rem;
        padding-bottom: 4rem;
        text-align: center; /* Центрируем весь текст под картинкой */
    }

    .product-details-col {
        margin-top: 2rem; /* Отступ от картинки сверху */
    }

    .product-title {
        font-size: 2.2rem; /* Уменьшаем заголовок */
    }

    .product-price {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Старые стили для адаптации */
    .form-contact {
        font-size: 22px;
    }

    .form-message {
        font-size: 22px;
    }

    .titbit_text {
        font-size: 16px;
    }

    .locale_switch {
        margin-left: 0;
        margin-right: 10px;
        font-size: 18px;
    }

    .prbox {
        font-size: 14px;
        margin: 5px;
        padding: 5px;
    }

    .sloganbox {
        font-size: 18px;
        line-height: 1.618;
    }

    .zagolovok {
        font-size: 18px;
        line-height: 1.382;
        color: black;
        font-weight: bold;
    }

    .podzagolovok {
        font-size: 14px;
        line-height: 1.382;
    }

    .space {
        font-size: 18px;
    }

    .zagolovok_2 {
        font-size: 20px;
        line-height: 1.618;
        color: black;
        font-weight: bold;
    }

    .lead_2 {
        font-size: 16px;
        line-height: 1.618;
    }

    .cases {
        font-size: 14px;
        line-height: 1.618;
    }

    .cases_title {
        font-size: 18px;
        line-height: 1.618;
    }

    .space_2 {
        font-size: 14px;
    }

    .video_space_2 {
        font-size: 14px;
    }
}
