/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 2025   *
* / /_\ | | _____  _| |_/ /_ __ __ _ _ __   __| |_ _ __   __ _   | |_ ___  __ _ _ __ ___   *
* |  _  | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` |  | __/ _ \/ _` | '_ ` _ \  *
* | | | | |  __/>  <| |_/ / | | (_| | | | | (_| | | | | | (_| |  | ||  __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_|  \__,_|_| |_|\__,_|_|_| |_|\__, |  \___\___|\__,_|_| |_| |_| *
*                                                         __/ |                            *
*                                                        |___/                             *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept    *
* to the terms of the License Agreement can install and use this program.                  *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com                                                *
*   email: info@alexbranding.com                                                           *
*******************************************************************************************/
.ab__vg-image_gallery_video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    justify-content: stretch;
    align-content: stretch;

    &:not(.hidden) {
        display: flex;
    }
}

.ab__vg_autoplay_video-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.ab__vg-image_gallery_video {
    cursor: pointer;
}

.ab__vg-product_list-video {
    &.hover_image {
        &.hover {
            .ab__vg-image_gallery_image {
                display: none;
            }
        }
        &:not(.hover) {
            .ab__vg-image_gallery_video-wrapper {
                .ab__vg-image_gallery_video {
                    visibility: hidden;
                }
            }
        }
    }

    .ab__vg-image_gallery_image{
        align-content: center;
    }
}

.ab__vg_video_player {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;

    video, iframe {
        width: 100%;
        height: 100%;
    }
}

.ty-product-thumbnails__item.ty-video-thumbnail {
    display: inline-flex !important;
}
