/* 产品中心页面样式 */
.products-main {
    display: flex;
    gap: 2rem;
    padding: 6rem 5% 2rem;
    min-height: calc(100vh - 200px);
}

/* 产品分类导航 */
.product-categories {
    flex: 0 0 250px;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.product-categories h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.product-categories ul {
    list-style: none;
    padding: 0;
}

.product-categories li {
    margin-bottom: 1rem;
}

.product-categories a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.product-categories a:hover,
.product-categories a.active {
    background: var(--primary-color);
    color: white;
}

/* 产品展示区域 */
.product-showcase {
    flex: 1;
}

.product-section {
    margin-bottom: 4rem;
}

.product-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* 产品网格布局 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* 产品卡片样式 */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

/* 产品卡片图片样式 */
.product-card picture {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h4 {
    color: var(--primary-color);
    padding: 1rem;
    margin: 0;
    font-size: 1.4rem;
    border-bottom: 1px solid #eee;
}

/* 产品规格样式 */
.product-specs {
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.product-specs p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

/* 产品特性标签 */
.product-features {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-features span {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* 产品描述 */
.product-description {
    padding: 1rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* 按钮样式 */
.detail-btn {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.detail-btn:hover {
    background: #083580;
}

/* 定制化产品区域 */
.custom-product-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.custom-product-info h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.custom-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background: #083580;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-main {
        flex-direction: column;
        padding-top: 8rem;
    }

    .product-categories {
        position: static;
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .custom-features {
        grid-template-columns: 1fr;
    }
} 