/* Elementor Addon Nextra - Image Hotspot */

.ean-widget-image-hotspot .ean-hotspot {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.ean-widget-image-hotspot .ean-hotspot > img {
	display: block;
	width: 100%;
	height: auto;
}

.ean-widget-image-hotspot .ean-hotspot-item {
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.ean-widget-image-hotspot .ean-hotspot-marker {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 16px;
	line-height: 1;
	color: #ffffff;
	background-color: #6c63ff;
	border: 3px solid #ffffff;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.ean-widget-image-hotspot .ean-hotspot-marker i {
	line-height: 1;
}

.ean-widget-image-hotspot .ean-hotspot-marker::before {
	content: "";
	position: absolute;
	inset: -8px;
	border: 2px solid rgba(108, 99, 255, 0.55);
	border-radius: 50%;
	animation: ean-hotspot-pulse 2.2s ease-out infinite;
}

.ean-widget-image-hotspot .ean-hotspot-marker:hover,
.ean-widget-image-hotspot .ean-hotspot-marker[aria-expanded="true"] {
	background-color: #554cd6;
	transform: scale(1.14);
	box-shadow: 0 6px 20px rgba(85, 76, 214, 0.4);
}

.ean-widget-image-hotspot .ean-hotspot-marker:focus-visible {
	outline: 3px solid rgba(108, 99, 255, 0.5);
	outline-offset: 3px;
}

.ean-widget-image-hotspot .ean-hotspot-tooltip {
	position: absolute;
	bottom: calc(100% + 14px);
	left: 50%;
	min-width: 200px;
	padding: 14px 18px;
	text-align: left;
	line-height: 1.5;
	background-color: #ffffff;
	border: 1px solid #eceef3;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(20, 24, 40, 0.16);
	transform: translateX(-50%) translateY(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	z-index: 5;
}

.ean-widget-image-hotspot .ean-hotspot-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	border: 7px solid transparent;
	border-top-color: #ffffff;
	transform: translateX(-50%);
}

.ean-widget-image-hotspot .ean-hotspot-item:hover .ean-hotspot-tooltip,
.ean-widget-image-hotspot .ean-hotspot-marker[aria-expanded="true"] + .ean-hotspot-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.ean-widget-image-hotspot .ean-hotspot-tooltip-title {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
}

.ean-widget-image-hotspot .ean-hotspot-tooltip-desc {
	display: block;
	font-size: 13px;
	color: #666666;
}

@keyframes ean-hotspot-pulse {
	0% {
		transform: scale(0.7);
		opacity: 0.8;
	}

	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

@media (max-width: 767px) {
	.ean-widget-image-hotspot .ean-hotspot-tooltip {
		min-width: 160px;
		padding: 12px 14px;
	}
}
