.yingfang-goods-list {
    padding: 37px 0 150px;
}
.yingfang-goods-list-wrap{
    display: flex;
    gap: 58px;
}
.yingfang-goods-left{
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.goods-left-item .goods-left-title-wrap{
    padding: 27px 38px;
    border-radius: 10px;
    background: #F02110;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.goods-left-title-wrap .goods-left-title{
    color: #FFF;
    font-family: var(--extrabold-font-family);
    font-size: var(--font-28);
    font-style: normal;
    font-weight: 600;
    line-height: 1.28;
}
.goods-nav-wrap{
    padding: 30px 38px;
    display: flex;
    flex-direction: column;
    gap: 29px;
}
.goods-nav-wrap .goods-nav-item a{
    display: block;
    width: 100%;
    color: #231F20;
    font-family: var(--font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 400;
    line-height: 1.8; /* 180% */
}
.goods-nav-wrap .goods-nav-item:hover a,
.goods-nav-wrap .goods-nav-item.active a{
    color: var(--color-primary);
}

/* 收起/展开动画 */
.goods-left-title-wrap .goods-left-icon {
    cursor: pointer;
    transition: transform 0.5s ease;
}

.goods-left-title-wrap .goods-left-icon.collapsed {
    transform: rotate(180deg);
}

.goods-nav-wrap {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
    opacity: 1;
}

.goods-nav-wrap.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}


.recommend-goods-wrap{
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.recommend-goods-wrap .recommend-goods-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #DDD;
}
.recommend-goods-item img{
    width: 162px;
    aspect-ratio: 81/68;
    object-fit: contain;
}
.recommend-goods-item .recommend-goods-title{
    color: #4D4D4D;
    font-family: var(--font-family);
    font-size: var(--font-16);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.yingfang-goods-list-wrap .yingfang-goods-right{
    flex: 1;
}
.yingfang-goods-right .goods-right-title{
    color: #111;
    font-family: var(--title-font-family);
    font-size: var(--font-30);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.right-goods-content{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    row-gap: 30px;
    column-gap: 27px;
    margin-top: 36px;
}
.right-goods-content .right-goods-content-item{
    border-radius: 10px;
    border: 1px solid #DDD;
    background: #F8F8F8;
    display: flex;
    flex-direction: column;
}
.right-goods-content-item .goods-img-wrap{
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.goods-img-wrap img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    transition: all 0.5s;
}
.right-goods-content-item .goods-title-wrap{
    border-radius: 9px;
    background: #FFF;
    display: flex;
    padding: 33px 5px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex: 1;
}
.goods-title-wrap .goods-title{
    color: #4D4D4D;
    text-align: center;
    font-family: var(--title-font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.goods-title-wrap .goods-more{
    color: #FFF;
    font-family: var(--title-font-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: none;
    align-items: center;
    gap: 5px;
}
.right-goods-content-item:hover .goods-img-wrap img{
    transform: scale(1.05);
}
.right-goods-content-item:hover .goods-title-wrap{
    background: var(--color-primary);
}
.right-goods-content-item:hover .goods-title{
    display: none;
}
.right-goods-content-item:hover .goods-more{
    display: flex;
}

.goods-list-pagination #pagesize{
    margin: 60px 0 0;
}
.goods-list-pagination #pagesize ul{
    gap: 48px;
}
.goods-list-pagination #pagesize ul li a{
    color: #686868;
    text-align: center;
    font-family: var(--font-family);
    font-size: var(--font-18);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0;
    margin: 0;
    border: none !important;
    background: #fff !important;
}
.goods-list-pagination #pagesize ul li a.disabled svg path{
    stroke: #cecece;
}
.goods-list-pagination #pagesize ul li a.active,
.goods-list-pagination #pagesize ul li a:hover{
    color: #FF0000 !important;
}
.goods-list-pagination #pagesize ul li:first-child a:hover svg path,
.goods-list-pagination #pagesize ul li:last-child a:hover svg path{
    stroke: #FF0000;
}


@media screen and (max-width: 1500px) {
    .yingfang-goods-list-wrap{
        gap: 30px;
    }
    .yingfang-goods-left{
        width: 35%;
    }
    .recommend-goods-item img{
        width: 100px;
    }
}
@media screen and (max-width: 1200px) {
    .yingfang-goods-list{
        padding: 50px 0;
    }
    .right-goods-content-item .goods-title-wrap{
        padding: 20px 5px;
    }
}
@media screen and (max-width: 992px) {
    .right-goods-content{
        grid-template-columns: repeat(2,1fr);
    }
    .goods-list-pagination #pagesize{
        margin: 30px 0 0;
    }
}
@media screen and (max-width: 768px) {
    .yingfang-goods-list-wrap{
        flex-direction: column;
    }
    .yingfang-goods-left{
        width: 100%;
    }
    .right-goods-content{
        gap: 10px;
    }
}