.brand-edition-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  box-sizing: border-box;
  padding: 2px 6px;
  border: 1px solid #000;
  border-radius: 2px;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.brand-edition-badge[hidden] { display: none; }

@media (max-width: 600px) {
  .brand-edition-badge { padding-inline: 5px; font-size: 8px; letter-spacing: .06em; }
  .topnav-brand, .store-brand { min-width: 0; }
  .topnav-brand .brand-edition-badge, .store-brand .brand-edition-badge { flex-shrink: 0; }
  .store-brand { flex-wrap: wrap; }
  .store-brand__name { min-width: 0; }
  .data-nav { flex-wrap: wrap; }
  .data-brand { min-width: 0; }
  .data-brand > span { min-width: 0; }
  .data-nav__link { flex-shrink: 0; }
}

/* themes.css applies the dark class to the document root. */
.dark .brand-edition-badge {
  border-color: #fff;
  background: #fff;
  color: #000;
}
