/* 产品展示区样式 */
.products-section {
    padding: 50px 0;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

/* 左侧导航样式 */
.category-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-title {
    background: #FF0000;
    padding: 15px;
}

.category-title h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

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

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    color: #FF0000;
    background: #f9f9f9;
}

/* 在线客服样式 */
.online-service {
    background: #fff;
    margin-top: 20px;
    padding: 15px;
}

.service-title {
    color: #FF0000;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.service-item i {
    font-size: 24px;
    color: #09BB07;
}

.work-time,
.contact-way {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.work-time i,
.contact-way i {
    font-size: 20px;
    color: #666;
}

.time-info p,
.contact-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 右侧产品展示样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.product-img {
    position: relative;
    padding-top: 75%; /* 4:3 比例 */
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    padding: 15px;
    margin: 0;
    text-align: center;
    font-size: 16px;
    color: #333;
}

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

@media (max-width: 768px) {
    .category-nav {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
} 