/* ── TranslatePress Language Switcher – dropdown variant ── */

.trp_custom_language_switcher {
  position: relative;
  display: inline-block;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
}

/* Toggle button */
button.trp-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: transparent !important;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  text-transform: uppercase;
  color: inherit;
  line-height: 1;
}

.trp-switcher__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.trp-switcher__globe {
  display: flex;
  align-items: center;
  opacity: 0.75;
}

.trp-switcher__chevron {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.trp-switcher--open .trp-switcher__chevron {
  transform: rotate(180deg);
}

/* Dropdown list
   Uses position: fixed so it escapes any overflow:hidden
   or stacking context on the header group blocks.
   JS adjusts position via inline style if needed, but
   for a top-bar switcher right:0 + top from getBoundingClientRect
   is the safest approach — here we keep absolute but rely on
   the wrapper group NOT clipping (WordPress group blocks
   don't set overflow:hidden by default). */
.trp-switcher__dropdown {
  position: absolute;
  min-width: 80px;
	right:0;
	top:1.6em;
  list-style: none !important;
  margin: 0;
  padding: 4px 0;
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99999;

  /* Animate in */
  animation: trp-dropdown-in 0.15s ease both;
}

@keyframes trp-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trp-switcher__dropdown li {
  list-style: none !important;
}

.trp-switcher__dropdown a {
  display: block;
  padding: 6px 14px;
  text-decoration: none !important;
  color: #111111 !important;
  white-space: nowrap;
  transition: background 0.15s;
}

.trp-switcher__dropdown a:hover,
.trp-switcher__dropdown a:focus {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}