            :root {
                --primary: #4361ee;
                --primary-dark: #3a56d4;
                --success: #4cc9f0;
                --warning: #f8961e;
                --danger: #ef233c;
                --dark: #1e2029;
                --light: #f8f9fa;
                --gray: #6c757d;
                --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
                --transition: all 0.3s ease;
                --badge-popular: #4cc9f0;
                --badge-sale: #f8961e;
                --badge-special: #ef233c;
            }
            body {
                font-family: 'Inter', sans-serif;
                background-color: #f8f9fa;
                color: #333;
                line-height: 1.6;
                padding-bottom: 70px;
                transition: background-color 0.3s, color 0.3s;
                overflow-x: hidden;
            }

/* Стили для прелоадера-визитки */
.preloader-vizitka {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.preloader-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.preloader-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-vizitka {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-vizitka .logo-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4361ee;
    animation: pulse 2s infinite;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.company-tagline {
    color: #718096;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Контактная информация */
.contact-vizitka {
    margin: 25px 0;
}

.contact-grid {
    display: grid;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(67, 97, 238, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateY(-2px);
}

.contact-item i {
    width: 20px;
    color: #4361ee;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

.contact-value {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 600;
    text-decoration: none;
}

.contact-value:hover {
    color: #4361ee;
}

/* Услуги */
.services-preview {
    margin: 25px 0;
}

.services-title {
    text-align: center;
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #4361ee;
    font-weight: 500;
}

.service-badge i {
    font-size: 0.9rem;
}

/* Загрузка */
.loading-section {
    margin: 25px 0;
}

.loading-info {
    margin-bottom: 20px;
}

.loader-text {
    text-align: center;
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 0.95rem;
    min-height: 20px;
}

.progress-container {
    position: relative;
    background: #e2e8f0;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.8rem;
    color: #718096;
    font-weight: 600;
}

.action-buttons {
    text-align: center;
}

#forceLoadBtn {
    margin-bottom: 10px;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
}

.loading-note small {
    color: #718096;
    font-size: 0.75rem;
}

/* Быстрые действия */
.quick-actions {
    margin-top: 20px;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn.primary {
    background: #4361ee;
    color: white;
}

.action-btn.secondary {
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
}

.action-btn.accent {
    background: #f72585;
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Проблемы с загрузкой */
.loading-problem {
    margin-top: 20px;
}

.problem-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
}

.problem-alert i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.problem-text {
    flex: 1;
}

.problem-text strong {
    color: #d97706;
    font-size: 0.9rem;
}

.problem-text p {
    color: #92400e;
    font-size: 0.8rem;
    margin: 5px 0 0 0;
}

/* Анимации */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

/* Адаптивность */
@media (max-width: 480px) {
    .preloader-container {
        padding: 20px;
        margin: 20px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
}

/* Темная тема */
body.dark-mode .preloader-container {
    background: rgba(45, 55, 72, 0.95);
    color: #e2e8f0;
}

body.dark-mode .company-name,
body.dark-mode .contact-value,
body.dark-mode .services-title {
    color: #e2e8f0;
}

body.dark-mode .company-tagline,
body.dark-mode .contact-label {
    color: #a0aec0;
}

body.dark-mode .contact-item {
    background: rgba(67, 97, 238, 0.1);
}

body.dark-mode .service-badge {
    background: rgba(67, 97, 238, 0.15);
}

body.dark-mode .progress-container {
    background: #4a5568;
}

            /* COOKIES */
            #cookieConsent {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: rgba(30, 32, 41, 0.95);
                color: white;
                padding: 15px 20px;
                display: none;
                z-index: 10000;
                backdrop-filter: blur(10px);
                border-top: 1px solid #4a4a6a;
            }
            #cookieConsent .container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                gap: 15px;
            }
            #cookieConsent p {
                margin: 0;
                font-size: 0.9rem;
            }
            #cookieConsent a {
                color: #4cc9f0;
                text-decoration: underline;
            }
            #acceptCookies {
                background: var(--primary);
                color: white;
                border: none;
                padding: 8px 16px;
                border-radius: 6px;
                cursor: pointer;
                font-weight: 600;
            }

            /* ... остальной CSS без изменений ... */
            .loader {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: white;
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 9999;
                transition: opacity 0.3s, visibility 0.3s;
            }
            body.dark-mode .loader {
                background: #1e2029;
            }
            .loader.hidden {
                opacity: 0;
                visibility: hidden;
            }
            .loader-spinner {
                width: 50px;
                height: 50px;
                border: 5px solid rgba(67, 97, 238, 0.2);
                border-top: 5px solid var(--primary);
                border-radius: 50%;
                animation: spin 1s linear infinite;
            }
            .loader-content {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }
            .loader-text {
                font-family: 'Inter', sans-serif;
                font-weight: 500;
                color: var(--primary);
                font-size: 1.1rem;
                text-align: center;
                max-width: 80%;
            }
            body.dark-mode .loader-text {
                color: #4cc9f0;
            }
            @keyframes spin {
                0% { transform: rotate(0deg); }
                100% { transform: rotate(360deg); }
            }
            .incomplete-loader, .desktop-notice {
                background: rgba(0, 0, 0, 0.7);
                color: white;
                z-index: 10000;
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .incomplete-loader .loader-content, .desktop-notice .loader-content {
                max-width: 300px;
                text-align: center;
                padding: 20px;
                background: rgba(0, 0, 0, 0.8);
                border-radius: 12px;
            }
            .desktop-notice {
                display: none;
            }
            .header {
                background: white;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
                padding: 12px 15px;
                position: sticky;
                top: 0;
                z-index: 100;
                transition: background-color 0.3s;
            }
            .logo {
                font-weight: 700;
                color: var(--primary);
                font-size: 1.3rem;
                display: flex;
                align-items: center;
            }
            .logo i {
                margin-right: 8px;
            }
            .header-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;
            }
            .contact-info {
                display: flex;
                flex-direction: column;
                align-items: flex-end;
            }
            .phone {
                font-weight: 600;
                color: var(--primary);
            }
            .work-hours {
                font-size: 0.8rem;
                color: var(--gray);
            }
            .section {
                display: none;
                padding: 15px;
            }
            .section.active {
                display: block;
            }
            .section-title {
                font-size: 1.4rem;
                font-weight: 700;
                margin-bottom: 20px;
                color: var(--primary);
                position: relative;
                padding-bottom: 10px;
            }
            .section-title::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 50px;
                height: 3px;
                background: var(--primary);
                border-radius: 3px;
            }
            .category-title {
                font-size: 1.2rem;
                font-weight: 600;
                margin: 25px 0 15px;
                padding-left: 10px;
                border-left: 4px solid var(--primary);
            }
            .product-card, .service-card, .promotion-card {
                border-radius: 12px;
                overflow: hidden;
                box-shadow: var(--card-shadow);
                transition: var(--transition);
                height: 100%;
                background: white;
                margin-bottom: 15px;
                position: relative;
                cursor: pointer;
            }
            .product-card:hover, .service-card:hover, .promotion-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
            }
            .badge-label {
                position: absolute;
                top: 10px;
                left: 10px;
                z-index: 2;
                padding: 4px 10px;
                border-radius: 20px;
                font-size: 0.75rem;
                font-weight: 600;
                color: white;
            }
            .badge-popular {
                background-color: var(--badge-popular);
            }
            .badge-sale {
                background-color: var(--badge-sale);
            }
            .badge-special {
                background-color: var(--badge-special);
            }
            .product-img-container {
                height: 180px;
                width: 100%;
                position: relative;
                overflow: hidden;
            }
            .service-card .product-img-container {
                height: 0;
                padding: 0;
                margin: 0;
            }
            .product-img {
                height: 100%;
                width: 100%;
                object-fit: contain;
                background-color: white;
                padding: 10px;
                cursor: pointer;
                transition: transform 0.3s ease;
                display: block;
            }
            .image-placeholder {
                height: 100%;
                width: 100%;
                background-color: #f1f5f9;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                color: var(--gray);
                text-align: center;
                padding: 10px;
            }
            .image-placeholder i {
                font-size: 2rem;
                margin-bottom: 10px;
                color: #cbd5e1;
            }
            .product-img:hover {
                transform: scale(1.02);
            }
            .card-body {
                padding: 15px;
            }
            .card-title {
                font-weight: 600;
                margin: 0 0 10px 0;
                font-size: 1.1rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .price {
                font-size: 1.3rem;
                font-weight: 700;
                color: var(--primary);
                margin-bottom: 5px;
            }
            .installation-price {
                font-size: 0.9rem;
                color: var(--gray);
                margin-bottom: 5px;
                font-style: italic;
            }
            .installation-comment {
                font-size: 0.65rem;
                color: var(--gray);
                margin-bottom: 10px;
                font-style: italic;
            }
            .btn-primary {
                background: var(--primary);
                border: none;
                padding: 8px 15px;
                border-radius: 6px;
                font-size: 0.9rem;
                width: 100%;
                transition: all 0.3s;
            }
            .btn-primary:hover {
                background: var(--primary-dark);
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            .feature-card {
                border-radius: 12px;
                overflow: hidden;
                box-shadow: var(--card-shadow);
                transition: var(--transition);
                height: 100%;
                background: white;
                margin-bottom: 15px;
                padding: 20px;
                text-align: center;
                border: 1px solid #e2e8f0;
            }
            .feature-icon {
                width: 60px;
                height: 60px;
                border-radius: 15px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto 15px;
                font-size: 1.5rem;
                background: rgba(67, 97, 238, 0.1);
                color: var(--primary);
            }
            .feature-card h3 {
                font-weight: 600;
                margin-bottom: 10px;
                font-size: 1.1rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .feature-card p {
                color: var(--gray);
                font-size: 0.9rem;
                line-height: 1.5;
                margin-bottom: 0;
            }
            .cta-section {
                background: linear-gradient(135deg, var(--primary), var(--primary-dark));
                color: white;
                padding: 15px 20px;
                border-radius: 12px;
                margin: 15px 0;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 1.2rem;
                margin-bottom: 10px;
            }
            .cta-section p {
                font-size: 0.85rem;
                margin-bottom: 15px;
            }
            .cta-btn {
                background: white;
                color: var(--primary);
                font-weight: 600;
                padding: 8px 15px;
                border-radius: 8px;
                text-decoration: none;
                display: inline-block;
            }
            .contact-item {
                display: flex;
                align-items: flex-start;
                gap: 15px;
                margin-bottom: 20px;
            }
            .contact-item i {
                font-size: 1.3rem;
                color: var(--primary);
                min-width: 30px;
                margin-top: 3px;
            }
            .info h4 {
                font-weight: 600;
                margin-bottom: 5px;
                font-size: 1rem;
            }
            .info p {
                color: var(--gray);
                margin: 0;
                font-size: 0.9rem;
            }
            .map-container {
                height: 200px;
                border-radius: 12px;
                overflow: hidden;
                margin-top: 15px;
                box-shadow: var(--card-shadow);
            }
            .faq-item {
                margin-bottom: 15px;
                border-radius: 10px;
                overflow: hidden;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
                background: white;
            }
            .faq-question {
                padding: 15px 20px;
                background: white;
                font-weight: 600;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 1rem;
            }
            .faq-answer {
                padding: 0 20px;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }
            .faq-answer p {
                padding: 15px 0;
                color: var(--gray);
                font-size: 0.9rem;
                margin: 0;
            }
            .faq-answer.active {
                max-height: 500px;
            }
            .testimonial {
                background: white;
                border-radius: 12px;
                padding: 20px;
                margin: 15px 0;
                box-shadow: var(--card-shadow);
            }
            .testimonial-content {
                font-style: italic;
                color: var(--gray);
                margin-bottom: 15px;
                font-size: 0.95rem;
            }
            .testimonial-author {
                font-weight: 600;
                color: var(--primary);
                font-size: 0.9rem;
            }
            .testimonial-author span {
                color: var(--gray);
                font-weight: 400;
            }
            .footer {
                background: white;
                padding: 20px 0 10px;
                margin-top: 20px;
                border-top: 1px solid #e2e8f0;
                position: relative;
                z-index: 1000;
                transition: background-color 0.3s;
            }
            .footer-logo {
                font-weight: 700;
                font-size: 1.5rem;
                color: var(--primary);
                margin-bottom: 15px;
                display: flex;
                align-items: center;
            }
            .footer-logo i {
                margin-right: 10px;
            }
            .footer-links {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                margin-bottom: 20px;
            }
            .footer-links a {
                color: var(--gray);
                text-decoration: none;
                font-size: 0.9rem;
            }
            .footer-links a:hover {
                color: var(--primary);
            }
            .footer-bottom {
                color: var(--gray);
                text-align: center;
                font-size: 0.85rem;
                padding-top: 15px;
                border-top: 1px solid #e2e8f0;
            }
            .footer-info {
                text-align: center;
                margin: 15px 0;
                font-size: 0.8rem;
                color: var(--gray);
            }
            .mobile-bottom-nav {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: white;
                border-top: 1px solid #e2e8f0;
                display: flex;
                z-index: 1001;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
                transition: background-color 0.3s;
            }
            .bottom-nav-item {
                flex: 1;
                text-align: center;
                padding: 10px 0;
                color: #6b7280;
                text-decoration: none;
                font-size: 0.8rem;
                position: relative;
            }
            .bottom-nav-item.active {
                color: var(--primary);
            }
            .bottom-nav-item i {
                font-size: 1.2rem;
                display: block;
                margin-bottom: 3px;
            }
            .bottom-nav-item.active::after {
                content: '';
                position: absolute;
                bottom: 5px;
                left: 50%;
                transform: translateX(-50%);
                width: 40%;
                height: 3px;
                background: var(--primary);
                border-radius: 3px;
            }
            .form-control, .form-select {
                border-radius: 8px;
                padding: 10px 15px;
                font-size: 0.95rem;
            }
            .btn-outline-primary {
                border: 2px solid var(--primary);
                color: var(--primary);
                background: transparent;
                padding: 10px 15px;
                border-radius: 8px;
                font-weight: 600;
                width: 100%;
                margin-top: 10px;
            }
            .btn-outline-primary:hover {
                background: var(--primary);
                color: white;
            }
            .table-responsive {
                border-radius: 12px;
                overflow: hidden;
                box-shadow: var(--card-shadow);
            }
            .table {
                background: white;
                margin-bottom: 0;
            }
            .table th {
                background: #f1f5f9;
                font-weight: 600;
                font-size: 0.9rem;
            }
            .badge {
                font-size: 0.75rem;
                padding: 5px 10px;
            }
            .alert {
                border-radius: 8px;
                padding: 10px 15px;
                margin-bottom: 15px;
            }
            .alert-danger {
                background-color: #fee;
                color: #c33;
                border: 1px solid #fcc;
            }
            .alert-success {
                background-color: #efe;
                color: #363;
                border: 1px solid #cfc;
            }
            .user-menu {
                display: flex;
                align-items: center;
                gap: 10px;
            }
            .user-name {
                font-weight: 500;
                color: var(--primary);
            }
            .logout-btn {
                background: none;
                border: none;
                color: var(--gray);
                cursor: pointer;
                font-size: 0.9rem;
            }
            .logout-btn:hover {
                color: var(--primary);
            }
            .empty-category {
                text-align: center;
                padding: 30px 0;
                color: var(--gray);
            }
            .empty-category i {
                font-size: 3rem;
                margin-bottom: 15px;
                color: #d1d5db;
            }
            /* Стили для аккордеона */
            .accordion-button {
                font-weight: 600;
                color: var(--primary);
                background-color: #f8f9fa;
            }
            .accordion-button:not(.collapsed) {
                color: var(--primary);
                background-color: #e9ecef;
            }
            .accordion-item {
                border: 1px solid #dee2e6;
                border-radius: 10px !important;
                margin-bottom: 10px;
                overflow: hidden;
            }
            .accordion-body {
                padding: 15px;
            }
            /* Стили для выпадающего меню товаров/услуг */
            .dropdown-menu {
                width: 100%;
                max-height: 300px;
                overflow-y: auto;
                border-radius: 10px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            }
            .dropdown-item {
                padding: 10px 15px;
                border-bottom: 1px solid #eee;
            }
            .dropdown-item:last-child {
                border-bottom: none;
            }
            .dropdown-item:hover {
                background-color: #f1f5f9;
            }
            .product-info, .service-info {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .product-name, .service-name {
                font-weight: 500;
            }
            .product-price, .service-price {
                font-weight: 700;
                color: var(--primary);
            }
            /* Темный режим */
            body.dark-mode {
                background-color: #1e2029;
                color: #f8f9fa;
            }
            body.dark-mode .header {
                background-color: #1e2029;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            }
            body.dark-mode .product-card, 
            body.dark-mode .service-card, 
            body.dark-mode .promotion-card {
                background-color: #2d3142;
                color: #f8f9fa;
            }
            body.dark-mode .card {
                background-color: #2d3142;
                color: #f8f9fa;
            }
            body.dark-mode .card-body {
                background-color: #2d3142;
                color: #f8f9fa;
            }
            body.dark-mode .contact-info {
                color: #f8f9fa;
            }
            body.dark-mode .contact-info p {
                color: #adb5bd;
            }
            body.dark-mode .section-title {
                color: #4cc9f0;
            }
            body.dark-mode .section-title::after {
                background: #4cc9f0;
            }
            body.dark-mode .price {
                color: #4cc9f0;
            }
            body.dark-mode .description {
                color: #adb5bd;
            }
            body.dark-mode .btn-primary {
                background: #4cc9f0;
                border-color: #4cc9f0;
            }
            body.dark-mode .btn-primary:hover {
                background: #48b9e0;
                border-color: #48b9e0;
            }
            body.dark-mode .footer {
                background: #1e2029;
                color: #adb5bd;
            }
            body.dark-mode .footer-links a {
                color: #adb5bd;
            }
            body.dark-mode .footer-links a:hover {
                color: #4cc9f0;
            }
            body.dark-mode .footer-bottom {
                color: #adb5bd;
            }
            body.dark-mode .mobile-bottom-nav {
                background: #1e2029;
                border-top-color: #3a56d4;
            }
            body.dark-mode .bottom-nav-item {
                color: #adb5bd;
            }
            body.dark-mode .bottom-nav-item.active {
                color: #4cc9f0;
            }
            body.dark-mode .form-control {
                background-color: #2d3142;
                border-color: #4a4a6a;
                color: #f8f9fa;
            }
            body.dark-mode .form-control:focus {
                background-color: #2d3142;
                border-color: #4cc9f0;
                color: #f8f9fa;
            }
            body.dark-mode .feature-card {
                background: #2d3142;
                border-color: #4a4a6a;
            }
            body.dark-mode .feature-card h3 {
                color: #f8f9fa;
            }
            body.dark-mode .feature-card p {
                color: #adb5bd;
            }
            body.dark-mode .cta-section {
                background: linear-gradient(135deg, #3a56d4, #2a45b8);
            }
            body.dark-mode .modal-content {
                background-color: #2d3142;
                color: #f8f9fa;
            }
            body.dark-mode .modal-header {
                border-bottom-color: #4a4a6a;
            }
            body.dark-mode .modal-footer {
                border-top-color: #4a4a6a;
            }
            body.dark-mode .form-label {
                color: #f8f9fa;
            }
            body.dark-mode .text-muted {
                color: #adb5bd !important;
            }
            body.dark-mode .image-placeholder {
                background-color: #2d3142;
                color: #adb5bd;
            }
            body.dark-mode .image-placeholder i {
                color: #4a4a6a;
            }
            body.dark-mode .dropdown-menu {
                background-color: #2d3142;
                border-color: #4a4a6a;
            }
            body.dark-mode .dropdown-item {
                color: #f8f9fa;
            }
            body.dark-mode .dropdown-item:hover {
                background-color: #4a4a6a;
                color: #f8f9fa;
            }
            /* Стили для поиска */
            .search-box {
                width: 100%;
                padding: 0 10px;
                margin-bottom: 15px;
            }
            .search-box .form-control {
                border-radius: 20px;
                padding: 8px 15px;
                font-size: 0.85rem;
                border: 1px solid #e2e8f0;
                transition: all 0.3s;
            }
            body.dark-mode .search-box .form-control {
                border-color: #4a4a6a;
            }
            .search-box .form-control:focus {
                box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
                border-color: var(--primary);
            }
            /* Стили для кнопок связи */
            .contact-buttons {
                display: flex;
                gap: 10px;
                margin: 20px 0;
                overflow-x: auto;
                padding-bottom: 5px;
                -webkit-overflow-scrolling: touch;
            }
            .contact-buttons::-webkit-scrollbar {
                height: 8px;
            }
            .contact-buttons::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 4px;
            }
            body.dark-mode .contact-buttons::-webkit-scrollbar-track {
                background: #2d3142;
            }
            .contact-buttons::-webkit-scrollbar-thumb {
                background: #c1c1c1;
                border-radius: 4px;
            }
            body.dark-mode .contact-buttons::-webkit-scrollbar-thumb {
                background: #4a4a6a;
            }
            .btn-contact {
                flex: 1;
                min-width: 150px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 10px;
                border-radius: 8px;
                font-weight: 500;
                transition: all 0.3s;
                text-decoration: none;
                color: white;
            }
            .btn-telegram {
                background: #0088cc;
            }
            .btn-telegram:hover {
                background: #006aa7;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            .btn-telegram-bot {
                background: #4361ee;
            }
            .btn-telegram-bot:hover {
                background: #3a56d4;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            .btn-time {
                background: #f8961e;
            }
            .btn-time:hover {
                background: #e78515;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            .btn-map {
                background: #52b69a;
            }
            .btn-map:hover {
                background: #34a0a4;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            .btn-phone {
                background: #2a9d8f;
            }
            .btn-phone:hover {
                background: #21867a;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            /* Стили для установки приложения */
            .app-install {
                background: linear-gradient(135deg, var(--primary), var(--primary-dark));
                color: white;
                border-radius: 12px;
                padding: 15px;
                margin: 20px 0;
                text-align: center;
                animation: pulse 2s infinite;
            }
            @keyframes pulse {
                0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4); }
                70% { box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); }
                100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
            }
            .app-install h3 {
                font-size: 1.1rem;
                margin-bottom: 10px;
            }
            .app-install p {
                font-size: 0.9rem;
                margin-bottom: 15px;
            }
            .app-install-btn {
                background: white;
                color: var(--primary);
                font-weight: 600;
                padding: 8px 15px;
                border-radius: 8px;
                display: inline-block;
                transition: all 0.3s;
            }
            .app-install-btn:hover {
                transform: scale(1.05);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            }
            /* Модальное окно для просмотра изображений в полном размере */
            .modal-backdrop {
                z-index: 1050 !important;
            }
            #imagePreviewModal {
                z-index: 1060 !important;
            }
            .modal-dialog-centered {
                margin-top: 5vh;
            }
            /* Стили для телеграм выпадающего меню */
            .telegram-dropdown {
                position: relative;
                display: inline-block;
            }
            .telegram-dropdown-content {
                display: none;
                position: absolute;
                bottom: 100%;
                left: 50%;
                transform: translateX(-50%);
                background-color: white;
                min-width: 180px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                border-radius: 10px;
                z-index: 1;
                margin-bottom: 10px;
            }
            .telegram-dropdown-content a {
                color: #333;
                padding: 10px 15px;
                text-decoration: none;
                display: block;
                border-radius: 8px;
                margin: 5px;
                display: flex;
                align-items: center;
                gap: 10px;
            }
            .telegram-dropdown-content a:hover {
                background-color: #f1f5f9;
            }
            .telegram-dropdown:hover .telegram-dropdown-content {
                display: block;
            }
            body.dark-mode .telegram-dropdown-content {
                background-color: #2d3142;
            }
            body.dark-mode .telegram-dropdown-content a {
                color: #f8f9fa;
            }
            body.dark-mode .telegram-dropdown-content a:hover {
                background-color: #4a4a6a;
            }
            /* Страница с акциями */
            .promotion-card .card-body {
                padding-top: 25px;
            }
            /* Стили для календаря */
            .calendar-container {
                width: 100%;
                height: 400px;
                overflow: hidden;
                border-radius: 0 0 10px 10px;
            }
            .calendar-container iframe {
                width: 100%;
                height: 100%;
                border: none;
                background: white;
            }
            @media (max-width: 768px) {
                .calendar-container {
                    height: 350px;
                }
                .modal-dialog {
                    margin: 10px;
                    width: calc(100% - 20px);
                }
            }
            /* Стили для изображений услуг */
            .service-card .card {
                display: flex;
                flex-direction: column;
                height: 100%;
            }
            .service-img {
                width: 100%;
                height: 180px;
                object-fit: cover;
                border-radius: 12px 12px 0 0;
            }
            .image-placeholder {
                width: 100%;
                height: 180px;
                background-color: #f8f9fa;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                color: #6c757d;
                border-radius: 12px 12px 0 0;
                cursor: pointer;
                transition: all 0.3s ease;
            }
            .image-placeholder:hover {
                background-color: #e9ecef;
            }
            .image-placeholder i {
                font-size: 2rem;
                margin-bottom: 8px;
            }
            .image-placeholder span {
                font-size: 0.85rem;
                text-align: center;
                padding: 0 10px;
            }
            /* Стили для подсказки поиска */
            .search-hint {
                position: fixed;
                background: #4a6cf7;
                color: white;
                padding: 8px 12px;
                border-radius: 6px;
                font-size: 0.85rem;
                z-index: 10000;
                box-shadow: 0 2px 10px rgba(0,0,0,0.2);
                animation: fadeIn 0.3s ease;
                max-width: 250px;
                text-align: center;
            }
            .hint-arrow {
                position: absolute;
                bottom: -5px;
                left: 20px;
                width: 10px;
                height: 10px;
                background: #4a6cf7;
                transform: rotate(45deg);
            }
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(5px); }
                to { opacity: 1; transform: translateY(0); }
            }
            /* Адаптация для мобильных */
            @media (max-width: 768px) {
                .search-hint {
                    max-width: 200px;
                    font-size: 0.8rem;
                }
            }
            .category-scroll-container {
                padding: 15px 0;
                position: relative;
                overflow-x: auto;
                scrollbar-width: none;
                -ms-overflow-style: none;
                scroll-behavior: smooth;
                max-width: 100%;
                margin: 0 auto;
            }
            .category-scroll-container::-webkit-scrollbar {
                display: none;
            }
            .category-btn {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                border: 1px solid #e2e8f0;
                box-shadow: 0 2px 4px rgba(0,0,0,0.05);
                position: relative;
                overflow: hidden;
                white-space: nowrap;
                margin: 0 5px;
                min-width: 180px;
                text-align: center;
                backdrop-filter: blur(10px);
                background: linear-gradient(145deg, #ffffff, #f8f9fa);
                transform: translateY(0);
                animation: slideIn 0.5s ease-out forwards;
                opacity: 0;
            }
            /* Анимация появления с задержкой */
            .category-btn:nth-child(1) { animation-delay: 0.1s; }
            .category-btn:nth-child(2) { animation-delay: 0.2s; }
            .category-btn:nth-child(3) { animation-delay: 0.3s; }
            .category-btn:nth-child(4) { animation-delay: 0.4s; }
            .category-btn:nth-child(5) { animation-delay: 0.5s; }
            .category-btn:nth-child(6) { animation-delay: 0.6s; }
            .category-btn:nth-child(7) { animation-delay: 0.7s; }
            .category-btn:nth-child(8) { animation-delay: 0.8s; }
            @keyframes slideIn {
                0% {
                    opacity: 0;
                    transform: translateY(10px) scale(0.95);
                }
                100% {
                    opacity: 1;
                    transform: translateY(0) scale(1);
                }
            }
            .category-btn:hover {
                transform: translateY(-3px) scale(1.02);
                box-shadow: 0 6px 12px rgba(67, 97, 238, 0.25);
                border-color: #4361ee;
                background: linear-gradient(145deg, #f8f9fa, #e9ecef);
                z-index: 2;
            }
            .category-btn:active {
                transform: translateY(0) scale(0.98);
                box-shadow: 0 2px 4px rgba(67, 97, 238, 0.2);
            }
            /* Hover эффекты */
            .hover-effect::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
                transition: left 0.5s;
            }
            .hover-effect:hover::before {
                left: 100%;
            }
            /* Темный режим для кнопок категорий */
            body.dark-mode .category-btn {
                background: linear-gradient(145deg, #2d3142, #1a1d2a) !important;
                color: #f8f9fa !important;
                border-color: #4a4a6a !important;
                box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            }
            body.dark-mode .category-btn:hover {
                background: linear-gradient(145deg, #3a3a5a, #2d3142) !important;
                border-color: #4cc9f0 !important;
                box-shadow: 0 6px 12px rgba(76, 201, 240, 0.3) !important;
            }
            /* Стили для скролла */
            .category-scroll-container::-webkit-scrollbar {
                height: 6px;
            }
            .category-scroll-container::-webkit-scrollbar-track {
                background: #f1f5f9;
                border-radius: 10px;
            }
            .category-scroll-container::-webkit-scrollbar-thumb {
                background: #4361ee;
                border-radius: 10px;
            }
            .category-scroll-container::-webkit-scrollbar-thumb:hover {
                background: #3a56e4;
            }
            /* Адаптация для мобильных */
            @media (max-width: 768px) {
                .category-btn {
                    min-width: 140px;
                    padding: 10px 15px;
                    font-size: 0.85rem;
                    margin: 0 3px;
                }
                .category-scroll-container {
                    padding: 10px 0;
                }
            }
            /* Стили для фокуса */
            .category-btn:focus {
                outline: none;
                box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
            }
            /* Стили для анимации прокрутки */
            .category-btn {
                animation-fill-mode: both;
            }
            /* Фикс для Firefox */
            .category-scroll-container {
                -webkit-overflow-scrolling: touch;
            }
            .category-navigation-products {
                background: #f8f9fa;
                border-bottom: 1px solid #eee;
                position: sticky;
                top: 70px; /* Изменено с 0 на 70px для размещения под шапкой */
                z-index: 99; /* Уменьшено с 100 до 99 */
                display: none;
                width: 100%; /* Добавлено для полной ширины */
            }
            .category-btn {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                border: 1px solid #e2e8f0;
                box-shadow: 0 2px 4px rgba(0,0,0,0.05);
                position: relative;
                overflow: hidden;
                white-space: nowrap;
                margin: 0 5px;
                min-width: 180px;
                text-align: center;
                backdrop-filter: blur(10px);
                background: linear-gradient(145deg, #ffffff, #f8f9fa);
                transform: translateX(-20px);
                opacity: 0;
                animation: slideIn 0.5s ease-out forwards;
            }
            .category-btn:nth-child(1) { animation-delay: 0.1s; }
            .category-btn:nth-child(2) { animation-delay: 0.2s; }
            .category-btn:nth-child(3) { animation-delay: 0.3s; }
            .category-btn:nth-child(4) { animation-delay: 0.4s; }
            .category-btn:nth-child(5) { animation-delay: 0.5s; }
            .category-btn:nth-child(6) { animation-delay: 0.6s; }
            .category-btn:nth-child(7) { animation-delay: 0.7s; }
            .category-btn:nth-child(8) { animation-delay: 0.8s; }
            @keyframes slideIn {
                0% {
                    opacity: 0;
                    transform: translateX(-20px);
                }
                100% {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
            .category-btn:hover {
                transform: translateY(-3px) scale(1.02);
                box-shadow: 0 6px 12px rgba(67, 97, 238, 0.25);
                border-color: #4361ee;
                background: linear-gradient(145deg, #f8f9fa, #e9ecef);
                z-index: 2;
            }
            /* Темный режим для кнопок категорий */
            body.dark-mode .category-btn {
                background: linear-gradient(145deg, #2d3142, #1a1d2a) !important;
                color: #f8f9fa !important;
                border-color: #4a4a6a !important;
                box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            }
            body.dark-mode .category-btn:hover {
                background: linear-gradient(145deg, #3a3a5a, #2d3142) !important;
                border-color: #4cc9f0 !important;
                box-shadow: 0 6px 12px rgba(76, 201, 240, 0.3) !important;
            }
            @media (max-width: 768px) {
                .category-btn {
                    min-width: 140px;
                    padding: 10px 15px;
                    font-size: 0.85rem;
                    margin: 0 3px;
                }
            }
            /* Стили для подсказки поиска */
            .search-hint {
                position: fixed;
                background: #4a6cf7;
                color: white;
                padding: 8px 12px;
                border-radius: 6px;
                font-size: 0.85rem;
                z-index: 10000;
                box-shadow: 0 2px 10px rgba(0,0,0,0.2);
                animation: fadeIn 0.3s ease;
                max-width: 250px;
                text-align: center;
            }
            .hint-arrow {
                position: absolute;
                bottom: -5px;
                left: 20px;
                width: 10px;
                height: 10px;
                background: #4a6cf7;
                transform: rotate(45deg);
            }
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(5px); }
                to { opacity: 1; transform: translateY(0); }
            }
            /* Адаптация для мобильных */
            @media (max-width: 768px) {
                .search-hint {
                    max-width: 200px;
                    font-size: 0.8rem;
                }
            }
            /* Исправленные стили для кнопок навигации */
            .category-btn {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                border: 1px solid #e2e8f0;
                box-shadow: 0 2px 4px rgba(0,0,0,0.05);
                position: relative;
                overflow: hidden;
                white-space: nowrap;
                margin: 0 5px;
                min-width: 180px;
                text-align: center;
                backdrop-filter: blur(10px);
                background: linear-gradient(145deg, #ffffff, #f8f9fa);
                transform: translateX(-20px);
                opacity: 0;
                animation: slideIn 0.5s ease-out forwards;
            }
            .category-btn:nth-child(1) { animation-delay: 0.1s; }
            .category-btn:nth-child(2) { animation-delay: 0.2s; }
            .category-btn:nth-child(3) { animation-delay: 0.3s; }
            .category-btn:nth-child(4) { animation-delay: 0.4s; }
            .category-btn:nth-child(5) { animation-delay: 0.5s; }
            .category-btn:nth-child(6) { animation-delay: 0.6s; }
            .category-btn:nth-child(7) { animation-delay: 0.7s; }
            .category-btn:nth-child(8) { animation-delay: 0.8s; }
            @keyframes slideIn {
                0% {
                    opacity: 0;
                    transform: translateX(-20px);
                }
                100% {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
            .category-btn:hover {
                transform: translateY(-3px) scale(1.02);
                box-shadow: 0 6px 12px rgba(67, 97, 238, 0.25);
                border-color: #4361ee;
                background: linear-gradient(145deg, #f8f9fa, #e9ecef);
                z-index: 2;
            }
            /* Темный режим для кнопок категорий */
            body.dark-mode .category-btn {
                background: linear-gradient(145deg, #2d3142, #1a1d2a) !important;
                color: #f8f9fa !important;
                border-color: #4a4a6a !important;
                box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            }
            body.dark-mode .category-btn:hover {
                background: linear-gradient(145deg, #3a3a5a, #2d3142) !important;
                border-color: #4cc9f0 !important;
                box-shadow: 0 6px 12px rgba(76, 201, 240, 0.3) !important;
            }
            @media (max-width: 768px) {
                .category-btn {
                    min-width: 140px;
                    padding: 10px 15px;
                    font-size: 0.85rem;
                    margin: 0 3px;
                }
            }
            /* Стили для выпадающего меню "Информация" */
            .info-dropdown {
                position: relative;
                display: inline-block;
            }
            .info-dropdown-content {
                display: none;
                position: absolute;
                bottom: 100%;
                left: 50%;
                transform: translateX(-50%);
                background-color: white;
                min-width: 180px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                border-radius: 10px;
                z-index: 1;
                margin-bottom: 10px;
            }
            .info-dropdown-content a {
                color: #333;
                padding: 10px 15px;
                text-decoration: none;
                display: block;
                border-radius: 8px;
                margin: 5px;
                display: flex;
                align-items: center;
                gap: 10px;
            }
            .info-dropdown-content a:hover {
                background-color: #f1f5f9;
            }
            .info-dropdown:hover .info-dropdown-content {
                display: block;
            }
            body.dark-mode .info-dropdown-content {
                background-color: #2d3142;
            }
            body.dark-mode .info-dropdown-content a {
                color: #f8f9fa;
            }
            body.dark-mode .info-dropdown-content a:hover {
                background-color: #4a4a6a;
            }
            /* Стили для модального окна "О нас" */
            .about-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            .about-modal-content img {
                max-width: 100%;
                height: auto;
                border-radius: 8px;
                margin: 10px 0;
            }
            /* Стили для модального окна "Гарантийные обязательства" */
            .warranty-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            /* Стили для модального окна "Политика конфиденциальности (152-ФЗ)" */
            .policy-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            /* Стили для модального окна "Наши работы" */
            .jobs-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            .jobs-modal-content img {
                max-width: 100%;
                height: auto;
                border-radius: 8px;
                margin: 10px 0;
            }
            /* Стили для модального окна "Мы в Авито" */
            .avito-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            /* Стили для модального окна "Вопросы" */
            .questions-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            /* Стили для модального окна "Публичная оферта" */
            .offer-modal-content {
                max-height: 70vh;
                overflow-y: auto;
            }
            /* Стили для выпадающего меню "Клиентам" */
            .clients-dropdown {
                position: relative;
                display: inline-block;
            }
            .clients-dropdown-content {
                display: none;
                position: absolute;
                bottom: 100%;
                left: 50%;
                transform: translateX(-50%);
                background-color: white;
                min-width: 200px; /* Увеличена ширина */
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                border-radius: 10px;
                z-index: 1;
                margin-bottom: 10px;
            }
            .clients-dropdown-content a {
                color: #333;
                padding: 10px 15px;
                text-decoration: none;
                display: block;
                border-radius: 8px;
                margin: 5px;
                display: flex;
                align-items: center;
                gap: 10px;
                white-space: normal; /* Разрешаем перенос текста */
            }
            .clients-dropdown-content a:hover {
                background-color: #f1f5f9;
            }
            .clients-dropdown:hover .clients-dropdown-content {
                display: block;
            }
            body.dark-mode .clients-dropdown-content {
                background-color: #2d3142;
            }
            body.dark-mode .clients-dropdown-content a {
                color: #f8f9fa;
            }
            body.dark-mode .clients-dropdown-content a:hover {
                background-color: #4a4a6a;
            }
            /* Стили для категории навигации услуг */
            .category-navigation {
                background: #f8f9fa;
                border-bottom: 1px solid #eee;
                position: sticky;
                top: 70px; /* Изменено с 0 на 70px для размещения под шапкой */
                z-index: 99; /* Уменьшено с 100 до 99 */
                display: none;
                width: 100%; /* Добавлено для полной ширины */
            }
            /* Стили для слайдера в модальном окне "Наши работы" */
            .jobs-slider .carousel-item {
                text-align: center;
            }
            .jobs-slider .carousel-item img {
                max-height: 400px;
                object-fit: cover;
                margin: 0 auto;
            }
            .jobs-slider .carousel-caption {
                background: rgba(0, 0, 0, 0.7);
                border-radius: 3px;
                padding: 2px;
                bottom: 5px;
            }
            .jobs-slider .carousel-indicators {
                bottom: 0;
            }
            .jobs-slider .carousel-indicators button {
                background-color: #4361ee;
            }
            .jobs-slider .carousel-control-prev-icon,
            .jobs-slider .carousel-control-next-icon {
                background-color: rgba(67, 97, 238, 0.5);
                border-radius: 50%;
                padding: 10px;
            }
            /* Виджеты для обозначения поддержки CAN и CAN-FD */
            .can-badge {
                position: absolute;
                top: 10px;
                right: 10px;
                padding: 3px 8px;
                border-radius: 12px;
                font-size: 0.75rem;
                font-weight: 600;
                z-index: 2;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .can-badge.can {
                background-color: #4361ee;
                color: white;
            }
            .can-badge.can-fd {
                background-color: #e63946;
                color: white;
            }
            .can-badge.two-can {
                background-color: #4cc9f0;
                color: #1d3557;
            }
            /* Добавляем отступ для карточек, чтобы не перекрывалось содержимое */
            .product-card {
                position: relative;
                overflow: hidden;
            }
            /* Адаптация для мобильных */
            @media (max-width: 768px) {
                .can-badge {
                    font-size: 0.7rem;
                    padding: 2px 6px;
                }
                .can-badge.can-fd {
                    background-color: #e55353;
                }
            }
            
            /* Стили для кнопки Я.Сплит */
            .split-btn {
                background: linear-gradient(135deg, #00c6ff, #0072ff);
                color: white;
                border: none;
                padding: 8px 15px;
                border-radius: 6px;
                font-size: 0.9rem;
                width: 100%;
                margin-top: 8px;
                transition: all 0.3s;
                font-weight: 500;
            }
            
            .split-btn:hover {
                background: linear-gradient(135deg, #0072ff, #00c6ff);
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            
            .split-btn i {
                margin-right: 5px;
            }
            
            .split-btn .badge {
                margin-left: 5px;
                font-size: 0.7rem;
                padding: 2px 6px;
            }
            
            /* Стили для заглушки кнопки Я.Сплит */
            .split-btn.disabled {
                background: #e9ecef;
                color: #6c757d;
                border: 1px solid #ced4da;
                cursor: default;
                transform: none;
                box-shadow: none;
            }
            
            .split-btn.disabled:hover {
                background: #e9ecef;
                transform: none;
                box-shadow: none;
                border-color: #ced4da;
            }
            .logo-pulse-header {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border-radius: 6px;
    object-fit: cover;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* === ЕДИНСТВЕННЫЙ PRELOADER === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

body.dark-mode #preloader {
    background: #1e2029;
    color: #f8f9fa;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.logo-pulse {
    width: 80px;
    height: 80px;
    margin: 10px 0;
    animation: pulse 2s infinite;
    border-radius: 8px;
    object-fit: cover;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.preloader-subtitle {
    font-size: 1rem;
    color: #495057;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
    max-width: 90%;
}

body.dark-mode .preloader-subtitle {
    color: #e9ecef;
}

.loader-text {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 8px 0;
    color: #4361ee;
    text-align: center;
}

body.dark-mode .loader-text {
    color: #4cc9f0;
}

.progress-container {
    width: 80%;
    max-width: 300px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin: 12px 0;
    overflow: hidden;
}

body.dark-mode .progress-container {
    background: #343a40;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4361ee, #3a56e4);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.important-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 0.75rem;
    color: #856404;
    max-width: 80%;
    text-align: center;
}

body.dark-mode .important-note {
    background: #4a4a6a;
    border-color: #6a6a8a;
    color: #ffeaa7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0;
    width: 90%;
    max-width: 600px;
}

.info-card {
    background: #f8f9fa;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

body.dark-mode .info-card {
    background: #2d3142;
    color: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.info-card strong {
    display: block;
    color: #4361ee;
    margin-bottom: 6px;
    font-weight: 600;
}

body.dark-mode .info-card strong {
    color: #4cc9f0;
}

.preloader-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 280px;
    max-width: 90%;
    margin: 0;
}

.preloader-actions .btn {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.slow-internet-notice {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffeaa7;
    color: #2d3436;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.75rem;
    display: none;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeInUp 0.5s ease;
}

body.dark-mode .slow-internet-notice {
    background: #4a4a6a;
    color: #f8f9fa;
}

.captcha-container {
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .preloader-subtitle,
    .loader-text {
        font-size: 0.9rem;
    }
    .important-note {
        font-size: 0.7rem;
        padding: 10px;
    }
    .info-card {
        font-size: 0.7rem;
        padding: 12px;
    }
    .preloader-actions {
        width: 100%;
        max-width: 300px;
    }
}