
.jdc-header-language-switcher {
    display: none !important;
}

.jdc-language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    margin-inline-start: 8px;
}

.jdc-language-dropdown__button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(23, 32, 51, .14);
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
}

.jdc-language-dropdown__button:hover,
.jdc-language-dropdown.is-open .jdc-language-dropdown__button {
    border-color: #2168f3;
    color: #2168f3;
}

.jdc-language-dropdown__flag {
    display: inline-flex;
    width: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
}

.jdc-language-dropdown__arrow {
    margin-inline-start: 2px;
    font-size: 11px;
    transition: transform .18s ease;
}

.jdc-language-dropdown.is-open .jdc-language-dropdown__arrow {
    transform: rotate(180deg);
}

.jdc-language-dropdown__menu {
    position: absolute;
    z-index: 99999;
    top: calc(100% + 8px);
    right: 0;
    min-width: 205px;
    margin: 0;
    padding: 7px;
    border: 1px solid rgba(23, 32, 51, .12);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(13, 23, 41, .16);
    list-style: none;
}

.jdc-language-dropdown__menu[hidden] {
    display: none !important;
}

.jdc-language-dropdown__item {
    margin: 0;
    padding: 0;
}

.jdc-language-dropdown__item a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 7px;
    color: #172033;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.jdc-language-dropdown__item a:hover,
.jdc-language-dropdown__item.is-current a {
    background: #f1f5ff;
    color: #2168f3;
}

.jdc-language-dropdown__check {
    color: #2168f3;
    font-weight: 900;
    text-align: right;
}

@media (max-width: 980px) {
    .jdc-language-dropdown__current {
        display: none;
    }

    .jdc-language-dropdown__button {
        gap: 4px;
        padding-inline: 8px;
    }
}

@media (max-width: 689px) {
    .jdc-language-dropdown {
        display: block;
        width: 100%;
        margin: 12px 0 0;
    }

    .jdc-language-dropdown__button {
        width: 100%;
        justify-content: flex-start;
    }

    .jdc-language-dropdown__current {
        display: inline;
    }

    .jdc-language-dropdown__arrow {
        margin-inline-start: auto;
    }

    .jdc-language-dropdown__menu {
        position: static;
        width: 100%;
        margin-top: 7px;
        box-shadow: none;
    }
}
