/* kovbasyuk: языковой переключатель UK | RU в шапке */

.header__lang {
    display: inline-flex;
    align-items: center;
}

.header__lang ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
}

.header__lang li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

/* Разделитель между пунктами */
.header__lang li + li::before {
    content: "|";
    color: rgba(0, 0, 0, .25);
    margin-right: 8px;
    font-weight: 400;
}

.header__lang a {
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .04em;
    color: #4c4c4c;
    color: var(--text-main-color, #4c4c4c);
    padding: 4px 2px;
    transition: color .15s ease;
    font-weight: 500;
}

.header__lang a:hover,
.header__lang a:focus {
    color: var(--main-color, #b5754f);
}

.header__lang .current-lang a {
    color: var(--main-color, #b5754f);
    font-weight: 700;
    pointer-events: none;
}

/* Мобильная версия — тем же inline, но плотнее */
@media (max-width: 768px) {
    .header__lang ul {
        font-size: 13px;
        gap: 6px;
    }
    .header__lang li + li::before {
        margin-right: 6px;
    }
}
