/**********************/
/* Hotspot trigger animations*/
/**********************/


/* Animations */

@-webkit-keyframes wdt-soft-beat
{
    from
    {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
    to
    {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
}
@keyframes wdt-soft-beat
{
    from
    {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
    to
    {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
}

@-webkit-keyframes wdt-expand
{
    0%
    {
        -webkit-transform: scale(.5);
                transform: scale(.5);

        opacity: 1;
    }
    to
    {
        -webkit-transform: scale(1.5);
                transform: scale(1.5);

        opacity: 0;
    }
}
@keyframes wdt-expand
{
    0%
    {
        -webkit-transform: scale(.5);
                transform: scale(.5);

        opacity: 1;
    }
    to
    {
        -webkit-transform: scale(1.5);
                transform: scale(1.5);

        opacity: 0;
    }
}

@keyframes ripple
{
    0%
    {
        transform: scale(1);

        opacity: .8;
    }
    45%
    {
        transform: scale(1.75);

        opacity: 0;
        border-width: 10;
    }
}

/* Soft Beat */

.wdt-advanced-hotspot-soft-beat
{
    -webkit-animation: wdt-soft-beat .7s infinite alternate;
            animation: wdt-soft-beat .7s infinite alternate;
    -webkit-animation-timing-function: ease;
            animation-timing-function: ease;
}

/* Expand */

.wdt-advanced-hotspot-expand:before
{
    -webkit-animation: wdt-expand 2s infinite;
            animation: wdt-expand 2s infinite;
}

.wdt-advanced-hotspot-expand:before
{
    position: absolute;
    z-index: -1;

    width: 100%;
    height: 100%;

    content: '';

    opacity: 0;
    border-radius: inherit;
    background-color: inherit;
}

/* Overlay */

.wdt-advanced-hotspot-overlay
{
    -webkit-transition: opacity .2s;
         -o-transition: opacity .2s;
            transition: opacity .2s;
;

    opacity: .7;
}
.wdt-advanced-hotspot-item-active .wdt-advanced-hotspot-overlay
{
    opacity: 1;
}

/* Ripple */

.wdt-advanced-hotspot-ripple:before
{
    -webkit-animation: ripple 3s ease-out infinite;
            animation: ripple 3s ease-out infinite;
}

.wdt-advanced-hotspot-ripple:before
{
    position: absolute;
    z-index: -1;

    width: 100%;
    height: 100%;

    content: '';

    opacity: 0;
    border-width: 2px;
    border-style: solid;
    border-color: inherit;
    border-radius: inherit;
}

.wdt-advanced-hotspot-item-active .wdt-advanced-hotspot-item-trigger.wdt-advanced-hotspot-ripple:before
{
    -webkit-animation-play-state: paused;
            animation-play-state: paused;
}

.wdt-advanced-tooltip-content {
    display: none;
}

.wdt-advanced-tooltip-content.active {
    display: block;
}

/**********************/
/* Tooltip animations*/
/**********************/

/* Scale */
.tippy-box[data-animation=scale][data-placement*=top]
{
    transform-origin: bottom;
}
.tippy-box[data-animation=scale][data-placement*=bottom]
{
    transform-origin: top;
}
.tippy-box[data-animation=scale][data-placement*=left]
{
    transform-origin: right;
}
.tippy-box[data-animation=scale][data-placement*=right]
{
    transform-origin: left;
}
.tippy-box[data-animation=scale][data-state=hidden]
{
    transform: scale(.5);

    opacity: 0;
}

/* Perspective */
.tippy-box[data-animation=perspective][data-placement^=top]
{
    transform-origin: bottom;
}
.tippy-box[data-animation=perspective][data-placement^=top][data-state=visible]
{
    transform: perspective(700px);
}
.tippy-box[data-animation=perspective][data-placement^=top][data-state=hidden]
{
    transform: perspective(700px) translateY(8px) rotateX(60deg);
}
.tippy-box[data-animation=perspective][data-placement^=bottom]
{
    transform-origin: top;
}
.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=visible]
{
    transform: perspective(700px);
}
.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=hidden]
{
    transform: perspective(700px) translateY(-8px) rotateX(-60deg);
}
.tippy-box[data-animation=perspective][data-placement^=left]
{
    transform-origin: right;
}
.tippy-box[data-animation=perspective][data-placement^=left][data-state=visible]
{
    transform: perspective(700px);
}
.tippy-box[data-animation=perspective][data-placement^=left][data-state=hidden]
{
    transform: perspective(700px) translateX(8px) rotateY(-60deg);
}
.tippy-box[data-animation=perspective][data-placement^=right]
{
    transform-origin: left;
}
.tippy-box[data-animation=perspective][data-placement^=right][data-state=visible]
{
    transform: perspective(700px);
}
.tippy-box[data-animation=perspective][data-placement^=right][data-state=hidden]
{
    transform: perspective(700px) translateX(-8px) rotateY(60deg);
}
.tippy-box[data-animation=perspective][data-state=hidden]
{
    opacity: 0;
}

/* shift-away */
.tippy-box[data-animation=shift-away][data-state=hidden]
{
    opacity: 0;
}
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=top]
{
    transform: translateY(10px);
}
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=bottom]
{
    transform: translateY(-10px);
}
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=left]
{
    transform: translateX(10px);
}
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=right]
{
    transform: translateX(-10px);
}

