.custom-lang-switcher {
  position: relative;
  display: inline-block;
  z-index: 999;
}

.custom-lang-switcher .lang-button {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.custom-lang-switcher .lang-button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border: solid #555;
  border-width: 2px 2px 0 0;
  transform: translateY(-20%) rotate(135deg);
  transition: transform 0.2s ease;

}

.custom-lang-switcher:hover .lang-button::after {
  transform: translateY(20%) rotate(-45deg);
}

.custom-lang-switcher .lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  min-width: 100%;
  padding: 0;
  list-style: none;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.custom-lang-switcher:hover .lang-dropdown,
.custom-lang-switcher .lang-dropdown:hover {
  display: block;
}

.custom-lang-switcher .lang-dropdown li a {
  display:flex;
  justify-content:center;
  padding: 8px 10px;
  cursor: pointer;
  color: #151515;
}

.custom-lang-switcher .lang-dropdown li a:hover {
  color: dimgrey;
}

.custom-lang-switcher .lang-dropdown li:hover {
  background-color: #f0f0f0;
}