/* WebAR Pro · visor model-viewer */
.webarpro-wrap { width: 100%; position: relative; }
.webarpro-wrap model-viewer {
	width: 100%;
	background: #f2f2f5;
	border-radius: 12px;
	--poster-color: transparent;
}

/* Botón "Ver en tu espacio" */
.webarpro-arbtn {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	background: #6c5ce7;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 700;
	font-family: system-ui, sans-serif;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba( 108, 92, 231, .45 );
	white-space: nowrap;
}
.webarpro-arbtn:hover { background: #5a4bd6; }

/* Barra de progreso de carga */
.webarpro-progress {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	width: 40%;
	max-width: 220px;
	height: 6px;
	border-radius: 6px;
	background: rgba( 0, 0, 0, .12 );
	overflow: hidden;
	opacity: 1;
	transition: opacity .3s;
}
.webarpro-progress.hide { opacity: 0; }
.webarpro-bar { background: #6c5ce7; width: 0%; height: 100%; transition: width .2s; }

.webarpro-error {
	padding: 16px; border-radius: 8px; background: #fff3cd; color: #664d03;
	border: 1px solid #ffe69c; font-size: 14px;
}
