.hreflang-switcher {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hreflang-switcher__item--current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #d40606 !important;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.hreflang-switcher__item--current:hover {
    background: #d40606;
}

.hreflang-switcher__item--current img {
    width: 21px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

/* Dropdown */
.hreflang-switcher__dropdown {
    position: absolute;
    top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

.hreflang-switcher__dropdown.is-open {
    max-height: 300px; /* достаточно для любого кол-ва языков */
    opacity: 1;
}

.hreflang-switcher__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #822020;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.hreflang-switcher__item:hover {
    background: #164f4f;
}

.hreflang-switcher__item img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.lang-wrapper{
    display: flex;
    flex-wrap: wrap;
    margin-left: 15px;
}
