.bundly__heading {
  margin: 0;
  font-size: 110%;
}

.bundly__bundles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.bundly__bundle {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(var(--bundly-product-card-color-foreground), var(--bundly-product-border-opacity));
  border-radius: var(--bundly-product-card-corner-radius);
  padding: 0.7rem;
  width: 100%;
  min-width: 20%;
  overflow: hidden;
  text-align: center;
}

.bundly__bundle::after {
  position: absolute;
  top: calc(var(--bundly-product-card-border-width) * -1);
  left: calc(var(--bundly-product-card-border-width) * -1);
  z-index: -1;
  box-shadow: var(--bundly-product-card-shadow-horizontal-offset) var(--bundly-product-card-shadow-vertical-offset)
    var(--bundly-product-card-shadow-blur-radius)
    rgba(var(--bundly-color-shadow), var(--bundly-product-card-shadow-opacity));
  border-radius: var(--bundly-product-card-corner-radius);
  width: calc(var(--bundly-product-card-border-width) * 2 + 100%);
  height: calc(var(--bundly-product-card-border-width) * 2 + 100%);
  content: '';
}

.bundly__bundle .bundly__bundle_title {
  font-weight: 700;
}

.bundly__bundle .bundly__bundle_price_varies,
.bundly__bundle .bundly__bundle_original_price,
.bundly__bundle .bundly__bundle_new_price,
.bundly__bundle .bundly__bundle_discount_type {
  display: inline-block;
}

.bundly__bundle .bundly__bundle_original_price {
  text-decoration: line-through;
}

.bundly__bundle .bundly__component {
  display: flex;
  flex-grow: 1;
  flex-basis: min-content;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.bundly__bundle .bundly__components {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.bundly__main_section .bundly__bundle:not([data-components-count^='2']) .bundly__components {
  flex-direction: column;
}

.bundly__bundle .bundly__component_separator {
  display: flex;
  align-self: center;
  font-size: 125%;
}

.bundly__bundle .bundly__component_image {
  flex-basis: 100%;
}

.bundly__bundle .bundly__component_image img {
  margin: auto;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.bundly__bundle .bundly__bundle_image img {
  margin: auto;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.bundly__bundle .bundly__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-100%) rotate(90deg) translateX(70.71067811865476%) rotate(-45deg);
  transform-origin: bottom right;
  background-color: #d3f5f6;
  padding: 0 2em;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 500;
  font-size: 75%;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.bundly__bundle .bundly__component_title {
  line-height: 1.2;
}

.bundly__bundle .bundly__view_bundle_button {
  color: rgba(var(--bundly-product-card-color-foreground) 0.7);
  text-decoration: underline;
}

.bundly__bundle .bundly__view_bundle_button:hover {
  cursor: pointer;
  text-decoration: none;
}

.bundly__bundle .bundly__view_bundle_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
