.jdw-back-to-top {
	--jdw-btt-size: 48px;
	--jdw-btt-offset-x: 24px;
	--jdw-btt-offset-y: 24px;
	--jdw-btt-hover-y: -2px;
	--jdw-btt-color: var(--e-global-color-text);
	--jdw-btt-bg: var(--e-global-color-accent);
	--jdw-btt-hover-color: var(--e-global-color-text);
	--jdw-btt-hover-bg: var(--e-global-color-primary);

	align-items: center;
	background-color: var(--jdw-btt-bg);
	border: 0;
	bottom: var(--jdw-btt-offset-y);
	box-sizing: border-box;
	color: var(--jdw-btt-color);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: 8px;
	justify-content: center;
	line-height: 1;
	min-height: var(--jdw-btt-size);
	min-width: var(--jdw-btt-size);
	opacity: 0;
	padding: 0;
	position: fixed;
	text-decoration: none;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background-color 180ms ease, color 180ms ease;
	visibility: hidden;
	z-index: 999;
}

.jdw-back-to-top--right {
	left: auto;
	right: var(--jdw-btt-offset-x);
}

.jdw-back-to-top--left {
	left: var(--jdw-btt-offset-x);
	right: auto;
}

.jdw-back-to-top.is-icon-only {
	height: var(--jdw-btt-size);
	width: var(--jdw-btt-size);
}

.jdw-back-to-top.has-label {
	height: auto;
	padding: 0 18px;
	white-space: nowrap;
}

.jdw-back-to-top.is-visible,
.elementor-editor-active .jdw-back-to-top {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.jdw-back-to-top:hover,
.jdw-back-to-top:focus-visible {
	background-color: var(--jdw-btt-hover-bg);
	color: var(--jdw-btt-hover-color);
	transform: translateY(var(--jdw-btt-hover-y));
}

.jdw-back-to-top:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.jdw-back-to-top__icon {
	align-items: center;
	display: inline-flex;
	font-size: 18px;
	justify-content: center;
	line-height: 1;
}

.jdw-back-to-top__icon svg {
	display: block;
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.jdw-back-to-top__label {
	display: inline-block;
	line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
	.jdw-back-to-top {
		transition: none;
	}
}

.jdw-back-to-top--site {
	--jdw-btt-size: 61px;
	--jdw-btt-offset-x: 16px;
	--jdw-btt-offset-y: 100px;
	--jdw-btt-hover-y: 0;
	--jdw-btt-color: #fff;
	--jdw-btt-bg: #EA543F;
	--jdw-btt-hover-color: #fff;
	--jdw-btt-hover-bg: #ED5641;

	border-radius: 50px;
	box-shadow: none;
	color: var(--jdw-btt-color);
	fill: var(--jdw-btt-color);
	transform: none;
	transition: opacity 300ms ease, visibility 300ms ease, background-color 400ms ease-in-out, color 400ms ease-in-out, fill 400ms ease-in-out;
	z-index: 9999;
}

.jdw-back-to-top--site.is-visible,
.jdw-back-to-top--site:hover,
.jdw-back-to-top--site:focus-visible {
	transform: none;
}

.jdw-back-to-top--site:hover,
.jdw-back-to-top--site:focus-visible {
	fill: var(--jdw-btt-hover-color);
}

.jdw-back-to-top--site .jdw-back-to-top__icon {
	font-size: 30px;
	line-height: 1em;
}