/* shift-toward */
.tippy-box[data-animation=shift-toward][data-state=hidden]
{
    opacity: 0;
}
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top]
{
    transform: translateY(-10px);
}
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom]
{
    transform: translateY(10px);
}
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left]
{
    transform: translateX(-10px);
}
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right]
{
    transform: translateX(10px);
}

/* Others */

.wdt-advanced-hotspot-holder
{
    position: relative;
}

.wdt-advanced-hotspot-holder .wdt-advanced-hotspot-repeater-item
{
    position: absolute;
}

.wdt-advanced-hotspot-item-trigger
{
    position: relative;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    padding: 10px;

    -webkit-transition: var(--wdt-elementor-base-transition);
            transition: var(--wdt-elementor-base-transition);
    -webkit-transform: translateZ(0);
            transform: translateZ(0);

    border-color: var(--wdt-elementor-color-primary);
    border-radius: 0;
    background-color: var(--wdt-elementor-color-primary);
}

.wdt-advanced-hotspot-item-active .wdt-advanced-hotspot-item-trigger
{
    border-color: var(--wdt-elementor-color-secondary);
    background-color: var(--wdt-elementor-color-secondary);
}

.wdt-advanced-hotspot-item-trigger > *:not(:last-child)
{
    margin: 0 10px 0 0;
}

/* Hotspot Item Default */

.wdt-advanced-hotspot-item-trigger div[class*="wdt-advanced-hotspot-item-"]
{
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    -webkit-transition: var(--wdt-elementor-base-transition);
            transition: var(--wdt-elementor-base-transition);

    color: var(--wdt-elementor-color-white);
}

