/* Floating return control shared by the home and product overview pages. */
#backToTop {
	position: fixed; right: 32px; bottom: 40px; z-index: 999;
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: linear-gradient(135deg, #387eff, #1a6dff); color: #fff;
	box-shadow: 0 4px 16px rgba(56, 126, 255, .4); cursor: pointer;
	opacity: 0; pointer-events: none; transform: translateY(16px) scale(.85);
	transition: opacity .3s, transform .3s, box-shadow .2s;
}
#backToTop svg { width: 20px; height: 20px; }
#backToTop.show { opacity: 1; pointer-events: auto; transform: none; }
#backToTop:hover { box-shadow: 0 6px 24px rgba(56, 126, 255, .55); transform: translateY(-2px); }
#backToTop:focus-visible { outline: 2px solid #1a5ce0; outline-offset: 3px; }

@media (max-width: 560px) {
	#backToTop { right: 14px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	#backToTop { transition: none; }
}
