/**
 * UltraAddons Image Hotspots Widget Styles
 * 
 * Hardware-accelerated pulse/radar/glow animations,
 * responsive pin positioning, intelligent tooltip cards,
 * and seamless WooCommerce product showcase.
 *
 * @package UltraAddons
 * @since 2.0.3.5
 */

:root {
    --ua-pin-size: 32px;
    --ua-pin-font-size: 13px;
    --ua-pin-bg: #605be5;
    --ua-pin-color: #ffffff;
    --ua-pulse-color: rgba(96, 91, 229, 0.65);
    --ua-arrow-color: #ffffff;
    --ua-tooltip-offset: 12px;
}

/* ===================================================
   Main Container & Image
   =================================================== */
.ua-image-hotspots-wrap {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.ua-image-hotspots {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.ua-hotspot-image-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.ua-hotspot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-sizing: border-box;
}

.ua-hotspot-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.ua-hotspots-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

/* ===================================================
   Hotspot Pin Markers
   =================================================== */
.ua-hotspot-item {
    position: absolute;
    width: var(--ua-pin-size, 32px);
    height: var(--ua-pin-size, 32px);
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ua-hotspot-item.ua-active,
.ua-hotspot-trigger-hover .ua-hotspot-item:hover,
.ua-image-hotspots-wrap[data-trigger="hover"] .ua-hotspot-item:hover {
    z-index: 100;
}

.ua-hotspot-pin-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none !important;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ua-hotspot-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ua-pin-size, 32px);
    height: var(--ua-pin-size, 32px);
    border-radius: 50%;
    background-color: var(--ua-pin-bg, #605be5);
    color: var(--ua-pin-color, #ffffff);
    font-size: var(--ua-pin-font-size, 13px);
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    z-index: 2;
    position: relative;
}

.ua-hotspot-pin-wrap:hover .ua-hotspot-pin,
.ua-hotspot-item.ua-active .ua-hotspot-pin {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.ua-pin-icon,
.ua-pin-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ua-pin-icon i,
.ua-pin-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.ua-pin-dot {
    display: block;
    width: 35%;
    height: 35%;
    border-radius: 50%;
    background-color: currentColor;
}

/* Pulse / Radar / Glow Rings */
.ua-hotspot-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    box-sizing: border-box;
}

/* Animation 1: Pulse */
.ua-hotspot-anim-pulse .ua-hotspot-pulse-ring {
    background-color: var(--ua-pulse-color, rgba(96, 91, 229, 0.65));
    animation: ua-anim-pulse 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes ua-anim-pulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    60% {
        transform: scale(1.9);
        opacity: 0;
    }
    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

/* Animation 2: Radar */
.ua-hotspot-anim-radar .ua-hotspot-pulse-ring {
    border: 2px solid var(--ua-pulse-color, rgba(96, 91, 229, 0.75));
    animation: ua-anim-radar 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes ua-anim-radar {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* Animation 3: Soft Glow */
.ua-hotspot-anim-glow .ua-hotspot-pin {
    animation: ua-anim-glow 2.2s ease-in-out infinite;
}

@keyframes ua-anim-glow {
    0%, 100% {
        box-shadow: 0 0 8px 1px var(--ua-pulse-color, rgba(96, 91, 229, 0.45)), 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 0 22px 6px var(--ua-pulse-color, rgba(96, 91, 229, 0.85)), 0 6px 18px rgba(0, 0, 0, 0.22);
    }
}

/* Animation 4: None */
.ua-hotspot-anim-none .ua-hotspot-pulse-ring {
    display: none !important;
}

/* ===================================================
   Tooltip Card Box - Base Styling
   =================================================== */
.ua-hotspot-tooltip {
    position: absolute;
    z-index: 100;
    width: max-content;
    max-width: 260px;
    background-color: #ffffff;
    color: #374151;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.26s;
}

/* Tooltip Arrow */
.ua-hotspot-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--ua-arrow-color, #ffffff);
    transform: rotate(45deg);
    z-index: 0;
}

.ua-hotspot-arrow-no .ua-hotspot-arrow {
    display: none !important;
}

.ua-hotspot-tooltip-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ===================================================
   Precise Tooltip Positioning
   =================================================== */

/* --- 1. Position: TOP --- */
.ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip {
    bottom: calc(100% + var(--ua-tooltip-offset, 12px));
    left: 50%;
    right: auto;
    top: auto;
    transform-origin: bottom center;
}
.ua-hotspot-pos-top .ua-hotspot-tooltip .ua-hotspot-arrow,
.ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip .ua-hotspot-arrow {
    bottom: -5px;
    left: calc(50% - 5px);
    right: auto;
    top: auto;
}

/* --- 2. Position: BOTTOM --- */
.ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip {
    top: calc(100% + var(--ua-tooltip-offset, 12px));
    left: 50%;
    right: auto;
    bottom: auto;
    transform-origin: top center;
}
.ua-hotspot-pos-bottom .ua-hotspot-tooltip .ua-hotspot-arrow,
.ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip .ua-hotspot-arrow {
    top: -5px;
    bottom: auto;
    left: calc(50% - 5px);
    right: auto;
}

/* --- 3. Position: LEFT --- */
.ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip {
    right: calc(100% + var(--ua-tooltip-offset, 12px));
    top: 50%;
    left: auto;
    bottom: auto;
    transform-origin: center right;
}
.ua-hotspot-pos-left .ua-hotspot-tooltip .ua-hotspot-arrow,
.ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip .ua-hotspot-arrow {
    right: -5px;
    top: calc(50% - 5px);
    left: auto;
    bottom: auto;
}

/* --- 4. Position: RIGHT --- */
.ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip {
    left: calc(100% + var(--ua-tooltip-offset, 12px));
    top: 50%;
    right: auto;
    bottom: auto;
    transform-origin: center left;
}
.ua-hotspot-pos-right .ua-hotspot-tooltip .ua-hotspot-arrow,
.ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip .ua-hotspot-arrow {
    left: -5px;
    top: calc(50% - 5px);
    right: auto;
    bottom: auto;
}

/* ===================================================
   Entrance Animations - Inactive Transform States
   =================================================== */

/* 1. Zoom In (Default): starts at 85% scale */
.ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip {
    transform: translateX(-50%) scale(0.85);
}
.ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip {
    transform: translateY(-50%) scale(0.85);
}

/* 2. Fade In: full scale (1.0), pure opacity fade */
.ua-hotspot-anim-in-fade .ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-hotspot-anim-in-fade .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"].ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"] .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-hotspot-anim-in-fade .ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-anim-in-fade .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"].ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"] .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip {
    transform: translateX(-50%) scale(1);
}
.ua-hotspot-anim-in-fade .ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-hotspot-anim-in-fade .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"].ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"] .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-hotspot-anim-in-fade .ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-hotspot-anim-in-fade .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"].ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="fade"] .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip {
    transform: translateY(-50%) scale(1);
}

