.product-info .bbe-pdp-payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 7px;
  margin: 0 0 8px;
  color: #656770;
  font-size: 12px;
  line-height: 1.4;
}

.product-info .right .product-options > .price:has(+ .bbe-pdp-payment-methods) {
  display: block;
  margin-bottom: 0;
}

.product-info .right .product-options > .bbe-pdp-payment-methods {
  padding: 0;
  border: 0;
  overflow: visible;
}

.product-info .bbe-pdp-payment-primary {
  white-space: nowrap;
}

.product-info .bbe-pdp-payment-more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.product-info .bbe-pdp-payment-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.product-info .bbe-pdp-payment-toggle:hover,
.product-info .bbe-pdp-payment-toggle[aria-expanded="true"] {
  color: #182750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-info .bbe-pdp-payment-toggle:focus-visible {
  outline: 2px solid #285fc4;
  outline-offset: 3px;
}

.product-info .bbe-pdp-payment-toggle svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-info .bbe-pdp-payment-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.product-info .bbe-pdp-payment-price {
  flex: 0 0 auto;
  color: #202226;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Portalled to body by the script so Journal containers cannot clip it. */
.bbe-pdp-payment-popover {
  position: fixed;
  z-index: 1200;
  box-sizing: border-box;
  width: 210px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: 0;
  padding: 12px 16px;
  overflow-y: auto;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  color: #202226;
  font-family: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.bbe-pdp-payment-popover[hidden] {
  display: none !important;
}

.bbe-pdp-payment-popover .bbe-pdp-payment-method {
  display: block;
  margin: 0;
  padding: 6px 0;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .product-info .bbe-pdp-payment-methods {
    gap: 0 5px;
    font-size: 12px;
  }

  .product-info .bbe-pdp-payment-toggle {
    gap: 2px;
    font-size: 12px;
  }

  .product-info .bbe-pdp-payment-price {
    font-size: 18px;
  }
}
