/* Dugme za povratak na vrh, dole desno.
   Selektor body button.av-top nadjacava reset teme i stil kita za dugmad. */
body button.av-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 998;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: #C8178F;
	color: #FFFFFF;
	box-shadow: 0 10px 30px rgba(200, 23, 143, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, visibility 0s linear 0.3s;
}
body button.av-top.av-top-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, visibility 0s linear 0s;
}
body button.av-top:hover,
body button.av-top:focus,
body button.av-top:focus-visible {
	background-color: #A8127A;
	color: #FFFFFF;
}
body button.av-top:focus-visible {
	outline: 2px solid #2997ff;
	outline-offset: 3px;
}
body button.av-top svg {
	width: 22px;
	height: 22px;
	display: block;
}
@media (max-width: 767px) {
	body button.av-top {
		right: 16px;
		bottom: 16px;
		width: 46px;
		height: 46px;
	}
}
@media (prefers-reduced-motion: reduce) {
	body button.av-top,
	body button.av-top.av-top-visible {
		transition: none;
		transform: none;
	}
}