/* 3. Slide Up: starts 16px below resting position */
.ua-hotspot-anim-in-slide-up .ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-up .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"].ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"] .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-up .ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-up .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"].ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"] .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip {
    transform: translateX(-50%) translateY(16px) scale(1);
}
.ua-hotspot-anim-in-slide-up .ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-up .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"].ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"] .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-up .ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-up .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"].ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-up"] .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip {
    transform: translateY(calc(-50% + 16px)) scale(1);
}

/* 4. Slide Down: starts 16px above resting position */
.ua-hotspot-anim-in-slide-down .ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-down .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"].ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"] .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-down .ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-down .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"].ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"] .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip {
    transform: translateX(-50%) translateY(-16px) scale(1);
}
.ua-hotspot-anim-in-slide-down .ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-down .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"].ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"] .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-down .ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-hotspot-anim-in-slide-down .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"].ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-anim-in="slide-down"] .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip {
    transform: translateY(calc(-50% - 16px)) scale(1);
}

/* ===================================================
   Active / Visible State: Full Opacity & Resting Transform
   =================================================== */
/* Active Top & Bottom */
.ua-hotspot-item.ua-pos-top.ua-active .ua-hotspot-tooltip,
.ua-hotspot-pos-top .ua-hotspot-item.ua-active .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"].ua-hotspot-pos-top .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"] .ua-hotspot-item.ua-pos-top .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-pos-top .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-item.ua-pos-top:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"].ua-hotspot-pos-top .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"] .ua-hotspot-item.ua-pos-top:hover .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-bottom.ua-active .ua-hotspot-tooltip,
.ua-hotspot-pos-bottom .ua-hotspot-item.ua-active .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"].ua-hotspot-pos-bottom .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"] .ua-hotspot-item.ua-pos-bottom .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-pos-bottom .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-item.ua-pos-bottom:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"].ua-hotspot-pos-bottom .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"] .ua-hotspot-item.ua-pos-bottom:hover .ua-hotspot-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
}

