/**
* 2007-2022 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-2022 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.
*/
.shtt-tooltip-mobile-link {
    margin-bottom: 25px;
}

.shtt-tooltip .image-wrapper {
    position: relative;
    width: 100%;
}

.shtt-tooltip .image-wrapper::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 2px solid #fff;
}

.shtt-tooltip .image {
    width: 100%;
    height: auto;
}

.shtt-tooltip .cursor {
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    translate: -50% -50%;
    cursor: pointer;
}

.shtt-tooltip .cursor::after {
    content: '';
    position: absolute;
    z-index: -1;
    animation: cursorAnimation 2s ease-out infinite;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255 255 255 / 50%);
    translate: -50% -50%;
}

.shtt-tooltip .tooltip {
    position: absolute;
    top: 12px;
    left: 50%;
    translate: -50% -100%;
    width: calc(100% - 30px);
    max-width: 350px;
    padding-bottom: 3px;
    opacity: 0;
    pointer-events: none;
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: unset;
}

.shtt-tooltip .cursor:hover + .tooltip,
.shtt-tooltip .tooltip:hover {
    opacity: 1;
    padding-bottom: 40px;
    pointer-events: all;
}

.shtt-tooltip .tooltip-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
}

.shtt-tooltip .tooltip-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: calc(50% - 7.5px);
    width: 0;
    height: 0;
    border-left: 7.5px solid transparent;
    border-right: 7.5px solid transparent;
    border-top: 15px solid white;
}

.shtt-tooltip .tooltip .name {
    font-family: 'new-spirit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 8px;
}

.shtt-tooltip .tooltip .description {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 8px;
}

.shtt-tooltip .tooltip .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 16px;
}

.shtt-tooltip .tooltip .link {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--secondary);
}

.shtt-tooltip .tooltip .link:hover {
    color: var(--primary);
}

@keyframes cursorAnimation {
    0% {
        /* width: 100%;
        height: 100%; */
        scale: 1;
        opacity: 1;
    }

    50% {
        /* width: 175%;
        height: 175%; */
        scale: 1.75;
        opacity: 1;
    }

    100% {
        /* width: 200%;
        height: 200%; */
        scale: 2;
        opacity: 0;
    }
}

@media (min-width: 992px) {
    .shtt-tooltip-mobile-link {
        display: none;
    }
}

@media (max-width: 991px) {
    .shtt-tooltip .cursor {
        display: none;
    }
}

@media (max-width: 575px) {
    .shtt-tooltip .image-wrapper::before {
        border-width: 1px;
        top: 4px;
        left: 4px;
        width: calc(100% - 8px);
        height: calc(100% - 8px);
    }
}