.cs_lang_switch {
  position: relative;
  z-index: 120;
}

.cs_lang_btn {
  appearance: none;
  border: 1px solid rgba(13, 12, 23, 0.14);
  background: #fff;
  color: var(--heading-color);
  border-radius: 999px;
  min-width: 64px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cs_lang_flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(13, 12, 23, 0.12);
  flex-shrink: 0;
  display: block;
}

.cs_lang_btn .cs_lang_flag {
  width: 18px;
  height: 12px;
}

.cs_lang_btn:hover,
.cs_lang_switch.is-open .cs_lang_btn {
  border-color: var(--accent-color);
}

.cs_lang_menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(13, 12, 23, 0.14);
}

.cs_lang_switch.is-open .cs_lang_menu {
  display: block;
}

.cs_lang_menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--heading-color);
  font-size: 14px;
  text-decoration: none;
}

.cs_lang_menu .cs_lang_flag {
  width: 20px;
  height: 14px;
}

.cs_lang_menu a:hover,
.cs_lang_menu a.is-active {
  background: rgba(140, 180, 58, 0.12);
  color: var(--heading-color);
}

.cs_nav .cs_nav_list .cs_mobile_cta .cs_lang_switch {
  width: 100%;
}

.cs_nav .cs_nav_list .cs_mobile_cta .cs_lang_btn {
  width: 100%;
}

.cs_nav .cs_nav_list .cs_mobile_cta .cs_lang_menu {
  position: static;
  box-shadow: none;
  border: 1px solid rgba(13, 12, 23, 0.08);
  margin-top: 8px;
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .cs_lang_menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .cs_site_header.cs_style_1 .cs_main_header_right {
  flex-direction: row-reverse;
}

.cs_agr_i18n_bar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 12px;
}

html[dir="rtl"] .cs_agr_i18n_bar {
  right: auto;
  left: 16px;
}
