body{
    background-color: #f8f9fa;
}
.products-page{
    padding: 100px 0;
}
.products-breadcrumb{
    width: 100vw;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.products-breadcrumb-box{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
}
.products-breadcrumb-trail{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666666;
    font-size: 16px;
}
.products-breadcrumb-trail a{
    color: inherit;
}
.products-breadcrumb-trail .iconfont{
    color: #48877A;
    font-size: 18px;
}
.products-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    padding: 100px 0;
}
.products-grid-item{
    width: 23.5%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2%;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #333333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.products-grid-item:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.products-grid-item .thumb{
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0f2f5;
}
.products-grid-item .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.products-grid-item .name{
    padding: 14px 12px 18px;
    font-size: 18px;
}
.products-empty{
    width: 100%;
    text-align: center;
    color: #888888;
    padding: 60px 0;
}

.products-category-list{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
}
.products-category-box{
    background: #F3F4F4;
    width: 380px;
    padding-bottom: 30px;
}
.products-category-list-item{
    width: 80%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}
.products-category-box-title{
    background: #48877A;
    color: #ffffff;
    font-size: 26px;
    padding: 15px 30px;
    border-radius: 10px 10px 0 0;
}
.products-category-tree{
    padding: 0 40px;
}
.category-item{
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid #E5E5E5;
}
.category-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-header a{
    font-size: 20px;
}
.category-header i{
    font-size: 20px;
    opacity: 0.4;
    cursor: pointer;
    transition: transform 0.5s ease;
}

/* 分类树层级与列表样式调整 */
.products-category-tree ul,
.products-category-tree li{
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.category-children{
    margin: 0 20px !important; /* 二级缩进 20px */
}
.category-grandchildren{
    margin-left: 20px !important; /* 三级缩进 40px */
}

/* 当前分类高亮（主色） */
.products-category-tree a.is-active{
    color: #48877A;
    font-weight: 600;
}
.category-child-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-child-header i{
    font-size: 20px;
    opacity: 0.4;
    cursor: pointer;
    transition: transform 0.5s ease;
}

/* 加减号悬停旋转动画 */
.category-header i:hover,
.category-child-header i:hover{
    transform: rotate(180deg);
}

.products-list{
    width: 1180px;
}
.products-list-title{
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    font-size: 30px;
}
.products-list-box{
    padding: 30px 0;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    column-gap: 35px;
    row-gap: 35px;
}
.products-subcategory-item{
    display: block;
    width: 370px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    color: #333333;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.products-subcategory-item:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.cover-box{
    width: 370px;
    height: 280px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f2f5;
}
.cover-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-name{
    width: 330px;
    height: 60px;
    font-size: 25px;
    line-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.products-subcategory-item-desc{
    width: 330px;
    padding: 10px 0;
    line-height: 30px;
    font-size: 16px;
}
.products-subcategory-item-desc hr{
    margin: 10px 0;
    opacity: 0.5;
    height: 0;
}