/* 产品页面专用样式 */

.product-filter {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #666;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.products-display {
    padding: 80px 0;
}

.product-series {
    margin-bottom: 80px;
}

.series-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.series-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs {
    margin-bottom: 25px;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 5px 0;
    color: #666;
}

.product-specs i {
    color: #27ae60;
    margin-right: 8px;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-actions .btn-primary,
.product-actions .btn-secondary {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
}

/* 产品系列标签 */
.product-series-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 产品评分 */
.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.product-rating i {
    color: #ffd700;
    font-size: 14px;
}

.product-rating span {
    color: #999;
    font-size: 14px;
    margin-left: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .products-display {
        padding: 60px 0;
    }
    
    .product-series {
        margin-bottom: 60px;
    }
    
    .series-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn-primary,
    .product-actions .btn-secondary {
        flex: none;
    }
}