/* ============================================
   产品列表页 & 产品详情页 专用样式
   ============================================ */

/* ============================================
   页面标题栏 (与newslist.html一致)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="60" r="25" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
}

.page-header .page-hero-breadcrumb {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 20;
}

.page-header .page-hero-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-header .page-hero-breadcrumb a:hover {
    color: #fff;
}

.page-header .page-hero-breadcrumb a i {
    font-size: 0.9rem;
}

.page-header .page-hero-breadcrumb i.fa-angle-right {
    font-size: 0.75rem;
    opacity: 0.6;
}

.page-header .page-hero-breadcrumb span {
    color: #fff;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 90px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header .page-hero-breadcrumb {
        bottom: 20px;
        font-size: 0.85rem;
        gap: 8px;
    }
    .product-page-tags {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* 产品页面标签 */
.product-page-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-tag-link {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.product-tag-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   产品列表区域
   ============================================ */
.product-list-section {
    padding: 50px 0 80px;
    background: var(--bg-white);
}

/* 筛选区域 */
.product-filter {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 32px;
    background: var(--bg-white);
    border-radius: 20px;
    margin-bottom: 35px;
    border: 1px solid var(--gray-lighter);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.product-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.filter-category {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-lighter);
}

.filter-category:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 4px;
}

.filter-label i {
    font-size: 0.8rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-btn {
    padding: 7px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    background: var(--gray-bg);
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    line-height: 1.4;
}

.filter-btn:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    font-weight: 600;
}

.filter-btn.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select {
    padding: 8px 32px 8px 14px;
    font-size: 0.88rem;
    color: var(--text-dark);
    background: var(--bg-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    transition: border-color 0.3s ease;
}

.sort-select:hover {
    border-color: var(--primary-color);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 产品卡片 */
.product-item {
    background: var(--bg-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-lighter);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.product-item.hidden {
    display: none;
}

.product-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-bg), var(--gray-lighter));
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-thumb img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(14, 165, 233, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 产品标签 */
.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-hot {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: #ef4444;
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

/* 多图指示器 */
.thumb-gallery-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.thumb-gallery-count i {
    font-size: 0.7rem;
}

.thumb-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .thumb-gallery-dots {
    opacity: 1;
}

.thumb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumb-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.product-new {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: #10b981;
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-content h3 a {
    color: inherit;
    transition: color 0.3s ease;
}

.product-content h3 a:hover {
    color: var(--primary-color);
}

.product-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-lighter);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--gray-color);
}

.product-meta i {
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled) {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.04);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-color: transparent;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-ellipsis {
    padding: 0 8px;
    color: var(--gray-color);
}

/* ============================================
   优势服务区块
   ============================================ */
.services-features {
    background: var(--gray-bg);
    padding: 80px 0 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   产品详情区域
   ============================================ */
.product-detail-section {
    padding: 40px 0 80px;
    background: var(--bg-white);
}

.product-detail-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

/* 产品画廊 - 固定宽度 */
.product-gallery {
    flex-shrink: 0;
    width: 600px;
}

.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-bg);
    margin-bottom: 16px;
    cursor: zoom-in;
    /* 限制大图最大高度 */
    max-height: 480px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--bg-white);
    font-size: 0.82rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main:hover .gallery-zoom-hint {
    opacity: 1;
}

/* 缩略图轮播容器 */
.gallery-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.gallery-thumbnails {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.thumb-track {
    display: flex;
    gap: 10px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 左右切换按钮 */
.thumb-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-lighter);
    background: var(--bg-white);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.thumb-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.thumb-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.thumb-nav:disabled:hover {
    background: var(--bg-white);
    border-color: var(--gray-lighter);
    color: var(--text-gray);
}

.thumb-nav i {
    font-size: 0.9rem;
}

/* 缩略图样式 */
.gallery-thumbnails .thumb-item {
    flex-shrink: 0;
    width: calc((100% - 50px) / 6);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 0;
    background: none;
}

.gallery-thumbnails .thumb-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    display: block;
}

.gallery-thumbnails .thumb-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.gallery-thumbnails .thumb-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* 隐藏原始的 gallery-thumbnails 样式，改用新结构 */
/*.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}*/

/* 产品信息 - 占满剩余空间 */
.product-info-detail {
    flex: 1;
    padding: 0;
    min-width: 0;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.category-tag {
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-hot-badge {
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-recommend-badge {
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-top-badge {
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-new-badge {
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-lighter);
}

.copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-bottom: 16px;
}

.copy-link-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.copy-link-btn.copy-success {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.product-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--gray-bg);
    border-radius: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
}

.stat-value {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-value i {
    color: var(--primary-color);
}

/* 产品特点 */
.product-features {
    margin-bottom: 24px;
}

.product-features h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features h3 i {
    color: var(--primary-color);
}

.product-features ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.product-features ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-gray);
}

.product-features ul li i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* 价格 */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.05));
    border-radius: 12px;
    border: 1px dashed rgba(37, 99, 235, 0.2);
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-value small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

/* 操作按钮 */
.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.btn-consult,
.btn-tel {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-consult {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-tel {
    background: var(--bg-white);
    color: var(--dark-color);
    border: 2px solid var(--gray-lighter);
}

.btn-tel:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 分享 */
.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-lighter);
}

.share-label {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-bg);
    border-radius: 50%;
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.wechat:hover {
    background: #07c160;
    color: var(--bg-white);
}

.share-btn.weibo:hover {
    background: #e6162d;
    color: var(--bg-white);
}

.share-btn.qq:hover {
    background: #1296db;
    color: var(--bg-white);
}

.share-btn.copy:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* ============================================
   产品详情内容
   ============================================ */
.product-detail-content {
    margin-bottom: 60px;
}

