/* Widget actuel des maquettes : le conteneur ne dessine jamais un second fond.
 * Chargement limité aux thèmes du catalogue, hors Abril, socle et clients. */
html body #scroll.scroll.go-top {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	position: fixed !important;
	inset: auto max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) auto !important;
	display: block !important;
	width: 58px !important;
	height: 58px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	overflow: visible !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: none !important;
	transition: opacity .2s ease, visibility .2s ease !important;
	z-index: 2000 !important;
}

html body #scroll.scroll.go-top.show,
html body #scroll.scroll.go-top.is-visible,
html body.scrolltop-visible #scroll.scroll.go-top {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

html body #scroll.scroll.go-top .scroll-top-link {
	align-items: center !important;
	justify-content: center !important;
	display: flex !important;
	box-sizing: border-box !important;
	position: static !important;
	width: 58px !important;
	height: 58px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--couleur-principale, #215674) !important;
	color: var(--k3-theme-on-action, var(--couleur-texte-sur-principale, #fff)) !important;
	box-shadow: 0 6px 18px rgb(0 0 0 / 20%) !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transform: none !important;
	transition: filter .2s ease !important;
}

html body #scroll.scroll.go-top .scroll-top-link:hover {
	filter: brightness(.86) !important;
}

html body #scroll.scroll.go-top .scroll-top-link:focus-visible {
	outline: 3px solid currentColor !important;
	outline-offset: -6px !important;
}

html body #scroll.scroll.go-top .scroll-top-link::before,
html body #scroll.scroll.go-top .scroll-top-link::after,
html body #scroll.scroll.go-top::before,
html body #scroll.scroll.go-top::after {
	content: none !important;
}

html body #scroll.scroll.go-top .icon-arrow,
html body #scroll.scroll.go-top .icon-arrow path {
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

html body #scroll.scroll.go-top .icon-arrow {
	display: block !important;
	width: 26px !important;
	height: 26px !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	transform: none !important;
}

html body #scroll.scroll.go-top .visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

@media (max-width: 620px) {
	html body #scroll.scroll.go-top {
		right: max(16px, env(safe-area-inset-right)) !important;
		bottom: max(16px, env(safe-area-inset-bottom)) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body #scroll.scroll.go-top,
	html body #scroll.scroll.go-top .scroll-top-link { transition: none !important; }
}

@media print {
	html body #scroll.scroll.go-top { display: none !important; }
}
