.wts-hc {
	--wts-hc-marker: #111;
	--wts-hc-marker-bg: #fff;
	--wts-hc-marker-size: 40px;
	--wts-hc-card-bg: #fff;
	--wts-hc-arrow-size: 42px;
	--wts-hc-arrow-offset: 14px;
	--wts-hc-arrow-color: #111;
	--wts-hc-arrow-bg: #fff;
	--wts-hc-arrow-hover-color: var(--wts-hc-arrow-color);
	--wts-hc-arrow-hover-bg: var(--wts-hc-arrow-bg);
	--wts-hc-dot-size: 8px;
	--wts-hc-dot-gap: 4px;
	--wts-hc-dot-color: #111;
	--wts-hc-dot-active: #111;
	position: relative;
}

.wts-hc__swiper {
	position: relative;
	overflow: hidden;
}

.wts-hc__media {
	position: relative;
	overflow: hidden;
	background: #f4f4f4;
}

.wts-hc__image {
	display: block;
	width: 100%;
	height: auto;
}

.wts-hc__hotspot {
	position: absolute;
	z-index: 2;
	left: var(--wts-hc-x, 50%);
	top: var(--wts-hc-y, 50%);
	transform: translate(-50%, -50%);
}

.wts-hc__marker {
	display: grid;
	place-items: center;
	width: var(--wts-hc-marker-size);
	height: var(--wts-hc-marker-size);
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--wts-hc-marker);
	background: var(--wts-hc-marker-bg);
	box-shadow: 0 2px 12px rgb(0 0 0 / 20%);
	cursor: pointer;
	transition: transform .2s ease;
}

.wts-hc__marker::before {
	content: "";
	position: absolute;
	inset: -7px;
	border: 1px solid currentColor;
	border-radius: inherit;
	opacity: .35;
}

.wts-hc__marker:hover,
.wts-hc__marker:focus-visible,
.wts-hc__hotspot.is-open .wts-hc__marker {
	transform: scale(1.08);
}

.wts-hc__marker:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.wts-hc__marker span {
	font-size: 22px;
	line-height: 1;
	transition: transform .2s ease;
}

.wts-hc__hotspot.is-open .wts-hc__marker span {
	transform: rotate(45deg);
}

.wts-hc__card {
	position: absolute;
	z-index: 4;
	left: calc(100% + 12px);
	top: 50%;
	display: flex;
	width: min(280px, 70vw);
	padding: 14px;
	gap: 12px;
	align-items: center;
	border-radius: 8px;
	background: var(--wts-hc-card-bg);
	opacity: 0;
	visibility: hidden;
	transform: translate(8px, -50%);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	pointer-events: none;
}

.wts-hc__hotspot.is-open .wts-hc__card {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
	pointer-events: auto;
}

.wts-hc__hotspot.is-flipped .wts-hc__card {
	left: auto;
	right: calc(100% + 12px);
	transform: translate(-8px, -50%);
}

.wts-hc__hotspot.is-open.is-flipped .wts-hc__card {
	transform: translate(0, -50%);
}

.wts-hc__thumb { flex: 0 0 72px; }
.wts-hc__thumb img { display: block; width: 72px; height: 72px; object-fit: cover; }
.wts-hc__summary { min-width: 0; }
.wts-hc__title { font-weight: 600; line-height: 1.3; }
.wts-hc__title a { color: inherit; }
.wts-hc__prev,
.wts-hc__next {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: grid;
	place-items: center;
	width: var(--wts-hc-arrow-size);
	height: var(--wts-hc-arrow-size);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wts-hc-arrow-bg);
	color: var(--wts-hc-arrow-color);
	box-shadow: 0 2px 12px rgb(0 0 0 / 15%);
	transform: translateY(-50%);
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

.wts-hc__prev { left: var(--wts-hc-arrow-offset); }
.wts-hc__next { right: var(--wts-hc-arrow-offset); }
.wts-hc__prev:hover,
.wts-hc__next:hover { color: var(--wts-hc-arrow-hover-color); background: var(--wts-hc-arrow-hover-bg); }
.wts-hc__prev.swiper-button-disabled,
.wts-hc__next.swiper-button-disabled { opacity: .35; cursor: default; }

.wts-hc__pagination {
	position: static !important;
	margin-top: 16px;
}

.wts-hc .swiper-pagination-bullet {
	width: var(--wts-hc-dot-size);
	height: var(--wts-hc-dot-size);
	margin-inline: var(--wts-hc-dot-gap) !important;
	background: var(--wts-hc-dot-color);
}

.wts-hc .swiper-pagination-bullet-active { background: var(--wts-hc-dot-active); }

@media (max-width: 767px) {
	.wts-hc__card {
		position: fixed;
		z-index: 9999;
		left: 16px !important;
		right: 16px !important;
		top: auto;
		bottom: 16px;
		width: auto !important;
		transform: translateY(12px) !important;
	}

	.wts-hc__hotspot.is-open .wts-hc__card { transform: none !important; }
}
