.cimx-container {
  padding: 0 135px;
  position: relative;
}
@media (max-width: 979px) {
  .cimx-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
  display: none;
}

.wpml-custom-switcher {
  position: relative;
  display: inline-block;
  font-family: inherit;
}
@media (max-width: 979px) {
  .wpml-custom-switcher {
    order: 1;
    margin-left: auto;
  }
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: #300F61;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
  background-color: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.lang-toggle img {
  width: 18px;
  height: 12px;
  object-fit: cover;
}

.lang-toggle .arrow {
  margin-left: 4px;
  transition: transform 0.2s;
}

.wpml-custom-switcher.open .lang-toggle .arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  color: var(--cimx-white);
  background-color: var(--cimx-white);
  border-radius: 8px;
  box-shadow: 0px 4px 12px 0px #300F611F;
  list-style: none;
  padding: 8px 0;
  width: max-content;
  min-width: 86px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 999;
}

.wpml-custom-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #300F61;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding: 12px 16px;
  transition: background 0.2s;
}

.lang-dropdown li a:hover {
  color: var(--cimx-white);
  background-color: var(--cimx-primary-color3);
}

.lang-dropdown img {
  width: 18px;
  height: 12px;
  object-fit: cover;
}
