.editorial-pick {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
}

.editorial-pick__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 32px;
  cursor: pointer;
}

.editorial-pick__checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #555;
  cursor: pointer;
}

.editorial-pick__checkbox:disabled {
  cursor: wait;
}

.editorial-pick__badge,
.gallery-index .page-block-gallery__item img.editorial-pick__badge,
.page-block-shop-card img.editorial-pick__badge {
  display: inline-block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  max-width: none;
  object-fit: contain;
  vertical-align: middle;
  aspect-ratio: 1;
  border-radius: 0;
  box-shadow: none;
}

.editorial-pick-error {
  position: fixed;
  z-index: 4000;
  left: 16px;
  right: 16px;
  bottom: 76px;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid #9e3b3b;
  border-radius: 4px;
  background: #fff;
  color: #9e3b3b;
  font-size: 14px;
}

.editorial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 24px;
  border-bottom: 1px solid #ccc;
}

.editorial-tabs a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
}

.editorial-tabs a[aria-current="page"] {
  border-color: currentColor;
  font-weight: 600;
}

.editorial-caption {
  margin: 8px 8px 16px;
  color: var(--muted, #666);
  font-size: 13px;
  line-height: 1.4;
}

.editorial-caption a {
  display: block;
  overflow-wrap: anywhere;
}

@media (pointer: coarse) {
  .editorial-pick__label {
    height: 40px;
    width: 32px;
  }
}
