
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        :root {
            --primary-color: #2563eb;
            --secondary-color: #1e40af;
            --text-color: #1f2937;
            --bg-color: #f3f4f6;
            --radius: 12px;
        }

      

        /* 分类导航 */
        .category-nav {
            padding: 1.5rem;
            background: var(--bg-color);
            margin-bottom: 2rem;
        }

        .category-list {
            display: flex;
            gap: 1rem;
            list-style: none;
            overflow-x: auto;
            padding-bottom: 4px;
        }

        .category-item {
            padding: 8px 16px;
            border-radius: 20px;
            background: #fff;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            border: 1px solid #e5e7eb;
        }

        .category-item.active,
        .category-item:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        /* 产品网格 */
        .products-grid {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        /* 产品卡片 */
        .product-card {
            margin-top: 20px;
            background: white;
            border-radius: var(--radius);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            overflow: hidden;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .product-image {
            position: relative;
            overflow: hidden;
            padding-top: 75%; /* 4:3 比例 */
            background: #f8fafc;
        }

        .product-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
        }

        .product-content {
            padding: 1.5rem;
        }

        .product-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-color);
        }

        .product-description {
            font-size: 0.875rem;
            color: #4b5563;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* 查看更多按钮 */
        .more-button {
            display: inline-block;
            padding: 12px 24px;
            background: var(--primary-color);
            color: white;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: background 0.3s;
            margin: 2rem auto;
            display: block;
            width: fit-content;
        }

        .more-button:hover {
            background: var(--secondary-color);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: 1fr;
                padding: 0 1rem;
            }

            .category-nav {
                padding: 1rem;
            }
  