.pv360-viewer-shell {
	position: relative;
	width: 100%;
	margin: 1.5em 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 18px;
	background: #101522;
	box-shadow: 0 22px 54px rgba(12, 17, 28, 0.17), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
	isolation: isolate;
}

.pv360-viewer {
	position: relative;
	width: 100%;
	height: var(--pv360-height, 520px);
	min-height: 240px;
	overflow: hidden;
	background: linear-gradient(140deg, #222a3c, #101522);
}

.pv360-viewer:focus-within {
	box-shadow: inset 0 0 0 3px rgba(108, 92, 231, 0.85);
}

.pv360-loading {
	position: absolute;
	z-index: 0;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	transform: translate(-50%, -50%);
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: #fff;
	border-radius: 50%;
	animation: pv360-spin 0.85s linear infinite;
}

.pv360-viewer.is-loaded .pv360-loading,
.pv360-viewer .pnlm-container + .pv360-loading {
	display: none;
}

@keyframes pv360-spin {
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pv360-viewer .pnlm-container {
	font-family: inherit;
}

.pv360-viewer .pnlm-controls {
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 12px;
	background: rgba(18, 27, 46, 0.72);
	box-shadow: 0 9px 26px rgba(7, 12, 28, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
}

.pv360-viewer .pnlm-control:hover,
.pv360-viewer .pnlm-control:focus {
	background-color: rgba(111, 98, 235, 0.75);
	outline: none;
}

.pv360-viewer .pnlm-zoom-controls {
	width: 36px;
	height: 72px;
}

.pv360-viewer .pnlm-zoom-in,
.pv360-viewer .pnlm-zoom-out,
.pv360-viewer .pnlm-fullscreen-toggle-button {
	width: 36px;
	background-image: none;
	color: #fff;
	text-align: center;
}

.pv360-viewer .pnlm-zoom-in::after,
.pv360-viewer .pnlm-zoom-out::after,
.pv360-viewer .pnlm-fullscreen-toggle-button::after {
	display: block;
	font-family: Arial, sans-serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 35px;
}

.pv360-viewer .pnlm-zoom-in::after { content: '+'; }
.pv360-viewer .pnlm-zoom-out::after { content: '−'; }
.pv360-viewer .pnlm-fullscreen-toggle-button::after { content: '⛶'; font-size: 20px; }

.pv360-viewer .pnlm-zoom-out {
	border-top-color: rgba(255, 255, 255, 0.18);
}

.pv360-viewer .pnlm-panorama-info {
	bottom: 10px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-left: 0;
	border-radius: 0 10px 10px 0;
	background: rgba(18, 27, 46, 0.68);
	-webkit-backdrop-filter: blur(14px) saturate(145%);
	backdrop-filter: blur(14px) saturate(145%);
}

.pv360-hotspot {
	width: 48px !important;
	height: 48px !important;
	margin: -24px 0 0 -24px !important;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 50%;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(235, 240, 255, 0.15)) !important;
	box-shadow: 0 10px 28px rgba(9, 17, 39, 0.34), inset 0 1px 1px rgba(255, 255, 255, 0.75);
	-webkit-backdrop-filter: blur(12px) saturate(175%);
	backdrop-filter: blur(12px) saturate(175%);
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: box-shadow 180ms ease, border-color 180ms ease;
}

.pv360-hotspot::before {
	position: absolute;
	z-index: 0;
	inset: -6px;
	border: 1px solid rgba(255, 255, 255, 0.68);
	border-radius: 50%;
	content: '';
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--pv360-hotspot-color) 35%, transparent);
	animation: pv360-pulse 3s ease-out infinite;
}

.pv360-hotspot:hover,
.pv360-hotspot:focus,
.pv360-hotspot.is-open {
	border-color: #fff;
	box-shadow: 0 12px 34px rgba(9, 17, 39, 0.42), 0 0 0 4px rgba(255, 255, 255, 0.25);
	outline: none;
}

