/* Best Before · back-to-top button (bottom left). */
.bb-totop {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 56; /* under activity toasts (57), chat (58), sticky bars and the cookie notice */
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--bb-border-2);
	border-radius: 50%;
	background: var(--bb-surface);
	color: var(--bb-ink);
	box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35);
	cursor: pointer;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity .2s var(--bb-ease, ease), transform .2s var(--bb-ease, ease), background-color .15s, color .15s;
}
.bb-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.bb-totop.is-visible.is-yielding { opacity: 0; pointer-events: none; }
.bb-totop:hover { background: var(--bb-ink); color: var(--bb-yellow); border-color: var(--bb-ink); }
.bb-totop:focus-visible { outline: 3px solid var(--bb-ink); outline-offset: 3px; }
@media (max-width: 767px) { .bb-totop { left: 12px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .bb-totop { transition: none; } }
@media print { .bb-totop { display: none; } }
