/*
Theme Name: КОНУС — Системи Безпеки
Theme URI: https://konusua.com
Author: Andrey Rogov
Author URI: https://konusua.com
Description: Высокотехнологичная B2B тема для компании КОНУС. Базовый лендинг, интегрированный с LOGIN и Suprema.
Version: 1.0
Language: uk
*/

  /* БАЗОВІ СТИЛІ */
        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --dark: #0f172a;
            --hero-blue: #0a2540; /* Глибокий темно-синій колір для акцентів */
            --text: #475569;
            --bg-light: #f8fafc;
            --border: #e2e8f0;
            --radius-lg: 20px;
            --radius-md: 12px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--text);
            background-color: #ffffff;
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 20px;
        }

        h1, h2, h3, h4 {
            font-family: 'Manrope', sans-serif;
            color: var(--dark);
            font-weight: 700;
        }

        section {
            padding: 100px 0;
        }

        .section-title {
            font-size: 38px;
            font-weight: 800;
            margin-bottom: 50px;
            letter-spacing: -0.5px;
        }

        /* 1. ШАПКА САЙТА (HEADER) */
        .header {
            background-color: rgba(255, 255, 255, 0.95);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(8px);
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 90px;
        }

        .logo {
            font-size: 26px;
            font-weight: 800;
            color: var(--dark);
            text-decoration: none;
            letter-spacing: -0.5px;
        }

        .logo span {
            color: var(--primary);
        }

        .main-nav {
            display: flex;
            align-items: center;
            list-style: none;
            gap: 5px;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .nav-link:hover {
            background-color: var(--bg-light);
            color: var(--primary);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #ffffff;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            width: 280px;
            padding: 10px;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.2s ease;
        }

        .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
       
        .dropdown-menu a {
            display: block;
            padding: 12px 16px;
            color: var(--text);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: 6px;
            transition: background 0.2s ease;
        }

        .dropdown-menu a:hover {
            background-color: var(--bg-light);
            color: var(--primary);
        }

        .header-contacts {
            text-align: right;
        }

        .header-phone {
            font-size: 16px;
            font-weight: 700;
            color: var(--dark);
            text-decoration: none;
            display: block;
        }

        .header-location {
            font-size: 13px;
            color: var(--text);
        }

        /* 2. HERO БЛОК (АКЦЕНТ НА ТЕМНО-СИНІЙ ЗАГОЛОВОК) */
        .hero {
            padding: 20px 0 100px 0;
        }
        
        .hero h1 {
            color: #1e3a8a; /* Наш благородный глубокий синий цвет */
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-inner {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 60px;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 52px;
            line-height: 1.15;
            margin-bottom: 24px;
            letter-spacing: -1px;
            color: var(--hero-blue); /* Зміна кольору на глибокий темно-синій */
        }

        .hero-content p {
            font-size: 19px;
            margin-bottom: 35px;
            max-width: 540px;
        }

        .hero-btn {
            display: inline-flex;
            align-items: center;
            background-color: var(--primary);
            color: #ffffff;
            padding: 16px 36px;
            font-weight: 600;
            font-size: 16px;
            text-decoration: none;
            border-radius: var(--radius-md);
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
            transition: background 0.2s ease;
        }

        .hero-btn:hover {
            background-color: var(--primary-dark);
        }

        .hero-image {
            position: relative;
        }

        .hero-image img {
            width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
        }

        /* 3. БЛОК ПОСЛУГ */
        .services {
            background-color: var(--bg-light);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
            gap: 30px;
        }

        .service-card {
            background-color: #ffffff;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 340px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .form-result-message {
            display: none;
            padding: 12px 16px;
            margin-top: 15px;
            border-radius: 8px;
            font-size: 14px;
            line-height: 1.4;
            transition: opacity 0.4s ease;
        }

        .form-result-message.processing {
            background-color: #f3f4f6;
            color: #4b5563;
            border: 1px solid #e5e7eb;
        }

        .form-result-message.success {
            background-color: #f0fdf4;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .form-result-message.error {
            background-color: #fef2f2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        /* Стилизация состояния заблокированной кнопки */
        .form-submit-btn:disabled {
            background-color: #93c5fd !important;
            cursor: not-allowed;
            opacity: 0.8;
        }
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
        }

        .card-top h3 {
            font-size: 22px;
            margin-bottom: 20px;
            letter-spacing: -0.3px;
        }

        .card-list {
            list-style: none;
        }

        .card-list li {
            position: relative;
            padding-left: 24px;
            margin-bottom: 12px;
            font-size: 15px;
        }

        .card-list li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--primary);
            font-size: 13px;
        }

        .card-arrow {
            align-self: flex-end;
            color: var(--primary);
            font-size: 18px;
            margin-top: 20px;
        }

        /* 4. КАТАЛОГ SUPREMA */
        .suprema-catalog {
            border-top: 1px solid var(--border);
        }

        .catalog-section {
            margin-bottom: 60px;
        }

        .catalog-section:last-child {
            margin-bottom: 0;
        }

        .catalog-section h3 {
            font-size: 24px;
            margin-bottom: 30px;
            border-bottom: 2px solid var(--bg-light);
            padding-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .catalog-section h3 span {
            font-size: 14px;
            color: var(--primary);
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            background: #eff6ff;
            padding: 4px 12px;
            border-radius: 20px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
            gap: 24px;
        }

        .product-card {
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 24px;
            text-align: center;
            background-color: #ffffff;
            transition: border-color 0.2s ease;
        }

        .product-card:hover {
            border-color: var(--primary);
        }

        .product-img-box {
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            background-color: var(--bg-light);
            border-radius: 8px;
            overflow: hidden;
        }

        .product-img-box img {
            max-height: 140px;
            max-width: 90%;
            object-fit: contain;
        }

        .product-card h4 {
            font-size: 17px;
            margin-bottom: 6px;
        }

        .product-card p {
            font-size: 14px;
            color: var(--text);
        }

        /* 5. ФОРМА ЗВОРТНОГО ЗВ'ЯЗКУ */
        .contact-section {
            background-color: var(--bg-light);
            padding: 0;
        }

        .contact-wrapper {
            display: grid;
            grid-template-columns: 420px 1fr;
            background-color: #ffffff;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(15, 23, 42, 0.04);
            border: 1px solid var(--border);
        }

        .contact-sidebar {
            background-color: var(--dark);
            color: #ffffff;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .tag-badge {
            display: inline-block;
            background-color: rgba(255,255,255,0.08);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 24px;
            align-self: flex-start;
        }

        .contact-sidebar h2 {
            color: #ffffff;
            font-size: 32px;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .contact-sidebar > p {
            color: #94a3b8;
            font-size: 15px;
            margin-bottom: 40px;
        }

        .info-block {
            margin-bottom: 25px;
        }

        .info-block label {
            display: block;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #64748b;
            margin-bottom: 4px;
        }

        .info-block a, .info-block span {
            font-size: 16px;
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
        }

        .info-block a:hover {
            color: var(--primary);
        }

        .social-wrap {
            margin-top: 40px;
        }

        .social-wrap p {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 12px;
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-links a {
            color: #ffffff;
            font-size: 20px;
            transition: color 0.2s ease;
        }

        .social-links a:hover {
            color: var(--primary);
        }

        .contact-form-area {
            padding: 60px;
        }

        .form-header {
            margin-bottom: 35px;
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }

        .form-header i {
            font-size: 24px;
            color: var(--primary);
            margin-top: 4px;
        }

        .form-header h3 {
            font-size: 24px;
            margin-bottom: 4px;
        }

        .form-header p {
            font-size: 14px;
            color: var(--text);
        }

        .web-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .form-group-full {
            grid-column: span 2;
        }

        .web-form label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 8px;
        }

        .web-form input, .web-form select, .web-form textarea {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 14px 16px;
            font-family: inherit;
            font-size: 15px;
            color: var(--dark);
            outline: none;
            transition: border-color 0.2s ease;
        }

        .web-form input:focus, .web-form select:focus, .web-form textarea:focus {
            border-color: var(--primary);
        }

        .form-submit-btn {
            grid-column: span 2;
            background-color: var(--primary);
            color: #ffffff;
            border: none;
            border-radius: var(--radius-md);
            padding: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            transition: background 0.2s ease;
            margin-top: 10px;
        }

        .form-submit-btn:hover {
            background-color: var(--primary-dark);
        }

        .privacy-note {
            grid-column: span 2;
            text-align: center;
            font-size: 12px;
            color: #94a3b8;
            margin-top: 10px;
        }

        /* Основные стили футера */
        .site-footer {
            background-color: #ffffff;
            padding: 60px 0 0 0;
            border-top: 1px solid #e2e8f0;
            font-family: 'Inter', sans-serif;
        }

        .footer-inner {
            display: flex;
            justify-content: space-between;
            gap: 32px;
            flex-wrap: wrap;
            padding-bottom: 40px;
        }

        /* Стили колонок меню */
        .footer-col {
            flex: 1;
            min-width: 180px;
        }

        .footer-col h4 {
            font-size: 16px;
            color: #0f172a;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            font-size: 14px;
            color: #64748b;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-col ul li a:hover {
            color: #2563eb; /* Фирменный синий при наведении */
        }

        /* Блоки контактов (Плашки, как на макете) */
        .footer-contact-blocks {
            display: flex;
            flex-direction: column;
            gap: 16px;
            min-width: 260px;
        }

        .footer-info-card {
            background-color: #f8fafc; /* Светло-серый премиальный фон */
            border-radius: 16px;
            padding: 16px 24px;
            display: flex;
            flex-direction: column;
            border: 1px solid #f1f5f9;
        }

        .card-label {
            font-size: 12px;
            color: #94a3b8;
            margin-bottom: 4px;
        }

        .card-value {
            font-size: 18px;
            color: #0f172a;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-info-card:hover .card-value {
            color: #2563eb;
        }

        /* Квадратные кнопки соцсетей */
        .footer-social-block {
            display: flex;
            flex-direction: column;
            gap: 20px;
            min-width: 160px;
        }

        .footer-social-cards {
            display: flex;
            gap: 12px;
        }

        .social-card {
            width: 48px;
            height: 48px;
            background-color: #f8fafc;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #334155;
            font-size: 20px;
            text-decoration: none;
            border: 1px solid #f1f5f9;
            transition: all 0.2s ease;
        }

        .social-card:hover {
            background-color: #2563eb;
            color: #ffffff;
            transform: translateY(-2px);
        }

        .footer-security-note {
            font-size: 13px;
            color: #64748b;
            font-weight: 500;
        }

        /* Нижняя линия (Копирайт) */
        .footer-bottom {
            border-top: 1px solid #f1f5f9;
            padding: 24px 0;
            margin-top: 20px;
        }

        .footer-bottom-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-bottom p {
            font-size: 13px;
            color: #94a3b8;
            margin: 0;
        }

        .footer-bottom a {
            color: #94a3b8;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            color: #64748b;
        }

        /* Адаптивность для мобилок */
        @media (max-width: 768px) {
            .footer-inner {
                flex-direction: column;
            }
            .footer-contact-blocks, .footer-social-block {
                width: 100%;
            }
            .footer-bottom-inner {
                flex-direction: column;
                text-align: center;
            }
        }

        /* АДАПТИВНІСТЬ */
        @media (max-width: 1024px) {
            .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
            .hero-content p { margin: 0 auto 35px auto; }
            .contact-wrapper { grid-template-columns: 1fr; }
            .main-nav { display: none; }
        }

        @media (max-width: 768px) {
            section { padding: 60px 0; }
            .hero-content h1 { font-size: 38px; }
            .contact-form-area { padding: 30px; }
            .web-form { grid-template-columns: 1fr; }
            .form-group-full, .form-submit-btn, .privacy-note { grid-column: span 1; }
        }
        
        /* ==========================================================================
   6. ДОДАТКОВІ СТИЛІ ДЛЯ СТОРІНКИ СИСТЕМИ LOGIN (VMS)
   ========================================================================== */

    /* ==========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА (home.php)
   ========================================================================== */

.blog-main-layout {
    padding: 60px 0 100px 0;
    background-color: #f8fafc; /* Легкий премиальный серый фон */
}

.blog-header {
    margin-bottom: 45px;
    max-width: 800px;
}

.blog-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 12px;
}

.blog-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
}

