/**
 * Sticky-on-scroll-up nav — behaviour only (driven by assets/js/atr-sticky-nav.js).
 *
 * Theme-agnostic: targets the `.atr-sticky-nav` marker class. The owning theme
 * keeps its own skin (background, colours, height) on the nav; this file only
 * pins it and animates the show/hide. Enqueued by the "Sticky-on-scroll-up
 * navigation" option (ATR Theme Options → Header / Navigation).
 */
.atr-sticky-nav.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.atr-sticky-nav.is-fixed.is-visible {
	transform: translateY(0);
}

/* Placeholder that reserves the nav's space while it is fixed, so the page
   content does not jump. It is purely a spacer — no visuals. */
.atr-sticky-nav__spacer {
	flex: none;
	pointer-events: none;
}
