/*
 * Klaviyo popup scroll lock.
 *
 * custom-css-js post 704269995 ("Klaviyo Safari horizontal movement fix") locks html/body with
 * position:fixed while the POPUP Form dialog is open. A fixed body drops the window scroll, so a
 * link to an anchor (e.g. #product-reviews) lands at the top once the popup closes. Keep the lock
 * (overflow + touch-action) but not the fixed positioning.
 *
 * The snippet prints its <style> after this stylesheet with the same !important declarations, so
 * equal specificity would lose: :not(#rc-klaviyo-lock) adds an ID's worth of specificity.
 */
html:not(#rc-klaviyo-lock):has(div[role="dialog"][aria-label="POPUP Form"][style*="display: flex"]),
body:not(#rc-klaviyo-lock):has(div[role="dialog"][aria-label="POPUP Form"][style*="display: flex"]) {
	position: static !important;
	height: auto !important;
}
