/* ── Gallery wrapper ────────────────────────────────────────── */
.hotspot-gallery {
	position: relative;
}

.hotspot-shortcode {
	width: fit-content;
	max-width: 100%;
}

/* ── Image + pins wrapper ───────────────────────────────────── */
.hotspot-gallery .hotspot-image-wrapper {
	position: relative;
	display: block;
	line-height: 0;
}

.hotspot-base-image {
	display: block;
	width: 100%;
	height: auto;
}

/* ── Pins container ─────────────────────────────────────────── */
.hotspot-pins {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* ── Individual pin ─────────────────────────────────────────── */
.hotspot-pin {
	position: absolute;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .72);
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	transform: translate(-50%, -50%);
	cursor: pointer;
	pointer-events: all;
	transition: transform .2s, background .2s;
	z-index: 10;
}

.hotspot-pin::before {
	content: '+';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: inherit;
	font-weight: 300;
	line-height: 1;
}

.hotspot-pin:hover {
	transform: translate(-50%, -50%) scale(1.15);
	background: rgba(0, 0, 0, .88);
}

.hotspot-pin.is-open {
	background: #111;
	transform: translate(-50%, -50%) scale(1.15);
	z-index: 100;
}

.hotspot-pin.is-open::before {
	content: '×';
	font-size: inherit;
	font-weight: 400;
}

/* ── Popup card ─────────────────────────────────────────────── */
.hotspot-popup {
	display: none;
	position: absolute;
	width: 200px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .14);
	overflow: hidden;
	pointer-events: all;
	z-index: 20;
	text-align: left;
	line-height: 1.5;
}

.hotspot-popup-info {
	padding: 10px 12px 12px;
	display: flex;
	flex-direction: column;
}

a.hotspot-popup-title,
.hotspot-popup-title {
	font-size: 13px;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
	text-decoration: none;
}

a.hotspot-popup-title:hover {
	text-decoration: underline;
	color: #0073aa;
}

.hotspot-popup-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin-top: 10px;
}

.hotspot-popup-sku {
	font-size: 11px;
	color: #888;
}

.hotspot-popup-price {
	font-size: 13px;
	color: #444;
}

.hotspot-popup-price .woocommerce-Price-amount {
	font-weight: 700;
}
