.page-header {
    padding: 178px 0 126px 0;
    height: 480px;
    box-sizing: border-box;
    background-image: url("https://static.hhs.net.cn/image/20250224/9d271bd3-0c24-4739-92a5-700a34db2a37.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -80px;
}

.page-title {
    max-width: 1200px;
    margin: auto;
}

.page-title div:nth-of-type(1) {
    font-family: "PuHuiTi";
    font-weight: 700;
    font-size: 48px;
    color: #fff;
    transform: translateY(-187px);
    animation: bounceIn 1.2s ease-out forwards;
}

.page-title div:nth-of-type(2) {
    margin-top: 6px;
    font-family: "PuHuiTi";
    font-weight: 300;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-167px);
    animation: bounceIn 0.6s ease-out 0.2s forwards;
}

/* 修改当前页的背景颜色为深蓝色 */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #6daf32 !important;
    color: #fff !important;
}

/* 修改按钮的 hover 效果 */
.layui-laypage a:hover {
    background-color: #6daf32 !important;
    color: #fff !important;
    border: 1px solid #6daf32 !important;
}

.content-container {
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.side-menu {
    width: 220px;
    border-radius: 12px;
    background: #fff;
    padding: 25px 20px 30px 20px;
    box-sizing: border-box;
    /*min-height: 420px;*/
}

.menu {
    width: 180px;
    height: 64px;
    border-radius: 12px;
    font-family: "PuHuiTi";
    font-weight: 400;
    font-size: 20px;
    line-height: 64px;
    text-align: center;
    color: #707070;
    cursor: pointer;
    margin-top: 5px;
}

.menu:hover {
    background: #f5f9fe;
    color: var(--hhs-font-color) !important;
}

.on-menu {
    background: #f5f9fe;
    color: var(--hhs-font-color) !important;
}

.list-content {
    margin-left: 50px;
    flex: 1;
}

.product {
    grid-gap: 30px;
    grid-template-columns: repeat(3, minmax(290px, 1fr));
    justify-content: center;
}

.product-list {
    width: 290px;
    height: 370px;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.4s;
}

.product-list:hover {
    box-shadow: 0 0 20px 0 rgba(2, 38, 135, 0.09);
    transform: translateY(-2px);
}

.product-list:hover .product-img img {
    transform: scale(1.05);
}

.product-img {
    width: 290px;
    height:  290px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
}

.product-msg {
    height: 80px;
    padding:13px 20px;
    box-sizing: border-box;
}
.product-msg div{
    text-align: center;
}
.product-msg div:nth-of-type(1) {
    /*font-family: "Alibaba PuHuiTi 2.0 85 Bold";*/
    /*font-weight: 700;*/
    font-size: 20px;
    color: #14212f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*margin-top: 20px;*/
    transition: transform 0.6s, opacity 0.6s; /* 设置所有子元素的过渡属性 */
}

.product-msg div:nth-of-type(2) {
    margin-top: 8px;
    font-family: "Alibaba PuHuiTi 2.0 55 Regular";
    font-weight: 400;
    font-size: 14px;
    color: #6E7A88;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.6s, opacity 0.6s;
    /*transition-delay: 0.1s;*/
    opacity: 1;
}

.product-list:hover .product-msg div:nth-of-type(1) {
    /*-webkit-transform: translateY(-20px);*/
    /*-moz-transform: translateY(-20px);*/
    /*-ms-transform: translateY(-20px);*/
    /*transform: translateY(-20px);*/
    /*transition: transform 0.6s, opacity 0.6s;*/
}

.product-list:hover .product-msg div:nth-of-type(2) {
    /*-webkit-transform: translateY(-20px);*/
    /*-moz-transform: translateY(-20px);*/
    /*-ms-transform: translateY(-20px);*/
    /*transform: translateY(-20px);*/
    /*transition: transform 0.6s, opacity 0.6s;*/
    /*opacity: 1;*/
}

.product-list:not(:hover) .product-msg div:nth-of-type(2) {
    /*opacity: 0;*/
}

.page-size {
    margin-top: 50px;
    margin-bottom: 60px;
    text-align: center;
}

/* 1. 公共初始样式：不透明度为 0，带有 transition 过渡效果 */
.anim-section {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

/* 2. 不同方向的初始 transform */
.anim-section.top {
    transform: translateY(-20px);
}

.anim-section.bottom {
    transform: translateY(20px);
}

.anim-section.left {
    transform: translateX(-20px);
}

.anim-section.right {
    transform: translateX(20px);
}

/* 3. 当进入视口时，添加 in-view 触发最终状态 */
.anim-section.in-view {
    opacity: 1;
    transform: none;
}