.jutso-hotspot-widget {
	display: block;
	position: relative;
}

.jutso-hotspot-widget--has-text {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	column-gap: 80px;
}

.jutso-hotspot-widget--has-text.jutso-hotspot-widget--image-right .jutso-hotspot-widget__media {
	order: 2;
}

.jutso-hotspot-widget--has-text.jutso-hotspot-widget--image-right .jutso-hotspot-widget__content {
	order: 1;
}

.jutso-hotspot-widget__media {
	position: relative;
	width: 100%;
}

.jutso-hotspot-widget__image-wrap {
	position: relative;
	width: 100%;
}

.jutso-hotspot-widget__image-wrap img {
	display: block;
	width: 100%;
	height: auto;
}

.jutso-hotspot-widget__hotspots-layer {
	position: absolute;
	inset: 0;
}

.jutso-hotspot-widget__hotspot,
button.jutso-hotspot-widget__hotspot {
	position: absolute;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 3px solid var(--jutso-hotspot-border-color, #ffffff);
	border-radius: 100%;
	background-color: var(--jutso-hotspot-color, #111111);
	color: #ffffff;
	cursor: pointer;
	line-height: 1;
	font-size: 0;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none;
	text-transform: none;
	flex: 0 0 auto;
	z-index: 2;
}

.jutso-hotspot-widget__hotspot:hover,
button.jutso-hotspot-widget__hotspot:hover {
	background-color: var(--jutso-hotspot-hover-color, #333333);
}

.jutso-hotspot-widget__hotspot:focus {
	outline: none;
}

.jutso-hotspot-widget--pulse-enabled .jutso-hotspot-widget__hotspot::after {
	content: '';
	position: absolute;
	inset: 0;
	border: inherit;
	border-radius: inherit;
	box-sizing: border-box;
	animation: jutsoHotspotPulse 1.8s ease-out infinite;
	pointer-events: none;
}

.jutso-hotspot-widget__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 24px;
}

.jutso-hotspot-widget__dialog-heading,
.jutso-hotspot-widget__heading {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.jutso-hotspot-widget__heading,
.jutso-hotspot-widget__text {
	margin: 0;
}

.jutso-hotspot-widget__heading {
	color: var(--jutso-heading-color, inherit);
}

.jutso-hotspot-widget__text {
	color: var(--jutso-text-color, inherit);
}

.jutso-hotspot-widget__text p:first-child {
	margin-top: 0;
}

.jutso-hotspot-widget__text p:last-child {
	margin-bottom: 0;
}

.jutso-hotspot-widget__popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.jutso-hotspot-widget__popup.is-active {
	display: block;
}

.jutso-hotspot-widget__overlay {
	position: absolute;
	inset: 0;
	background-color: var(--jutso-overlay-color, rgba(0, 0, 0, 0.55));
}

.jutso-hotspot-widget__dialog-wrap {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	pointer-events: none;
}

.jutso-hotspot-widget__dialog {
	position: relative;
	width: 100%;
	max-width: 843px;
	max-height: none;
	overflow: hidden;
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
	z-index: 1;
	pointer-events: auto;
}

.jutso-hotspot-widget__dialog-content {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 12px;
	padding: 32px;
}

.jutso-hotspot-widget__dialog-content--with-image {
	grid-template-columns: auto 1fr;
	column-gap: 32px;
	align-items: start;
}

.jutso-hotspot-widget__dialog-image {
	max-width: 300px;
}

.jutso-hotspot-widget__dialog-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.jutso-hotspot-widget__dialog-main {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: auto;
	row-gap: 32px;
	padding-top: 72px;
}

.jutso-hotspot-widget__dialog-heading,
.jutso-hotspot-widget__dialog-text {
	margin: 0;
}

.jutso-hotspot-widget__dialog-heading {
	color: var(--jutso-popup-heading-color, inherit);
}

.jutso-hotspot-widget__dialog-text {
	font-size: var(--paragraph-l-font-size);
	line-height: var(--paragraph-l-line-height);
	font-family: var(--paragraph-l-font-family);
	font-weight: var(--paragraph-l-font-weight);
	letter-spacing: var(--paragraph-l-letter-spacing);
	word-spacing: var(--paragraph-l-word-spacing);
	color: var(--jutso-popup-text-color, inherit);
}

.jutso-hotspot-widget__dialog-text p:first-child {
	margin-top: 0;
}

.jutso-hotspot-widget__dialog-text p:last-child {
	margin-bottom: 0;
}

.jutso-hotspot-widget__dialog-close,
button.jutso-hotspot-widget__dialog-close {
	position: absolute;
	top: 32px;
	right: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0;
	min-width: 0;
	min-height: 0;
	border: 0;
	border-radius: 0;
	background-color: var(--jutso-close-bg-color, transparent);
	color: var(--jutso-close-icon-color, #111111);
	cursor: pointer;
	font-size: 0;
	line-height: 1;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none;
	text-transform: none;
	flex: 0 0 auto;
}

button.jutso-hotspot-widget__dialog-close .elementor-icon,
button.jutso-hotspot-widget__dialog-close i,
button.jutso-hotspot-widget__dialog-close svg,
button.jutso-hotspot-widget__dialog-close img {
	display: block;
	width: 32px;
	height: 32px;
	font-size: 32px;
}

button.jutso-hotspot-widget__dialog-close:hover {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.jutso-hotspot-widget__dialog-close:focus,
button.jutso-hotspot-widget__dialog-close:focus {
	outline: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

@keyframes jutsoHotspotPulse {
	0% {
		transform: scale(1);
		opacity: 0.85;
	}

	70% {
		transform: scale(1.9);
		opacity: 0;
	}

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

@media (prefers-reduced-motion: reduce) {
	.jutso-hotspot-widget--pulse-enabled .jutso-hotspot-widget__hotspot::after {
		animation: none;
	}
}

@media (max-width: 767px) {
	.jutso-hotspot-widget--has-text {
		grid-template-columns: 1fr;
		row-gap: 24px;
	}

	.jutso-hotspot-widget--has-text.jutso-hotspot-widget--image-right .jutso-hotspot-widget__media,
	.jutso-hotspot-widget--has-text.jutso-hotspot-widget--image-right .jutso-hotspot-widget__content {
		order: initial;
	}

	.jutso-hotspot-widget__dialog-wrap {
		padding: 16px;
	}

	.jutso-hotspot-widget__dialog-content {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.jutso-hotspot-widget__dialog-content--with-image {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 0;
	}

	.jutso-hotspot-widget__dialog-image {
		max-width: 100%;
	}

	.jutso-hotspot-widget__dialog-main .jutso-hotspot-widget__dialog-heading {
		margin-top: 0;
	}

	.jutso-hotspot-widget__dialog-main {
		row-gap: 16px;
		padding-top: 32px;
	}

	.jutso-hotspot-widget__dialog-close,
	button.jutso-hotspot-widget__dialog-close {
		top: 32px;
		right: 32px;
	}

	.jutso-hotspot-widget__hotspot,
	button.jutso-hotspot-widget__hotspot {
		width: 18px;
		height: 18px;
		border-width: 2px;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.jutso-hotspot-widget--has-text {
		column-gap: 32px;
	}

	.jutso-hotspot-widget__hotspot,
	button.jutso-hotspot-widget__hotspot {
		width: 32px;
		height: 32px;
		border-width: 2px;
	}

	.jutso-hotspot-widget__dialog-main {
		row-gap: 24px;
		padding-top: 40px;
	}
}
