.booking-receipt {
  position: sticky;
  top: 1.25rem;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.05rem, 2.6vw, 1.55rem);
  border: 1px solid #ddd7c8;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 9px 25px #4735220e;
  font-variant-numeric: tabular-nums;
}

.booking-receipt::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--leaf-orange);
  content: '';
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.receipt-header h3 {
  font-family: var(--heading);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.receipt-header .leaf-mark { flex-basis: 37px; width: 37px; height: 37px; }
.receipt-header .leaf-mark i { scale: .83; }

.receipt-details {
  display: grid;
  gap: .34rem;
  padding-bottom: .88rem;
  border-bottom: 1px dashed #d8d4c4;
  font-size: .83rem;
  line-height: 1.4;
}

.receipt-details > div,
.receipt-charges > div,
.receipt-payment {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem;
}

.receipt-details dd,
.receipt-charges dd { margin: 0; text-align: right; }
.receipt-details dd { color: var(--ink); font-weight: 650; }
.receipt-charges { padding-top: .62rem; color: var(--ink); font-size: .9rem; }
.receipt-line { padding-block: .26rem; font-weight: 630; }
.receipt-line small { display: block; color: var(--body); font-size: .79rem; font-weight: 450; }
.receipt-charges dd { white-space: nowrap; }

.receipt-total {
  margin-top: .55rem;
  padding-top: .6rem;
  border-top: 1px solid #e2ded0;
  font-weight: 700;
}

.receipt-total dd {
  color: var(--green-dark);
  font-family: var(--heading);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.receipt-recurring { margin-top: .5rem; color: var(--body); font-size: .83rem; }

.receipt-payment {
  margin-top: .95rem;
  padding: .56rem .7rem;
  border: 1px solid #dce4d3;
  border-radius: 8px;
  background: #edf1e5;
  color: var(--green-dark);
  font-size: .82rem;
}

.receipt-payment strong { text-align: right; }
#payment-return a { font-weight: 700; }
.receipt-status { font-size: .86rem; font-weight: 700; color: var(--green); }
#success-total { font-weight: 700; }

@media (max-width: 740px) {
  .booking-receipt { position: relative; top: auto; }
  .booking-form > .booking-receipt { margin: 0 1rem 1.15rem; }
}
