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

.products-on-image
.main-image-wrap {
		display: inline-block;
		position: relative;
		max-width: 100%;
}
.products-on-image
.marker {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: transparent;
    border: none;
    outline: none;
    transform: rotate(-225deg);
    transition: .6s all cubic-bezier(0,1,0.9,1);
}
.products-on-image
.marker.active {
    z-index: 6000;
    transform: rotate(0deg);
    transition: .6s all cubic-bezier(0,1,0.9,1);
}

.products-on-image
.marker:before {
    background: rgba(255,255,255,0.35);
    border: 1.01719px solid #fff;
    content: "";
    position: absolute;
    border-radius: 100%;
    z-index: 2;
    width: 70%;
    height: 70%;
    animation: pulse-ring 1.25s cubic-bezier(0.215,0.61,0.355,1) infinite;
}

.products-on-image
.marker:after {
    background: #0077C2;
    border: 1px solid black;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    content: "";
    position: absolute;
    width: 24.41px;
    height: 24.41px;
    border-radius: 100%;
    z-index: 4;
    animation: pulse-dot 1.25s cubic-bezier(0.455,0.03,0.515,0.955) -0.4s infinite;
}

.products-on-image
.marker:focus {
    outline: 1px solid #000;
}

.products-on-image
.main-image {
    position: relative;
}


.products-on-image
.content
.close-btn {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.products-on-image
.marker
svg {
    position: relative;
    width: 24.41px;
    height: 24.41px;
    z-index: 5;
    opacity: 0;
    transition: .3s all ease;
}

.products-on-image
.marker.active
svg {
    opacity: 1;
    transition: .3s all ease;
}
.products-on-image
.marker
.content {
    color: #353940;
    position: absolute;
    display: flex;
    align-items: center;
    width: 400px;
    gap: 15px;
    background: #fff;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.45));
    transform: scale(0.1);
    opacity: 0;
    transition: .3s all cubic-bezier(1,0.6,0.2,0);
    padding: 15px;
    padding-right: 20px;
    bottom: 40px;
    left: 40px;
    transform-origin: bottom left;
}

.products-on-image
.marker.right
.content {
    bottom: auto;
    right: 40px;
    left: auto;
    top: 40px;
}

.products-on-image
.marker
.content .img-wrap{
    width: 50%;
}

.products-on-image
.marker
.content .img-wrap img{
    max-width: 100%;
    height: auto;

}

.products-on-image
.marker.active
.content {
    text-align: center;
    transform: scale(1);
    opacity: 1;
    transition: .6s all cubic-bezier(0,1,0.9,1);
    pointer-events: initial;
}
.products-on-image
.marker
.content .features {
    margin-bottom: 5px;
}

.products-on-image .btn-default {
    padding: 0;
    height: 28px;
    width: 90px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
}

@media (max-width: 760px) {

    .products-on-image
    .marker
    svg {
        position: relative;
        width: 16px;
        height: 16px;
    }

    .products-on-image
    .marker:after {
        width: 16px;
        height: 16px;
    }

    .products-on-image
    .marker
    .content {
        width: 170px;
        gap: 5px;
        padding: 5px;
        font-size: 12px;
        padding-right: 10px;
        flex-direction: column;
    }


    .products-on-image
    .marker
    .content .img-wrap{
        width: 60%;
    }

    .products-on-image
    .marker
    .content .features {
        display: none;
    }

    .products-on-image
    .marker {
        width: 20px;
        height: 20px;
    }
    .products-on-image .marker .content {
        left: 20px;
        bottom: 20px;
    }
    .products-on-image .marker.right .content {
        right: 20px;
        top: 20px;
    }
    .products-on-image .btn.btn-default {
        padding: 4px 8px;
        width: auto;
        height: auto;
    }
    .products-on-image .btn.btn-default span {
        font-size: 12px;
    }

    .products-on-image
    .content
    .close-btn {
        width: 15px;
        height: 15px;
        line-height: 15px;
    }

    .products-on-image
    .marker {
        opacity: 0;
    }
    .products-on-image.loaded
    .marker {
        opacity: 1;
    }

    .products-on-image .btn.btn-default {
        height: auto;
        width: auto;
        padding: 2px 3px;
        display: inline-flex;
        position: absolute;
        right: 10px;
        bottom: 10px;
    }

    .products-on-image .btn.btn-default svg{
        width: 13px;
        height: 13px;
    }
    .products-on-image .visible-xs {
        display: flex !important;
    }
}
@media (max-width: 1024px) {
    .toggle-marker-button {
        position: absolute;
        z-index: 20;
        left: 10px;
        top: 10px;
        border-radius: 6px;
        background: #fcd100;
        width: 26px;
        height: 20px;
        padding: 0 3px;
    }

    .toggle-marker-button svg{
        fill: white;
    }

    .products-on-image .visible-sm {
        display: flex !important;
    }
}


@keyframes pulse-ring{00%{transform:scale(0.33)}
    80%,100%{opacity:0}
}
@keyframes pulse-dot{00%{transform:scale(0.8)}
    50%{transform:scale(1)}
    100%{transform:scale(0.8)}
}
