.pingshang-goods-list{
    padding: 100px 0 170px;
    background: #FEF8F8;
    position: relative;
    overflow: hidden;
}
.goods-list-content{
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}
.goods-list-left{
    width: 300px;
}
.goods-list-left .goods-nav{
    display: flex;
    flex-direction: column;
    gap: 70px;
}
.goods-nav-item .goods-nav-item-title-wrap{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
.goods-nav-item-title-wrap .goods-nav-toggle{
    cursor: pointer;
    transition: transform 0.3s;
    
}
.goods-nav-item.is-collapsed .goods-nav-toggle{
    transform: rotate(180deg);
}
.goods-nav-item.is-collapsed .goods-nav-item-content{
    display: none;
}
.goods-nav-item-content{
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}
.goods-nav-item-content .goods-nav-item-content-item{
    color: var(--text-color);
    font-family: var(--font-primary-family);
    font-size: var(--font-18);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    cursor: pointer;
}
.goods-nav-item-content .goods-nav-item-content-item.active{
    color: #EB715A;
}
.goods-nav-item-title-wrap .product-item{
    cursor: pointer;
}
.goods-nav-item-title-wrap .product-item.active{
    color: #EB715A;
}
.goods-nav-item-title-wrap .tag-title-item{
    cursor: pointer;
}
.goods-nav-item-title-wrap .tag-title-item.active{
    color: #EB715A;
}

.goods-list-right{
    flex: 1;
}
.goods-wrap{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 35px;
    row-gap: 40px;
}
.goods-wrap-item .goods-wrap-item-img{
    width: 100%;
    aspect-ratio: 314/334;
    border-radius: 20px;
    border: 2px dashed #EB715A;
    overflow: hidden;
    position: relative;
}
.goods-wrap-item .goods-wrap-item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}
.goods-wrap-item-img .img-default{
    opacity: 1;
    z-index: 1;
}
.goods-wrap-item-img .img-hover{
    opacity: 0;
    z-index: 2;
}
.goods-wrap-item:hover .img-hover{
    opacity: 1;
}
.goods-wrap-item:hover .img-default{
    opacity: 0;
}
.goods-wrap-item .goods-wrap-item-title{
    padding: 20px 25px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
#pagination{
    margin-top: 60px;
}
#pagination #pagesize ul{
    gap: 10px;
}
#pagination #pagesize ul li a{
    color: rgba(18, 18, 18, 0.50);
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-family: var(--font-text-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    border: none;
    background: #FEF8F8;
    padding: 0;
    margin: 0;
}
#pagination #pagesize ul li a:hover,
#pagination #pagesize ul li a.active{
    border-radius: 50%;
    background: #F4C3C1;
    color: #fff;
}
#pagination #pagesize ul li:first-child a,
#pagination #pagesize ul li:last-child a{
    font-size: 0;
    color: transparent;
    position: relative;
}
#pagination #pagesize ul li:first-child a::before,
#pagination #pagesize ul li:last-child a::before{
    content: '';
    width: 14px;
    height: 14px;
    background-color: rgba(18, 18, 18, 0.50);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s;
}
#pagination #pagesize ul li:first-child a::before{
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 25' fill='none'><path d='M13.56 23.9386L2.1209 12.4995L13.56 1.06045' stroke='black' stroke-width='3'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 25' fill='none'><path d='M13.56 23.9386L2.1209 12.4995L13.56 1.06045' stroke='black' stroke-width='3'/></svg>");
}
#pagination #pagesize ul li:last-child a::before{
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 25' fill='none'><path d='M1.06113 23.9386L12.5002 12.4995L1.06113 1.06045' stroke='black' stroke-width='3'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 25' fill='none'><path d='M1.06113 23.9386L12.5002 12.4995L1.06113 1.06045' stroke='black' stroke-width='3'/></svg>");
}
#pagination #pagesize ul li:first-child a:hover::before,
#pagination #pagesize ul li:last-child a:hover::before{
    background-color: #fff;
}
#pagination #pagesize ul li:first-child a.disabled::before,
#pagination #pagesize ul li:last-child a.disabled::before{
    background-color: #cecece;
}

.goods-list-bg{
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}
.goods-list-bg .bg-left-img{
    width: 272px;
    aspect-ratio: 68/65;
    position: absolute;
    left: -110px;
    bottom: 78px;
}
.goods-list-bg .bg-right-img{
    width: 88px;
    aspect-ratio: 1/1;
    position: absolute;
    bottom: 19px;
    right: 54px;
}

@media screen and (max-width: 1200px) {
    .pingshang-goods-list{
        padding: 50px 0 170px;
    }
    .goods-list-left{
        width: 240px;
    }
    .goods-list-content{
        gap: 30px;
    }
    .goods-list-bg .bg-left-img{
        width: 210px;
        left: -80px;
    }
    .goods-list-bg .bg-right-img{
        width: 70px;
    }
}
@media screen and (max-width: 992px) {
    .goods-wrap{
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }
    .goods-list-left .goods-nav{
        gap: 50px;
    }
}
@media screen and (max-width: 768px) {
    .pingshang-goods-list{
        padding: 30px 0 150px;
    }
    .goods-list-content{
        flex-direction: column;
    }
    .goods-list-left{
        width: 100%;
    }
    .goods-list-bg .bg-left-img{
        width: 150px;
    }
    .goods-list-bg .bg-right-img{
        width: 50px;
        right: 20px;
    }
    .goods-nav-item-content{
        gap: 15px;
        margin-top: 10px;
    }
    .goods-list-left .goods-nav{
        gap: 30px;
    }
}