.tru360-wrap {
	max-width: 100%;
	width: var(--tru360-width, 600px);
	margin: 0 auto;
}

.tru360-stage {
	position: relative;
	width: 100%;
	aspect-ratio: var(--tru360-ratio, 1 / 1);
	overflow: hidden;
	border-radius: 0;
	background: #f2f0ea;
	cursor: grab;
	touch-action: pan-y;
	outline-offset: 3px;
}

.tru360-stage:active,
.tru360-stage.tru360-dragging {
	cursor: grabbing;
}

.tru360-stage img.tru360-frame {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
	display: block;
	margin: 0;
	border: 0;
}

.tru360-hint {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	background: rgba(20, 18, 15, 0.72);
	color: #fff;
	font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	letter-spacing: 0.02em;
	padding: 7px 12px;
	border-radius: 20px;
	pointer-events: none;
	transition: opacity 0.35s ease;
	white-space: nowrap;
}

.tru360-hint-hidden {
	opacity: 0;
}

.tru360-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(0, 0, 0, 0.12);
}

.tru360-progress-bar {
	height: 100%;
	width: 0%;
	background: rgba(20, 18, 15, 0.55);
	transition: width 0.08s linear;
}

.tru360-stage:focus-visible {
	outline: 2px solid #2e5a82;
}

@media (prefers-reduced-motion: reduce) {
	.tru360-progress-bar {
		transition: none;
	}
}