/* Сетка для карточек статей */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Стили самой карточки */
.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    font-family: 'Manrope', sans-serif;
}

.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #2563eb; /* Фирменный синий КОНУС */
}

.blog-card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #1d4ed8;
}

/* Пагинация страниц */
.navigation.pagination {
    grid-column: 1 / -1;
    margin-top: 40px;
    text-align: center;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .blog-main-layout { padding: 40px 0 60px 0; }
    .blog-title { font-size: 28px; }
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
}
/* ==========================================================================
   ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ СТАТЬИ (single.php)
   ========================================================================== */

.single-post-layout {
    padding: 40px 0 100px 0;
    background-color: #ffffff;
}

/* Контейнер для верхней панели (перестраиваем в колонку) */
.blog-top-bar {
    display: flex;
    flex-direction: column; /* Элементы теперь становятся друг под другом */
    align-items: flex-start; /* Выравниваем ссылку по левому краю */
    gap: 12px; /* Расстояние между ссылкой и поиском */
    max-width: 850px;
    margin: 0 auto 30px auto; /* Опускаем от шапки сайта */
    padding: 0 15px;
}

/* Обновленный стиль для подсказки поиска */
.blog-search-tip {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    
    /* Если хотите, чтобы поиск остался слева под ссылкой, оставьте как есть. 
       Если хотите сдвинуть его на этой новой строке вправо — раскомментируйте строку ниже: */
    /* align-self: flex-end; */
}

