/* --- SELECTOR IDIOMA: compacto, solo bandera --- */
.gt_switcher {
  min-width: auto !important;
  width: auto !important;
}
.gt_switcher .gt_selected {
  padding: 0 !important;
  background: none !important;
  border: none !important;
}
.gt_switcher .gt_selected a {
  font-size: 0 !important;
  line-height: 1 !important;
  padding: 0 !important;
  display: inline-block !important;
}
.gt_switcher .gt_selected a img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}
/* Ocultar flecha dropdown */
.gt_switcher .gt_selected::after,
.gt_switcher .gt_selected a::after {
  display: none !important;
}
/* Dropdown al hover */
.gt_switcher .gt_option {
  min-width: 40px !important;
}
.gt_switcher .gt_option a {
  font-size: 0 !important;
  padding: 4px 8px !important;
}
.gt_switcher .gt_option a img {
  width: 20px !important;
  height: 20px !important;
}
.gt_switcher .gt_white_content {
  min-width: auto !important;
  width: auto !important;
}

/* --- SELECTOR IDIOMA CUSTOM --- */
.tank-lang {
  position: relative;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
}
.tank-lang img {
  width: 20px;
  height: 20px;
  display: block;
  border-radius: 2px;
}
.tank-lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 4px;
  margin-top: 5px;
  z-index: 1000;
}
.tank-lang:hover .tank-lang-dropdown,
.tank-lang.open .tank-lang-dropdown {
  display: block;
}
.tank-lang-dropdown a {
  display: block;
  padding: 4px;
}
.tank-lang-dropdown a img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
}

/* --- SELECTOR IDIOMA: compacto como un icono --- */
.menu-item-gtranslate {
  display: list-item !important;
}
.gt_switcher {
  display: inline-block !important;
  min-width: auto !important;
  width: auto !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.gt_switcher .gt_selected {
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
.gt_switcher .gt_selected a {
  font-size: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  background: none !important;
}
.gt_switcher .gt_selected a img {
  width: 20px !important;
  height: 20px !important;
}
/* Ocultar flecha */
.gt_switcher .gt_selected a span,
.gt_switcher .gt_selected &gt; span {
  display: none !important;
}
/* Dropdown compacto */
.gt_switcher .gt_white_content {
  min-width: auto !important;
  width: auto !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  padding: 4px !important;
}
.gt_switcher .gt_option a {
  font-size: 0 !important;
  padding: 4px !important;
  background: none !important;
}
.gt_switcher .gt_option a img {
  width: 20px !important;
  height: 20px !important;
}

/* --- SELECTOR IDIOMA: forzar compacto --- */
.gt_container--y8p7kg,
div[class^="gt_container"] {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
}
.gt_switcher,
.gt_switcher.notranslate {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  line-height: 1 !important;
}
.gt_switcher .gt_selected {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  height: auto !important;
}
.gt_switcher .gt_selected a {
  font-size: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  height: auto !important;
  line-height: 1 !important;
}
.gt_switcher .gt_selected a img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 2px !important;
}
.gt_switcher .gt_selected &gt; span,
.gt_switcher .gt_selected a &gt; span {
  display: none !important;
}
.gt_switcher .gt_white_content {
  min-width: auto !important;
  width: auto !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  padding: 4px !important;
  top: 100% !important;
}
.gt_switcher .gt_option a {
  font-size: 0 !important;
  padding: 4px !important;
  background: transparent !important;
}
.gt_switcher .gt_option a img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 2px !important;
}
.menu-item-gtranslate {
  width: auto !important;
  height: auto !important;
}

/* --- SELECTOR IDIOMA: nuclear reset --- */
.menu-item-gtranslate,
.menu-item-gtranslate &gt; div,
.menu-item-gtranslate &gt; div &gt; div,
.menu-item-gtranslate div[class^="gt_container"],
.gt_switcher,
.gt_switcher.notranslate,
.gt_selected {
  all: unset !important;
  display: inline-block !important;
  position: relative !important;
  cursor: pointer !important;
}
.gt_switcher .gt_selected a {
  all: unset !important;
  cursor: pointer !important;
  font-size: 0 !important;
}
.gt_switcher .gt_selected a img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  border-radius: 2px !important;
}
.gt_switcher .gt_option {
  display: none;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  padding: 4px !important;
  z-index: 9999 !important;
}
.gt_switcher:hover .gt_option {
  display: block !important;
}
.gt_switcher .gt_option a {
  all: unset !important;
  display: block !important;
  padding: 4px !important;
  cursor: pointer !important;
  font-size: 0 !important;
}
.gt_switcher .gt_option a img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  border-radius: 2px !important;
}

