.lang-switcher {
    position: relative;
    width: fit-content;
    flex: 0 0 auto;
    z-index: 30;
}

.lang-switcher__menu[hidden] {
    display: none;
}

.lang-switcher.is-open .lang-switcher__menu {
    display: block;
}

.header-wrap.mob .lang-switcher {
    margin-left: auto;
    margin-right: 8px;
}

.header-wrap.desk .lang-switcher {
    margin-left: auto;
    margin-right: 16px;
}

.lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.lang-switcher__caret {
    border: 4px solid transparent;
    border-top-color: currentColor;
    margin-top: 3px;
}

.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 72px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lang-switcher__item {
    display: block;
    padding: 8px 14px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .lang-switcher__toggle {
        color: #1a1a1a;
        background: #fff;
        border: 1px solid #ddd;
    }
    .lang-switcher__menu {
        background: #fff;
        border: 1px solid #e5e5e5;
    }
    .lang-switcher__item {
        color: #1a1a1a;
    }
    .lang-switcher__item:hover,
    .lang-switcher__item.is-active {
        background: #ff6b00;
        color: #fff;
    }
}

@media (min-width: 769px) {
    .lang-switcher__toggle {
        color: #fff;
        background: rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    .lang-switcher__menu {
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
    .lang-switcher__item {
        color: #fff;
    }
    .lang-switcher__item:hover,
    .lang-switcher__item.is-active {
        background: #ff6b00;
        color: #fff;
    }
}