.breakdance-woocommerce li.product,
.breakdance-woocommerce .bde-woo-product-image,
.breakdance-woocommerce .woocommerce-product-gallery__image {
  position: relative;
}

.straarup-editorial-badge {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  max-width: calc(45% - 10px);
  min-height: 24px;
  box-sizing: border-box;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  background: #e8e9ed;
  color: #252b39;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.straarup-badge-theme--sage {
  background: #dcece3;
  color: #214d3c;
}

.straarup-badge-theme--sand {
  background: #f3e4c7;
  color: #654a19;
}

.straarup-badge-theme--blue {
  background: #dce7f5;
  color: #203d66;
}

.straarup-badge-theme--lavender {
  background: #e5ddf1;
  color: #382454;
}

.straarup-badge-theme--neutral {
  background: #e8e9ed;
  color: #252b39;
}

body.single-product .woocommerce-product-gallery__image > .straarup-editorial-badge {
  top: 12px;
  right: 56px;
  max-width: calc(50% - 62px);
}

@media (max-width: 479px) {
  .straarup-editorial-badge {
    top: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }

  .breakdance-woocommerce li.product.sale .straarup-editorial-badge {
    top: 42px;
  }

  body.single-product .woocommerce-product-gallery__image > .straarup-editorial-badge {
    top: 12px;
    right: 50px;
    max-width: calc(50% - 56px);
  }
}

