/* Focused, single-column checkout card kept strictly inside the checkout step. */
.report.is-checkout {
  border: 0;
  padding-top: 0.35rem;
}
.report.is-checkout > .section__title,
.report.is-checkout > .section__lead,
.report.is-checkout .pfr-progress__track {
  display: none;
}
.report.is-checkout > .pfr-card {
  max-width: 31rem;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.report.is-checkout .pfr-progress {
  margin-bottom: 0.45rem;
}
.report.is-checkout .pfr-progress__meta {
  flex-direction: row-reverse;
  align-items: center;
  margin: 0;
}
.report.is-checkout #backButton {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  text-decoration: none;
}
.report.is-checkout #backButton::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(45deg);
}

.pfr-checkout {
  --co-pad: clamp(1.1rem, 3vw, 1.55rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px -22px rgba(15, 23, 42, 0.22);
}

/* Compact header: verified photo + outcome headline + honest price bar */
.pfr-checkout__head {
  padding: var(--co-pad);
  border-bottom: 1px solid #edf2f8;
  background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
}
.pfr-checkout__hero {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.pfr-checkout__thumb {
  position: relative;
  flex: none;
  width: 3.1rem;
  height: 3.1rem;
  margin-top: 0.1rem;
}
.pfr-checkout__thumb[hidden] {
  display: none;
}
.pfr-checkout__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #ffffff;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.pfr-checkout__thumb-ok {
  position: absolute;
  right: -0.25rem;
  bottom: -0.25rem;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--ok);
  color: #ffffff;
  font-size: 0.65rem;
  line-height: 1;
}
.pfr-checkout__heading {
  min-width: 0;
  flex: 1;
}
.pfr-checkout__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.25rem;
  color: #157a49;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pfr-checkout__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 3.6vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.pfr-checkout__sub {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.pfr-checkout__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid #e5edf8;
  border-radius: 0.75rem;
  background: #f6f9fe;
}
.pfr-checkout__item {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}
.pfr-checkout__terms {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.pfr-checkout__price {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  white-space: nowrap;
}
.pfr-checkout__price strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pfr-checkout__price span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Payment area: Apple Pay / Google Pay on top, card Payment Element right below */
.pfr-checkout__pay {
  padding: var(--co-pad);
}
.pfr-checkout__loading {
  justify-content: center;
  padding: 2rem 0;
}
.pfr-checkout__elements[hidden] {
  display: none;
}
.pfr-checkout__express-mount {
  min-height: 0;
}
.pfr-checkout__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: #7c899b;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pfr-checkout__divider[hidden] {
  display: none;
}
.pfr-checkout__divider::before,
.pfr-checkout__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5ecf5;
}
.pfr-checkout__payment-mount {
  min-height: 3.5rem;
}
.pfr-checkout__error {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid #f5c6cb;
  border-radius: 0.65rem;
  background: #fdf3f4;
  color: #a61c24;
  font-size: 0.84rem;
  line-height: 1.4;
}
.pfr-checkout__error[hidden] {
  display: none;
}
.pfr-checkout__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1.05rem;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(49, 108, 244, 0.75);
  transition: background-color 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}
.pfr-checkout__submit:hover:not(:disabled) {
  background: var(--accent-dark);
}
.pfr-checkout__submit:active:not(:disabled) {
  transform: translateY(1px);
}
.pfr-checkout__submit:focus-visible {
  outline: 3px solid rgba(49, 108, 244, 0.35);
  outline-offset: 2px;
}
.pfr-checkout__submit:disabled {
  opacity: 0.68;
  cursor: wait;
}
.pfr-checkout__submit i {
  font-size: 0.9rem;
}

/* Concise outcome list below the payment button */
.pfr-checkout__value {
  padding: 1rem var(--co-pad);
  border-top: 1px solid #edf2f8;
  background: #fbfcfe;
}
.pfr-checkout__value-label {
  margin: 0 0 0.6rem;
  color: #64748b;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pfr-checkout__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pfr-checkout__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.83rem;
  line-height: 1.4;
}
.pfr-checkout__list i {
  flex: none;
  margin-top: 0.05rem;
  color: var(--ok);
  font-size: 1rem;
}
.pfr-checkout__list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Quiet trust & delivery footer */
.pfr-checkout__foot {
  padding: 0.85rem var(--co-pad) 1rem;
  border-top: 1px solid #edf2f8;
  background: #f6f9fd;
  text-align: center;
}
.pfr-checkout__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.45;
}
.pfr-checkout__trust i {
  margin-right: 0.2rem;
  color: #64748b;
}
.pfr-checkout__trust strong {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.pfr-checkout__privacy {
  margin: 0.35rem 0 0;
  color: #7c899b;
  font-size: 0.75rem;
  line-height: 1.4;
}
.pfr-checkout__privacy a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 30rem) {
  .pfr-checkout {
    border-radius: 0.95rem;
  }
  .pfr-checkout__thumb {
    width: 2.75rem;
    height: 2.75rem;
  }
  .pfr-checkout__summary {
    margin-top: 0.85rem;
    padding: 0.65rem 0.78rem;
  }
  .pfr-checkout__price strong {
    font-size: 1.25rem;
  }
}
