* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            font-weight: 300;
        }

        body {
            background-color: #131c29;
            color: #eef2f6;
            line-height: 1.5;
            padding-bottom: 85px;
            min-height: 100vh;
            -webkit-tap-highlight-color: transparent;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 12px;
        }

        /* Анимации */
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        /* HEADER улучшенный */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            position: sticky;
            top: 0;
            background-color: #131c29;
            z-index: 120;
            backdrop-filter: blur(12px);
            gap: 8px;
            flex-wrap: wrap;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .logo {
            font-size: 1.6rem;
            font-weight: 350;
            letter-spacing: -0.5px;
            color: #fff;
            text-decoration: none;
        }
        .logo span { color: #4884ff; font-weight: 200; }

        /* Меню триггер */
        .menu-trigger { position: relative; }
        .menu-btn {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.2);
            color: #eef2f6;
            padding: 8px 16px;
            border-radius: 40px;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .menu-btn:hover {
            border-color: #4884ff;
            background: rgba(72,132,255,0.08);
        }

        .dropdown-menu {
            position: absolute;
            top: 48px;
            left: 0;
            min-width: 320px;
            background: #1a2533f5;
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 20px 12px;
            box-shadow: 0 25px 40px -12px #000000b0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: 0.25s;
            z-index: 200;
            border: 1px solid #4884ff30;
            max-height: 80vh;
            overflow-y: auto;
        }
        .menu-trigger:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
        .dropdown-menu.show { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; pointer-events: auto; }
        .menu-cat-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 12px;
            border-radius: 18px;
            color: #eef2f6;
            text-decoration: none;
            transition: 0.15s;
            border: 1px solid transparent;
        }
        .menu-cat-item:hover { background: #4884ff18; border-color: #4884ff40; }
        .menu-cat-img { width: 44px; height: 44px; background: #1e2a3a; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #4884ff; }

        /* Поиск с подсказками */
        .search-wrap {
            flex: 1 1 200px;
            position: relative;
        }
        .search-box {
            background: #1e2a3a;
            border-radius: 60px;
            padding: 6px 16px;
            display: flex;
            align-items: center;
            border: 1px solid #ffffff0c;
        }
        .search-box i { color: #7f8fa0; margin-right: 10px; font-size: 0.9rem; }
        .search-box input {
            background: transparent;
            border: none;
            width: 100%;
            color: white;
            outline: none;
            font-weight: 300;
            font-size: 0.9rem;
        }
        .search-suggestions {
            position: absolute;
            top: 48px;
            left: 0;
            right: 0;
            background: #1a2533f5;
            backdrop-filter: blur(16px);
            border-radius: 20px;
            padding: 12px;
            display: none;
            z-index: 150;
            border: 1px solid #4884ff30;
        }
        .search-suggestions.active { display: block; animation: slideIn 0.2s; }
        .suggestion-item {
            padding: 10px 14px;
            border-radius: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .suggestion-item:hover { background: #4884ff20; }

        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .header-icon {
            color: #eef2f6;
            font-size: 1.3rem;
            opacity: 0.8;
            transition: 0.2s;
            position: relative;
        }
        .cart-badge {
            position: absolute;
            top: -6px;
            right: -8px;
            background: #4884ff;
            color: white;
            border-radius: 20px;
            padding: 2px 6px;
            font-size: 0.6rem;
            font-weight: 400;
        }

        /* Фичи бар */
        .features-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 12px 0 8px;
            flex-wrap: wrap;
            gap: 8px;
        }
        .live-sales {
            background: #1e2a3a80;
            border-radius: 60px;
            padding: 6px 16px;
            font-size: 0.8rem;
            border: 1px solid #ffffff10;
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .pulse-dot {
            width: 8px;
            height: 8px;
            background: #3acf6b;
            border-radius: 50%;
            animation: pulse 1.5s infinite;
        }

        .filter-chips {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 4px 0;
            scrollbar-width: none;
        }
        .filter-chip {
            background: #1e2a3a;
            border-radius: 60px;
            padding: 6px 14px;
            border: 1px solid #ffffff10;
            cursor: pointer;
            font-size: 0.8rem;
            white-space: nowrap;
        }
        .filter-chip.active {
            background: #4884ff;
            color: white;
        }

        /* Герой */
        .hero {
            padding: 16px 0 8px;
        }
        .hero h2 {
            font-weight: 250;
            font-size: 1.8rem;
            letter-spacing: -0.02em;
        }
        .hero p {
            opacity: 0.7;
            font-weight: 200;
            border-left: 3px solid #4884ff;
            padding-left: 16px;
            font-size: 0.9rem;
        }

        /* Секции */
        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin: 28px 0 16px;
        }
        .section-title h3 {
            font-weight: 300;
            font-size: 1.4rem;
        }
        .section-hint {
            font-size: 0.8rem;
            opacity: 0.65;
            font-weight: 300;
        }

        /* Горизонтальный скролл категорий с свайпом */
        .cat-scroll-container {
            position: relative;
        }
        .cat-scroll {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 8px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .cat-scroll::-webkit-scrollbar { display: none; }
        .category-tile {
            background: #1a2533;
            border-radius: 24px;
            padding: 14px 18px;
            text-align: center;
            text-decoration: none;
            color: #eef2f6;
            transition: 0.2s;
            border: 1px solid #ffffff08;
            min-width: 100px;
            scroll-snap-align: start;
        }
        .category-tile:active { background: #1e3042; border-color: #4884ff; }
        .cat-icon { font-size: 2rem; margin-bottom: 6px; color: #6a9cff; }

        /* Карточки товаров - 2 в ряд на мобильных */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 12px;
        }
        .product-card {
            background: transparent;
            border-radius: 20px;
            transition: 0.2s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            border: 1px solid transparent;
            padding: 6px;
            min-width: 0;
        }
        .product-card:active {
            background: #4884ff10;
            box-shadow: 0 0 0 1px #4884ff50;
        }
        .product-img {
            aspect-ratio: 1/1;
            background: #1a2533;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.4rem;
            color: #b6cdf5;
            margin-bottom: 10px;
            border: 1px solid #ffffff08;
            position: relative;
        }
        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 18px;
        }
        .quick-view {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: #4884ff;
            width: 28px;
            height: 28px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9rem;
            opacity: 0;
            transition: 0.2s;
        }
        .product-card:hover .quick-view { opacity: 1; }

        .product-price {
            font-size: 1.3rem;
            font-weight: 350;
        }
        .product-name {
            font-weight: 300;
            font-size: 0.85rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .product-sold {
            font-size: 0.7rem;
            color: #8aa2c0;
            margin: 4px 0 10px;
        }
        .buy-btn {
            background: #4884ff;
            border: none;
            color: white;
            font-weight: 400;
            padding: 10px 0;
            width: 100%;
            border-radius: 50px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: 0.2s;
            border: 1px solid #ffffff10;
            display: block;
            text-align: center;
        }
        .buy-btn:active { background: #3d6ed9; transform: scale(0.98); }

        /* Модалка быстрого просмотра */
        .quick-view-modal {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #1a2533f5;
            backdrop-filter: blur(20px);
            border-radius: 28px 28px 0 0;
            padding: 24px 20px;
            z-index: 500;
            transform: translateY(100%);
            transition: 0.3s;
            border-top: 1px solid #4884ff50;
            max-height: 80vh;
            overflow-y: auto;
        }
        .quick-view-modal.active { transform: translateY(0); }
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: #000000b0;
            backdrop-filter: blur(4px);
            z-index: 400;
            display: none;
        }

        /* Мобильное нижнее меню */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #0f1722f0;
            backdrop-filter: blur(20px);
            border-top: 1px solid #ffffff10;
            padding: 8px 8px 12px;
            justify-content: space-around;
            z-index: 300;
        }
        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #9aabbf;
            text-decoration: none;
            font-size: 0.65rem;
        }
        .mobile-nav-item i { font-size: 1.4rem; margin-bottom: 2px; }
        .mobile-nav-item.active { color: #4884ff; }

        /* Адаптация: мобильные и планшеты — 2 карточки в ряд */
        @media (max-width: 1200px) {
            .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        }
        @media (max-width: 1000px) {
            .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        @media (max-width: 1023px) {
            .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
        }
        @media (max-width: 768px) {
            .container { padding: 0 10px; }
            .header { padding: 8px 0; }
            .logo { font-size: 1.4rem; }
            .menu-btn { padding: 6px 12px; font-size: 0.8rem; }
            .search-wrap { order: 3; width: 100%; margin: 6px 0; }
            .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
            .mobile-bottom-nav { display: flex; }
            body { padding-bottom: 80px; }
            .dropdown-menu { left: auto; right: 0; min-width: 280px; }
            .hero h2 { font-size: 1.6rem; }
            .category-tile { min-width: 85px; padding: 12px 10px; }
            .cat-icon { font-size: 1.8rem; }
            .filter-chips { gap: 6px; }
            .filter-chip { padding: 5px 12px; font-size: 0.75rem; }
            .product-price { font-size: 1.2rem; }
            .buy-btn { padding: 8px 0; font-size: 0.8rem; }
        }

        @media (max-width: 480px) {
            .logo { font-size: 1.3rem; }
            .header-icon { font-size: 1.2rem; }
            .menu-cat-img { width: 38px; height: 38px; font-size: 1.4rem; }
            .product-img { font-size: 2rem; }
            /* Категории: компактная полоса на узких экранах */
            .cat-scroll {
                gap: 8px;
                padding-bottom: 4px;
                scroll-padding-left: 2px;
            }
            .category-tile {
                min-width: 72px;
                max-width: 100px;
                padding: 10px 8px;
                border-radius: 16px;
                font-size: 0.68rem;
                line-height: 1.25;
            }
            .cat-icon {
                font-size: 1.45rem;
                margin-bottom: 4px;
            }
        }

        @media (max-width: 380px) {
            .category-tile {
                min-width: 68px;
                max-width: 92px;
                padding: 8px 6px;
                font-size: 0.62rem;
            }
            .cat-icon {
                font-size: 1.3rem;
                margin-bottom: 3px;
            }
        }

        /* Уведомление о покупке */
        .toast-notification {
            position: fixed;
            bottom: 100px;
            left: 16px;
            right: 16px;
            background: #1e2a3af0;
            backdrop-filter: blur(12px);
            border-radius: 60px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 350;
            border: 1px solid #4884ff60;
            transform: translateY(20px);
            opacity: 0;
            transition: 0.3s;
            pointer-events: none;
        }
        .toast-notification.show {
            transform: translateY(0);
            opacity: 1;
            pointer-events: none;
        }

        /* Главная: плотнее, как index.txt */
        .index-home .features-bar {
            margin: 8px 0 6px;
            gap: 6px;
        }
        .index-home .live-sales {
            padding: 5px 12px;
            font-size: 0.78rem;
        }
        .index-home .filter-chips {
            padding: 2px 0;
            gap: 6px;
        }
        .index-home .filter-chip {
            padding: 5px 12px;
            font-size: 0.78rem;
        }
        .index-home .hero {
            padding: 12px 0 4px;
        }
        .index-home .hero h2 {
            font-size: 1.65rem;
            line-height: 1.2;
        }
        .index-home .hero p {
            margin-top: 8px;
            padding-left: 12px;
            font-size: 0.85rem;
        }
        .index-home .section-title {
            margin: 18px 0 10px;
        }
        .index-home .section-title h3 {
            font-size: 1.2rem;
        }
        .index-home .cat-scroll {
            gap: 10px;
            padding-bottom: 6px;
        }
        .index-home .category-tile {
            padding: 12px 14px;
            border-radius: 20px;
            min-width: 92px;
        }
        .index-home .cat-icon {
            font-size: 1.75rem;
            margin-bottom: 4px;
        }
        .index-home .product-grid {
            gap: 10px;
        }
        .index-home .product-card {
            padding: 4px;
            border-radius: 16px;
        }
        .index-home .product-img {
            border-radius: 16px;
            margin-bottom: 8px;
            font-size: 2.1rem;
        }
        .index-home .product-img img {
            border-radius: 16px;
        }
        .index-home .product-price {
            font-size: 1.15rem;
        }
        .index-home .product-name {
            font-size: 0.8rem;
        }
        .index-home .product-sold {
            font-size: 0.68rem;
            margin: 2px 0 6px;
        }
        .index-home .product-sold i {
            margin-right: 4px;
            opacity: 0.85;
        }
        .index-home .buy-btn {
            padding: 8px 0;
            font-size: 0.8rem;
            border-radius: 40px;
        }
        .index-home .quick-view {
            width: 26px;
            height: 26px;
            bottom: 6px;
            right: 6px;
            font-size: 0.8rem;
        }
        .index-catalog-cta {
            text-align: center;
            margin: 20px 0 8px;
        }
        .index-catalog-cta__btn {
            width: auto;
            padding: 10px 32px;
            background: transparent;
            border: 1px dashed #4884ff;
            color: #aac3ff;
            display: inline-block;
            text-decoration: none;
        }
        .index-catalog-cta__btn:hover {
            background: #4884ff12;
        }
        main.index-home + .footer {
            margin-top: 28px;
            padding: 24px 0 16px;
            gap: 18px;
        }

        @media (max-width: 768px) {
            .index-home .hero h2 {
                font-size: 1.45rem;
            }
            .index-home .section-title {
                margin: 14px 0 8px;
            }
            .index-home .section-title h3 {
                font-size: 1.1rem;
            }
            .index-home .product-grid {
                gap: 8px;
            }
            .index-home .cat-scroll {
                gap: 8px;
                padding-bottom: 4px;
            }
            .index-home .category-tile {
                min-width: 76px;
                padding: 10px 10px;
                border-radius: 18px;
                font-size: 0.72rem;
            }
            .index-home .cat-icon {
                font-size: 1.55rem;
                margin-bottom: 4px;
            }
            main.index-home + .footer {
                margin-top: 22px;
                padding: 20px 0 12px;
            }
        }

        @media (max-width: 480px) {
            .index-home .category-tile {
                min-width: 70px;
                max-width: 96px;
                padding: 8px 6px;
                font-size: 0.65rem;
            }
            .index-home .cat-icon {
                font-size: 1.35rem;
                margin-bottom: 3px;
            }
        }
