/* reCAPTCHA badge visibility policy
 * Hidden by default across storefront.
 * Visible only on the routes requested for trust signaling.
 */
html .grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    right: 16px !important;
    left: auto !important;
    top: auto !important;
    bottom: 50% !important;
    transform: translateY(50%) scale(0.88) !important;
    transform-origin: right center !important;
    z-index: 9999 !important;
    transition: opacity 0.2s ease !important;
}

html.route-information-contact .grecaptcha-badge,
html.route-checkout-checkout .grecaptcha-badge,
html.route-account-register .grecaptcha-badge,
html[class*="route-account-register_b2b"] .grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 767px) {
    html .grecaptcha-badge {
        right: 4px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) scale(0.52) !important;
        transform-origin: right center !important;
    }
}