.wdt-advanced-hotspot-item-active .wdt-advanced-hotspot-item-trigger .wdt-advanced-hotspot-item-default
{
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

/* Tool Tip */

.wdt-advanced-hotspot-item-tooltip
{
    display: none;
    visibility: hidden;
}

.wdt-advanced-hotspot-holder .tippy-box
{
    padding: 0;

    border-radius: 0;
    background: transparent;
}
.wdt-advanced-hotspot-holder .tippy-box .tippy-content
{
    padding: 20px;

    border-radius: 0;
}

.wdt-advanced-hotspot-holder .tippy-box .tippy-content h5
{
    line-height: 1;

    margin: 0 0 15px;

    -webkit-transition: var(--wdt-elementor-base-transition);
            transition: var(--wdt-elementor-base-transition);
}

.wdt-advanced-hotspot-holder .tippy-box .tippy-content p
{
    margin: 0;

    -webkit-transition: var(--wdt-elementor-base-transition);
            transition: var(--wdt-elementor-base-transition);
}

/*custom css*/
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-holder img{ border-radius: 22px; }
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger {
    position: relative; z-index: 1; background: var(--wdtPrimaryColor); border-radius: 50%; -webkit-border-radius: 50%; padding: 11px; 
}
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger:before {
     -webkit-transition: var(--wdtBaseTransition); transition: var(--wdtBaseTransition);  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: var(--wdtRadius_Full); box-shadow: 0 0 0 0px rgba(var(--wdtPrimaryColorRgb), 0.28), 0 0 0 12px rgba(var(--wdtPrimaryColorRgb), 0.28);
}
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger:after {
    content: ''; position: absolute; width: 32px; height: 32px; border-width: 2px; border-color: var(--wdtPrimaryColor); border-style: solid; border-radius: var(--wdtRadius_Full); 
}
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger .wdt-advanced-hotspot-item-default i {
    display: none;
}
.wdt-custom-home-2-hotspot .tippy-box .tippy-content { width: 240px; margin-bottom: 50px; }
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-holder .tippy-box .tippy-content { padding: 20px 24px; background: rgba(var(--wdtHeadAltColorRgb), 0.9); border-radius: 10px; -webkit-border-radius: 10px; background-color: rgba(var(--wdtBodyBGColorRgb), 0.75);box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.01);backdrop-filter: saturate(180%) blur(20px);border-radius: 15px; text-align: left; }
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-holder .tippy-box .tippy-content h5 { color: var(--wdtHeadAltColor); font-size: clamp(1.125rem, 1.0962rem + 0.1282vw, 1.25rem);margin-bottom: 5px; font-weight: var(--wdtFontWeight_Ext); text-transform: uppercase; padding-bottom: 10px; }
.wdt-custom-home-2-hotspot .wdt-advanced-hotspot-holder .tippy-box .tippy-content p { font-size: var(--wdtFontSize_Base); color: var(--wdtBodyTxtColor); }

@keyframes ring{
    0% {
        width: 30px; height: 30px; opacity: 1;
    }
    100% {
        width: 50px; height: 50px; opacity: 0;
    }
}

/*Hotspot with product*/
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder  { display: grid; grid-template-columns: 1fr 1.25fr; }
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder img { grid-area: 1/2; border-radius: 0px; }
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder .wdt-advanced-hotspot-items-holder { grid-area: 1/1; padding-right: clamp(1.25rem, 0.0962rem + 5.1282vw, 6.25rem); } 
/* .wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder .wdt-advanced-tooltip-content { width: 350px; background: var(--wdtBodyBGColor); padding: 20px;
    top: 60%; transform: translateY(-50%); left: clamp(3.125rem, -0.4808rem + 16.0256vw, 18.75rem); position: absolute; } */
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder .woocommerce ul.products li.product .product-thumb .image img, .woocommerce ul.products li.product .product-thumb a.image > div[class*="image"] img { border-radius: var(--wdtRadius_Zero); }
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder .woocommerce ul.products li.product .product-thumb .image { border-radius: var(--wdtRadius_Zero); }

.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger { background: var(--wdtAccentTxtColor); }
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger:after { border-color: var(--wdtAccentTxtColor); }
/* .wdt-custom-hotspot-with-product .wdt-advanced-hotspot-items-holder .wdt-advanced-tooltip-wrapper.hotspot-active .wdt-advanced-hotspot-item-trigger { background: var(--wdtPrimaryColor); } */
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-items-holder .wdt-advanced-tooltip-wrapper.hotspot-active .wdt-advanced-hotspot-item-trigger:after { animation: ring 1.5s infinite; }

.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger:after { border-width: 1px; }
.wdt-custom-hotspot-with-product .wdt-advanced-hotspot-items-holder .wdt-advanced-hotspot-item-trigger:before { box-shadow: none; }

/* hotspot-tooltip */

.tippy-box{background-color: rgba(var(--wdtAccentTxtColorRgb), 0.65);}

.tippy-content .wdt-hotspot-content h5 {margin-top: 0;margin-bottom: 5px;}

.tippy-content .wdt-hotspot-content p{margin-bottom: 0;color: var(--wdtHeadAltColor);}

.tippy-content .wdt-hotspot-content {padding: 15px 0;}

@media(max-width: 1540px) {
    .wdt-custom-hotspot-with-product .wdt-advanced-hotspot-holder .wdt-advanced-tooltip-content { top: 50%; }
}