.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button {
	position: fixed;
	z-index: 1000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	padding: 0;
	border:none;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition);
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button .quantom-scroll-top-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: #ffffff66;
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button:hover .quantom-scroll-top-icon-wrap {
	background: var(--quantom-scroll-top-hover-bg, #ffffffcc) !important;
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button:hover {
	color: var(--quantom-scroll-top-hover-text, inherit) !important;
}

.wp-block-quantom-2026-scroll-to-top.is-position-layout .quantom-scroll-top-button {
	position: relative;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button svg {
	display: block;
	fill: currentColor;
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-button.has-label {
	gap: 8px;
}

.wp-block-quantom-2026-scroll-to-top .quantom-scroll-top-text {
	white-space: nowrap;
	font-size: 0.95rem;
	line-height: 1;
}
