       /* 基础重置与变量定义 */
        .ht-gallery-page {
            --primary-color: #6C63FF;
            --secondary-color: #FF6584;
            --accent-color: #36D1DC;
            --dark-color: #2A2D43;
            --light-color: #F8F9FF;
            --gray-color: #8A8DAB;
            --success-color: #4CAF50;
            --card-bg: rgba(255, 255, 255, 0.95);
            --card-shadow: 0 10px 30px rgba(108, 99, 255, 0.08);
            --border-radius: 16px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --glass-bg: rgba(255, 255, 255, 0.7);
            --glass-border: rgba(255, 255, 255, 0.2);
        }
        
        .ht-gallery-page, .ht-gallery-page * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .ht-gallery-page {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
            color: var(--dark-color);
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* 背景装饰元素 */
        .bg-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .bg-circle {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            opacity: 0.05;
        }
        
        .bg-circle:nth-child(1) {
            width: 300px;
            height: 300px;
            top: -100px;
            left: -100px;
        }
        
        .bg-circle:nth-child(2) {
            width: 200px;
            height: 200px;
            bottom: -50px;
            right: -50px;
        }
        
        .bg-circle:nth-child(3) {
            width: 150px;
            height: 150px;
            top: 30%;
            right: 10%;
        }
        
        /* 主容器 */
        .product-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 标题区域 */
        .header-section {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }
        
        .page-title {
            font-size: 2.8rem;
            font-weight: 800;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
        }
        
        .page-subtitle {
            font-size: 1.1rem;
            color: var(--gray-color);
            max-width: 600px;
            margin: 0 auto 30px;
            line-height: 1.6;
        }
        
        /* 产品计数器 */
        .product-counter {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            padding: 10px 20px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .counter-icon {
            color: var(--primary-color);
            font-size: 1.2rem;
        }
        
        /* 产品网格 */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        /* 产品卡片 */
        .product-card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            position: relative;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            opacity: 0;
            transform: translateY(30px);
            animation: cardAppear 0.6s forwards;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
        }
        
        /* 卡片动画延迟 */
        .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-image-section {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        
        .product-main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .product-card:hover .product-main-image {
            transform: scale(1.05);
        }
        
        /* 图片网格 */
        .image-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            padding: 15px;
            background: rgba(248, 249, 255, 0.8);
        }
        
        .image-item {
            position: relative;
            aspect-ratio: 1/1;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
        }
        
        .image-item:hover {
            transform: scale(1.05);
            border-color: var(--primary-color);
        }
        
        .image-item.selected {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px var(--primary-color);
            animation: pulse 1.5s infinite;
        }
        
        .image-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 选中标记 */
        .selected-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 22px;
            height: 22px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            z-index: 2;
            box-shadow: 0 3px 8px rgba(108, 99, 255, 0.3);
        }
        
        /* 产品信息 */
        .product-info {
            padding: 20px;
        }
        
        .product-name {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--dark-color);
            line-height: 1.3;
        }
        
        .product-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .product-tag {
            background: rgba(108, 99, 255, 0.1);
            color: var(--primary-color);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .product-spec {
            font-size: 0.95rem;
            color: var(--dark-color);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }
        
        .spec-icon {
            margin-right: 8px;
            color: var(--primary-color);
            width: 18px;
            text-align: center;
        }
        
        /* 产品操作栏 */
        .product-actions {
            display: flex;
            padding: 15px 20px;
            background: rgba(248, 249, 255, 0.8);
            border-top: 1px solid rgba(234, 236, 255, 0.8);
            gap: 12px;
        }
        
        .action-btn {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .select-all-btn {
            background: rgba(108, 99, 255, 0.1);
            color: var(--primary-color);
        }
        
        .select-all-btn:hover {
            background: rgba(108, 99, 255, 0.2);
        }
        
        .select-all-btn.active {
            background: var(--primary-color);
            color: white;
        }
        
        .copy-btn {
            background: linear-gradient(135deg, var(--primary-color), #8A84FF);
            color: white;
            box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
        }
        
        .copy-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
        }
        
        .save-btn {
            background: linear-gradient(135deg, var(--secondary-color), #FF8FA3);
            color: white;
            box-shadow: 0 5px 15px rgba(255, 101, 132, 0.3);
        }
        
        .save-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 101, 132, 0.4);
        }
        
        /* 浮动操作按钮 */
        .floating-actions {
            position: fixed;
            bottom: 30px;
            right: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 100;
        }
        
        .floating-btn {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            border: none;
            box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
            position: relative;
        }
        
        .floating-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 30px rgba(108, 99, 255, 0.5);
        }
        
        .floating-btn.alt {
            background: var(--secondary-color);
            box-shadow: 0 8px 25px rgba(255, 101, 132, 0.4);
        }
        
        .floating-btn.alt:hover {
            box-shadow: 0 12px 30px rgba(255, 101, 132, 0.5);
        }
        
        .floating-btn .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--secondary-color);
            color: white;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        /* 通知 */
        .notification {
            position: fixed;
            top: 30px;
            right: 30px;
            background: white;
            border-radius: 12px;
            padding: 18px 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 15px;
            z-index: 1000;
            transform: translateX(150%);
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            max-width: 350px;
        }
        
        .notification.show {
            transform: translateX(0);
        }
        
        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
        }
        
        .notification-icon.success {
            background: linear-gradient(135deg, var(--success-color), #66BB6A);
        }
        
        .notification-icon.info {
            background: linear-gradient(135deg, var(--primary-color), #8A84FF);
        }
        
        .notification-content {
            flex: 1;
        }
        
        .notification-title {
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .notification-close {
            background: none;
            border: none;
            color: var(--gray-color);
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }
        
        .notification-close:hover {
            color: var(--dark-color);
        }
        
        /* 图片预览模态框 */
        .preview-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            backdrop-filter: blur(10px);
        }
        
        .preview-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .preview-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .preview-modal.active .preview-content {
            transform: scale(1);
        }
        
        .preview-img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }
        
        .preview-close {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: var(--transition);
        }
        
        .preview-close:hover {
            transform: rotate(90deg);
            background: var(--secondary-color);
            color: white;
        }
        
        /* 加载动画 */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 3000;
            transition: opacity 0.5s, visibility 0.5s;
        }
        
        .loader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        
        .loader-spinner {
            width: 70px;
            height: 70px;
            border: 5px solid rgba(108, 99, 255, 0.2);
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        .loader-text {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        /* 动画定义 */
        @keyframes cardAppear {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(108, 99, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); }
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .product-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            .floating-actions {
                bottom: 20px;
                right: 20px;
            }
            
            .notification {
                top: 20px;
                right: 20px;
                left: 20px;
                max-width: none;
            }
        }
        
        @media (max-width: 480px) {
            .product-actions {
                flex-direction: column;
            }
            
            .page-title {
                font-size: 1.8rem;
            }
            
            .product-name {
                font-size: 1.2rem;
            }
        }
        
        /* 选中计数器 */
        .selected-counter {
            position: fixed;
            bottom: 30px;
            left: 30px;
            background: white;
            border-radius: 50px;
            padding: 10px 20px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 100;
            transform: translateY(100px);
            transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }
        
        .selected-counter.show {
            transform: translateY(0);
        }
        
        .counter-number {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
        }
        
        /* 悬停特效 */
        .hover-effect {
            position: absolute;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            transform: translate(-50%, -50%);
            z-index: 1;
        }
.ht-gallery-page { padding-top: 90px; padding-bottom: 40px; }
.ht-gallery-page .product-spec { overflow-wrap: anywhere; }
.ht-gallery-page .product-spec img { max-width: 100%; height: auto; }
