.product-video-button-listing {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    opacity: 0.8;
}

.product-video-button-listing:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    opacity: 1;
}

.product-miniature .product-list-reviews {
    position: absolute !important;
}

.video-thumbnails-popup-listing {
    position: absolute;
    bottom: 45px;
    left: 10px;
    z-index: 10000;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 8px;
    display: none;
    max-width: 220px;
    max-height: 160px;
    overflow-y: auto;
    font-size: 12px;
}

.video-thumbnails-popup-listing h5 {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #333;
    text-align: center;
}

.video-thumb-item-listing {
    display: inline-block;
    width: 55px;
    height: 35px;
    margin: 3px;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #eee;
}

.video-thumb-item-listing img,
.video-thumb-item-listing .local-video-preview-listing {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb-item-listing .video-overlay-popup-listing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-thumb-item-listing:hover .video-overlay-popup-listing {
    opacity: 1;
}

.video-thumb-item-listing .video-overlay-popup-listing i {
    color: white;
    font-size: 14px;
}

#product-video-player-popup-global {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-video-player-content-global {
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.video-container-player-global {
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    position: relative;
}

.video-container-player-global iframe,
.video-container-player-global video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#close-product-video-player-global {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease;
}

#close-product-video-player-global:hover {
    background: rgba(255, 255, 255, 0.3);
}