
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background: #f5f5f6;
            color: #1f2329;
            line-height: 1.5;
            -webkit-tap-highlight-color: transparent;
        }
        a { text-decoration: none; color: inherit; }

        /* 顶部通知栏 */
        .notice-bar {
            background: #1a6dff;
            color: #fff;
            font-size: 12px;
            text-align: center;
            padding: 6px 16px;
        }
        .notice-bar-inner a { color: #fff; text-decoration: underline; }

        /* ========== 顶部菜单优化 ========== */
        .header {
            background: #fff;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .header-top {
            background: #f7f8fa;
            border-bottom: 1px solid #e8eaed;
            font-size: 12px;
        }
        .header-top-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 6px 16px;
            display: flex;
            justify-content: space-between;
            color: #8a8e99;
        }
        .header-top a { color: #8a8e99; margin-left: 16px; transition: color 0.2s; }
        .header-top a:hover { color: #1f2329; }
        .header-main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            height: 56px;
            gap: 40px;
        }
        .logo { 
            font-size: 20px; 
            font-weight: 700; 
            color: #1a6dff; 
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* 主导航 */
        .main-nav { 
            display: flex; 
            gap: 28px; 
            flex: 1; 
        }
        .main-nav a { 
            font-size: 14px; 
            color: #4e5969; 
            transition: color 0.2s;
            position: relative;
            padding: 4px 0;
        }
        .main-nav a:hover { color: #1f2329; }
        .main-nav a.active { 
            color: #1a6dff; 
            font-weight: 500;
        }
        .main-nav a.active::after {
            content: '';
            position: absolute;
            bottom: -14px;
            left: 0;
            right: 0;
            height: 2px;
            background: #1a6dff;
            border-radius: 1px;
        }

        .header-actions { 
            display: flex; 
            gap: 16px; 
            align-items: center;
        }
        .header-actions a { 
            font-size: 13px; 
            color: #4e5969; 
            transition: all 0.2s;
        }
        .btn-login { 
            padding: 6px 16px; 
            border: 1px solid #e5e6eb; 
            border-radius: 4px;
            transition: all 0.2s;
        }
        .btn-login:hover { 
            border-color: #1a6dff; 
            color: #1a6dff; 
        }
        .btn-register { 
            padding: 6px 16px; 
            background: #1a6dff; 
            color: #fff !important; 
            border-radius: 4px;
            transition: background 0.2s;
        }
        .btn-register:hover { 
            background: #0e56d0; 
        }
        .btn-avatar {
            width: 34px;
            height: 34px;
            background: #1a6dff;
            color: #fff !important;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 14px;
            transition: background 0.2s;
            box-shadow: 0 2px 6px rgba(26,109,255,0.3);
        }
        .btn-avatar:hover {
            background: #0e56d0;
        }

        /* 移动端菜单按钮 */
        .mobile-menu-btn {
            display: none;
            width: 32px;
            height: 32px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 4px;
            margin-left: auto;
        }
        .mobile-menu-btn:hover { background: #f7f8fa; }
        .mobile-menu-btn svg {
            width: 20px;
            height: 20px;
            color: #4e5969;
        }

        /* 移动端菜单遮罩 */
        .mobile-nav-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 200;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .mobile-nav-overlay.active {
            display: block;
            opacity: 1;
        }
        .mobile-nav-panel {
            position: fixed;
            top: 0;
            right: -280px;
            width: 280px;
            height: 100%;
            background: #fff;
            z-index: 201;
            transition: right 0.3s ease;
            overflow-y: auto;
        }
        .mobile-nav-overlay.active .mobile-nav-panel {
            right: 0;
        }
        .mobile-nav-header {
            padding: 16px;
            border-bottom: 1px solid #e8eaed;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .mobile-nav-header span {
            font-size: 16px;
            font-weight: 600;
            color: #1f2329;
        }
        .mobile-nav-close {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 4px;
        }
        .mobile-nav-close:hover { background: #f7f8fa; }
        .mobile-nav-close svg {
            width: 18px;
            height: 18px;
            color: #8a8e99;
        }
        .mobile-nav-list {
            padding: 8px 0;
        }
        .mobile-nav-list a {
            display: block;
            padding: 14px 16px;
            font-size: 15px;
            color: #1f2329;
            border-bottom: 1px solid #f2f3f5;
            transition: background 0.15s;
        }
        .mobile-nav-list a:hover,
        .mobile-nav-list a.active {
            background: #f0f5ff;
            color: #1a6dff;
        }
        .mobile-nav-actions {
            padding: 16px;
            display: flex;
            gap: 12px;
        }
        .mobile-nav-actions a {
            flex: 1;
            text-align: center;
            padding: 10px;
            border-radius: 6px;
            font-size: 14px;
        }
        .mobile-nav-actions .btn-login-m {
            border: 1px solid #e5e6eb;
            color: #4e5969;
        }
        .mobile-nav-actions .btn-register-m {
            background: #1a6dff;
            color: #fff;
        }
        .mobile-nav-actions .btn-cs-m {
            background: #f7f8fa;
            color: #4e5969;
            text-align: center;
        }

        /* ========== 主体布局 ========== */
        .main-layout {
            max-width: 1200px;
            margin: 0 auto;
            padding: 24px 16px 40px;
            display: flex;
            gap: 20px;
        }

        /* ========== 侧边栏 ========== */
        .sidebar {
            width: 200px;
            flex-shrink: 0;
            background: #fff;
            border-radius: 8px;
            padding: 8px 0;
            height: fit-content;
            position: sticky;
            top: 72px;
        }
        .sidebar-item {
            padding: 10px 16px;
            font-size: 13px;
            color: #4e5969;
            cursor: pointer;
            transition: all 0.15s;
            border-left: 2px solid transparent;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .sidebar-item:hover { 
            background: #f7f8fa; 
            color: #1f2329; 
        }
        .sidebar-item.active {
            background: #f0f5ff;
            color: #1a6dff;
            border-left-color: #1a6dff;
            font-weight: 500;
        }
        .sidebar-item .arrow {
            width: 14px;
            height: 14px;
            color: #c0c4cc;
            transition: transform 0.2s;
            flex-shrink: 0;
        }
        .sidebar-item.active .arrow {
            color: #1a6dff;
            transform: rotate(90deg);
        }
        .sidebar-sub {
            display: none;
            padding: 4px 0;
            background: #fafbfc;
        }
        .sidebar-item.active + .sidebar-sub,
        .sidebar-sub.active {
            display: block;
        }
        .sidebar-sub-item {
            display: block;
            padding: 8px 16px 8px 32px;
            font-size: 12px;
            color: #8a8e99;
            cursor: pointer;
            transition: all 0.15s;
            border-left: 2px solid transparent;
        }
        .sidebar-sub-item:hover {
            color: #1f2329;
            background: #f0f5ff;
        }
        .sidebar-sub-item.active {
            color: #1a6dff;
            font-weight: 500;
            border-left-color: #1a6dff;
            background: #f0f5ff;
        }

        .content { flex: 1; min-width: 0; }

        /* ========== 二级分类栏 ========== */
        .sub-bar {
            background: #fff;
            border-radius: 8px;
            padding: 14px 16px;
            margin-bottom: 12px;
        }
        .sub-nav { 
            display: flex; 
            gap: 8px; 
            flex-wrap: wrap; 
        }
        .sub-btn {
            padding: 6px 14px;
            background: #f7f8fa;
            border-radius: 4px;
            font-size: 12px;
            color: #4e5969;
            transition: all 0.15s;
            border: 1px solid transparent;
        }
        .sub-btn:hover { 
            background: #e8eaed; 
        }
        .sub-btn.active { 
            background: #e8f3ff; 
            color: #1a6dff;
            border-color: #1a6dff;
            font-weight: 500;
        }

        /* ========== 筛选栏 ========== */
        .filter-bar {
            background: #fff;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 12px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
        }
        .filter-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .filter-label { 
            color: #8a8e99; 
            font-weight: 500;
            font-size: 13px;
            flex-shrink: 0;
        }
        .filter-options { 
            display: flex; 
            gap: 6px;
            flex-wrap: wrap;
        }
        .filter-opt {
            padding: 5px 12px;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            font-size: 12px;
            border: 1px solid #e5e6eb;
            background: #fff;
            color: #4e5969;
        }
        .filter-opt:hover { 
            border-color: #1a6dff;
            color: #1a6dff;
        }
        .filter-opt.active { 
            background: #1a6dff; 
            color: #fff;
            border-color: #1a6dff;
            font-weight: 500;
        }
        .filter-divider { 
            width: 1px; 
            height: 20px; 
            background: #e5e6eb; 
            flex-shrink: 0; 
        }

        /* ========== 产品网格 ========== */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 12px;
        }

        /* 图片卡片 */
        .card-image {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
        }
        .card-image:hover { 
            box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
            transform: translateY(-2px);
        }
        .card-image-img { 
            width: 100%; 
            height: 140px; 
            object-fit: cover;
            background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
        }
        .card-image-body { 
            padding: 12px; 
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-image-name {
            font-size: 14px;
            font-weight: 500;
            color: #1f2329;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card-image-name:hover { 
            color: #1a6dff; 
        }
        .card-image-desc {
            font-size: 12px;
            color: #8a8e99;
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 34px;
        }
        .card-image-specs {
            font-size: 11px;
            color: #8a8e99;
            margin-bottom: 8px;
            padding: 6px 8px;
            background: #f7f8fa;
            border-radius: 4px;
        }
        .tag {
            display: inline-block;
            padding: 2px 6px;
            font-size: 11px;
            border-radius: 3px;
            margin-right: 4px;
            font-weight: 500;
        }
        .tag-hot { background: #fff0ec; color: #ff7d00; }
        .tag-self { background: #e8f3ff; color: #1a6dff; }
        .tag-sale { background: #fff7e8; color: #f7931a; }
        .card-image-price {
            font-size: 18px;
            font-weight: 600;
            color: #ff4d4f;
            margin-top: auto;
            padding-top: 8px;
        }
        .card-image-price .unit { 
            font-size: 12px; 
            font-weight: 400; 
            color: #8a8e99; 
        }
        .card-image-original { 
            font-size: 12px; 
            color: #9ca3af; 
            text-decoration: line-through; 
            margin-left: 6px; 
        }
        .btn-buy {
            display: block;
            width: 100%;
            padding: 8px 0;
            background: #1a6dff;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 13px;
            cursor: pointer;
            text-align: center;
            margin-top: 10px;
            transition: background 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        .btn-buy:active {
            transform: scale(0.98);
            background: #0e56d0;
        }
            font-weight: 500;
        }
        .btn-buy:hover { 
            background: #0e56d0; 
        }

        /* 文本卡片 */
        .card-text {
            background: #fff;
            border-radius: 8px;
            padding: 16px;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .card-text:hover { 
            box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
            transform: translateY(-2px);
        }
        .card-text-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
        }
        .card-text-name { 
            font-size: 14px; 
            font-weight: 500; 
            color: #1f2329; 
            flex: 1;
        }
        .card-text-name:hover { 
            color: #1a6dff; 
        }
        .card-text-price { 
            font-size: 18px; 
            font-weight: 600; 
            color: #ff4d4f; 
            white-space: nowrap; 
        }
        .card-text-desc { 
            font-size: 12px; 
            color: #8a8e99; 
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .card-text-specs {
            background: #f7f8fa;
            border-radius: 6px;
            overflow: hidden;
        }
        .card-text-specs .spec-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 10px;
            font-size: 12px;
            border-bottom: 1px solid #e5e6eb;
        }
        .card-text-specs .spec-row:last-child { 
            border-bottom: none; 
        }
        .card-text-specs .spec-label { 
            color: #8a8e99; 
        }
        .card-text-specs .spec-value { 
            color: #1f2329; 
            font-weight: 500;
        }

        /* 空状态 */
        .empty-state {
            background: #fff;
            border-radius: 8px;
            padding: 60px 20px;
            text-align: center;
        }
        .empty-state svg {
            width: 80px;
            height: 80px;
            color: #c0c4cc;
            margin-bottom: 16px;
        }
        .empty-state p {
            font-size: 14px;
            color: #8a8e99;
            margin-bottom: 16px;
        }
        .empty-state .btn-buy {
            display: inline-block;
            width: auto;
            padding: 8px 24px;
        }

        /* 回到顶部 */
        .back-to-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 40px;
            height: 40px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s;
            z-index: 90;
        }
        .back-to-top.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .back-to-top:hover {
            background: #f7f8fa;
            transform: translateY(-2px);
        }
        .back-to-top:active {
            transform: scale(0.95);
        }
        .back-to-top svg {
            width: 20px;
            height: 20px;
            color: #4e5969;
        }

        /* 分页 */
        .pagination { display: flex !important; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; list-style: none !important; padding: 0 !important; }
        .pagination li { list-style: none !important; display: inline-flex !important; margin: 0 !important; }
        .pagination a, .pagination span { display: block !important; padding: 6px 12px; border: 1px solid #e5e6eb; border-radius: 4px; font-size: 13px; color: #4e5969; transition: all 0.2s; background: #fff; text-decoration: none !important; }
        .pagination a:hover { border-color: #1a6dff; color: #1a6dff; }
        .pagination .active span { background: #1a6dff !important; color: #fff !important; border-color: #1a6dff !important; }
        .pagination .disabled span { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

        /* ========== 底部 ========== */
        .footer {
            background: #fff;
            border-top: 1px solid #e8eaed;
            padding: 32px 16px;
            text-align: center;
            font-size: 13px;
            color: #8a8e99;
            margin-top: 40px;
        }

        /* ========== 移动端适配 ========== */
        @media (max-width: 768px) {
            .header-top { display: none; }
            .header-main { 
                height: 48px; 
                gap: 12px;
                padding: 0 12px;
            }
            .main-nav { display: none; }
            .logo { font-size: 17px; }
            .header-actions { 
                display: none; 
            }
            .mobile-menu-btn { 
                display: flex; 
            }

            .main-layout { 
                flex-direction: column; 
                padding: 12px 12px 24px;
                gap: 12px;
            }

            /* 侧边栏横向滚动 */
            .sidebar {
                width: 100%;
                position: sticky;
                top: 48px;
                z-index: 90;
                display: flex;
                overflow-x: auto;
                padding: 8px;
                gap: 6px;
                border-radius: 8px;
                box-shadow: 0 1px 3px rgba(0,0,0,0.05);
                -webkit-overflow-scrolling: touch;
            }
            .sidebar::-webkit-scrollbar { display: none; }
            .sidebar-item {
                padding: 8px 14px;
                white-space: nowrap;
                border-left: none;
                border-radius: 20px;
                font-size: 13px;
                background: #f7f8fa;
                flex-shrink: 0;
            }
            .sidebar-item.active { 
                background: #1a6dff; 
                color: #fff;
                font-weight: 500;
                box-shadow: 0 2px 6px rgba(26,109,255,0.3);
            }
            .sidebar-item .arrow { display: none; }
            .sidebar-sub { display: none !important; }

            /* 二级分类 */
            .sub-bar { 
                padding: 10px 12px; 
                margin-bottom: 8px; 
            }
            .sub-nav { 
                gap: 6px; 
            }
            .sub-btn { 
                padding: 5px 10px; 
                font-size: 11px; 
            }

            /* 筛选栏 - 横向滚动 */
            .filter-bar {
                padding: 10px 12px;
                margin-bottom: 8px;
                gap: 12px;
                flex-direction: row;
                align-items: center;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                flex-wrap: nowrap;
            }
            .filter-bar::-webkit-scrollbar { display: none; }
            .filter-group {
                width: auto;
                gap: 6px;
                display: flex;
                flex-wrap: nowrap;
                flex-shrink: 0;
            }
            .filter-label { 
                font-size: 12px;
                min-width: auto;
                line-height: 1;
            }
            .filter-options { 
                gap: 6px;
                flex: none;
                display: flex;
                flex-wrap: nowrap;
            }
            .filter-opt { 
                padding: 5px 12px; 
                font-size: 11px;
                min-height: auto;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .filter-divider { 
                width: 1px;
                height: 16px;
                background: #e5e6eb;
                flex-shrink: 0;
            }

            /* 产品网格 */
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            .card-image:hover { 
                box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
                transform: none;
            }
            .card-image:active {
                transform: scale(0.99);
            }
            .card-image-img { 
                height: 100px; 
            }
            .card-image-body { 
                padding: 8px; 
            }
            .card-image-name { 
                font-size: 12px; 
            }
            .card-image-desc { 
                font-size: 11px; 
                margin-bottom: 4px;
                min-height: 30px;
            }
            .card-image-specs {
                font-size: 10px;
                padding: 4px 6px;
                margin-bottom: 6px;
            }
            .tag { 
                font-size: 10px; 
                padding: 1px 4px; 
            }
            .card-image-price { 
                font-size: 15px; 
                padding-top: 4px;
            }
            .card-image-original { 
                font-size: 11px; 
            }
            .btn-buy { 
                padding: 6px 0; 
                font-size: 11px; 
                margin-top: 6px; 
            }

            .card-text:hover { 
                box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
                transform: none;
            }
            .card-text:active {
                transform: scale(0.99);
            }
            .card-text { 
                padding: 10px; 
                gap: 6px; 
            }
            .card-text-name { 
                font-size: 12px; 
            }
            .card-text-price { 
                font-size: 15px; 
            }
            .card-text-desc { 
                font-size: 11px; 
            }
            .card-text-specs .spec-row { 
                padding: 5px 8px; 
                font-size: 10px; 
            }

            /* 回到顶部移动端适配 */
            .back-to-top {
                bottom: 16px;
                right: 16px;
                width: 36px;
                height: 36px;
            }
            .back-to-top svg {
                width: 18px;
                height: 18px;
            }
        }

        @media (max-width: 375px) {
            .product-grid {
                grid-template-columns: 1fr;
            }
        }