.val-switcher,
.val-switcher * {
    box-sizing: border-box;
}

.val-switcher {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    font-family: inherit;
    z-index: 100;
}

.va-header .val-switcher .val-current {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ded8ce !important;
    border-radius: 999px !important;
    background: #f7f4ee !important;
    color: #181713 !important;
    box-shadow: none !important;
    font: inherit;
    line-height: 1 !important;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.va-header .val-switcher .val-current:hover,
.va-header .val-switcher .val-current:focus-visible,
.va-header .val-switcher.is-open .val-current {
    border-color: #a05f3e !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(43, 35, 25, .1) !important;
    outline: none !important;
    transform: translateY(-1px);
}

.va-header .val-switcher .val-current .val-flag,
.val-menu .val-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 20px;
    line-height: 1;
}

.val-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 190px;
    max-height: none;
    overflow-y: visible;
    padding: 7px;
    border: 1px solid #e6e0d7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(43, 35, 25, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
}

.val-switcher.is-open .val-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.val-menu a {
    display: grid !important;
    grid-template-columns: 22px 1fr auto;
    gap: 10px;
    align-items: center;
    width: 100% !important;
    min-height: 42px;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 9px;
    color: #181713 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.val-menu .val-flag {
    width: 22px !important;
    height: 18px !important;
    font-size: 18px;
}

.val-menu a:hover,
.val-menu a:focus-visible,
.val-menu a[aria-selected="true"] {
    background: #f5f1eb;
    outline: none;
}

.val-menu a::after {
    display: none !important;
    content: none !important;
}

.val-menu small {
    color: #8a8377;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.val-switcher-mobile {
    display: none;
}

@media (max-width: 1100px) {
    .va-actions > .val-switcher {
        display: none;
    }

    .va-header > .val-switcher-mobile {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        width: auto;
        z-index: 100001;
    }

    .va-header .val-switcher-mobile .val-current {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .val-switcher-mobile .val-menu {
        top: calc(100% + 7px);
        right: 0;
        left: auto;
        width: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .val-current,
    .val-menu {
        transition: none;
    }
}
