.mlstockbadges-marker {
  display: none !important;
}

.product-flag.mlstockbadge,
.elementor-badge.elementor-badge-mlstock,
.mlstockbadges-chip,
.mlstockbadges-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-flag.mlstockbadge,
.elementor-badge.elementor-badge-mlstock,
.mlstockbadges-floating {
  margin: 0;
}

.product-flag.mlstockbadge.mlstockbadge--danger,
.elementor-badge.elementor-badge-mlstock.mlstockbadge--danger,
.mlstockbadges-chip.mlstockbadges-chip--danger,
.mlstockbadges-floating.mlstockbadge--danger {
  background: #df3a43;
  color: #ffffff;
}

.product-flag.mlstockbadge.mlstockbadge--info,
.elementor-badge.elementor-badge-mlstock.mlstockbadge--info,
.mlstockbadges-chip.mlstockbadges-chip--info,
.mlstockbadges-floating.mlstockbadge--info {
  background: #58b7ef;
  color: #ffffff;
}

.product-flags .product-flag.mlstockbadge {
  order: -10;
}

.elementor-product-miniature .elementor-badges-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.elementor-product-miniature .elementor-badge.elementor-badge-mlstock {
  white-space: normal;
}

.product-miniature .thumbnail-container,
.js-product-miniature .thumbnail-container,
.product-miniature .product-thumbnail,
.js-product-miniature .product-thumbnail {
  position: relative;
}

.mlstockbadges-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.mlstockbadges-top-right .mlstockbadges-floating {
  white-space: normal;
  max-width: 100%;
}

.mlstockbadges-product-inline {
  margin-top: 10px;
}

.product-availability .mlstockbadges-chip {
  margin-top: 6px;
}


.product-cover {
  position: relative;
}

.product-cover .product-flags,
.images-container .product-flags {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: calc(100% - 24px);
}

.product-cover .product-flags li,
.images-container .product-flags li {
  margin: 0;
  list-style: none;
}

.product-cover .product-flag.mlstockbadge,
.images-container .product-flag.mlstockbadge {
  white-space: normal;
  pointer-events: none;
}


.elementor-product-miniature .elementor-product-link.mlstockbadges-anchor {
  position: relative;
  display: block;
}

.elementor-product-miniature .elementor-badges-right.mlstockbadges-right-custom {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 12;
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

.elementor-product-miniature .elementor-badges-right.mlstockbadges-right-custom .elementor-badge,
.elementor-product-miniature .elementor-badges-right.mlstockbadges-right-custom .elementor-badge-mlstock {
  pointer-events: none;
}


.mlstockbadges-product-inline.mlstockbadges-under-title {
  margin: 12px 0 0;
}

.product_header_container .mlstockbadges-product-inline.mlstockbadges-under-title,
#col-product-info .mlstockbadges-product-inline.mlstockbadges-under-title {
  display: block;
}

.product_header_container .mlstockbadges-product-inline.mlstockbadges-under-title .mlstockbadges-chip,
#col-product-info .mlstockbadges-product-inline.mlstockbadges-under-title .mlstockbadges-chip {
  display: inline-flex;
}
