.marketplace-switcher {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  margin: 0;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  background: #f2f3f7;
  white-space: nowrap;
}

.marketplace-switcher .marketplace-segment {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #626b78;
  background: transparent;
  font: 650 14px/1.2 system-ui, sans-serif;
  text-decoration: none;
}

.marketplace-switcher .marketplace-segment::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: #7928d9;
}

.marketplace-switcher [data-marketplace="ozon"]::before { background: #0862ff; }

.marketplace-switcher [aria-current] {
  color: #24272e;
  border-color: #e6e8ee;
  background: #fff;
  box-shadow: 0 1px 2px #20283a14;
}

.marketplace-switcher a[href]:hover {
  color: #24272e;
  background: #e9ebf2;
}

.marketplace-switcher a:focus-visible {
  outline: 2px solid #2754b8;
  outline-offset: -2px;
}

.marketplace-switcher [aria-disabled="true"] {
  opacity: .65;
  cursor: default;
}

.topbar .topbar-left:has(.marketplace-switcher) { min-width: 0; }
.topbar .topbar-left:has(.marketplace-switcher) .topbar-status {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.wbl-help-main > .marketplace-switcher { margin-block-end: 14px; }

@media (max-width: 900px) {
  .topbar .topbar-left:has(.marketplace-switcher) .topbar-status { display: none; }
}

@media (max-width: 620px) {
  .topbar .topbar-left:has(.marketplace-switcher) .section-context { display: none !important; }
}

@media (max-width: 390px) {
  .marketplace-switcher .marketplace-segment { gap: 5px; padding-inline: 8px; font-size: 13px; }
}

.marketplace-switcher[hidden] {display:none!important}