.pv360-hotspot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

@keyframes pv360-pulse {
	0% { transform: scale(0.88); opacity: 0; }
	18% { opacity: 0.56; }
	72%, 100% { transform: scale(1.38); opacity: 0; }
}

.pv360-marker-glyph {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--pv360-hotspot-color);
	box-shadow: 0 4px 14px rgba(34, 26, 105, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	transform: translate(-50%, -50%);
	transition: transform 180ms ease;
}

.pv360-hotspot:hover .pv360-marker-glyph,
.pv360-hotspot:focus-visible .pv360-marker-glyph {
	transform: translate(-50%, -50%) scale(1.07);
}

.pv360-marker-glyph::after {
	display: block;
}

.pv360-icon-pin .pv360-marker-glyph::after { content: '•'; font-size: 30px; line-height: 14px; }
.pv360-icon-info .pv360-marker-glyph::after { content: 'i'; }
.pv360-icon-link .pv360-marker-glyph::after { content: '↗'; }
.pv360-icon-star .pv360-marker-glyph::after { content: '★'; font-size: 17px; }
.pv360-icon-grid .pv360-marker-glyph::after { content: '▦'; font-size: 23px; }

.pv360-tooltip {
	position: absolute;
	z-index: 2;
	bottom: calc(100% + 14px);
	left: 50%;
	display: block;
	width: max-content;
	min-width: 120px;
	max-width: min(280px, 70vw);
	padding: 10px 12px;
	transform: translate(-50%, 5px) scale(0.96);
	transform-origin: bottom center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 12px;
	background: rgba(17, 25, 43, 0.86);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 13px;
	line-height: 1.45;
	opacity: 0;
	pointer-events: none;
	text-align: left;
	transition: opacity 140ms ease, transform 140ms ease;
	white-space: normal;
	-webkit-backdrop-filter: blur(18px) saturate(150%);
	backdrop-filter: blur(18px) saturate(150%);
}

.pv360-tooltip::after {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 7px solid transparent;
	border-top-color: rgba(17, 25, 43, 0.86);
	content: '';
}

.pv360-tooltip strong {
	display: block;
	margin: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.pv360-tooltip-content {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.86);
}

.pv360-tooltip-content p {
	margin: 0 0 0.5em;
}

.pv360-tooltip-content p:last-child {
	margin-bottom: 0;
}

.pv360-tooltip-content a {
	color: #c9c3ff;
}

.pv360-hotspot:hover .pv360-tooltip,
.pv360-hotspot:focus .pv360-tooltip,
.pv360-hotspot.is-open .pv360-tooltip {
	transform: translate(-50%, 0) scale(1);
	opacity: 1;
}

.pv360-notice {
	margin: 1em 0;
	padding: 12px 14px;
	border-left: 4px solid #dba617;
	background: #fff8df;
	color: #4f3b00;
}

/* Optional server-rendered catalog; never changes existing tour layouts. */
.pv360-product-overview {
	margin: 24px 0;
	padding: 18px 22px;
	border: 1px solid #d6e3f4;
	border-radius: 16px;
	background: #f6f9fe;
	color: #0a264b;
}

.pv360-product-overview > summary {
	cursor: pointer;
	font-weight: 600;
}

.pv360-product-overview > summary:focus-visible {
	outline: 2px solid #1a63bb;
	outline-offset: 5px;
}

.pv360-product-overview > ul > li {
	margin-block: 20px;
}

@media (max-width: 600px) {
	.pv360-viewer-shell {
		border-radius: 10px;
	}

	.pv360-viewer {
		height: min(var(--pv360-height, 520px), 70vh);
	}

	.pv360-hotspot {
		width: 44px !important;
		height: 44px !important;
		margin: -22px 0 0 -22px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pv360-hotspot,
	.pv360-marker-glyph,
	.pv360-tooltip,
	.pv360-hotspot::before,
	.pv360-loading {
		animation: none;
		transition: none;
	}
}
