
.m-banner-product{
    position: relative;
    height: 914px;
}
.m-banner-product .m-banner-product-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.m-banner-product .banner-pagination{
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-banner-product .swiper-pagination-bullet{
    width: 177px;
    height: 3px;
    background-color: #888;
    margin-left: 70px;
    border-radius: 0;
    opacity: 1;
}
.m-banner-product .banner-pagination-item:first-child{
    margin-left: 0;
}
.m-banner-product .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #f5f5f7;
}



/*分类*/
.m-catorgaory{
    position: relative;
    height: 90px;
    margin: 0 auto;
    border: 2px solid #838384;
    background-color: #000;
    width: 1578px;
    border-radius: 45px;
    display: flex;
    align-items: center;
    padding: 0 112px;
    box-sizing: border-box;
}
.m-catorgaory .catorgaory-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;

    position: absolute;
    width: auto;
    left: 112px;
    right: 112px;
    overflow: scroll;
    scroll-behavior: smooth;
}
.m-catorgaory .catorgaory-wrap::-webkit-scrollbar{
    display: none;
}
.m-catorgaory .catorgaory-item{
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;

    width: auto;
    margin-right: 97px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Aldus';
}
.m-catorgaory .catorgaory-item::after{
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}
.m-catorgaory .catorgaory-item:hover{
    color: #fff;
}
.m-catorgaory .catorgaory-item:hover::after{
    width: 100%;
}
.m-catorgaory .catorgaory-item.active{
    text-decoration: none;
}
.m-catorgaory .catorgaory-item.active::after{
    width: 100%;
}
.m-catorgaory .navigate-btns{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 38px;
    box-sizing: border-box;
}
.m-catorgaory .navigate-btns .navigate-btn{
    width: 40px;
    height: 40px;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.m-catorgaory .navigate-btns .navigate-btn::after{
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(-45deg);
}
.m-catorgaory .navigate-btns .navigate-btn.next{
    transform:rotate(180deg)
}

/*产品列表*/
.m-product{
    position: relative;
    margin-top: 44px;
}
.m-product .product-list{
    position: relative;
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    

}
.m-product .product-list-item{
    width: 300px;
    height: 402px;
    border: 2px solid transparent;
    cursor: pointer;
    width: calc(25% - 4px);
    padding-bottom: 24px;
    padding-top: 36px;
    box-sizing: border-box;
}
.m-product .product-list-item:hover{
    border: 2px solid #1e1e20;
}
.m-product .product-image{
    width: 300px;
    height: 300px;
}
.m-product .product-title{
    font-size: 15px;
    color: #fff;
    text-align: center;
    line-height: 1;
    margin-bottom: 4px;
    font-family: 'Aldus'
}
.m-product .product-more-btn{
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Aldus'
}

/* 暂无产品样式 */
.m-product .no-products{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 500px !important;
    padding: 100px 0;
    box-sizing: border-box;
}
.m-product .no-products p{
    font-size: 20px !important;
    color: #fff !important;
    text-align: center !important;
    margin: 0;
}

.m-page{
    position: relative;
}


/*平板*/
@media (max-width:1590px){
    .m-banner-product{
        height: 600px;
    }
    .m-banner-product .swiper-pagination-bullet{
        width: 120px;
        margin-left: 40px;
    }
    .m-banner-product .banner-pagination{
        bottom: 40px;
    }

    .m-catorgaory{
        width: 90%;
        max-width: 1200px;
        padding: 0 80px;
    }
    .m-catorgaory .catorgaory-wrap{
        left: 80px;
        right: 80px;
    }
    .m-catorgaory .navigate-btns{
        padding: 0 28px;
    }
    .m-catorgaory .catorgaory-item{
        margin-right: 60px;
        font-size: 14px;
    }

    .m-product .product-list{
        width: 90%;
    }
    .m-product .product-list-item{
        width: calc(33.333% - 4px);
    }
    .m-product .product-image{
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
}

/*手机*/
@media (max-width:680px){
    .m-banner-product{
        height: 400px;
    }
    .m-banner-product .swiper-pagination-bullet{
        width: 60px;
        height: 2px;
        margin-left: 20px;
    }
    .m-banner-product .banner-pagination{
        bottom: 20px;
    }

    .m-catorgaory{
        width: 95%;
        height: 70px;
        border-radius: 35px;
        padding: 0 50px;
    }
    .m-catorgaory .catorgaory-wrap{
        left: 50px;
        right: 50px;
    }
    .m-catorgaory .navigate-btns{
        padding: 0 15px;
    }
    .m-catorgaory .navigate-btns .navigate-btn{
        width: 30px;
        height: 30px;
        border: 2px solid #fff;
    }
    .m-catorgaory .navigate-btns .navigate-btn::after{
        width: 6px;
        height: 6px;
        border-top: 2px solid #fff;
        border-left: 2px solid #fff;
    }
    .m-catorgaory .catorgaory-item{
        margin-right: 40px;
        font-size: 13px;
        white-space: nowrap;
    }

    .m-product{
        margin-top: 30px;
    }
    .m-product .product-list{
        width: 95%;
    }
    .m-product .product-list-item{
        width: calc(50% - 4px);
        padding-bottom: 16px;
        padding-top: 20px;
        height: auto;
    }
    .m-product .product-image{
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    .m-product .product-title{
        font-size: 14px;
        margin-bottom: 8px;
    }
    .m-product .product-more-btn{
        font-size: 11px;
    }
}