/**
* 2007-2023 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2023 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/


.video-small-preview .js-thumb {
    object-fit: cover;
    object-position: center;
}
.video-small-preview {
    position: relative;
}
.video-btn-samll {
    cursor: pointer;
    position: absolute;
    top: 36%;
    left: 44%;
    transform: translate(-50%,-50%);
    width: 56px;
    font-size: 0;
    line-height: 1;
    border-radius: 50%;
    background-color: rgba(36,36,36,.8);
    display: inline-block;
    vertical-align: middle;
    width: 53px;
    height: 53px;
}

.video-btn-samll::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 56px;
    font-size: 0;
    line-height: 1;
    border-radius: 50%;
    background-color: rgba(36,36,36,.8);
    display: inline-block;
    vertical-align: middle;
}

.video-btn-samll::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: block;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid #fff;
}

#preview_video_background {
    filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}
#video_cover {
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
}
.video_cover {
    display: none;
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
}
.active-video {
    border: #24b9d7 3px solid;
}

.product-miniature .video_cover {
    max-width: unset;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.product-miniature-grid .product-functional-buttons-bottom {
    width: 100%;
    bottom: 0;
}

 .product-miniature-grid:hover .product-functional-buttons-bottom {
    z-index: 9999;
 }

#product .product-cover {
  overflow-anchor: none;
}

#product-images-thumbs .thumb-container.video-small-preview {
    padding: 0;
}

.product-cover .js-video-placeholder-slide .iqitextened-img-thumb-video {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {

.product-miniature-grid .product-availability {
  position: unset;
  transform: unset;
}

.product-miniature-grid:hover .product-functional-buttons-bottom {
      transform: unset;
    }

.product-miniature-grid .product-functional-buttons {
  position: relative;
  opacity: 1;
  background: transparent;
  transform: unset;
  left: unset;
}

.product-miniature-grid .product-functional-buttons a.js-quick-view-iqit {display: none;}
}