#productVideoModal .modal-dialog {
    width: calc(100% - 320px);
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    padding-top: 80px;
}

#productVideoModal .modal-content {
    position: relative;
    background: #0b0b0b;
    color: #fff;
    border: none;
}

#productVideoModal .modal-content .modal-container_video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

#productVideoModal iframe {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: #000;
}

#productVideoModal .product-video-close {
    position: absolute;
    right: -50px;
    top: -10px;
    width: 50px;
    height: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 1101;
    cursor: pointer;
}

#productVideoModal .product-video-close svg {
    display: block;
    width: 24px;
    height: 24px;
}

@media (max-width: 1200px) {
    #productVideoModal .modal-dialog {
        padding-top: 0;
    }
}

@media (max-width: 960px) {
    #productVideoModal .modal-dialog {
        width: calc(100% - 180px);
    }
}

@media (max-width: 576px) {
    #productVideoModal {
        background-color: rgba(0, 0, 0, 0.85);
    }

    .modal-backdrop.show {
    opacity: 0;
}

    #productVideoModal .modal-dialog {
        width: calc(100% - 48px);
        max-width: 100%;
    }

    #productVideoModal .modal-content {
        /* height: 100vh; */
    }

    #productVideoModal .modal-body {
        padding: 0;
        display: flex;
        align-items: center;
    }

    #productVideoModal .modal-content .modal-container_video {
        width: 100%;
    }

    #productVideoModal .modal-body>div {
        height: 100%;
        padding-bottom: 0;
    }

    #productVideoModal iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #productVideoModal .product-video-close {
        right: 8px;
        top: 8px;
        width: 44px;
        height: 44px;
        padding: 4px;
    }

    #productVideoModal .product-video-close svg {
        width: 20px;
        height: 20px;
    }

    #productVideoModal .product-video-close {
        position: absolute;
        right: -15px;
        top: -50px;
        width: 50px;
        height: 50px;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        box-shadow: none;
        z-index: 1101;
        cursor: pointer;
    }

}