.ansf-scroll-to-top {
	position: fixed;
	bottom: var(--ansf-scroll-desktop-bottom, 30px);
	z-index: 999;
	width: 45px;
	height: 45px;
	padding: 0;
	color: #fff;
	font-size: 0;
	cursor: pointer;
	visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgb( 0 0 0 / 14% );
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ansf-scroll-to-top--bottom-right {
	right: 30px;
}

.ansf-scroll-to-top--bottom-left {
	left: 30px;
}

.ansf-scroll-to-top img {
	display: block;
	width: 45px;
	height: 45px;
}

.ansf-scroll-to-top.is-visible {
	visibility: visible;
	opacity: 1;
}

@media (max-width: 768px) {
	.ansf-scroll-to-top {
		bottom: var(--ansf-scroll-mobile-bottom, 90px);
	}
}