.blog-back-link:hover {
    color: #2563eb;
}

/* Стиль для подсказки горячих клавиш поиска */
.blog-search-tip {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Оформление контента статьи */
.single-post-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 15px;
}

.post-header {
    margin-bottom: 35px;
    margin-top: 15px; /* Отступ заголовка от даты */
}

.post-date {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
    display: block;
    margin-bottom: 15px; /* Делаем красивый отступ от даты до заголовка */
}

.post-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    font-family: 'Manrope', sans-serif;
}

.post-entry-body {
    font-size: 17px;
    line-height: 1.7;
    color: #334155;
}

.post-entry-body p {
    margin-bottom: 24px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .blog-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    .post-title { font-size: 26px; }
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО ПОИСКА (Ctrl + K)
   ========================================================================== */

/* Фон-подложка (размытие и заемнение) */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4); /* Темный полупрозрачный фон */
    backdrop-filter: blur(4px); /* Трендовое размытие */
    z-index: 99999; /* Поверх всех элементов */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh; /* Окно появляется чуть выше центра */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Класс, который будет добавляться через JavaScript при активации */
.search-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Контейнер самого окна */
.search-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.25s ease;
}

.search-modal-overlay.is-open .search-modal-container {
    transform: translateY(0);
}

/* Шапка окна: иконка, инпут и кнопка закрытия */
.search-modal-header {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    gap: 14px;
}

