.xhose-product-explorer {
	--explorer-ink: #241a1c;
	--explorer-muted: #786d6f;
	--explorer-accent: #551933;
	--explorer-paper: #f4f0ec;
	min-width: 0;
	width: 100%;
	color: var(--explorer-ink);
}

.xhose-product-explorer__modes {
	display: inline-flex;
	margin: 0 0 1rem;
	padding: .25rem;
	border: 1px solid rgba(36, 26, 28, .16);
	border-radius: 999px;
	background: #fff;
}

.xhose-product-explorer__modes button {
	min-height: 44px;
	padding: .6rem 1rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.xhose-product-explorer__modes button.is-active {
	background: var(--explorer-ink);
	color: #fff;
}

.xhose-product-explorer__stage {
	position: relative;
	display: grid;
	min-height: 0;
	width: 100%;
	aspect-ratio: 1402 / 1122;
	place-items: center;
	overflow: hidden;
	border-radius: 2px;
	background: var(--explorer-paper);
	touch-action: pan-y;
}

.xhose-product-explorer__stage:focus-visible {
	outline: 3px solid var(--explorer-accent);
	outline-offset: 4px;
}

.xhose-product-explorer__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1;
	transform: scale(1);
	transition: opacity 180ms ease, transform 360ms cubic-bezier(.2, .7, .2, 1);
	user-select: none;
}

.xhose-product-explorer__image.is-changing {
	opacity: .28;
	transform: scale(.995);
}

.xhose-product-explorer__fullscreen {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: .55rem;
	padding: .65rem .85rem;
	border: 1px solid rgba(36, 26, 28, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(12px);
	color: var(--explorer-ink);
	font: inherit;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.xhose-product-explorer__hotspots {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.xhose-product-explorer__hotspot {
	position: absolute;
	left: var(--hotspot-x);
	top: var(--hotspot-y);
	display: grid;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	place-items: center;
	transform: translate(-50%, -50%);
	border: 1px solid #fff;
	border-radius: 50%;
	background: var(--explorer-accent);
	box-shadow: 0 0 0 6px rgba(85, 25, 51, .12), 0 8px 24px rgba(36, 26, 28, .2);
	color: #fff;
	font: 700 .7rem/1 sans-serif;
	pointer-events: auto;
}

.xhose-product-explorer__hotspot:hover,
.xhose-product-explorer__hotspot:focus-visible {
	box-shadow: 0 0 0 9px rgba(85, 25, 51, .18), 0 8px 24px rgba(36, 26, 28, .24);
}

.xhose-product-explorer__hotspot-card {
	position: relative;
	margin: -1.25rem clamp(1rem, 4vw, 2.5rem) 0 auto;
	width: min(86%, 390px);
	padding: 1.25rem 1.4rem;
	border: 1px solid rgba(36, 26, 28, .12);
	background: #fff;
	box-shadow: 0 22px 60px rgba(36, 26, 28, .12);
}

.xhose-product-explorer__hotspot-card h3 {
	margin: .35rem 0 .5rem;
	font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.xhose-product-explorer__hotspot-card p:not(.xhose-product-explorer__eyebrow) {
	margin: 0 0 1rem;
	color: var(--explorer-muted);
	line-height: 1.6;
}

.xhose-product-explorer__hotspot-card button {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--explorer-accent);
	font: inherit;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.xhose-product-explorer__eyebrow {
	margin: 0;
	color: var(--explorer-accent);
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.xhose-product-explorer__navigation {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-bottom: 1px solid rgba(36, 26, 28, .18);
}

.xhose-product-explorer__navigation button {
	position: relative;
	display: flex;
	min-height: 62px;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .8rem .55rem;
	border: 0;
	background: transparent;
	color: var(--explorer-muted);
	font: inherit;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.xhose-product-explorer__navigation button::after {
	position: absolute;
	right: 50%;
	bottom: -1px;
	left: 50%;
	height: 2px;
	background: var(--explorer-accent);
	content: '';
	transition: right 180ms ease, left 180ms ease;
}

.xhose-product-explorer__navigation button.is-active {
	color: var(--explorer-ink);
}

.xhose-product-explorer__navigation button.is-active::after {
	right: 0;
	left: 0;
}

.xhose-product-explorer__navigation span {
	color: var(--explorer-accent);
	font-variant-numeric: tabular-nums;
}

.xhose-product-explorer__caption {
	min-height: 1.5em;
	margin: .9rem 0 0;
	color: var(--explorer-muted);
	font-size: .86rem;
	line-height: 1.55;
}

.xhose-product-explorer__360 .xhose-360 {
	margin-top: 0;
}

.xhose-product-explorer__fallback {
	display: grid;
	gap: 1rem;
}

.xhose-product-explorer__fallback img {
	width: 100%;
	height: auto;
}

.xhose-product-explorer__stage:fullscreen {
	width: 100vw;
	height: 100vh;
	border-radius: 0;
	background: #f7f4f1;
}

@media (max-width: 767px) {
	.xhose-product-explorer__stage {
		min-height: 0;
	}

	.xhose-product-explorer__navigation {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.xhose-product-explorer__navigation button {
		min-width: max-content;
		flex: 1 0 auto;
		padding-inline: 1rem;
	}

	.xhose-product-explorer__fullscreen span:last-child {
		display: none;
	}

	.xhose-product-explorer__hotspot-card {
		margin-right: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.xhose-product-explorer__image,
	.xhose-product-explorer__navigation button::after {
		transition: none;
	}
}
