.lang-popup-wrapper {
    position: relative;
}

.lang-popup-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    user-select: none;
}

.lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.lang-arrow {
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lang-popup-trigger.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    overflow: hidden;
    z-index: 9999;
}

.lang-popup.open {
    display: block;
}

.lang-popup__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.2s;
}

.lang-popup__item:hover {
    background: #f5f5f5;
}