/* Keep native fragment navigation and reserve its content offset before load. */
:root {
	--gc360-anchor-offset: 42px;
}

html {
	scroll-behavior: auto !important;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.elementor-editor-active) :is(main:target, main :target, [data-elementor-type="wp-page"] :target) {
	scroll-margin-top: var(--gc360-anchor-offset) !important;
}

@media (max-width: 767px) {
	:root {
		--gc360-anchor-offset: 150px;
	}
}
