/* mtranslate language switcher: ported from the GTranslate custom CSS (same spot and look). */
#mt-switcher {
  position: absolute;
  top: 63px;
  right: 72px;
  z-index: 9999;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
}
#mt-switcher details {
  position: relative;
}
#mt-switcher summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(16, 11, 8, 0.55);
  border: 1px solid rgba(230, 202, 157, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  user-select: none;
}
#mt-switcher summary::-webkit-details-marker {
  display: none;
}
#mt-switcher summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}
#mt-switcher details[open] summary::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}
#mt-switcher summary:hover,
#mt-switcher details[open] summary {
  border-color: #E6CA9D;
}
/* Language list opens below */
#mt-switcher ul {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #1a120d;
  border: 1px solid rgba(230, 202, 157, 0.35);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
#mt-switcher li {
  margin: 0;
  padding: 0;
}
#mt-switcher .mt-flag {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
#mt-switcher a .mt-flag {
  width: 16px;
  height: 16px;
}
#mt-switcher a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
#mt-switcher a[aria-current="true"] {
  display: none;
}
#mt-switcher a:hover,
#mt-switcher a:focus-visible {
  background: #C45414;
  color: #fff;
}
/* Mobile: under the basket */
@media (max-width: 782px) {
  #mt-switcher {
    top: 96px;
    right: 6px;
  }
  #mt-switcher summary {
    padding: 6px 8px;
    gap: 5px;
    font-size: 12px;
  }
  #mt-switcher summary::after {
    display: none;
  }
}
