.oganov-language-switcher {
    position: relative;
    display: inline-flex;
    align-self: center;
    vertical-align: middle;
    z-index: 2000;
    isolation: isolate;
}

.oganov-language-switcher__trigger {
    border: 0 !important;
    background: transparent !important;
    padding: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    color: #d6d6d6 !important;
    font-family: "Involve", sans-serif;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal;
    text-transform: uppercase !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.oganov-language-switcher__trigger:hover,
.oganov-language-switcher__trigger:focus,
.oganov-language-switcher__trigger:focus-visible,
.oganov-language-switcher__trigger:active,
.oganov-language-switcher.is-open .oganov-language-switcher__trigger {
    border: 0 !important;
    background: transparent !important;
    color: #d6d6d6 !important;
    box-shadow: none !important;
    outline: none !important;
}

.oganov-language-switcher__flag {
    width: 16px !important;
    height: 12px !important;
    min-width: 16px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    object-fit: cover !important;
    display: block !important;
}

.oganov-language-switcher__trigger .oganov-language-switcher__flag,
.oganov-language-switcher__item .oganov-language-switcher__flag {
    border-radius: 3px !important;
    overflow: hidden !important;
}

.oganov-language-switcher__trigger-label {
    white-space: nowrap;
}

.oganov-language-switcher__chevron {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #d6d6d6;
    transition: transform 0.2s ease;
}

.oganov-language-switcher__chevron::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
}

.oganov-language-switcher.is-open .oganov-language-switcher__chevron {
    transform: rotate(180deg);
}

.oganov-language-switcher__dropdown {
    position: fixed;
    top: var(--oganov-lang-top, 0px);
    left: var(--oganov-lang-left, 0px);
    right: auto;
    width: 271px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 0 0 rgba(107, 187, 247, 0.3);
    z-index: 2147483000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transform-origin: top right;
    transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.oganov-language-switcher.is-open .oganov-language-switcher__dropdown,
.oganov-language-switcher__dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.oganov-language-switcher.is-open {
    z-index: 2147483000;
}

.oganov-language-switcher__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.oganov-language-switcher__row + .oganov-language-switcher__row {
    margin-top: 0;
}

.oganov-language-switcher__item {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.9);
    font-family: "Involve", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 768px) {
    .oganov-language-switcher__item {
        box-sizing: border-box;
    }
}

.oganov-language-switcher__name {
    flex: 1 1 auto;
    min-width: 0;
}

.oganov-language-switcher__check {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.oganov-language-switcher__check::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 1.8px solid #000000;
    border-bottom: 1.8px solid #000000;
    transform: rotate(-45deg) translateY(-1px);
}

.oganov-language-switcher__item.is-current .oganov-language-switcher__check {
    opacity: 1;
}

@media (max-width: 767px) {
    .oganov-language-switcher__trigger {
        font-size: 12px !important;
        padding: 6px !important;
    }

    .oganov-language-switcher__dropdown {
        width: 240px;
        padding: 14px 16px;
    }

    .oganov-language-switcher__item {
        min-height: 42px;
        padding: 12px 0;
        font-size: 16px;
    }
}
