.translator-dropdown-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
}

.translator-dropdown-toggle {
    width: 100%;
    min-height: 50px;
    padding: 9px 12px 9px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(138, 87, 36, 0.12);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(214, 174, 84, 0.14), transparent 48%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 239, 0.96));
    color: #35251d;
    box-shadow: 0 12px 24px rgba(72, 34, 17, 0.06);
    cursor: pointer;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease,
        background 0.22s ease;
}

.translator-dropdown-toggle:hover,
.translator-dropdown-wrap.open .translator-dropdown-toggle {
    border-color: rgba(165, 90, 34, 0.20);
    box-shadow: 0 16px 30px rgba(72, 34, 17, 0.10);
}

.translator-dropdown-toggle:hover {
    transform: translateY(-1px);
}

.translator-current {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.translator-badge {
    min-width: 34px;
    height: 26px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(165, 90, 34, 0.08);
    border: 1px solid rgba(165, 90, 34, 0.10);
    color: #8b3119;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.translator-current-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.translator-caption {
    display: block;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a6f44;
}

.translator-current-text {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    color: #34251e;
}

.translator-arrow {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.70);
    color: #8a4b22;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.translator-arrow svg {
    width: 12px;
    height: 8px;
}

.translator-dropdown-wrap.open .translator-arrow {
    transform: rotate(180deg);
    background: rgba(165, 90, 34, 0.10);
    color: #8b3119;
}

.translator-dropdown-menu {
    position: absolute;
    z-index: 99999;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(214, 174, 84, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(255, 253, 249, 0.99), rgba(255, 248, 238, 0.97));
    border: 1px solid rgba(138, 87, 36, 0.12);
    box-shadow: 0 20px 36px rgba(72, 34, 17, 0.16);
    overflow: hidden;
}

.translator-dropdown-wrap.open .translator-dropdown-menu {
    display: block;
}

.translator-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #4b3b32;
    text-align: left;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.translator-dropdown-item:hover {
    background: rgba(165, 90, 34, 0.07);
    color: #8b3119;
    transform: translateY(-1px);
}

.translator-dropdown-item.active {
    background: linear-gradient(135deg, rgba(142, 60, 27, 0.98), rgba(194, 122, 48, 0.94));
    color: #fff9f2;
    box-shadow: 0 14px 24px rgba(88, 44, 23, 0.14);
}

.translator-dropdown-item.active .translator-badge {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff9f2;
}

.translator-dropdown-item.active::after {
    content: "\2713";
    margin-left: auto;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #fff9f2;
}

.translator-label {
    flex: 1 1 auto;
    min-width: 0;
}

.translator-google-element,
.goog-te-gadget,
.goog-logo-link,
.goog-te-gadget span,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 480px) {
    .translator-dropdown-toggle {
        min-height: 48px;
        padding-inline: 11px;
    }

    .translator-current-text,
    .translator-label {
        font-size: 12px;
    }
}
