.sc-image-hotspots {
	--sc-purple: #6a3378;
	--sc-purple-deep: #4f255a;
	--sc-purple-soft: #f7f1f8;
	--sc-marker-size: 42px;
	--sc-marker-bg: #fff;
	--sc-marker-text: #6a3378;
	--sc-marker-border: #6a3378;
	--sc-marker-active: #6a3378;
	--sc-card-bg: #fff;
	--sc-card-text: #37253b;
	--sc-card-border: #eadff0;
	--sc-radius: 22px;
	position: relative;
	display: flex;
	justify-content: center;
}

.sc-image-hotspots,
.sc-image-hotspots * {
	box-sizing: border-box;
}

.sc-image-hotspots__stage {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--sc-radius);
	background: transparent !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.sc-image-hotspots__image {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	border-radius: var(--sc-radius);
	object-fit: contain;
	object-position: center center;
	box-shadow: none;
}

.sc-image-hotspots__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	padding: 32px;
	color: var(--sc-purple);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: repeating-linear-gradient(45deg, rgba(106, 51, 120, 0.06), rgba(106, 51, 120, 0.06) 9px, rgba(255, 255, 255, 0.56) 9px, rgba(255, 255, 255, 0.56) 18px), #faf7fb;
	border-radius: var(--sc-radius);
}

.sc-image-hotspots__marker {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	left: var(--sc-hotspot-x);
	top: var(--sc-hotspot-y);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--sc-marker-size) !important;
	min-width: var(--sc-marker-size) !important;
	max-width: var(--sc-marker-size) !important;
	height: var(--sc-marker-size) !important;
	min-height: var(--sc-marker-size) !important;
	max-height: var(--sc-marker-size) !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--sc-marker-text) !important;
	cursor: pointer;
	transform: translate(-50%, -50%);
	z-index: 2;
	box-shadow: none !important;
	line-height: 1 !important;
	overflow: visible;
}

.sc-image-hotspots__marker::before {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(106, 51, 120, 0.18) 0%, rgba(106, 51, 120, 0.03) 72%);
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 180ms ease, transform 180ms ease;
}

.sc-image-hotspots__marker-inner {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border: 2px solid var(--sc-marker-border);
	border-radius: 50% !important;
	background: var(--sc-marker-bg);
	color: var(--sc-marker-text);
	font-size: calc(var(--sc-marker-size) * 0.38);
	font-weight: 800;
	font-style: normal;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(106, 51, 120, 0.16);
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sc-image-hotspots__marker svg,
.sc-image-hotspots__marker i {
	display: block;
	width: 0.9em;
	height: 0.9em;
	font-size: 0.9em;
}

.sc-image-hotspots__marker:hover::before,
.sc-image-hotspots__marker:focus-visible::before,
.sc-image-hotspots__marker.is-active::before {
	opacity: 1;
	transform: scale(1);
}

.sc-image-hotspots__marker:hover .sc-image-hotspots__marker-inner,
.sc-image-hotspots__marker:focus-visible .sc-image-hotspots__marker-inner,
.sc-image-hotspots__marker.is-active .sc-image-hotspots__marker-inner {
	background: linear-gradient(145deg, var(--sc-marker-active), var(--sc-purple-deep));
	border-color: var(--sc-marker-active);
	color: #fff;
	box-shadow: 0 12px 28px rgba(106, 51, 120, 0.22);
	transform: translateY(-1px);
}

.sc-image-hotspots__marker:focus-visible {
	outline: 3px solid rgba(106, 51, 120, 0.24);
	outline-offset: 4px;
}

.sc-image-hotspots__marker:hover,
.sc-image-hotspots__marker:focus,
.sc-image-hotspots__marker:active {
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--sc-marker-text) !important;
	box-shadow: none !important;
}

.sc-image-hotspots__cards {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.sc-image-hotspots__card {
	position: absolute;
	left: var(--sc-card-left, var(--sc-hotspot-x));
	top: var(--sc-card-top, var(--sc-hotspot-y));
	width: min(300px, calc(100% - 32px));
	padding: 18px 18px 16px;
	border: 1px solid var(--sc-card-border);
	border-radius: 16px;
	background: var(--sc-card-bg);
	color: var(--sc-card-text);
	transform: translate(-50%, calc(-100% - 16px));
	pointer-events: auto;
}

.sc-image-hotspots--card-shadow .sc-image-hotspots__card {
	box-shadow: 0 18px 44px rgba(58, 30, 68, 0.16);
}

.sc-image-hotspots__card-title {
	margin: 0 32px 9px 0;
	color: var(--sc-purple);
	font-size: 17px;
	line-height: 1.28;
	font-weight: 700;
	letter-spacing: 0;
}

.sc-image-hotspots__card-text {
	color: var(--sc-card-text);
	font-size: 14px;
	line-height: 1.58;
	font-weight: 400;
}

.sc-image-hotspots__card-text p {
	margin: 0 0 10px;
}

.sc-image-hotspots__card-text p:last-child {
	margin-bottom: 0;
}

.sc-image-hotspots__card-link {
	display: inline-flex;
	align-items: center;
	margin-top: 13px;
	color: var(--sc-purple);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.sc-image-hotspots__card-link:hover,
.sc-image-hotspots__card-link:focus {
	color: var(--sc-purple);
	text-decoration: underline;
}

.sc-image-hotspots__close {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	min-width: 28px;
	max-width: 28px;
	height: 28px;
	min-height: 28px;
	max-height: 28px;
	padding: 0 !important;
	border: 1px solid rgba(106, 51, 120, 0.18);
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--sc-purple) !important;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	box-shadow: none !important;
	flex: 0 0 auto;
	overflow: hidden;
	text-align: center;
}

.sc-image-hotspots__close:hover,
.sc-image-hotspots__close:focus,
.sc-image-hotspots__close:focus-visible,
.sc-image-hotspots__close:active {
	border-color: var(--sc-purple) !important;
	background: var(--sc-purple-soft) !important;
	color: var(--sc-purple) !important;
	box-shadow: 0 0 0 3px rgba(106, 51, 120, 0.12) !important;
}

.sc-image-hotspots__close span {
	display: block;
	line-height: 1;
	transform: translateY(-1px);
}

[hidden].sc-image-hotspots__card {
	display: none;
}

@media (max-width: 640px) {
	.sc-image-hotspots__card {
		left: 16px !important;
		right: 16px;
		top: auto !important;
		bottom: 16px;
		width: auto;
		max-width: none;
		transform: none;
	}
}
