/* Lenis 1.3.25 recommended CSS. */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

.lenis.lenis-autoToggle {
	transition-behavior: allow-discrete;
	transition-duration: 1ms;
	transition-property: overflow;
}

/*
 * Bricks' filter dropdowns scroll natively (see the `prevent` callback in
 * smooth-scroll.js). Containing their overscroll stops the browser from
 * chaining a native page scroll once the list hits its top or bottom.
 */
.bricks-choices__list--dropdown .bricks-choices__list {
	overscroll-behavior: contain;
}

/* Prevent Bricks' native smooth-scroll rule from competing with Lenis. */
html.lenis {
	scroll-behavior: auto !important;
}

/* Always respect the operating-system accessibility preference. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}
}