/* Active Left & Right */
.ua-hotspot-item.ua-pos-left.ua-active .ua-hotspot-tooltip,
.ua-hotspot-pos-left .ua-hotspot-item.ua-active .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"].ua-hotspot-pos-left .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"] .ua-hotspot-item.ua-pos-left .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-pos-left .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-item.ua-pos-left:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"].ua-hotspot-pos-left .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"] .ua-hotspot-item.ua-pos-left:hover .ua-hotspot-tooltip,
.ua-hotspot-item.ua-pos-right.ua-active .ua-hotspot-tooltip,
.ua-hotspot-pos-right .ua-hotspot-item.ua-active .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-hotspot-trigger-always .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"].ua-hotspot-pos-right .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="always"] .ua-hotspot-item.ua-pos-right .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-pos-right .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-hotspot-trigger-hover .ua-hotspot-item.ua-pos-right:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"].ua-hotspot-pos-right .ua-hotspot-item:hover .ua-hotspot-tooltip,
.ua-image-hotspots-wrap[data-trigger="hover"] .ua-hotspot-item.ua-pos-right:hover .ua-hotspot-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%) translateX(0) scale(1) !important;
}

/* ===================================================
   Tooltip Inner Content & Typography
   =================================================== */
.ua-hotspot-thumb {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}

.ua-hotspot-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.ua-hotspot-body {
    width: 100%;
    text-align: left;
}

.ua-hotspot-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #605be5;
    margin-bottom: 4px;
}

.ua-hotspot-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px 0;
    color: #1f2937;
}

.ua-hotspot-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ua-hotspot-title a:hover {
    color: #605be5;
}

.ua-hotspot-price {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 6px;
    line-height: 1.2;
}

.ua-hotspot-price del {
    color: #9ca3af;
    font-size: 0.9em;
    font-weight: 400;
    margin-right: 4px;
}

.ua-hotspot-price ins {
    text-decoration: none;
    color: inherit;
}

.ua-hotspot-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 12px;
}

.ua-hotspot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: #605be5;
    border-radius: 6px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    line-height: 1.4;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    width: fit-content;
}

.ua-hotspot-btn:hover {
    background-color: #4944d1;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 91, 229, 0.35);
}

/* ===================================================
   WooCommerce Product Card Mode
   =================================================== */
.ua-hotspot-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ua-hotspot-product-action {
    margin-top: 6px;
}

.ua-hotspot-product-action .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background-color: #605be5 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
}

.ua-hotspot-product-action .button:hover {
    background-color: #4944d1 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(96, 91, 229, 0.35) !important;
}

.ua-hotspot-product-action .button.added::after {
    margin-left: 6px;
}
