.rb-black-friday-image {
  position: relative;
  overflow: visible;
}

.thumbnail-container:has(.rb-black-friday-image),
.product-miniature:has(.rb-black-friday-image),
.images-container:has(.rb-black-friday-image) {
  overflow: visible;
}

.rb-black-friday-badge {
  position: absolute;
  z-index: 2;
  top: -.65rem;
  left: -.4rem;
  box-sizing: border-box;
  width: 50%;
  padding: .35rem .65rem;
  border-radius: .65rem .2rem .65rem .2rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.rb-black-friday-badge[data-rb-context="cover"] {
  font-size: 1.5rem;
}

.rb-black-friday-badge[data-rb-context="listing"] {
  font-size: 1rem;
}

.rb-black-friday-badge[data-rb-context="bestsellers"] {
  min-width: max-content;
  white-space: nowrap;
}

.rb-black-friday-native-price {
  display: none !important;
}

.rb-black-friday-prices {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1em .4em;
  line-height: 1.2;
}

.rb-black-friday-prices del {
  color: #595959;
}

.rb-black-friday-prices strong {
  color: #b91c1c;
}

.product-prices .current-price .rb-black-friday-prices {
  font-size: 32px;
}

.rb-summary-price.rb-summary-price-discounted .rb-summary-price-value {
  color: #b91c1c;
  font-weight: 700;
}

.rb-summary-black-friday[hidden],
.rb-summary-price-comparison[hidden] {
  display: none;
}
