/* Effective pricing for the public product page. */

body.bb-page-product-pricing .bb-prod-offer-row .bb-price-current-slot {
  flex-flow: row wrap;
  align-items: flex-end;
  gap: 7px 10px;
}

body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-carousel-item,
body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-carousel-item.has-old-price,
body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-carousel-item.is-current-only {
  width: fit-content;
  max-width: 100%;
}

body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-prod-offer-row {
  display: grid;
  grid-template-columns: auto;
  justify-items: stretch;
  width: fit-content;
  min-width: 0;
  max-width: min(100%, 330px);
}

body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-prod-offer-row > * {
  min-width: 0;
  max-width: 100%;
}

body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-prod-offer-storeline {
  width: auto;
}

.bb-lab-effective-kind {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin-bottom: 3px;
  padding: 3px 8px;
  border: 1px solid #afdcc6;
  border-radius: 5px;
  background: #edf9f2;
  color: #08733f;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.bb-lab-effective-kind.is-pix {
  border-color: #a8d8e9;
  background: #eef9fc;
  color: #087697;
}

.bb-lab-price-details {
  display: grid;
  grid-template-columns: auto;
  justify-items: start;
  gap: 6px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #dfe6ee;
  color: #627187;
  font-size: 11px;
  line-height: 1.25;
}

.bb-lab-price-detail {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.bb-lab-price-detail strong {
  color: #26384e;
  font-weight: 800;
}

.bb-lab-coupon-ticket {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 238px;
  max-width: 100%;
  min-height: 40px;
  overflow: hidden;
  border: 2px dashed #aebdce;
  border-radius: 8px;
  background: #fff;
  color: #10213a;
  font: inherit;
  text-decoration: none;
  user-select: none;
}

a.bb-lab-coupon-ticket {
  cursor: pointer;
}

a.bb-lab-coupon-ticket:focus-visible {
  outline: 2px solid #ed6a36;
  outline-offset: 2px;
}

.bb-lab-coupon-ticket.has-no-code {
  min-width: 190px;
}

.bb-lab-coupon-ticket::before {
  content: "USE O\A CUPOM";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  display: grid;
  place-content: center;
  border-right: 1px solid #ead9cf;
  background: #fff5ef;
  color: #e65322;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: pre;
}

.bb-lab-coupon-ticket.has-no-code::before {
  display: none;
}

.bb-lab-coupon-ticket-code {
  flex: 1 1 auto;
  min-width: 196px;
  max-width: 278px;
  overflow: hidden;
  padding: 0 10px 0 62px;
  font-size: 15px;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bb-lab-coupon-ticket.has-no-code .bb-lab-coupon-ticket-code {
  min-width: 0;
  padding: 0 12px;
  color: #08733f;
  font-family: inherit;
  font-size: 12px;
  text-transform: uppercase;
}

.bb-lab-coupon-copy {
  flex: 0 0 40px;
  width: 40px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 2px dashed #bdc9d6;
  background: #fff8f4;
  color: #ed5b2a;
  pointer-events: none;
}

.bb-lab-coupon-copy svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

a.bb-lab-coupon-ticket:hover .bb-lab-coupon-copy,
a.bb-lab-coupon-ticket:focus-visible .bb-lab-coupon-copy {
  background: #fff3ed;
  color: #d94616;
}

.bb-lab-coupon-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 5px 12px;
  background: #fff3ed;
  color: #c9471b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

a.bb-lab-coupon-ticket:hover .bb-lab-coupon-hover,
a.bb-lab-coupon-ticket:focus-visible .bb-lab-coupon-hover,
.bb-lab-coupon-ticket.is-copied .bb-lab-coupon-hover {
  opacity: 1;
  transform: translateY(0);
}

.bb-lab-coupon-ticket.is-copied {
  border-color: #67b98e;
  background: #f2fbf6;
}

.bb-lab-coupon-ticket.is-copied .bb-lab-coupon-copy {
  color: #08733f;
}

.bb-lab-coupon-ticket.is-copied .bb-lab-coupon-hover {
  background: #edf9f2;
  color: #08733f;
}

.bb-lab-price-detail em {
  overflow: hidden;
  max-width: 132px;
  color: #08733f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-style: normal;
  font-weight: 900;
  text-overflow: ellipsis;
}

.bb-lab-normal-price-inline {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
  margin-left: 5px;
  padding: 2px 0 2px 9px;
  border-left: 1px solid #d8e1eb;
  color: #5c6f86;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.bb-lab-normal-price-inline span,
.bb-lab-normal-price-inline strong {
  color: inherit;
  font-size: inherit;
}

.bb-lab-normal-price-inline span {
  font-weight: 600;
  transform: translateY(9px);
}

.bb-lab-normal-price-inline strong {
  font-size: 16px;
  font-weight: 900;
}

.bb-lab-price-detail.is-alternative strong {
  color: #087697;
}

@media (max-width: 720px) {
  .bb-lab-price-details {
    align-items: flex-start;
  }

  body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-carousel-item,
  body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-carousel-item.has-old-price,
  body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-carousel-item.is-current-only,
  body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-prod-offer-row {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.bb-page-product-pricing .bb-prod-offers.is-count-1 .bb-prod-offer-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .bb-lab-coupon-ticket {
    width: 100%;
    min-width: 0;
  }

  .bb-lab-coupon-ticket-code {
    min-width: 0;
  }

}
