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

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* 产品分类标签 */
.product-categories {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.tab-btn:hover {
    background-color: #e9ecef;
    border-color: #3498db;
    color: #3498db;
}

.tab-btn.active {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

/* 产品展示 */
.products-showcase {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

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

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

.product-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

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

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

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-specs span {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: #555;
}

.product-specs i {
    color: #27ae60;
    margin-right: 5px;
    font-size: 12px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* 技术参数表格 */
.tech-specs {
    padding: 80px 0;
    background-color: white;
}

.specs-table {
    overflow-x: auto;
    margin-top: 30px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.specs-table th {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.specs-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.specs-table tr:hover {
    background-color: #e3f2fd;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        flex-shrink: 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-small {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-specs {
        flex-direction: column;
        align-items: flex-start;
    }
}