/* 详情标签页 */
.detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-lighter);
    margin-bottom: 30px;
}

.detail-tab {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.detail-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.detail-tab:hover {
    color: var(--primary-color);
}

.detail-tab.active {
    color: var(--primary-color);
}

.detail-tab.active::after {
    transform: scaleX(1);
}

/* 详情面板 */
.detail-panel {
    display: none;
}

.detail-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-content {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 40px;
}

.panel-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-lighter);
}

.panel-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 20px;
}

.panel-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 24px 0 12px;
}

.panel-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 20px 0 10px;
}

.panel-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
    display: block;
}

.panel-content ul,
.panel-content ol {
    margin: 16px 0;
    padding-left: 28px;
}

.panel-content ul {
    list-style-type: disc;
}

.panel-content ol {
    list-style-type: decimal;
}

.panel-content li {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.panel-content blockquote {
    background: var(--gray-bg);
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-gray);
}

.panel-content blockquote p {
    margin-bottom: 0;
}

.panel-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.panel-content table td,
.panel-content table th {
    border: 1px solid var(--gray-lighter);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.panel-content table th {
    background: var(--gray-bg);
    font-weight: 600;
    color: var(--dark-color);
}

.panel-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.panel-content a:hover {
    text-decoration: underline;
}

.panel-content code {
    background: var(--gray-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.88em;
    color: var(--primary-color);
}

.panel-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.panel-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.9rem;
}

.panel-content hr {
    border: none;
    border-top: 1px solid var(--gray-lighter);
    margin: 24px 0;
}

.content-list {
    margin-bottom: 24px;
    padding-left: 20px;
}

.content-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.content-list.numbered li {
    padding-left: 30px;
    counter-increment: list-counter;
}

.content-list.numbered li::before {
    content: counter(list-counter);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 4px;
}

.content-list.numbered {
    counter-reset: list-counter;
}

/* 项目亮点 */
.project-highlights {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-lighter);
}

.project-highlights h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-highlights h3 i {
    color: var(--accent-color);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.highlight-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 功能卡片 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .feature-icon i {
    font-size: 1.5rem;
    color: var(--bg-white);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* 技术栈 */
.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.tech-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-category h3 i {
    color: var(--primary-color);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 6px 14px;
    background: var(--bg-white);
    color: var(--text-gray);
    font-size: 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--gray-lighter);
}

/* 性能指标 */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.metric-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) var(--percent, 0%), var(--gray-lighter) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.metric-circle::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    border-radius: 50%;
}

.metric-value,
.metric-unit {
    position: relative;
    z-index: 1;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.metric-unit {
    font-size: 0.75rem;
    color: var(--text-light);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 开发流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.process-step-item {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--primary-color);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.step-time {
    font-size: 0.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   相关推荐
   ============================================ */
.related-products {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-lighter);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-item {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
}

.related-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-item:hover .related-thumb img {
    transform: scale(1.1);
}

.related-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-item:hover .related-overlay {
    opacity: 1;
}

.related-overlay .btn-view {
    padding: 10px 20px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
}

.related-content {
    padding: 16px;
}

.related-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
}

.related-content h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.related-content h3 a {
    color: inherit;
}

.related-content h3 a:hover {
    color: var(--primary-color);
}

.related-content p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* ============================================
   常见问题
   ============================================ */
.product-faq-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-lighter);
}

.product-faq-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.faq-item {
    display: block;
    background: var(--gray-bg);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
}

.faq-question > i.fa-question-circle {
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-question span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.5;
}

.faq-question .fa-arrow-right {
    flex-shrink: 0;
    color: var(--gray-color);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.faq-item:hover .fa-arrow-right {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question span {
        font-size: 0.9rem;
    }
}

/* ============================================
   图片放大弹窗
   ============================================ */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--primary-color);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--bg-white);
    font-size: 0.9rem;
    border-radius: 20px;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .product-gallery {
        width: 100%;
        max-width: 700px;
    }

    .gallery-main {
        max-height: 500px;
    }

    .gallery-main img {
        max-height: 500px;
    }

    .product-info-detail {
        width: 100%;
        max-width: 700px;
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .product-gallery {
        width: 100%;
        max-width: 600px;
    }

    .gallery-main {
        max-height: 420px;
    }

    .gallery-main img {
        max-height: 420px;
    }

    .product-info-detail {
        width: 100%;
        max-width: 600px;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .performance-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .filter-category {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.82rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-thumb {
        height: 180px;
    }

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .related-thumb {
        height: 140px;
    }

    .related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-gallery {
        max-width: 100%;
    }

    .gallery-main {
        max-height: 350px;
    }

    .gallery-main img {
        max-height: 350px;
    }

    .product-info-detail {
        max-width: 100%;
    }

    .gallery-thumbnails-wrapper {
        gap: 8px;
    }

    .gallery-thumbnails .thumb-item {
        width: calc((100% - 40px) / 5);
    }

    .gallery-thumbnails .thumb-item img {
        height: 50px;
    }

    .thumb-nav {
        width: 32px;
        height: 32px;
    }

    .thumb-nav i {
        font-size: 0.75rem;
    }

    .product-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .product-features ul {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .performance-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .detail-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .detail-tab {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .panel-content {
        padding: 24px 20px;
    }

    .modal-prev,
    .modal-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-wrap: wrap;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
    }

    .price-value {
        font-size: 1.6rem;
    }

    .panel-content h2 {
        font-size: 1.2rem;
    }

    .highlight-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .highlight-item {
        padding: 16px 12px;
    }

    .highlight-number {
        font-size: 1.5rem;
    }

    .process-step-item {
        padding: 16px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .gallery-main {
        max-height: 300px;
    }

    .gallery-main img {
        max-height: 300px;
    }
}
