.lang-switcher {
    display: inline-block;
    position: relative;
    vertical-align: middle
}

.lang-btn {
    align-items: center;
    background: hsla(0, 0%, 100%, .08);
    border: 1px solid hsla(0, 0%, 100%, .25);
    border-radius: 6px;
    color: #fff;
    color: var(--headercolor, #fff);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    transition: all .2s ease
}

@media (hover:hover) {
    .lang-btn:hover {
        background: hsla(0, 0%, 100%, .15);
        border-color: hsla(0, 0%, 100%, .35)
    }
}

.lang-icon {
    border-radius: 2px;
    flex-shrink: 0;
    height: 13px;
    -o-object-fit: contain;
    object-fit: contain;
    width: 20px
}

.lang-text {
    font-weight: 500;
    white-space: nowrap
}

.lang-menu {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    min-width: 180px;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    transform: translateY(-8px);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden;
    z-index: 1000
}

.lang-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible
}

.lang-item {
    align-items: center;
    color: #333;
    display: flex;
    font-size: 14px;
    gap: 10px;
    padding: 10px 14px;
    -webkit-text-decoration: none;
    text-decoration: none;
    transition: background .15s
}

.lang-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}

@media (hover:hover) {
    .lang-item:hover {
        background: #f5f5f5
    }
}

.lang-item.current {
    background: rgba(59, 130, 246, .08);
    color: #2563eb;
    font-weight: 500
}

.lang-item img {
    flex-shrink: 0;
    height: 16px;
    -o-object-fit: contain;
    object-fit: contain;
    width: 24px
}

.lang-divider {
    background: #e5e7eb;
    height: 1px;
    margin: 6px 0
}

.lang-section-label {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 8px 14px 4px;
    text-transform: uppercase
}

@media (max-width:1024px) {
    .lang-btn {
        font-size: 13px;
        min-height: 36px;
        padding: 6px 8px
    }

    .lang-icon {
        height: 12px;
        width: 18px
    }

    .lang-text {
        font-size: 13px
    }

    .lang-item {
        min-height: 48px;
        padding: 12px 16px
    }
}

@media (max-width:767px) {
    .lang-menu {
        left: auto !important;
        max-height: calc(100vh - 80px);
        min-width: 160px;
        overflow-y: auto;
        position: fixed !important;
        right: 15px !important;
        top: 60px;
        transform: none !important;
        width: auto !important
    }
}