/* Premium dil / para seçici — topbar + mobil menü */
.mz-locale-bar {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-right: .75rem;
  vertical-align: middle;
}

.mz-lang-switch,
.mz-cur-switch {
  position: relative;
  display: inline-block;
}

.mz-lang-switch__btn,
.mz-cur-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(15, 23, 42, .14);
  background: #fff;
  color: #0f172a !important;
  border-radius: 999px;
  padding: .28rem .7rem .28rem .75rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.mz-lang-switch__btn:hover,
.mz-cur-switch__btn:hover,
.mz-lang-switch.is-open .mz-lang-switch__btn,
.mz-cur-switch.is-open .mz-cur-switch__btn {
  border-color: rgba(37, 99, 235, .4);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  background: #fff;
  color: #0f172a !important;
}

.mz-lang-switch__btn i,
.mz-cur-switch__btn i,
.mz-lang-switch__name,
.mz-cur-switch__name {
  color: #0f172a !important;
}

.mz-lang-switch__code,
.mz-cur-switch__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #0f172a !important;
  color: #fff !important;
  font-size: .65rem;
  font-weight: 700;
}

.mz-lang-switch__name,
.mz-cur-switch__name {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mz-lang-switch__menu,
.mz-cur-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1040;
  min-width: 12rem;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
  display: none;
}

.mz-lang-switch.is-open .mz-lang-switch__menu,
.mz-cur-switch.is-open .mz-cur-switch__menu {
  display: block;
}

.mz-lang-switch__menu li,
.mz-cur-switch__menu li {
  display: block;
  width: 100%;
}

.mz-lang-switch__menu a,
.mz-cur-switch__menu a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .55rem;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  padding: .55rem .65rem;
  border: 0;
  border-radius: 10px;
  color: #0f172a !important;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
}

.mz-lang-switch__menu .mz-lang-switch__name,
.mz-cur-switch__menu .mz-cur-switch__name {
  max-width: none;
}

.mz-cur-switch__sub {
  flex-basis: 100%;
  padding-left: 2.15rem;
  font-size: .72rem;
  font-weight: 500;
  color: #64748b !important;
}

.mz-lang-switch__menu a:hover,
.mz-cur-switch__menu a:hover,
.mz-lang-switch__menu li.is-active a,
.mz-cur-switch__menu li.is-active a {
  background: #f1f5f9;
  color: #0f172a !important;
}

/* Topbar: dil/para + linkler dikey ortalı; sol bant yazısı beyaz */
.topbar.topbar--brand {
  display: flex;
  align-items: center;
}

.topbar.topbar--brand .site-container {
  display: flex !important;
  align-items: center !important;
  min-height: 40px;
  height: 40px;
}

.topbar--brand .mz-locale-bar {
  margin-right: .85rem;
  align-self: center;
}

.topbar--brand .topbar-left {
  color: #fff !important;
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.topbar--brand .topbar-left,
.topbar--brand .topbar-left a,
.topbar--brand .topbar-left span,
.topbar--brand .topbar-left p,
.topbar--brand .topbar-left * {
  color: #fff !important;
}

.topbar--brand .topbar-links {
  display: flex;
  align-items: center;
  align-self: center;
  height: 100%;
}

.topbar--brand .topbar-links a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 1.2;
  color: #fff !important;
}

.topbar--brand .mz-lang-switch__btn,
.topbar--brand .mz-cur-switch__btn,
.topbar--brand .mz-lang-switch__name,
.topbar--brand .mz-cur-switch__name,
.topbar--brand .mz-lang-switch__btn i,
.topbar--brand .mz-cur-switch__btn i {
  color: #0f172a !important;
}

.topbar--brand .mz-lang-switch__code,
.topbar--brand .mz-cur-switch__code {
  background: #0f172a !important;
  color: #fff !important;
}

/* Topbar link stilleri menü satırlarına sızmasın (inline-flex / height:100% / sol çizgi) */
.topbar .topbar-links .mz-lang-switch__menu a,
.topbar .topbar-links .mz-cur-switch__menu a,
.topbar--brand .topbar-links .mz-lang-switch__menu a,
.topbar--brand .topbar-links .mz-cur-switch__menu a {
  display: flex !important;
  width: 100%;
  height: auto;
  padding: .55rem .65rem;
  border: 0;
  border-left: 0;
  color: #0f172a !important;
  line-height: 1.2;
}

.topbar .topbar-links .mz-lang-switch__menu a:hover,
.topbar .topbar-links .mz-cur-switch__menu a:hover,
.topbar--brand .topbar-links .mz-lang-switch__menu a:hover,
.topbar--brand .topbar-links .mz-cur-switch__menu a:hover,
.topbar .topbar-links .mz-lang-switch__menu li.is-active a,
.topbar .topbar-links .mz-cur-switch__menu li.is-active a,
.topbar--brand .topbar-links .mz-lang-switch__menu li.is-active a,
.topbar--brand .topbar-links .mz-cur-switch__menu li.is-active a {
  background: #f1f5f9;
  color: #0f172a !important;
}

/* Mobil drawer: yan yana, menü en altı */
.mz-locale-bar--mobile {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: .75rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}

.mz-locale-bar--mobile .mz-lang-switch,
.mz-locale-bar--mobile .mz-cur-switch {
  display: block;
  flex: 1 1 0;
  min-width: 0;
}

.mz-locale-bar--mobile .mz-lang-switch__btn,
.mz-locale-bar--mobile .mz-cur-switch__btn {
  width: 100%;
  justify-content: space-between;
  border-radius: 10px;
  padding: .6rem .7rem;
  font-size: .82rem;
}

.mz-locale-bar--mobile .mz-lang-switch__name,
.mz-locale-bar--mobile .mz-cur-switch__name {
  display: inline !important;
  max-width: 4.5rem;
}

.mz-locale-bar--mobile .mz-lang-switch__menu,
.mz-locale-bar--mobile .mz-cur-switch__menu {
  left: 0;
  right: 0;
  min-width: 0;
}

.mobile-accordion-menu .mz-locale-bar--mobile {
  order: 99;
}

@media (max-width: 991.98px) {
  .topbar .mz-lang-switch__name,
  .topbar .mz-cur-switch__name { display: none; }
}
