/* ========== 全局容器控制，解决全屏溢出 ========== */
.container {
    width: 1585px; /* 固定版心宽度，不随屏幕拉伸 */
    margin: 0 auto; /* 居中显示 */
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 50px;
}

/* ========== 面包屑样式 ========== */
.yunu-curmbs {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.yunu-curmbs a {
    color: #333;
    text-decoration: none;
}
.yunu-curmbs a:hover {
    color: #389a67;
}

/* ========== 左侧分类栏样式（完美适配你当前菜单） ========== */
.ct2-sd {
    width: 220px;
    float: left;
    margin-right: 30px;
}
.panel-sd {
    border: none;
    border-radius: 0;
    overflow: hidden;
}
.panel-sd-hd {
    background: #389a67; /* 深蓝色标题栏，和你当前一致 */
    color: #fff;
    padding: 12px 15px;
}
.panel-sd-hd h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

/* 一级分类样式 */
.yunu-column h3 {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    background: #fff;
}
.yunu-column h3 a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all .3s;
}
/* 一级分类展开/收起箭头 */
.yunu-column h3::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
    transition: all .3s;
    cursor: pointer;
}
.yunu-column h3.on::after {
    content: "-";
    color: #389a67;
}
.yunu-column h3.on a {
    background: #f5f5f5;
    color: #389a67;
    font-weight: bold;
}

/* 二级分类列表 */
.yunu-column h3 ul {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: #fff;
}
.yunu-column h3.on ul {
    max-height: 500px;
}

/* 二级分类项 */
.yunu-column li.sub {
    border-bottom: 1px solid #f8f8f8;
}
.yunu-column li.sub a {
    display: block;
    padding: 10px 30px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all .3s;
}
.yunu-column li.sub.on a {
    color: #389a67 !important;
    font-weight: bold;
    background: #fafafa;
}
.yunu-column li.sub a:hover {
    background: #f0f0f0;
    color: #389a67;
}

/* ========== 右侧产品区样式（解决溢出、优化布局） ========== */
.ct2-mn {
    width: calc(100% - 250px);
    float: right;
    box-sizing: border-box;
}
.yunu-title-1 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}
.list-2 {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 卡片间距 */
}
.list-2 li {
    width: calc(33.333% - 14px); /* 一行3个，精准计算宽度 */
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    transition: all .3s;
    background: #fff;
    box-sizing: border-box;
}
.list-2 li:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #389a67;
}
.list-2 li a {
    text-decoration: none;
    color: #333;
    display: block;
}
.list-2 .m {
    background: #f9f9f9;
    overflow: hidden;
}
.list-2 .text {
    padding: 15px;
    text-align: center;
}
.list-2 .text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

/* ========== 分页样式 ========== */
.yunu-pages {
    margin-top: 30px;
    text-align: center;
}
.pagination {
    display: inline-block;
}
.pagination a, .pagination span {
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.pagination a:hover {
    background: #389a67;
    color: #fff;
    border-color: #389a67;
}
.pagination .active {
    background: #389a67;
    color: #fff;
    border-color: #389a67;
}

/* ========== 清除浮动 ========== */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* ========== 响应式适配（解决大屏溢出、小屏适配） ========== */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    .ct2-sd {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .ct2-mn {
        width: 100%;
        float: none;
    }
    .list-2 li {
        width: calc(50% - 10px); /* 平板端一行2个 */
    }
}
@media (max-width: 768px) {
    .list-2 li {
        width: 100%; /* 移动端一行1个 */
    }
}