/* Emantis 3D Product Viewer */
.emantis-3d-trigger-wrap {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 20;
}

.emantis-3d-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: background 0.15s ease, transform 0.15s ease;
}

.emantis-3d-trigger:hover {
	background: #e58a2a;
	transform: translateY(-1px);
}

.emantis-3d-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e58a2a;
	color: #111;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

.emantis-3d-trigger:hover .emantis-3d-icon {
	background: #111;
	color: #e58a2a;
}

.emantis-3d-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	display: none;
}

.emantis-3d-overlay.is-open {
	display: block;
}

.emantis-3d-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.82);
}

.emantis-3d-panel {
	position: absolute;
	inset: 0;
	margin: auto;
	width: min(92vw, 1100px);
	height: min(86vh, 780px);
	background: #0d0d0d;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.emantis-3d-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.emantis-3d-close:hover {
	background: #e58a2a;
	color: #111;
}

.emantis-3d-model {
	position: absolute;
	inset: 0;
}

.emantis-3d-model model-viewer {
	width: 100%;
	height: 100%;
	background: transparent;
	--poster-color: transparent;
}

.emantis-3d-status {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 2;
	text-align: center;
	color: #ddd;
	font-size: 14px;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.emantis-3d-status.is-visible {
	opacity: 1;
}

.emantis-3d-ar {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	padding: 9px 16px;
	border: 0;
	border-radius: 999px;
	background: #e58a2a;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

body.emantis-3d-open {
	overflow: hidden;
}
