/* 产品中心页面样式 */

.page-header {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-content {
    padding: 60px 0;
}

.product-categories {
    margin-bottom: 40px;
}

.product-categories ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
}

.product-categories ul li {
    margin: 5px;
}

.product-categories ul li a {
    display: block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.product-categories ul li a:hover,
.product-categories ul li.active a {
    background-color: #0056b3;
    color: white;
}

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

.product-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    height: 200px;
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 5rem;
    color: #0056b3;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

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

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-categories ul {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .product-categories ul li {
        flex: 0 0 auto;
    }
}