/* Flag-only language switcher */
.sdc-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  z-index: 10050;
  vertical-align: middle;
}
.sdc-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  line-height: 1;
}
.main-nav-light .sdc-lang-btn,
.top-nav-light .sdc-lang-btn {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.85);
}
.sdc-lang-btn .sdc-flag {
  font-size: 18px;
  line-height: 1;
}
.sdc-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 44px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.sdc-lang.is-open .sdc-lang-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sdc-lang-menu li {
  margin: 0;
  padding: 0;
}
.sdc-lang-menu button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.sdc-lang-menu button:hover,
.sdc-lang-menu button.is-active {
  background: rgba(6, 105, 255, 0.12);
}
.sdc-lang-menu .sdc-flag {
  font-size: 18px;
  line-height: 1;
}

/* Hide Google Translate chrome; keep widget for combo control */
#sdc-google-translate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-spinner-pos {
  display: none !important;
}
body {
  top: 0 !important;
}
.goog-te-gadget {
  font-size: 0 !important;
}
.skiptranslate iframe {
  visibility: hidden !important;
  height: 0 !important;
}

@media (max-width: 991px) {
  .sdc-lang {
    margin-left: 8px;
  }
}
