/* ============================================
   products-fixes.css
   产品中心页面修复样式（叠加在 minified CSS 之上）
   加载顺序：在 products_ff6aec7e39943b901a2ed22af2c55654.min.css 之后
   ============================================ */

/* === 1. 隐藏横排分类导航条（用户 2026-07-01 要求移除） === */
#c_static_001_P_9960-1670483934671 {
    display: none !important;
}

/* === 2. 侧边栏默认全部展开（由 JS 添加 .all-expanded） === */
#c_category_364_P_028-1688723127865 .e_categoryB-12.all-expanded .p_c_content,
#c_category_364_P_028-1688723127865 .e_categoryB-12.all-expanded .deep-2,
#c_category_364_P_028-1688723127865 .e_categoryB-12.all-expanded .deep-3 {
    display: block;
}

/* === 3. 侧边栏当前分类高亮（仅当前项和父级） === */
#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_item.active-current > p,
#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_item.active-current > p a {
    color: #f09015 !important;
    border-left-color: #f09015 !important;
    background: rgba(240,144,21,0.08);
    font-weight: 500;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_item.active-parent > p,
#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_item.active-parent > p a {
    color: #f09015 !important;
    border-left-color: #f09015 !important;
    background: rgba(240,144,21,0.04);
    font-weight: 500;
}

/* === 4. 非当前项恢复默认 === */
#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_item:not(.active-current):not(.active-parent) > p a {
    color: #333;
    background: transparent;
}

/* === 5. 二级分类缩进与字号微调 === */
#c_category_364_P_028-1688723127865 .e_categoryB-12 .deep-2 > .p_c_item > p {
    text-indent: 24px;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_title2 {
    line-height: 44px;
    font-size: clamp(13px, 1.05vw, 16px);
    color: #333;
    border-left: #f9f9f9 7px solid;
    transition: all ease .3s;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-right: 32px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_title2:hover {
    color: #f09015;
    border-left-color: #f09015;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_title1 {
    line-height: 50px;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: bold;
    color: #333;
    border-left: #f9f9f9 7px solid;
    transition: all ease .3s;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-right: 32px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_c_title1:hover {
    color: #f09015;
    border-left-color: #f09015;
}

/* 确保内部 span 不换行 */
#c_category_364_P_028-1688723127865 .e_categoryB-12 .deep a {
    width: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .deep a span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

/* 箭头区域留出足够空间 */
#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_arrbtm {
    width: 32px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .p_arrow {
    margin: 0;
    font-size: 12px;
    transform: rotate(-90deg); /* SVG 本身是向左箭头，-90deg = 向下 */
    line-height: 1;
    padding: 0;
    width: auto;
    height: 10px;
    pointer-events: none;
    transition: transform .3s ease;
}

#c_category_364_P_028-1688723127865 .e_categoryB-12 .collapsed .p_arrow {
    transform: rotate(0deg); /* 向左 */
}

/* === 6. 面包屑样式补充 === */
.e_breadcrumb-3 .p_breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.e_breadcrumb-3 .p_breadcrumb .p_breadcrumbItem {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.e_breadcrumb-3 .p_breadcrumb .p_sep {
    color: #999;
    margin: 0 6px;
    font-size: 14px;
}

.e_breadcrumb-3 .p_breadcrumb .p_breadcrumbItem.active .p_title {
    color: #f09015;
    font-weight: 500;
}

.e_breadcrumb-3 .p_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color .2s;
}

.e_breadcrumb-3 .p_breadcrumb a:hover {
    color: #f09015;
}

/* === 7. 隐藏 ::before 注入图标（防止部署后 CNB 平台重复图标问题复发） === */
#c_category_364_P_028-1688723127865 .e_categoryB-12 li::before,
#c_category_364_P_028-1688723127865 .e_categoryB-12 li::after,
#c_static_001_P_9960-1670483934671 .e_categoryC-1 li::before,
#c_static_001_P_9960-1670483934671 .e_categoryC-1 li::after,
#c_static_001_P_9960-1670483934671 .e_categoryC-1 .deep::before,
#c_static_001_P_9960-1670483934671 .e_categoryC-1 .deep::after {
    display: none !important;
    content: none !important;
}
