

/* Start:/local/templates/novatek/components/bitrix/news.list/trucks/style.css?176709454018153*/
/* --- ОСНОВНОЙ КОНТЕЙНЕР --- */
.lng-tech-section {
    background-color: #F9F9F9;
    padding: 32px 0 48px 0;
	margin-top:100px;
}

.lng-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- ЗАГОЛОВОК (ФИЛЬТР) --- */
.lng-header-block {
    display: flex; 
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.lng-tech-filter {
    display: flex; 
    justify-content: space-between;
    align-items: center;
    list-style:none;
    margin: 0;
    padding: 0;
}

.lng-tech-filter li {
    display: flex; 
    justify-content:center;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lng-tech-filter a {
    font-size:16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* --- СПИСОК ТЕХНИКИ --- */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- КАРТОЧКА --- */
.tech-card {
    width: 100%;
    height: 278px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
}

/* ЛЕВАЯ ЧАСТЬ (ФОТО) */
.tech-photo-block {
    width: 338px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Оверлей при наведении */
.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 20, 22, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-photo-block:hover .tech-overlay {
    opacity: 1;
}

/* ПРАВАЯ ЧАСТЬ (КОНТЕНТ) */
.tech-content-block {
    flex-grow: 1;
    padding-top: 24px;
    padding-left: 32px;
    padding-right: 32px;
}

/* Верхняя строка */
.tech-top-row {
    display: flex;
    align-items: center;
}

.tech-brand-logo {
    height: 24px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
}

.tech-title {
    margin-left: 8px;
    font-size: 20px;
    font-weight: 500;
    color: #151416;
}

.tech-test-btn {
    margin-left: auto;
    width: 356px;
    height: 43px;
    border: 1px solid #4061A6;
    border-radius: 1000px;
    background: #FFFFFF;
    color: #4061A6;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    gap:10px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    padding: 0;
}

.tech-test-btn:hover {
    background: #4061A6;
    color: #FFFFFF;
}

.tech-test-btn:hover svg path {
    fill: white;
}

/* Разделитель */
.tech-divider {
    margin-top: 24px;
    margin-bottom: 24px;
    height: 1px;
    background-color: #DFE5EB;
    width: 100%;
}

/* Таблица характеристик */
.tech-specs-grid {
    display: flex;
    gap: 32px;
}

.specs-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.spec-label {
    font-size: 16px;
    font-weight: 350;
    color: #6F6F6F;
}

.spec-value {
    font-size: 16px;
    font-weight: 350;
    color: #151416;
    text-align: right;
}

/* Доработки оверлея для текста */

.tech-overlay-content {
    display: flex;
    flex-direction: column; /* Элементы друг под другом */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tech-overlay-icon {
    /* Я немного уменьшил ширину/высоту svg в html (48x48) для красоты, 
       но если хотите оригинал - удалите этот класс или width/height в HTML */
    margin-bottom: 8px; /* Отступ от иконки до текста */
    width: 100%;
    height: auto;
    max-width: 133px; /* Ограничим ширину оригинала */
}

.tech-photo-count {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
	margin-top: 16px;
}

/* --- МОДАЛЬНОЕ ОКНО (ПО ЦЕНТРУ) --- */
.tech-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    
    /* Скрыто по умолчанию */
    display: none; 
    opacity: 0;
    transition: opacity 0.3s ease;
    
    /* Центрирование содержимого */
    align-items: center;     /* Вертикально */
    justify-content: center; /* Горизонтально */
}

/* Когда окно активно, включаем Flexbox */
.tech-modal.active {
    display: flex;
    opacity: 1;
}

/* Оверлей (затемнение) */
.tech-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 20, 22, 0.9);
    cursor: pointer;
    z-index: 1; /* Оверлей лежит под контентом */
}

/* Обертка контента */
.tech-modal-wrap {
    position: relative;
    z-index: 2; /* Контент лежит над оверлеем */
    
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Убрали margin-top: 222px и добавили авто-отступы на всякий случай */
    margin: auto; 
}

/* Кнопка закрытия */
.tech-modal-close {
    position: absolute;
    top: -50px; /* Выносим над контентом */
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}
.tech-modal-close:hover {
    transform: scale(1.1);
}

/* Контейнер для фото и навигации */
.tech-modal-content {
    width: 100%;
}

/* Блок главного фото со стрелками */
.tech-main-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

/* Обертка картинки */
.tech-main-img-wrap {
    width: 100%;
    height: 540px; 
    /* Добавляем ограничение высоты, чтобы на маленьких экранах окно не улетало за пределы */
    max-height: 60vh; 
    border-radius: 8px;
    overflow: hidden;
    background: #000;
 	position: relative;
}

.tech-slide-img  {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform; /* Оптимизация производительности */
    
    /* Дорогая анимация: "snappy" физика (быстро начинается, плавно тормозит) */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Кнопки навигации (стрелки) */
.tech-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}
.tech-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* --- ЛЕНТА МИНИАТЮР --- */
.tech-thumbs-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: 10px;
    width: 100%; /* На всю ширину контейнера */
}

.tech-thumbs-list::-webkit-scrollbar {
    height: 4px;
}
.tech-thumbs-list::-webkit-scrollbar-thumb {
    background: #4061A6;
    border-radius: 4px;
}

.tech-thumb-item {
    width: 180px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.tech-thumb-item:hover {
    opacity: 0.8;
}

.tech-thumb-item.active {
    opacity: 1;
    border-color: #FFFFFF;
}

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

/* --- СТИЛИ ДЛЯ ОДНОГО ФОТО (MODIFIER) --- */

/* Скрываем навигацию и миниатюры */
.tech-modal-content.is-single .tech-nav-btn,
.tech-modal-content.is-single .tech-thumbs-list {
    display: none !important;
}

/* Убираем отступ снизу, так как миниатюр нет */
.tech-modal-content.is-single .tech-main-view {
    margin-bottom: 0;
    gap: 0;
}

/* Увеличиваем область картинки, так как освободилось место */
.tech-modal.is-single .tech-main-img-wrap {
    height: auto;
    max-height: 85vh; /* Картинка займет почти всю высоту экрана */
}

/* --- АНИМАЦИЯ ГАЛЕРЕИ --- */

.tech-main-img {
    /* Параметры анимации: прозрачность и масштаб */
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Исходное состояние */
    opacity: 1;
    transform: scale(1);
    
    /* Чтобы не дергалось при смене src */
    will-change: opacity, transform; 
}

/* Класс, который JS будет вешать перед сменой фото */
.tech-main-img.changing {
    opacity: 0;
    transform: scale(0.92); /* Картинка чуть "отъезжает" назад */
}

/* Также добавим плавность для миниатюр */
.tech-thumb-item {
    transition: all 0.3s ease;
}
.tech-thumb-item.active {
    transform: scale(1.05); /* Активная миниатюра чуть больше */
    border-color: #4061A6; /* Подсветим активную цветом бренда */
}

/* Адаптив */
@media (max-width: 1200px) {
    .tech-main-img-wrap { height: auto; max-height: 50vh; }
    .tech-thumb-item { width: 120px; height: 80px; }
}

@media (max-width: 768px) {
    .tech-main-view { gap: 0; }
    
    /* Стрелки поверх картинки на мобилках */
    .tech-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(0,0,0,0.5); border: none;}
    .tech-nav-btn.prev { left: 10px; }
    .tech-nav-btn.next { right: 10px; }

    .tech-main-img-wrap { height: 250px; max-height: 40vh; }
    .tech-thumbs-list { justify-content: flex-start; }
    
    /* Кнопку закрытия чуть опустим, чтобы было видно на мобилках */
    .tech-modal-close { top: -40px; right: 0; }
}

/* Адаптив */
@media (max-width: 1024px) {
    .tech-card { height: auto; flex-direction: column; }
    .tech-photo-block { width: 100%; height: 250px; }
    .tech-content-block { padding: 24px; }
    .tech-top-row { flex-wrap: wrap; gap: 16px; }
    .tech-test-btn { margin-left: 0; width: 100%; }
    .tech-specs-grid { flex-direction: column; gap: 16px; }
    
    .lng-header-block { flex-direction: column; align-items: flex-start; gap: 20px;}
    .lng-tech-filter { width: 100%; overflow-x: auto; }
}

/* --- СТИЛИ ДЛЯ МОДАЛКИ ФОРМЫ  --- */
.tech-modal-wrap.form-wrap-style {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 0px 40px rgba(64, 97, 166, 0.4);

    width: 100%;
    max-width: 600px;

    /* 1. Задаем жесткое ограничение высоты относительно окна браузера */
    max-height: 90vh; /* Занимаем до 90% высоты экрана */
    height: auto;

    /* 2. Включаем Flex для самой обертки */
    display: flex;
    flex-direction: column;

    padding: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}


/* Крестик */
.form-wrap-style .tech-modal-close svg path { stroke: #151416; }
.form-wrap-style .tech-modal-close {
    top: 24px;
    right: 24px;
    z-index: 20;
}

/* Контейнер */
.tech-form-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
}

.tech-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
}

