/* Hide Google’s default UI; keep your own selector clean */
.goog-te-banner-frame,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget-icon,
.goog-te-gadget-simple,
.skiptranslate {
    display: none !important;
}

/* Areas you never want translated */
.notranslate,
[translate="no"] {
    unicode-bidi: isolate;
}

/* Optional: fallback floating language switcher (auto-injected if #languageSelect missing) */
#glhcLangFab {
    position: fixed;
    right: 24px;
    top: calc(var(--nav-bottom, 56px) + 12px);
    z-index: 2147483647;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
    padding: 6px 10px;
    display: none;
    gap: 6px;
    align-items: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

#glhcLangFab select {
    border: 0;
    background: transparent;
    padding: 6px 8px;
    font-weight: 600;
}

@media (max-width: 480px) {
    #glhcLangFab {
        right: 12px;
    }
}