.gnc-desktop-language {
    position: relative;
}

.gnc-desktop-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 88px;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.gnc-desktop-language-trigger:hover,
.gnc-desktop-language-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.gnc-desktop-language-trigger:focus-visible,
.gnc-desktop-language-option:focus-visible {
    outline: 2px solid #eb651b;
    outline-offset: 3px;
}

.gnc-desktop-language-globe {
    width: 19px;
    height: 19px;
}

.gnc-desktop-language-chevron {
    width: 13px;
    height: 13px;
    transition: transform 180ms ease;
}

.gnc-desktop-language-trigger[aria-expanded="true"] .gnc-desktop-language-chevron {
    transform: rotate(180deg);
}

.gnc-desktop-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1;
    min-width: 172px;
    padding: 6px;
    border-radius: 10px;
    background: #031c42;
}

.gnc-desktop-language-menu[hidden] {
    display: none;
}

.gnc-desktop-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.gnc-desktop-language-option img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.gnc-desktop-language-option.is-active {
    background: rgba(235, 101, 27, 0.18);
}

.gnc-desktop-language-option:hover,
.gnc-desktop-language-option:focus-visible {
    background: #eb651b;
    color: #031c42;
}

@media (prefers-reduced-motion: reduce) {
    .gnc-desktop-language-trigger,
    .gnc-desktop-language-chevron,
    .gnc-desktop-language-option {
        transition: none;
    }
}
