.hotspot-container {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Important for zoom effect */
}

.hotspot-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.hotspot-base-image {
    width: 100%;
    display: block;
    transition: transform 0.3s ease-out;
}

/* Pin */
.hotspot-pin {
    position: absolute;
    cursor: pointer;
    z-index: 5;
    transition: z-index 0.3s;
}

.hotspot-pin.tracking {
    z-index: 100;
}

.pin-dot {
    width: 18px;
    height: 18px;
    background: #ff4444;
    border-radius: 50%;
    display: block;
}

/* Hover pulse effect on pin */
.hotspot-pin:hover .pin-dot .dot {
    animation: hoverPulse 1s ease-in-out infinite !important;
}

/* Tooltip */
.hotspot-tooltip {
    position: absolute;
    top: 25px;
    left: -50px;
    min-width: 160px;
    width: 160px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    transform: translateY(-10px);
    z-index: 10;
}

.hotspot-tooltip.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/*** Content type classes ***/
.hotspot-tooltip.content-image img { 
    width: 100%;
}

.hotspot-tooltip.content-video iframe { 
    width: 100%; 
    height: 180px; 
    border: none; 
}

.hotspot-tooltip.content-gallery .swiper-slide img { 
    width: 100%; 
}

.video-wrapper { 
    width: 100%; 
    height: 180px; 
}

.hotspot-tooltip .tooltip-btn {
    font-size: 16px;
    color: #222;
    border-bottom: 1px solid;
    transition: color 0.3s;
}

.hotspot-tooltip .tooltip-btn:hover {
    color: var(--e-global-color-secondary);
}

/* Lookbook Styles */
.lookbook-wrapper {
    position: relative;
}

.lookbook-image {
    position: relative;
}

.lookbook-image img {
    width: 100%;
    display: block;
}

.lookbook-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.pin-icon {
    background: #111;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pin-dot {
    width: 36px;
    height: 36px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #283388;
    background: radial-gradient(circle, rgb(40, 51, 136) 30%, rgba(255, 255, 255, 0) 100%);
}

.pin-dot .dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
	border-radius: 50%;
}


.pin-dot .dot .center {
    display: flex;
    height: 8px;
    width: 8px;
    background: #fff;
    border-radius: 50%;
}

.pin-tooltip {
    position: absolute;
    padding: 10px 12px;
    background: white;
    border-radius: 8px;
    width: 180px;
    top: 40px;
    left: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease-in-out;
}

.lookbook-pin:hover .pin-tooltip {
    opacity: 1;
    pointer-events: auto;
}

/* Tooltip Positions */
.hotspot-tooltip.top-right {
    left: 172px;
    top: -45px;
}

.hotspot-tooltip.top-left {
    right: 170px;
    left: auto;
    top: -44px;
}

.hotspot-tooltip .line {
    position: absolute;
	width: 170px;
	text-align: left;
}
.hotspot-tooltip .line svg{
	width: 100%;
}
.hotspot-tooltip .line svg path{
	strock: #ffffff !important;
}


.hotspot-tooltip .line.top-right {
    left: 10px;
    top: 20px;
    transform: translateX(-100%);
}

.hotspot-tooltip .line.top-left {
    right: 10px;
    left: auto;
    top: 20px;
    transform: translateX(100%);
}

/* Bottom Left */
.hotspot-tooltip.bottom-left {
    top: 32px;
    bottom: auto;
    left: auto;
    right: 170px;
}

.hotspot-tooltip .line.bottom-left {
    right: 10px;
    top: -15px;
    transform: translateX(100%);
}

/* Bottom Right */
.hotspot-tooltip.bottom-right {
    top: 31px;
    bottom: auto;
    right: auto;
    left: 170px;
}

.hotspot-tooltip .line.bottom-right {
    left: 10px;
    top: -15px;
    transform: translateX(-100%);
}

/* Initial state - line hidden */
.line-path,
.st0 {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: none;
}

/* Animation triggers when tooltip opens */
.hotspot-tooltip.open .line-path,
.hotspot-tooltip.open .st0 {
    animation: dash 1s ease-out forwards;
}

@keyframes dash {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Animations */
.pin-dot.pulse .dot {
    animation: pulse 2s infinite;
}

.pin-dot.bounce .dot {
    animation: bounce 1s infinite;
}

.pin-dot.blink .dot {
    animation: blink 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hover pulse animation - more intense */
@keyframes hoverPulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% { 
        transform: scale(1.3); 
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Elementor Editor Enhancements */
.elementor-editor-active .hotspot-pin {
    outline: 1px dashed rgba(0,0,0,0.2);
}

.elementor-editor-active .hotspot-pin:hover {
    outline: 2px solid #0073aa;
    z-index: 1000;
}

/* iPad */
@media (max-width: 1024.98px) {
    .hotspot-tooltip {
		width: 150px;
		min-width: 100%;
	  }
	.hotspot-tooltip .line{
		width: 101px;
	}
    .hotspot-tooltip.top-right {
        left: 107px;
        top: -27px;
    }
    
	.hotspot-tooltip .line.bottom {
	  top: -22px;
	}
	.hotspot-tooltip .line.top {
	  top: 7px;
	}
    .hotspot-tooltip.top-left {
        right: 107px;
        top: -27px;
    }
    
    .hotspot-tooltip.bottom-left {
        right: 105px;
    }
    
    .hotspot-tooltip.bottom-right {
        left: 105px;
    }
    
    .hotspot-tooltip .line img {
        width: 90px;
    }
}

/* line animation draw */


/* Mobile */
@media (max-width: 767px) {
    .hotspot-tooltip {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 33px !important;
    }
	.hotspot-tooltip{
		width: 85px;
		min-width: 100%;
		text-align: center;
	}
    
    .hotspot-tooltip.open {
        transform: translateX(-50%) translateY(0) !important;
    }
    
    .hotspot-tooltip .line {
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: #fff;
        width: 1px;
		height: 20px;
        top: -15px !important;
    }
    
    /* Reduce zoom on mobile for better experience */
    .hotspot-wrap {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}