/* Neutralizes the theme's fixed-to-bottom styling for the "sticky" state
   the JS in controller.js still toggles on scroll — the form just stays in
   its normal in-page position instead of re-pinning to the screen bottom.
   Loaded after the theme's own CSS; !important is a deliberate, scoped
   override for this one known-unwanted behavior (see loader.php docblock
   for why this can't be turned off via a setting). */
form.cart:not(.variations_form).sticky,
.variations_form .single_variation_wrap.sticky {
	position: static !important;
	bottom: auto !important;
	left: auto !important;
	width: auto !important;
	box-shadow: none !important;
	transform: none !important;
}

/* The theme only reveals this spacer (reserved height equal to the sticky
   bar) when the sticky class is present, specifically so the fixed bar
   doesn't cover content underneath it. With the bar no longer fixed, that
   spacer would just leave a pointless empty gap, so keep it collapsed. */
.cart.sticky + .add-to-cart-placeholder,
.single_variation_wrap.sticky + .add-to-cart-placeholder,
.form.cart.sticky:not(.variations_form) + .add-to-cart-placeholder {
	display: none !important;
}