/* --- SELECTOR IDIOMA: nuclear reset --- */
.menu-item-gtranslate,
.menu-item-gtranslate &gt; div,
.menu-item-gtranslate &gt; div &gt; div,
.menu-item-gtranslate div[class^="gt_container"],
.gt_switcher,
.gt_switcher.notranslate,
.gt_selected {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  cursor: pointer !important;
  height: auto !important;
  max-height: none !important;
  line-height: 0 !important;
}
.gt_switcher .gt_selected a {
  all: unset !important;
  cursor: pointer !important;
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-block !important;
}
.gt_switcher .gt_selected a img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  border-radius: 2px !important;
}
.gt_switcher .gt_option {
  display: none;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  padding: 4px !important;
  z-index: 9999 !important;
}
.gt_switcher:hover .gt_option {
  display: block !important;
}
.gt_switcher .gt_option a {
  all: unset !important;
  display: block !important;
  padding: 4px !important;
  cursor: pointer !important;
  font-size: 0 !important;
}
.gt_switcher .gt_option a img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  border-radius: 2px !important;
}

/* --- SELECTOR IDIOMA --- */
.menu-item-gtranslate {
  position: relative !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
}
.menu-item-gtranslate &gt; div {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.menu-item-gtranslate:hover &gt; div {
  overflow: visible !important;
}
.menu-item-gtranslate &gt; div &gt; div,
.menu-item-gtranslate .gt_switcher {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: visible !important;
}
.menu-item-gtranslate .gt_selected {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.menu-item-gtranslate:hover .gt_selected {
  overflow: visible !important;
}
.menu-item-gtranslate .gt_selected a {
  font-size: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_selected a img {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  border-radius: 3px !important;
}
.menu-item-gtranslate .gt_option {
  display: none;
  position: absolute !important;
  top: 28px !important;
  right: 0 !important;
  left: auto !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  padding: 4px !important;
  z-index: 9999 !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}
.menu-item-gtranslate:hover .gt_option,
.menu-item-gtranslate .gt_switcher:hover .gt_option {
  display: block !important;
}
.menu-item-gtranslate .gt_option a {
  font-size: 0 !important;
  padding: 4px !important;
  display: block !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_option a img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  border-radius: 3px !important;
}

/* --- SELECTOR IDIOMA --- */
.menu-item-gtranslate {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  overflow: hidden !important;
}
.menu-item-gtranslate &gt; div {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.menu-item-gtranslate .gt_switcher {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_selected {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.menu-item-gtranslate .gt_selected a {
  font-size: 0 !important;
  padding: 0 !important;
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_selected a img {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  border-radius: 3px !important;
}
/* Dropdown con position fixed para evitar overflow clip */
.menu-item-gtranslate .gt_option {
  display: none;
  position: fixed !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
  padding: 6px !important;
  z-index: 99999 !important;
  width: auto !important;
  height: auto !important;
}
.menu-item-gtranslate:hover .gt_option,
.menu-item-gtranslate .gt_switcher:hover .gt_option {
  display: block !important;
}
.menu-item-gtranslate .gt_option a {
  font-size: 0 !important;
  padding: 4px !important;
  display: block !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_option a img {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  border-radius: 3px !important;
}

/* --- SELECTOR IDIOMA: solo bandera, click cambia idioma --- */
.menu-item-gtranslate {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  overflow: hidden !important;
  cursor: pointer !important;
}
.menu-item-gtranslate &gt; div {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.menu-item-gtranslate .gt_switcher {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_selected {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
}
.menu-item-gtranslate .gt_selected a {
  font-size: 0 !important;
  padding: 0 !important;
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  background: transparent !important;
}
.menu-item-gtranslate .gt_selected a img {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  border-radius: 3px !important;
}
/* Ocultar dropdown siempre */
.menu-item-gtranslate .gt_option {
  display: none !important;
}

/* --- LOGO: proporciones correctas --- */
.site-logo img, .custom-logo {
  object-fit: contain !important;
  height: auto !important;
  max-height: 57px !important;
}

/* --- Quitar scrollbar del selector idioma --- */
.menu-item-gtranslate,
.menu-item-gtranslate &gt; div,
.menu-item-gtranslate .gt_switcher,
.menu-item-gtranslate .gt_selected {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.menu-item-gtranslate::-webkit-scrollbar,
.menu-item-gtranslate &gt; div::-webkit-scrollbar,
.menu-item-gtranslate .gt_switcher::-webkit-scrollbar,
.menu-item-gtranslate .gt_selected::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
