﻿* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #2c3e50;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* 主头部 - 与index.html共用 */
        .main-header {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            padding: 20px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .logo {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 22px;
            box-shadow: 0 8px 25px rgba(48,188,244,0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .logo:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(48,188,244,0.6);
        }

        .header-title {
            font-size: 20px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-actions {
            display: flex;
            gap: 12px;
        }

        .action-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            color: #6c757d;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            color: white;
        }

        .search-action-btn {
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            color: white;
        }

        .search-action-btn:hover {
            background: linear-gradient(135deg, #2cb0ea 0%, #2f83d8 100%);
        }

        /* 产品列表页特有样式 */
        .page-header {
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            padding: 20px 15px;
            color: white;
            text-align: center;
        }

        .page-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .page-subtitle {
            font-size: 14px;
            opacity: 0.9;
        }

        /* 顶栏固定（图库/视频页） */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            width: 100%;
        }

        /* 分类导航（固定左侧） */
        .category-nav {
            background: #fff;
            width: 96px;
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            bottom: 49px;
            overflow-y: auto;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            border-right: 1px solid #f0f0f0;
            z-index: 900;
            padding: 90px 0 10px;
            scrollbar-width: none;
        }

        .category-nav::-webkit-scrollbar {
            display: none;
        }

        .category-tabs {
            display: block;
            padding-bottom: 5px;
        }

        .category-tab {
            display: block;
            width: 100%;
            padding: 14px 8px;
            background: transparent;
            border: none;
            border-left: 3px solid transparent;
            font-size: 13px;
            font-weight: 600;
            color: #6c757d;
            cursor: pointer;
            transition: all 0.25s ease;
            text-align: center;
            line-height: 1.3;
            overflow: hidden;
        }

        .category-tab.active {
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            color: #fff;
            border-left-color: #2c3e50;
            box-shadow: 0 4px 15px rgba(48, 188, 244, 0.25);
        }

        .category-tab:hover {
            background: rgba(48, 188, 244, 0.08);
            color: var(--theme-color);
        }

        /* 子分类筛选 */
        .sub-category-filter {
            background: white;
            padding: 15px;
            margin: 0 15px 15px;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .filter-tabs {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .filter-tab {
            padding: 8px 16px;
            background: #f8f9fa;
            border: none;
            border-radius: 20px;
            font-size: 13px;
            color: #6c757d;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .filter-tab.active {
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            color: white;
        }

        /* 产品网格 */
        .product-list-container {
            padding: 90px 10px 100px;
            margin-left: 96px;
            display: block;
            background: #fff;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .product-card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: 1px solid rgba(0,0,0,0.04);
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            height: auto;
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            /* display: flex; */
            /* align-items: center; */
            /* justify-content: center; */
            font-size: 45px;
            position: relative;
            /* overflow: hidden; */
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .product-card:hover .product-image::before {
            transform: translateX(100%);
        }

        .product-image i {
            color: white;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .product-info {
            padding: 10px 12px 14px;
        }

        .product-name {
            font-size: 14px;
            line-height: 1.4;
            color: #2c3e50;
            font-weight: 600;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-price {
            font-size: 16px;
            color: #e74c3c;
            font-weight: 700;
            margin-top: 2px;
        }

        .product-brand {
            font-size: 12px;
            color: var(--theme-color);
            font-weight: 600;
            /* margin-bottom: 8px; */
        }



        /* 底部导航 - 与index.html共用 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
            border-top: 1px solid rgba(255,255,255,0.2);
            z-index: 1000;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 6px 10px;
            border-radius: 12px;
        }

        .nav-item:hover {
            transform: translateY(-2px);
        }

        .nav-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .nav-icon i {
            color: #6c757d;
            transition: all 0.3s ease;
        }

        .active .nav-icon {
            background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
            box-shadow: 0 4px 15px rgba(48,188,244,0.3);
        }

        .active .nav-icon i {
            color: white;
        }

        .nav-text {
            font-size: 11px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .active {
            color: var(--theme-color);
        }

        /* 搜索功能样式已移至 skin/styles.css */

        /* 响应式设计 */
        @media (max-width: 480px) {
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .product-image {
                aspect-ratio: 1 / 1;
                height: auto;
                font-size: 35px;
            }

            .product-name {
                font-size: 13px;
            }

            .category-tabs {
                /* gap: 8px; */
            }

            .category-tab {
                /* padding: 8px 16px; */
                font-size: 13px;
                width: 100%;
            }
        }

        /* 动画效果 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .product-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .product-card:nth-child(1) { animation-delay: 0.1s; }
        .product-card:nth-child(2) { animation-delay: 0.2s; }
        .product-card:nth-child(3) { animation-delay: 0.3s; }
        .product-card:nth-child(4) { animation-delay: 0.4s; }
        .product-card:nth-child(5) { animation-delay: 0.5s; }
        .product-card:nth-child(6) { animation-delay: 0.6s; }
        .product-card:nth-child(7) { animation-delay: 0.7s; }
        .product-card:nth-child(8) { animation-delay: 0.8s; }