/* Ocultar artefactos de Google Translate */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-ORHb-XcVN5c,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame,
iframe[style*="translate"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Evitar que Google empuje la página hacia abajo */
html,
body {
    top: 0 !important;
    position: static !important;
}

/* Quitar resaltado extraño que mete Google */
.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Ocultar el contenedor original */
#google_translate_element {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
}

/* Botón de idioma */
.btn-group {
    position: absolute;
    right: 20px;
    top: 80px;
    z-index: 9999;
    min-width: 130px;
}

.btn.btn-light.dropdown-toggle {
    width: 100%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.95);
    color: #111;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    overflow: hidden;
    z-index: 10000;
}

.btn-group.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f3f3f3;
}

/* Evita que el widget visible aparezca raro */
.goog-te-gadget {
    font-size: 0 !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}