/* A small folded tab, with the terms outside the purchase button. */
.customer-plan:has(.plan-offer-badge), .sf-plan:has(.plan-offer-badge) {
  position: relative;
  overflow: visible;
}
.customer-plan-grid:has(.plan-offer-badge), .sf-grid:has(.plan-offer-badge) {
  padding-top: 12px;
  row-gap: 24px;
}
.plan-offer-badge {
  position: absolute;
  top: -13px;
  right: -5px;
  z-index: 1;
  max-width: calc(100% - 12px);
  padding: 3px 8px;
  border-radius: 5px 4px 0 5px;
  background: var(--accent, var(--sf-red, #D90429));
  color: var(--on-accent, var(--sf-on-accent, #fff));
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
  box-shadow: 0 2px 3px #17212b14;
  pointer-events: none;
}
.plan-offer-badge > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-offer-badge::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 5px;
  height: 6px;
  background: var(--accent, var(--sf-red, #D90429));
  filter: brightness(.65);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.plan-offer-details { margin: 6px 0 0; grid-column: 1 / -1; color: #526071; font-size: 12px; line-height: 1.5; }
.plan-offer-details summary { display: list-item; width: fit-content; min-height: 44px; padding: 12px 0; cursor: pointer; color: inherit; }
.plan-offer-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
.plan-offer-details p { margin: 0 0 8px; overflow-wrap: anywhere; }