.search-icon-main {
    color: #94a3b8;
    font-size: 18px;
}

.search-modal-form {
    flex-grow: 1;
}

.search-modal-form .search-field {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.search-modal-form .search-field::placeholder {
    color: #94a3b8;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: #64748b;
}

/* Нижняя панель с подсказками клавиш */
.search-modal-footer {
    background: #f8fafc;
    padding: 12px 24px;
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #64748b;
    font-family: 'Manrope', sans-serif;
}

.search-modal-footer kbd {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 6px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    font-size: 11px;
    color: #334155;
    font-weight: 600;
}

/* Mega menu */
.nav-item--mega {
    position: relative;
}

.nav-item--mega:hover .dropdown-mega {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: 3px solid #1a1a2e; /* замени на свой accent-цвет */
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    gap: 0;
    min-width: 520px;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mega-col {
    flex: 1;
    padding: 20px 22px;
    border-right: 1px solid #f0f0f0;
}

.mega-col:last-child {
    border-right: none;
}

.mega-col__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 12px;
}

.mega-col__subtitle {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.mega-col__subtitle--offset {
    margin-top: 0;
}

.dropdown-mega ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.dropdown-mega ul li a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: #333;
    text-decoration: none;
    transition: color 0.15s;
}

.dropdown-mega ul li a:hover {
    color: #1a1a2e; /* или твой accent */
    padding-left: 4px;
}


/* Отключаем скролл у страницы, когда поиск открыт */
body.search-modal-active {
    overflow: hidden;
}