/**
 * Google Translate language switcher (gt-lang)
 * Reusable with google-translate-lang.js + #google_translate_element
 */

/* Hide Google default UI & top bar */
body {
    top: 0 !important;
}

.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

#google_translate_element,
.goog-te-gadget {
    display: none !important;
}

.gt-lang {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 3px;
    border-radius: 999px;
    background: rgba(60, 38, 24, 0.08);
    border: 1px solid rgba(60, 38, 24, 0.22);
}

.gt-lang__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 10px;
    border: none;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    color: #3C2618;
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.gt-lang__btn:hover {
    color: #3C2618;
    background: rgba(60, 38, 24, 0.08);
}

.gt-lang__btn.is-active {
    color: #fff;
    background: #3C2618;
    box-shadow: 0 4px 12px rgba(60, 38, 24, 0.22);
}

.gt-lang__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(60, 38, 24, 0.2);
}

.gt-lang.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.gg-trans {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
}

.logo_mobile .box_poy_mb {
    flex: 0 0 auto !important;
    gap: 4px;
}

.header-top .header-menu-right .gg-trans {
    margin-left: 4px;
    margin-right: 0;
}

@media (max-width: 575px) {
    .gt-lang__btn {
        min-width: 20px;
        height: 17px;
        padding: 0 8px;
        font-size: 10px;
    }
}
