/* 省略 */
.sheng {
	overflow: hidden;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

/* 头部导航样式 */
.header {
    background-color: rgba(255, 255, 255, 1);
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 1);
}

.header-scrolled .header-nav li a {
    color: #333333;
}

.header-nav li a {
    display: block;
    color: #333333;
    text-decoration: none;
    font-size: 20px;
    font-weight: normal;
    padding: 0;
    transition: all 0.3s ease;
}

.header-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

/* 头部顶部区域 */
.header-top {
    display: flex;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 80px;
    vertical-align: middle;
}

/* 导航菜单 */
.header-nav {
    background-color: transparent;
    padding: 0;
}

.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 45px;
}

.header-nav li {
    position: relative;
}

.header-nav li a {
    display: block;
    color: #333333;
    text-decoration: none;
    font-size: 20px;
    font-weight: normal;
    padding: 0;
    transition: all 0.3s ease;
}

.header-nav li a:hover {
    color: #388fec;
}

.header-nav li.active a {
    color: #388fec;
}

/* 通用容器宽度类，与导航条宽度一致 */
.container-width {
    width: 70%;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .header-container {
        width: 95%;
    }
    
    .header-nav li a {
        padding: 0;
        font-size: 16px;
        color: #ffffff;
    }
    
    .header-scrolled .header-nav li a {
        color: #333333;
    }
}

/* 产品中心分类侧边栏样式 */
.category-sidebar {
    border: 1px solid #e8e8e8;
    background-color: #fff;
}

.category-list {
    padding: 0;
}

.category-item {
    border-bottom: 1px solid #e8e8e8;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item-header {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.category-item-header:hover {
    background-color: #f7f7f7;
    color: #333;
}

.category-item-header.active {
    background-color: #f0f7ff;
    color: #0066cc;
}

.category-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #999;
}

.category-item-header.active .category-arrow {
    color: #0066cc;
}

.category-arrow.rotate {
    transform: rotate(90deg);
}

.category-item-content {
    display: none;
    background-color: #fff;
}

.category-item-content.show {
    display: block;
}

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

.subcategory-item {
    padding: 10px 20px 10px 35px;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
}

.subcategory-item:last-child {
    border-bottom: none;
}

.subcategory-item:hover {
    background-color: #fafafa;
}

.subcategory-item a {
    color: #666;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.subcategory-item a:hover {
    color: #0066cc;
}

.subcategory-item.active {
    background-color: #f0f7ff;
}

.subcategory-item.active a {
    color: #0066cc;
    font-weight: 600;
}

.layui-col-lg4:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .logo img {
        height: 40px;
        margin-bottom: 10px;
    }
    
    .header-top-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-info {
        gap: 15px;
    }
    
    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-nav li a {
        padding: 10px 5px;
        font-size: 15px;
        color: #ffffff;
    }
    
    .header-scrolled .header-nav li a {
        color: #333333;
    }
}