/* 产品中心样式 */
.product-center {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 产品布局 */
.product-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左侧分类导航 */
.product-sidebar {
    width: 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    flex-shrink: 0;
}

.sidebar-header {
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.sidebar-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 10px;
}

.category-item a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-item a:hover {
    background-color: #f0f7ff;
    color: #1a73e8;
}

.category-item.active a {
    background-color: #1a73e8;
    color: white;
}

/* 右侧产品网格 */
.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

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

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-image {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.product-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.product-name {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    border-top: 1px solid #f0f0f0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
    }
    
    .product-sidebar {
        width: 100%;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-item {
        flex: 1;
        min-width: 120px;
    }
    
    .category-item a {
        text-align: center;
    }
}