/**
* 2007-2025 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-2025 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.
*/

/*product slider*/
.th3d_effect{
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product_image_wrapper .th3d_effect{
    top: 0px;
}
article.product-item{
    padding-top:20px !important;
}

.product-image .product-thumbnail .product-card-inner-image {
    transition-duration: 1s;
    opacity: 1!important;
    z-index: 1!important;
}
.product-image .product-thumbnail .roy_secondimg {
    z-index: 0!important;
    transform: rotateY(180deg) !important;
    left: unset;
    right: unset;
}
.product-image.th3d_effect_active .product-thumbnail .roy_secondimg {
    z-index: 1 !important;
    transform: rotateY(0deg) !important;
}
.product-image.th3d_effect_active .product-thumbnail .product-card-inner-image{
    z-index: 0 !important;
}
.product-image .product-thumbnail img, .product-image .product-thumbnail .product-card-inner-image {
    opacity: 1!important;
    transition: 1s;
}
.th3d_effect_active .product-thumbnail .product-card-inner-image {
    transform: rotateY(180deg) !important;
}

.thumbnail-container .product-image .thumbnail {
    display: flex !important;
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    justify-content: center;
    align-items: center;
}
.thumbnail-container:hover .roy_secondimg {
    opacity: 0;
    transform: unset;
}
.th3d_effect .th3d_effect_btn:hover svg {
    fill: #5813a2;
}
/*product slider*/

@media only screen and (max-width: 580px) {
    .product-flags{
        top: 25px !important;
    }
}
/*product page*/

.product-images_custom .thumb-container img {
    width: 100%;
    pointer-events: none;
}
.product-images_custom .thumb-container:nth-of-type(2){
    position:absolute;
    top: 0;
}
.product-images_custom{
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-images_custom .thumb-container.selected{
    z-index: 1;
    transform: rotateY(0deg) !important ;
}
.product-images_custom .thumb-container{
    opacity: 1;
    z-index: 0;
}
.product-images_custom .thumb-container{
    transition: 1s;
    display: block;
    width: 100%;
    height: auto;
    backface-visibility: hidden; /* Hides the back image when flipped */
    transform: rotateY(180deg) !important;
}
/*product page */
