/* Classic slot: footer, minimal footer, 404 and search form (owner Ft). Loaded on every page after the theme CSS. */

/* Footer social icons on hover: the design (parts/footer.css) fills the circle with honey and means the
 * icon to turn Deep Plum, but its rule (0,4,1) loses to WordPress's social-link reset
 * ".wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:hover
 * { color: currentColor }" (0,5,0, generated/core-blocks.css), so the icon stays white on honey (1.6:1).
 * This rule (0,6,0) applies the design's colour; the svg follows through core's fill: currentColor
 * (Deep Plum on honey, 6.9:1). A deliberate departure from site-next, which shows the same white icon:
 * the same rule would fix it in the block theme's parts/footer.css. */
.revita-footer .revita-footer__social .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:hover {
	color: var(--wp--preset--color--primary-deep);
}

/* The optional floating cart (filter revita_floating_cart, off by default): parts/footer.css lifts it 70px
 * above the reCAPTCHA badge, but classic/compat.css hides that badge on every page (as OliveOil did), so
 * the button stays in its corner (X-fix request to Ft, applied by the integrator). */
body.revita-floating-cart:has(.grecaptcha-badge):not(:has(.revita-recaptcha-notice)) .revita-floating-cart {
	inset-block-end: max(20px, env(safe-area-inset-bottom));
}
