/* One compact, passive brand treatment across product cards and dense listings. */
.product-brand-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex: 0 1 auto;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 2px 8px 2px 3px;
  border: 1px solid #ccdfef;
  border-radius: 999px;
  background: #f2f8fd;
  color: #234b70;
  font: 600 10px/1.3 var(--font-body, sans-serif);
  letter-spacing: 0;
  vertical-align: middle;
  pointer-events: none;
}

.product-brand-pill .product-brand-pill__logo {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  transform: none;
  transition: none;
}

.product-brand-pill .product-brand-pill__name {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-brand-pill--compact {
  min-height: 24px;
  gap: 5px;
  padding: 2px 7px 2px 3px;
  font-size: 9px;
}

.product-brand-pill--compact .product-brand-pill__logo {
  flex-basis: 18px;
  width: 18px;
  height: 18px;
}

.hero-shot__tag {
  flex-wrap: wrap;
}

.hero-shot__tag .hero-shot__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1 0 100%;
  min-width: 0;
  color: inherit;
}

.hero-shot__details > b {
  min-width: 0;
}

.search-hit .product-brand-pill,
.row-name .product-brand-pill {
  margin-bottom: 4px;
}

[data-theme='dark'] .product-brand-pill,
[data-admtheme='dark'] .product-brand-pill,
[data-postheme='dark'] .product-brand-pill {
  border-color: #4e6275;
  background: #233548;
  color: #e7f1fa;
}

@media (max-width: 560px) {
  .product-brand-pill {
    gap: 4px;
    padding-right: 6px;
    font-size: 9px;
  }
}
