.js-product-container #thumb-gallery {
    /*display: block !important;*/
}
.js-product-container #thumb-gallery .js-thumb-container {
    width: 20%;
    float: left;
    margin-bottom: 10px;
}

.thumb-image-video-container {
    /* display: block !important; */
    width: 100%;
    display: block;
    overflow: hidden;
    margin-top: 15px;
}
.thumb-image-video-container .thumb-container {
    /* width: 100% !important; */
    display: block;
    overflow: hidden;
}
.thumb-image-video-container ul {}
.thumb-image-video-container ul li {
    float: left;
    width: 20%;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.thumb-image-video-container ul li a {
    display: block;
}
.thumb-image-video-container ul li a img {
    border: 1px solid #f1f1f1;
}
.thumb-image-video-container ul li.video a img {
    border: 1px solid #ff0000;
}
.thumb-image-video-container ul li a video {
    width: 100%;
    height: auto;
}
.thumb-image-video-container ul li.video picture .video-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: #fff;
    display: block;
    position: absolute;
    top: 26px;
    left: 36px;
}
.thumb-image-video-container ul li.video picture .video-play:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 16px solid rgba(255, 255, 255, 0.5);
    border-bottom: 10px solid transparent;
    right: 100%;
    top: 15px;
    position: absolute;
    clear: both;
    left: 19px;
}

.product-cover > picture video {
    width: 100%;
    height: auto;
}

/* listing */
.js-product article.js-product-miniature .product-image .video-on-list {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    overflow-y:hidden;
}
.js-product article.js-product-miniature .product-image .video-on-list video {
    width: 100%;
    height: auto;
}

.thumb-container .video-thumb {
    width: 100%;
    height: auto;
}

.product-miniature .product-image > a {
    display: none;
}

.product-miniature .product-image {
    aspect-ratio: 213/298;
}

.products article.js-product-miniature .product-image .video-on-list a {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 213/298;
    background-color: #F2ECE2;
}

.thumbnail-container a.product-thumbnail .product-additional img {
    background-color: #F2ECE2;
}

.products article.js-product-miniature .product-image .video-on-list a video {
    width: 100%;
}

@media screen and (max-width: 992px) {
    .thumb-image-video-container ul li.video picture .video-play {
        width: 40px;
        height: 40px;
        top: 17px;
        left: 16px;
    }
    .thumb-image-video-container ul li.video picture .video-play::before {
        top: 11px;
        left: 16px;
    }

    .images-container #thumb-gallery {
        /* display: none !important; */
    }

    .mobile-slick .video-play {
        left: 45px !important;
        top: 30px !important;
    }

    .product-cover > video {
        max-width: 100%;
    }

    .products article.js-product-miniature .product-image .video-on-list {
        display: flex;
        justify-content: center;
        align-items: center;
        aspect-ratio: 213/298;
        overflow-y:hidden;
    }
    .products article.js-product-miniature .product-image .video-on-list video {
        width: 100%;
        height: auto;
    }

    .slick-list {
        width: 75%;
        margin: auto;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #thumb-gallery2 {
        height: 40px;
        max-height: 40px;
        overflow: hidden;
        display: flex;
        align-items: center;
        width: 90%;
        margin: auto;
        /* background-color: #FCF8F1; */
        /* border-radius: 32px; */
    }

    #thumb-gallery2 span.dot::after {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #D9D9D9;
        border: 1px solid #D9D9D9;
    }

    #thumb-gallery2 .slick-current span.dot::after {
        background-color: #1F1E1D;
        width: 14px;
        height: 14px;
        border-color: #1E1E20;
    }

    #thumb-gallery2 .slick-track {
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 768px) {
    #thumb-gallery2 {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .images-container {
        background-color: #F4F4F4;
        padding-bottom: 20px;
    }
}
