/**
 * ScalingHawk Smooth Scroll (Powered by Lenis) — CSS
 *
 * Official Lenis CSS recommendations plus plugin overrides.
 * These styles ensure Lenis works correctly across all themes
 * by neutralising CSS scroll-behavior and setting proper height rules.
 *
 * @package ScalingHawk_Smooth_Scroll
 * @version 1.0.0
 * @license GPL-2.0-or-later
 */

/* ── Lenis Core Styles ─────────────────────────────────── */

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

/* ── Override native smooth-scroll to prevent conflicts ── */

html {
	scroll-behavior: auto !important;
}

/* ── Prevent rubber-banding on macOS / iOS ──────────────── */

body {
	overscroll-behavior: none;
}
