body{
    background-color: #fff;
}

.m-product-banner{
    position: relative;
    height: 942px;
}
.m-product-banner .product-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}


/*分类*/
.m-catorgaory{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 166px;
    height: 90px;
    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-info{
    max-width: 1730px;
    margin: 50px auto;
    border: 1px solid #e1e1e1;
    border-radius: 45px;
    position: relative;
    padding-bottom: 34px;
}


.m-product-info .product-image{
    position: relative;
    height: 737px;
    border-bottom: 1px solid #e1e1e1;
    overflow: hidden;
}
.m-product-info .txt-bg{
    position: absolute;
    text-align: center;
    width: 86%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfdfdf;
    font-size: 262px;
    line-height: 0.8;
    font-family: 'Aldus';
    white-space: pre-wrap;
    display: none;
}
.m-product-info .txt-bg.active{
    display: block;
}
.m-product-info .product-img-wrap{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.m-product-info .product-img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    pointer-events: none;
}
.m-product-info .product-img.active{
    transition: opacity 0.5s ease;
    opacity: 1;
    pointer-events: auto;
}
.m-product-info .product-info-bottom{
    position: relative;
    display: flex;
    align-items: flex-start;
}
.m-product-info .product-info-bottom .left{
    box-sizing: border-box;
    width: 474px;
}
.m-product-info .product-info-bottom .right{
    width: calc(100% - 474px);
    border-left: 1px solid #e1e1e1;
}
.m-product-info .product-info-bottom .right .right-top{
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #e1e1e1;
}
.m-product-info .product-info-bottom .right .right-top-item{
    width: 50%;
    border-left: 1px solid #e1e1e1;
    height: 180px;
}
.m-product-info .product-info-bottom .right .right-top-item:first-child{
    border-left: none;
}

.m-txt-box{
    padding: 46px 52px;
    color: #000;
    font-family: 'fangsong';
    box-sizing: border-box;
}
.m-txt-box > .title{
    font-size: 32px;
}
.m-txt-box > .ct{
    font-size: 18px;
}
.m-txt-box > .ct .list{
    display: flex;
    align-items: center;
}
.m-txt-box > .ct .list.bot::before{
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #000;
}


/*产品详情图*/
.m-product-detial{
    max-width: 1920px;
    margin: 0 auto;
}

.m-product-detial img {
    display: block;
    vertical-align: top;
    /* 核心修复：消除1px渲染偏差 */
    margin-bottom: -1px;
}

/*选择*/
.m-choose{
    position: relative;
    display: flex;
    align-items: center;
}
.m-choose .choose-item{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(0,0,0,0.3);
    box-sizing: border-box;
}
.m-choose .choose-item:hover{
    transform: scale(1.15);
    filter: brightness(1.2);
    box-shadow: 0 0 10px 3px rgba(0,0,0,0.2);
}
.m-choose .choose-item:first-child{
    margin-left: 0;
}
.m-choose .choose-item.active{
    position: relative;
    box-shadow: 0 0 15px 5px var(--color), 0 0 30px 10px rgba(0,0,0,0.2);
    transform: scale(1.1);
}
.m-choose .choose-item.active::after{
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: var(--color);
    opacity: 0.3;
    z-index: -1;
}

/*详情参数*/
.m-product-num{
    position: relative;
    max-width: 1920px;
    margin: 256px auto;
    display: flex;
    align-items: flex-start;
}
.m-product-num-list{
    position: relative;
    width: calc(100% - 884px);
    padding-right: 228px;
    box-sizing: border-box;
}
.m-product-num-list > .title{
    font-size: 30px;
    color: #000;
    margin-bottom: 66px;
    font-family: 'Caslon 3';
    font-weight: bold;
}
.m-product-num-list > .list{
    min-height: 66px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #000;
    font-family: 'Caslon 3';
    font-size: 14px;
    padding: 24px 0;
    box-sizing: border-box;
}
.m-product-num-list > .list > .left{
    font-weight: bold;
    width: 270px;
}
.m-product-num-list > .list > .right{
    font-weight: normal;

}

/*视频*/
.m-product-video{
    position: relative;
    height: 898px;
    max-width: 1920px;
    margin: 0 auto 52px;
}
.m-product-video .video-wrapper{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-product-video .video{
    display: block;
    height: 898px;
    margin: 0 auto;
    cursor: pointer;
}
.m-product-video .video-play-btn{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.m-product-video .video-play-btn:hover{
    transform: translate(-50%, -50%) scale(1.1);
}
.m-product-video .video-play-btn svg{
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.m-product-video.playing .video-play-btn{
    opacity: 0;
    pointer-events: none;
}

/*图片相册*/
.m-product-photo{
    position: relative;
}
.m-product-photo .product-photo-wrap{
    position: relative;
    display: flex;
    flex-wrap: wrap; /* 允许项目换行 */
    margin: 0 56px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.m-product-photo .img-item{
    width: 32%;
    max-height: 385px;
    margin-top: 15px;
    cursor: pointer;
}
.m-product-photo .img-item:not(:nth-child(3n)){
    margin-right: calc(4% / 3);
}
.m-product-photo .img-item:nth-child(n+7){
    display: none;
}
.m-product-photo .product-photo-more-btn{
    display: flex;
    justify-content: center;
    padding: 70px 0;
}
.m-product-photo .btn-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 132px;
    height: 132px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4 ease;
    position: relative;
    overflow: hidden;
}
.m-product-photo .btn-item .txt{
    position: relative;
    z-index: 2;
}
.m-product-photo .btn-item .more-arrow{
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}
.m-product-photo .btn-item:hover{
    color: #fff !important;
}
.m-product-photo .btn-item::before{
    background-color: #000;
} 
.m-product-photo .btn-item:hover .more-arrow{
    filter: brightness(0) invert(1);
    transform: rotate(180deg);
}
.m-product-photo.active .product-photo-wrap{
    height: auto;
    overflow: auto;
}
.m-product-photo.active .btn-item .more-arrow{
    transform: rotate(180deg);
}
.m-product-photo.active .product-photo-wrap .img-item{
    display: block;
}

/* ========== 响应式设计 ========== */

/* 平板端 (768px - 1024px) */
@media screen and (max-width: 1580px) {
    /* Banner */
    .m-product-banner {
        height: 600px;
    }

    /* 分类导航 */
    .m-catorgaory {
        width: 90%;
        top: 120px;
        height: 70px;
        padding: 0 60px;
    }
    .m-catorgaory .catorgaory-wrap {
        left: 60px;
        right: 60px;
    }
    .m-catorgaory .catorgaory-item {
        font-size: 14px;
        margin-right: 50px;
    }
    .m-catorgaory .navigate-btns {
        padding: 0 20px;
    }
    .m-catorgaory .navigate-btns .navigate-btn {
        width: 35px;
        height: 35px;
    }

    /* 产品信息 */
    .m-product-info {
        max-width: 95%;
        margin: 40px auto;
    }
    .m-product-info .product-image {
        height: 500px;
    }
    .m-product-info .txt-bg {
        font-size: 120px;
    }
    .m-product-info .product-info-bottom .left {
        width: 350px;
    }
    .m-product-info .product-info-bottom .right {
        width: calc(100% - 350px);
    }
    .m-product-info .product-info-bottom .right .right-top-item {
        height: 150px;
    }
    .m-txt-box {
        padding: 30px 35px;
    }
    .m-txt-box > .title {
        font-size: 26px;
    }
    .m-txt-box > .ct {
        font-size: 16px;
    }

    /* 产品参数 */
    .m-product-num {
        margin: 150px auto;
        flex-direction: column;
    }
    .m-product-num-list {
        width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
    }
    .m-product-num-list > .title {
        font-size: 26px;
        margin-bottom: 40px;
        font-family: "Didot", "Bodoni MT", "Playfair Display", serif;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .m-product-num-list > .list > .left {
        width: 200px;
    }

    /* 视频 */
    .m-product-video {
        height: 600px;
    }
    .m-product-video .video {
        height: 600px;
    }

    /* 图片相册 */
    .m-product-photo .product-photo-wrap {
        margin: 0 30px;
    }
    .m-product-photo .img-item {
        max-height: 300px;
    }
}

/* 手机端 (最大 767px) */
@media screen and (max-width: 767px) {
    /* Banner */
    .m-product-banner {
        height: 400px;
    }

    /* 分类导航 */
    .m-catorgaory {
        width: 95%;
        top: 80px;
        height: 50px;
        padding: 0 40px;
        border-radius: 25px;
    }
    .m-catorgaory .catorgaory-wrap {
        left: 40px;
        right: 40px;
    }
    .m-catorgaory .catorgaory-item {
        font-size: 12px;
        margin-right: 30px;
        white-space: nowrap;
    }
    .m-catorgaory .navigate-btns {
        padding: 0 10px;
    }
    .m-catorgaory .navigate-btns .navigate-btn {
        width: 28px;
        height: 28px;
        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-product-info {
        max-width: 95%;
        margin: 30px auto;
        border-radius: 25px;
        padding-bottom: 20px;
    }
    .m-product-info .product-image {
        height: 300px;
        border-radius: 25px 25px 0 0;
    }
    .m-product-info .txt-bg {
        font-size: 60px;
    }
    .m-product-info .product-img-wrap{
        position: relative;
        max-width: 80%;
    }
    .m-product-info .product-img {
        height: auto;
    }
    .m-product-info .product-info-bottom {
        flex-direction: column;
    }
    .m-product-info .product-info-bottom .left {
        width: 100%;
        border-bottom: 1px solid #e1e1e1;
    }
    .m-product-info .product-info-bottom .right {
        width: 100%;
        border-left: none;
    }
    .m-product-info .product-info-bottom .right .right-top {
        flex-direction: column;
    }
    .m-product-info .product-info-bottom .right .right-top-item {
        width: 100%;
        height: auto;
        min-height: 120px;
        border-left: none;
        border-bottom: 1px solid #e1e1e1;
    }
    .m-product-info .product-info-bottom .right .right-top-item:last-child {
        border-bottom: none;
    }

    /* 文本框 */
    .m-txt-box {
        padding: 25px 20px;
    }
    .m-txt-box > .title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .m-txt-box > .ct {
        font-size: 14px;
        line-height: 1.6;
    }
    .m-txt-box > .ct .list.bot::before {
        width: 8px;
        height: 8px;
        margin-right: 8px;
    }

    /* 颜色选择 */
    .m-choose .choose-item {
        width: 24px;
        height: 24px;
        margin-left: 12px;
        transition: all 0.3s ease;
        border: 2px solid rgba(0,0,0,0.3);
        box-sizing: border-box;
    }
    .m-choose .choose-item:hover {
        transform: scale(1.12);
        filter: brightness(1.2);
        box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);
    }
    .m-choose .choose-item.active {
        box-shadow: 0 0 12px 4px var(--color), 0 0 24px 8px rgba(0,0,0,0.2);
        border-color: transparent;
        transform: scale(1.08);
    }
    .m-choose .choose-item.active::after {
        width: 24px;
        height: 24px;
    }

    /* 产品参数 */
    .m-product-num {
        margin: 80px auto;
        padding: 0 20px;
    }
    .m-product-num-list {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    .m-product-num-list > .title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .m-product-num-list > .list {
        min-height: 50px;
        font-size: 13px;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .m-product-num-list > .list > .left {
        width: 100%;
        margin-bottom: 8px;
    }

    /* 视频 */
    .m-product-video {
        height: auto;
        margin-bottom: 30px;
    }
    .m-product-video .video {
        height: auto;
        width: 100%;
        max-height: 400px;
    }

    /* 图片相册 */
    .m-product-photo .product-photo-wrap {
        margin: 0 15px;
    }
    .m-product-photo .img-item {
        width: 100%;
        max-width: 100%;
        max-height: 250px;
        margin-right: 0 !important;
    }
    .m-product-photo .product-photo-more-btn {
        padding: 40px 0;
    }
    .m-product-photo .btn-item {
        width: 100px;
        height: 100px;
        font-size: 12px;
    }
}

/* 小屏手机 (最大 480px) */
@media screen and (max-width: 480px) {
    .m-product-banner {
        height: 300px;
    }

    .m-catorgaory {
        top: 88px;
        height: 45px;
        padding: 0 30px;
    }
    .m-catorgaory .catorgaory-wrap {
        left: 30px;
        right: 30px;
    }
    .m-catorgaory .catorgaory-item {
        font-size: 11px;
        margin-right: 20px;
    }

    .m-product-info .product-image {
        height: 250px;
    }
    .m-product-info .txt-bg {
        font-size: 40px;
    }

    .m-choose .choose-item {
        width: 24px;
        height: 24px;
        margin-left: 12px;
        transition: all 0.3s ease;
        border: 2px solid rgba(0,0,0,0.3);
        box-sizing: border-box;
    }
    .m-choose .choose-item:hover {
        transform: scale(1.1);
        filter: brightness(1.2);
        box-shadow: 0 0 6px 2px rgba(0,0,0,0.2);
    }
    .m-choose .choose-item.active {
        box-shadow: 0 0 10px 3px var(--color), 0 0 20px 6px rgba(0,0,0,0.2);
        border-color: transparent;
        transform: scale(1.05);
    }
    .m-choose .choose-item.active::after {
        width: 24px;
        height: 24px;
    }

    .m-txt-box {
        padding: 20px 15px;
    }
    .m-txt-box > .title {
        font-size: 18px;
    }
    .m-txt-box > .ct {
        font-size: 13px;
    }

    .m-product-num {
        margin: 60px auto;
        padding: 0 15px;
    }
    .m-product-num-list > .title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .m-product-num-list > .list {
        font-size: 12px;
        padding: 15px 0;
    }

    .m-product-photo .product-photo-wrap {
        
    }
    .m-product-photo .img-item {
        max-height: 200px;
    }
    .m-product-photo .btn-item {
        width: 80px;
        height: 80px;
        font-size: 11px;
    }
}