
.product_video_item {
    width: 3.36rem;
    cursor: pointer;
    margin-bottom: 0.11rem;
}

.product_video_item .product_video_img {
    width: 100%;
    height: 5.16rem;
    overflow: hidden;
    margin-bottom: 0.21rem;
    position: relative;
}

.product_video_item .product_video_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_video_item .product_video_img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(13, 34, 64, 0.3);
    top: 0;
    left: 0;
}

.product_video_item .product_video_img .product_video_icon {
    width: 0.49rem;
    height: 0.49rem;
    object-fit: contain;
    position: absolute;
    bottom: 0.13rem;
    right: 0.17rem;
    transition: 0.5s;
}

.product_video_item .product_video_title {
    width: 100%;
    font-family: Poppins-Regular;
    font-weight: 400;
    font-size: 0.18rem;
    color: #0D2240;
    line-height: 0.25rem;
    text-align: center;
}

.product_video_item:hover .product_video_title {
    color: #FB8C00;
}

.product_video_item:hover .product_video_img .product_video_icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}







/* æ¨¡æ€æ¡†æ ·å¼ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 22%;
    max-width: 4.2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.video-container {
    position: relative;
    width: 100%;
    max-height: 7.5rem;
    padding-top: 175%;
    background: #000000;
    /* 16:9 å®½é«˜æ¯” */
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

.video-controls {
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 0.28rem;
    flex-wrap: wrap;
    padding: 0 0.14rem;
    box-sizing: border-box;
}
.video-controls .video_top{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.15rem;
}
.video-controls .video_top .video_fr,
.video-controls .video_top .video_fl{
    display: flex;
}
.play-pause {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 0.07rem;
    width: 0.22rem;
    height: 0.22rem;
}

.progress-bar {
    flex-grow: 1;
    height: 0.07rem;
    background: #fff;
    border-radius: 0.1rem;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #FB8C00;
    border-radius: 0.1rem;
    width: 0%;
}

.time {
    font-family: 'Poppins-Regular';
    font-weight: 400;
    font-size: 0.16rem;
    color: #FFFFFF;
}

.mute-btn,
.fullscreen-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 0.22rem;
    height: 0.22rem;
    margin-left: 0.05rem;
}
.play-pause i,
.mute-btn i,
.fullscreen-btn i{
    width: 0.22rem;
    height: 0.22rem;
    display: block;
}
.mute-btn .volume-up{
    background: url(../img/common/volume-up.png) center no-repeat;
    background-size: contain;
}
.mute-btn .volume-mute{
    background: url(../img/common/volume-mute.png) center no-repeat;
    background-size: contain;
}
.play-pause .pause{
    background: url(../img/common/pause.png) center no-repeat;
    background-size: 0.2rem 0.2rem;
}
.play-pause .play{
    background: url(../img/common/play.png) center no-repeat;
    background-size: 0.2rem 0.2rem;
}
.fullscreen-btn i{
    background: url(../img/common/fa-expand.png) center no-repeat;
    background-size: contain;
}





.close-modal {
    position: absolute;
    top: 1.32rem;
    right: 1.6rem;
    border: none;
    background: none;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.modal-title {
    margin-top: 0.36rem;
    font-family: Poppins-SemiBold;
    font-weight: 600;
    font-size: 0.25rem;
    color: #FFFFFF;
    line-height: 0.25rem;
    text-align: center;
}

.videoDownload{
   width: 2.45rem;
   height: 0.7rem;
   background: #FB8C00;
   border-radius: 0.1rem 0.1rem 0.1rem 0.1rem;
   display: flex;
   gap:0.1rem;
   position: absolute;
   right: 1.6rem;
   bottom: 1.96rem;
   align-items: center;
   justify-content: center;
   cursor: pointer;
}

.videoDownload>img{
    width: 0.33rem;
    height: 0.33rem;
}
.videoDownload>p{
    font-family: Poppins-Regular;
    font-weight: 400;
    font-size: 0.23rem;
    color: #FFFFFF;
}

.pwdWrap{
    width: 7rem;
    height: 2rem;
    background: #FFFFFF;
    border-radius: 0.1rem 0.1rem 0.1rem 0.1rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
        padding:0.46rem 0;
}

.pwdTip{
    text-align: center;
    font-family: Poppins-Regular;
    font-weight: 400;
    font-size: 0.2rem;
    color: #000000;
}
.pwdContent{
    display: flex;
    gap: 0.13rem;
    margin-left: 0.41rem;
    margin-top: 0.25rem;
}
.pwdContent>input{
    width: 3rem;
    height: 0.5rem;
    background: #F4F4F4;
    border-radius: 0.05rem 0.05rem 0.05rem 0.05rem;
    padding-left: 0.1rem;
}

.pwdContent>button{
    width: 1.33rem;
    height: 0.5rem;
    background: #FB8C00;
    border-radius: 0.05rem 0.05rem 0.05rem 0.05rem;
    border: none;
    outline: none;
    font-family: Poppins-SemiBold;
    font-size: 0.18rem;
    color: #FFFFFF;
    text-align: center;
    line-height: 0.5rem;
    cursor: pointer;
}









@media (max-width: 1042px) {
    .product_video_item .product_video_title{
        font-size: 0.28rem;
        line-height: 1.2;
    }
    
    
    .modal-content{
        width: 80%;
        max-width: 80%;
        top: 46%;
    }
    .close-modal{
        right: 6%;
        top: 4%;
    }
    .modal-title{
        font-size: 14px;
    }
    .videoDownload{
        right: 50%;
        transform: translateX(50%);
        bottom: 5%;
    }
    .videoDownload>p,
    .time{
        font-size: 14px;
    }
    .play-pause,
    .mute-btn, 
    .fullscreen-btn,
    .play-pause i, .mute-btn i, .fullscreen-btn i,
    .play-pause .play{
        width: 18px;
        height: 18px;
        background-size: contain !important;
    }
}