.video-thumb {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumb:hover {
    transform: scale(1.02);
}


.video-thumb video {
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.video-thumb video:hover {
    opacity: 0.9;
}

.video-thumb video.selected {
    opacity: 1;
}

.thumb-mask>.mask video {
    object-fit: cover;
}

.product-cover-video {
    max-width: 100%;
    width: 100%;
    margin-bottom: 6%;
    height: auto;
    border-radius: 5px;
    display: block;
}

.thumb-container.video-thumb {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb-container.video-thumb .video-thumbnail {
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.thumb-container video.thumb {
    object-fit: cover;
    vertical-align: top;
}

.product-images li.thumb-container video.thumb {
    object-fit: cover;
}

.video-thumb::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 28px;
    background: #FF0000;
    border-radius: 6px;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.video-thumb::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid white;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    transform: translate(-35%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.video-thumb:hover::after {
    transform: translate(-50%, -50%) scale(1.05);
}

.video-thumb:hover::before {
    transform: translate(-35%, -50%) scale(1.05);
}

.product-images > li.thumb-container.video-thumb .thumb.selected,
.product-images > li.thumb-container.video-thumb .thumb:hover {
    border: none;
}

.video-thumb,
.video-thumb:hover {
    box-shadow: none;
}

@media (max-width: 768px) {
    .video-thumb::after {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .product-cover-video {
        border-radius: 3px;
    }
}