        body {
            font-family: 'Roboto', Arial, sans-serif;
            color: #333;
            background: #fff;
            line-height: 1.5;
        }
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        /* Заголовки */
        h1 {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin: 40px 0 20px;
            color: #2c3e50;
            position: relative;
        }
        h1:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: #3498db;
            margin: 15px auto 0;
        }
        h2 {
            font-size: 2rem;
            text-align: center;
            margin: 30px 0 20px;
            color: #2c3e50;
        }
        h3 {
            font-size: 1.5rem;
            margin: 25px 0 15px;
            color: #2c3e50;
        }
        /* Секция fl (адаптация под контент вытяжных шкафов) */
        .fl {
            display: flex;
            gap: 40px;
            align-items: flex-start;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        .fl > div {
            flex: 1;
            background: #f9f9f9;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .fl img {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        .fl p {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 12px;
        }
        /* Таблицы с горизонтальной прокруткой */
        .table-wrapper {
            width: 100%;
            overflow-x: auto;
            margin: 30px 0;
            -webkit-overflow-scrolling: touch;
        }
        table {
            width: 100%;
            min-width: 600px;
            border-collapse: collapse;
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin: 0;
        }
        th, td {
            border: 1px solid #e0e0e0;
            padding: 12px 8px;
            text-align: center;
            vertical-align: middle;
        }
        table tr td {
            text-align: center !important;
        }
        th {
            background: #2c3e50;
            color: white;
            font-weight: 600;
        }
        tr:nth-child(even) {
            background: #f8f9fa;
        }
        td img {
            max-width: 250px;
            height: auto;
            margin: 5px;
            border-radius: 6px;
            transition: transform 0.2s;
        }
        td img:hover {
            transform: scale(1.05);
        }
        /* Слайдер */
        .slider, #g_one {
            margin: 40px 0;
        }
        .slider img, #g_one img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .slick-prev:before, .slick-next:before {
            color: #3498db !important;
        }
        /* Блок преимуществ */
        .advantages {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
            margin: 60px 0;
        }
        .advantage-item {
            flex: 1;
            min-width: 300px;
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s;
        }
        .advantage-item i {
            font-size: 2.5rem;
            color: #0066cc;
            margin-bottom: 15px;
        }
        .advantage-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        .advantage-item h3 {
            text-align: center !important;
            margin: 15px 0 10px;
            color: #2c3e50;
            font-size: 1.3rem;
        }
        .advantage-item p {
            text-align: center !important;
            font-size: 14px;
            color: #666;
        }
        /* Галерея (сетка) */
        .gallery-section {
            padding: 40px 0;
            text-align: center;
            background-color: #f9f9f9;
            border-radius: 24px;
            margin: 40px 0;
        }
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        .gallery-img {
            width: 100%;
            height: 300px;
            object-fit: contain;
            border: 1px solid #ddd;
            padding: 10px;
            background: white;
            cursor: pointer;
            transition: transform 0.3s;
            border-radius: 8px;
        }
        .gallery-img:hover {
            transform: scale(1.03);
        }
        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
        }
        .modal-content {
            display: block;
            margin: auto;
            max-width: 90%;
            max-height: 90%;
            margin-top: 5%;
        }
        .modal-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 3rem;
            cursor: pointer;
        }
        /* Хедер (липкий с бургером) */
        .header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: #0066cc;
            text-decoration: none;
        }
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #0066cc;
        }
        .nav {
            display: flex;
            gap: 25px;
        }
        .nav-link {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }
        .nav-link:hover, .nav-link.active {
            color: #030205;
        }
        .last-link {
            display: none;
        }
        /* Футер */
        footer {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 40px 0;
            margin-top: 60px;
        }
        .flex_container {
            display: flex;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        .flex_container .logo {
            max-width: 120px;
        }
        .flex_container p {
            margin: 5px 0;
            font-size: 14px;
        }
        footer span {
            font-weight: bold;
        }
        /* Адаптивность */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
            .nav {
                position: fixed;
                top: 70px;
                left: -100%;
                flex-direction: column;
                background: white;
                width: 100%;
                padding: 20px 0;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
                transition: left 0.3s;
                z-index: 999;
            }
            .nav.active {
                left: 0;
            }
            .nav-link {
                padding: 12px 0;
                text-align: center;
            }
            .last-link {
                display: block;
            }
            h1 {
                font-size: 1.8rem;
            }
            .fl {
                flex-direction: column;
            }
            .advantages {
                flex-direction: column;
            }
            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            .slider img, #g_one img {
                height: 300px;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 12px;
            }
            td img {
                max-width: 70px;
            }
        }
        /* Дополнительные стили для текста */
        .bold {
            font-weight: 700;
        }
        .opisanie {
            background: #f9faf6;
            padding: 16px 20px;
            border-radius: 28px;
            margin: 20px 0;
        }
        ul, ol {
            padding-left: 1.5rem;
            margin: 0.75rem 0;
        }
        li {
            margin: 6px 0;
        }
        p {
            margin-bottom: 12px;
        }


        /* ============ */
                /* ===== АДАПТИВНЫЕ КАРТОЧКИ МОДЕЛЕЙ (замена таблиц) ===== */
        .model-cards {
            margin: 40px 0;
        }
        .model-category {
            font-size: 1.2rem;
            background: #2c3e50;
            color: white !important;
            padding: 12px 20px;
            border-radius: 12px;
            margin: 20px 0 20px;
            text-align: center;
        }
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 25px;
        }
        .model-card {
            background: #f8f9fa;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            text-align: center;
        }
        .model-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        .model-card img {
            width: 100%;
            height: 280px;
            object-fit: contain;
            background: white;
            padding: 20px;
            border-bottom: 1px solid #eee;
        }
        .model-info {
            padding: 15px;
        }
        .model-sizes {
            font-size: 1rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 6px;
        }
        .model-name {
            font-size: 0.9rem;
            color: #3498db;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        /* ===== АДАПТИВНАЯ ТАБЛИЦА ДОП. КОМПЛЕКТАЦИИ (оставляем с прокруткой, но улучшаем внешний вид) ===== */
        .dop-wrapper {
            overflow-x: auto;
            margin: 30px 0;
        }
        .dop-table {
            min-width: 500px;
            width: 100%;
            border-collapse: collapse;
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .dop-table th, .dop-table td {
            border: 1px solid #e0e0e0;
            padding: 12px 8px;
            text-align: center;
            vertical-align: middle;
        }
        .dop-table th {
            background: #2c3e50;
            color: white;
        }
        .dop-table img {
            max-width: 80px;
            height: auto;
            border-radius: 8px;
        }
        
        /* Дополнительная адаптация для телефонов */
        @media (max-width: 560px) {
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .model-card img {
                height: 280px;
                padding: 15px;
            }
            .model-category {
                font-size: 1rem;
                padding: 10px 15px;
            }
        }

                /* ===== ДОПОЛНИТЕЛЬНАЯ КОМПЛЕКТАЦИЯ - АДАПТИВНЫЕ КАРТОЧКИ ===== */
        .dop-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }
        
        .dop-card {
            text-align: center;
        }
        
        .dop-card img {
            height: 140px;
            object-fit: contain;
            padding: 20px;
        }
        
        .dop-card .model-sizes {
            font-size: 0.95rem;
            font-weight: 600;
        }
        
        .dop-card .model-name {
            font-size: 0.85rem;
            color: #666;
            font-weight: normal;
        }
        
        /* дополнительная адаптация для маленьких телефонов */
        @media (max-width: 560px) {
            .dop-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            }
            .dop-card img {
                height: 120px;
                padding: 15px;
            }
            .dop-card .model-sizes {
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 380px) {
            .dop-grid {
                grid-template-columns: 1fr;
            }
            .dop-card {
                max-width: 280px;
                margin: 0 auto;
                width: 100%;
            }
        }

        /* ПЕРЕОПРЕДЕЛЕНИЕ СТИЛЕЙ */
        .model-info ul li {
          text-align: left;
        }

        .model-sizes {
          display: flex;
          flex-direction: column;
        }

    #toTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0066cc;
    color: white;
    padding: 12px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    z-index: 99;
    display: none;
    transition: 0.2s;
    border: none;
}