/* 1. ШАПКА (Фиксированная) */
.tech-form-header {
    flex: 0 0 auto;
    padding: 32px 40px 10px 40px;
    background: #fff;
    position: relative;
    z-index: 2;
}

.tech-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #151416;
    margin: 0 0 8px 0;
    padding-right: 30px;
}

.tech-form-desc {
    font-size: 16px;
    color: #9AA0A6;
    margin: 0;
    line-height: 1.4;
}

/* 2. ТЕЛО (Скроллится) */
.tech-form-body {
    flex: 1 1 auto; /* Растягивается и сжимается */
    overflow-y: auto; /* Скролл только здесь */
    padding: 10px 40px;
    min-height: 0; /* Критично для работы скролла внутри флекса */
}

/* Кастомный скроллбар */
.custom-scroll::-webkit-scrollbar { width: 6px; }
.custom-scroll::-webkit-scrollbar-track { background: #F2F2F2; border-radius: 3px; margin: 5px 0; }
.custom-scroll::-webkit-scrollbar-thumb { background-color: #C0C0C0; border-radius: 3px; }


/* Скроллбар для Firefox */
.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: #C0C0C0 #F2F2F2;
}

/* Инпуты */
.tech-input-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.tech-input-group label {
    font-size: 13px;
    color: #6F6F6F;
    margin-bottom: 4px;
    font-weight: 500;
}
.tech-input-group label span { color: #E3000F; }

.tech-input-group input,
.tech-input-group textarea {
    width: 100%;
    background: #F6F7F9;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 15px;
    color: #151416;
    box-sizing: border-box;
    transition: all 0.3s;
    font-family: inherit;
}
.tech-input-group textarea { resize: none; height: 80px; }
.tech-input-group input:focus, .tech-input-group textarea:focus {
    outline: none; background: #FFFFFF; border-color: #4061A6;
}
.tech-input-group input.error { border-color: #E3000F; background: #FFF0F0; }


/* 3. ПОДВАЛ (Фиксированный) */
.tech-form-footer {
    flex: 0 0 auto; /* Не сжимается */
    padding: 10px 40px 32px 40px;
    background: #fff;
    box-shadow: 0 -10px 20px rgba(255,255,255, 1); /* Белая тень сверху, чтобы закрыть скролл */
    z-index: 3;
}

/* Чекбокс */
.tech-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}
.tech-checkbox-group input[type="checkbox"] { position: absolute; opacity: 0; height: 0; width: 0; }
.tech-checkbox-group label {
    font-size: 13px; color: #6F6F6F; cursor: pointer; line-height: 1.4;
    user-select: none; position: relative; padding-left: 28px; display: inline-block;
}
.tech-checkbox-group label::before {
    content: ''; position: absolute; top: 0; left: 0; height: 18px; width: 18px;
    background-color: #FFFFFF; border: 1px solid #D9D9D9; border-radius: 4px;
    box-sizing: border-box; transition: all 0.2s ease;
}
.tech-checkbox-group input:checked + label::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 5L4.5 8.5L11 1' stroke='%23E3000F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; border-color: #D9D9D9; background-size: 10px;
}
.tech-checkbox-group input.error + label::before { border-color: #E3000F; box-shadow: 0 0 0 1px #E3000F; }

/* Кнопка */
.tech-submit-btn {
    width: 100%; height: 50px; background: #4061A6; border-radius: 100px;
    border: none; color: #fff; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: background 0.3s;
}
.tech-submit-btn:hover { background: #2e4a85; }
.tech-submit-btn:disabled { background: #ccc; cursor: not-allowed; }


/* АДАПТИВ (Мобилки) */
@media (max-width: 480px) {
    .tech-modal-wrap.form-wrap-style {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .tech-form-header { padding: 50px 20px 10px 20px; } /* Сверху место под крестик */
    .tech-form-body { padding: 10px 20px; }
    .tech-form-footer { padding: 10px 20px 20px 20px; }

    .form-wrap-style .tech-modal-close {
        top: 15px; right: 15px; /* Крестик в углу */
    }

    .tech-form-title { font-size: 20px; padding-right: 25px; }
    .tech-form-desc { font-size: 14px; margin-bottom: 10px; }
    .tech-submit-btn { height: 48px; font-size: 16px; }
}
/* --- ЭКРАН УСПЕХА --- */
.tech-success-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    animation: fadeIn 0.4s ease;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* Градиентный круг как на скрине */
    background: linear-gradient(135deg, #4061A6 0%, #5BB2E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(24px, 0.02853vh, 32px);
    box-shadow: 0 10px 20px rgba(64, 97, 166, 0.3);
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив формы */
@media (max-width: 768px) {
    .tech-modal-wrap.form-wrap-style {
        padding: 24px;
        max-width: 90%;
        margin-top: 20px;
    }
    .tech-form-title { font-size: 22px; }
}
/* End */


/* Start:/local/templates/novatek/components/custom/feedback.ajax/.default/style.css?17695847584076*/
/* --- ОСНОВНЫЕ СТИЛИ МОДАЛКИ --- */
.modal-overlay {
    display: none; /* JS переключит это на flex */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-window {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: 'Arial', sans-serif;

    /* Добавлено для мобильных: если форма высокая, появится скролл */
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1; /* Чтобы крестик был ровным */
    z-index: 10;
}
.close-modal:hover {
    color: #000;
}

/* Поля ввода */
.form-input-wide {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    margin-top: 5px;
    outline: none; /* Убираем синюю обводку браузера */
}
.form-input-wide:focus {
    border-color: #4061A6; /* Подсветка при вводе */
}
.form-input-wide.error {
    border-color: red;
    background: #fff0f0;
}
.full-width {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
}
.form-btn-submit {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 25px;
    background: #4061A6;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}
.form-btn-submit:hover {
    background: #304d8a;
}
.form-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* --- КАСТОМНЫЙ ЧЕКБОКС --- */

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
}

/* 1. Скрываем стандартный */
.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* 2. Стилизуем label (контейнер текста и квадрата) */
.checkbox-group label {
    font-size: 14px;
    color: #6F6F6F;
    cursor: pointer;
    line-height: 1.4;
    user-select: none;
    position: relative;
    /* Важно: отступ задаем label, а не span, чтобы вся строка была ровной */
    padding-left: 32px;
    display: inline-block;
}

/* Сбрасываем лишние отступы у span, если они остались в html/php */
.checkbox-group label span {
    padding-left: 0 !important;
    display: inline;
}

/* 3. Рисуем квадрат */
.checkbox-group label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* 4. Состояние ВЫБРАН */
.checkbox-group input:checked + label::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 5L4.5 8.5L11 1' stroke='%23E3000F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    border-color: #D9D9D9;
}

/* 5. Состояние ОШИБКИ */
.checkbox-group input.error + label::before {
    border-color: #E3000F;
    box-shadow: 0 0 0 1px #E3000F;
}

/* Ховер */
.checkbox-group label:hover::before {
    border-color: #B0B0B0;
}
/* End */
/* /local/templates/novatek/components/bitrix/news.list/trucks/style.css?176709454018153 */
/* /local/templates/novatek/components/custom/feedback.ajax/.default/style.css?17695847584076 */
