.language-switcher summary {
    min-width: 122px;
    height: 44px;
    padding: 0 13px 0 11px;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(232, 117, 22, .58);
    border-left: 3px solid var(--orange);
    background: #fff8f2;
    box-shadow: 0 5px 16px rgba(16, 38, 59, .08);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.language-switcher summary:hover,
.language-switcher[open] summary {
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 38, 59, .13);
}

.language-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
}

.language-flag {
    display: block;
    width: 24px;
    height: 16px;
    flex: 0 0 auto;
    border: 1px solid rgba(16, 38, 59, .16);
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(16, 38, 59, .12);
}

.language-switcher > div {
    top: calc(50% + 27px);
    min-width: 168px;
    padding: 8px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--orange);
    box-shadow: 0 16px 36px rgba(8, 28, 45, .2);
}

.main-nav .language-switcher > div > a {
    height: 44px;
    padding: 0 11px;
    gap: 10px;
    border-radius: 2px;
    font-size: 12px;
}

.main-nav .language-switcher > div > a b {
    font-weight: 650;
}

.main-nav .language-switcher > div > a em {
    margin-left: auto;
    color: var(--orange);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.main-nav .language-switcher > div > a.active {
    background: #fff3e8;
    color: var(--navy);
}

@media (max-width: 980px) {
    .language-switcher summary {
        min-width: 0;
        height: 48px;
        padding: 0 15px;
    }

    .language-switcher > div {
        min-width: 0;
        padding: 7px 0 0;
        border: 0;
        box-shadow: none;
    }

    .main-nav .language-switcher > div > a {
        height: 46px;
        padding: 0 15px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }
}
