.pro-spec{
    display: flex;
    flex-wrap: wrap;
    background-position: center;
}
.pro-spec-box:hover img,.pro-spec-box.selected img{
    border:1px solid #fc83bf;
}

.pro-youtube-play{
    position: absolute;
    z-index: 2;
    cursor: pointer;
    background-image: url(../img/diaper/down.png);
    background-repeat: no-repeat;
    border-radius: 50%;
}
#youtube-frame{
    display: none;
    position: fixed;
    z-index: 999;
    background-color: rgba(0,0,0,0.6);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
}
.youtube-frame-box{
    position: relative;
}
.youtube-frame-close{
    position: absolute;
    background-image: url(../img/diaper/close.png);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}
#youtube-frame .youtube-frame-box iframe{
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 1920px) {
    .youtube-frame-close{
        width: 40px;
        height: 40px;
        right: 0;
        top: -50px;
    }
    .pro-youtube-play{
        width: 70px;
        height: 70px;
        bottom: 22px;
        left: 5px;
        border: 5px solid #FFC848;
        background-position: 60%;
    }
    #youtube-frame .youtube-frame-box {
        width: 800px;
        height: 500px;
    }
    .pro-spec {
        margin-top: 18px;
    }

    .pro-spec-box {
        width: 106px;
        margin-right: 17px;
        height: 106px;
        margin-bottom: 19px;
    }
}
@media screen and (min-width: 800px) and (max-width: 1919px) {
    .youtube-frame-close{
        width: 4.12vw;
        height: 4.12vw;
        right: 0;
        top: -4.2vw;
    }
    .pro-youtube-play{
        width: 4.5vw;
        height: 4.5vw;
        bottom: 1.2vw;
        left: 0.2vw;
        border: 0.3vw solid #FFC848;
        background-size: 1.5vw;
        background-position: 60%;
    }
    #youtube-frame .youtube-frame-box{
        width: 48.251vw;
        height: 30.157vw;
    }
    .pro-spec {
        margin-top: 0.9vw;
    }

    .pro-spec-box {
        width: 6.2vw;
        margin-right: 0.9vw;
        height: 6.2vw;
        margin-bottom: 1vw;
    }
}
@media screen and (max-width: 799px) {
    .youtube-frame-close{
        width: 7vw;
        height: 7vw;
        right:  0;
        top: -7.5vw;
    }
    .pro-youtube-play{
        width: 20vw;
        height: 20vw;
        left: 1.5vw;
        bottom: 3vw;
        background-size: 6vw;
        background-position: 60%;
        border: 1.2vw solid #FFC848;
    }
    #youtube-frame .youtube-frame-box{
        width: 90vw;
        height: 50vw;
    }
    .pro-spec {
        margin-top: 0.9vw;
    }

    .pro-spec-box {
        flex: 0 0 20%; /* 设置子元素的flex-basis为33.33%减去间距（这里假设间距为10px） */
        padding: 1vw;
        box-sizing: border-box;
    }
    .pro-spec-box img {
        border: 1px solid #ccc; /* 添加样式以便观察每个元素的位置 */
    }
}