/* Badges describe popularity without changing the chosen combination. */
.bestseller-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid var(--brown, #402519);
  border-radius: 999px;
  background: var(--orange, #ed642d);
  color: var(--brown, #402519);
  font-family: var(--body, Arial, sans-serif);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.choice-copy > .bestseller-badge {
  margin-top: 5px;
}

.filling-choices .has-bestseller .choice-copy,
.topping-choices .has-bestseller .choice-copy {
  padding-inline-end: 12px;
}

.product-art > .bestseller-badge {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 14px;
  padding: 6px 10px;
  font-size: 11px;
  box-shadow: 0 2px 7px #40251918;
}

.bestseller-note {
  max-width: 650px;
  margin: -20px 0 28px;
  color: var(--muted, #725747);
  font-size: 11px;
  line-height: 1.6;
}

.config-controls > .bestseller-note {
  margin: 0 0 22px;
}

@media (max-width: 580px) {
  .choice-copy > .bestseller-badge {
    padding: 3px 5px;
    font-size: 8px;
  }

  .bestseller-note {
    margin-top: -18px;
    font-size: 10px;
  }

  .filling-choices .has-bestseller .choice-copy,
  .topping-choices .has-bestseller .choice-copy {
    padding-inline-end: 5px;
  }
}
