/* Block: Scroll to Top */

.scroll-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--wp--preset--color--gold);
	color: #fff;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
		transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
		background 0.3s ease;
}
.scroll-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.scroll-to-top:hover {
	background: var(--wp--preset--color--emerald);
}
.scroll-to-top:active {
	transform: scale(0.95);
}
