/* Public donation pages: /donate/[slug] and /donate/thank-you */
.donate-page {
  --don-green: #14392c;
  --don-green-soft: #1f4d3a;
  --don-gold: #c5a45a;
  --don-gold-deep: #a07725;
  --don-cream: #faf6ec;
  --don-ink: #1c2b24;
  --don-muted: #6b756f;
  --don-line: #e6dccb;
  background:
    radial-gradient(760px 420px at 0% 0%, #fff3df, rgba(255, 243, 223, 0) 62%),
    radial-gradient(680px 360px at 100% 6%, #e9f2ea, rgba(233, 242, 234, 0) 60%),
    var(--don-cream);
  color: var(--don-ink);
  padding-bottom: 7rem;
}

/* ---------- hero ---------- */
.donate-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 7.5rem 2rem 12rem;
}
.donate-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/cdn/shop/files/htr.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.donate-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, #faf6ec 0%, #faf6ec 30%, rgba(250, 246, 236, 0.96) 43%, rgba(250, 246, 236, 0.55) 62%, rgba(250, 246, 236, 0) 82%),
    linear-gradient(0deg, #faf6ec 0%, rgba(250, 246, 236, 0) 22%);
}
.donate-hero__inner {
  position: relative;
  z-index: 1;
  width: min(120rem, 100%);
  margin: 0 auto;
  max-width: 120rem;
}
.donate-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2.6rem;
  color: #7d8278;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.donate-crumb a {
  color: #5f6a62;
  text-decoration: none;
}
.donate-crumb a:hover {
  color: var(--don-green-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.donate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.4rem;
  color: var(--don-gold-deep);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.donate-eyebrow::before {
  content: "";
  width: 3.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--don-gold), rgba(197, 164, 90, 0));
}
.donate-hero h1 {
  max-width: 62rem;
  margin: 0 0 1.8rem;
  color: var(--don-green);
  font-size: clamp(4rem, 5.6vw, 6.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.donate-hero__purpose {
  max-width: 56rem;
  margin: 0 0 2.4rem;
  color: #4d5c53;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.6;
}
.donate-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 58rem;
  margin-bottom: 2.8rem;
}
.donate-hero__tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(165, 133, 66, 0.35);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #5c604f;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.donate-hero__tags span::before {
  content: "✓";
  margin-right: 0.6rem;
  color: var(--don-green-soft);
  font-weight: 800;
}
.donate-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.45rem 2.8rem;
  border: 1px solid var(--don-green);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #1f4d3a, #14392c);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 18px 34px -20px rgba(20, 57, 44, 0.85);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.donate-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -20px rgba(20, 57, 44, 0.9);
  background: linear-gradient(135deg, #256048, #18432f);
}

/* ---------- trust ribbon ---------- */
.donate-ribbon {
  position: relative;
  z-index: 2;
  width: min(120rem, calc(100% - 4rem));
  margin: -6.6rem auto 0;
}
.donate-ribbon__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--don-line);
  border-radius: 1.8rem;
  background: #fffdf8;
  box-shadow: 0 30px 60px -46px rgba(31, 42, 36, 0.75);
  overflow: hidden;
}
.donate-ribbon__item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 2.4rem;
}
.donate-ribbon__item + .donate-ribbon__item {
  border-left: 1px solid #efe7d8;
}
.donate-ribbon__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 4.4rem;
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid #e6dccb;
  border-radius: 1.2rem;
  background: linear-gradient(140deg, #fbf4e4, #f3ead7);
  color: var(--don-green-soft);
}
.donate-ribbon__item strong {
  display: block;
  color: var(--don-green);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.3;
}
.donate-ribbon__item span:last-child {
  display: block;
  margin-top: 0.25rem;
  color: #828a80;
  font-size: 1.14rem;
  line-height: 1.45;
}

/* ---------- body ---------- */
.donate-body {
  padding: 5.5rem 2rem 0;
}
.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42rem;
  gap: 3.4rem;
  align-items: start;
  width: min(120rem, 100%);
  margin: 0 auto;
}
.donate-panel {
  position: relative;
  padding: 4rem 4.2rem 3.4rem;
  border: 1px solid var(--don-line);
  border-radius: 2.2rem;
  background: #fffdf8;
  box-shadow: 0 32px 70px -60px rgba(31, 42, 36, 0.7);
}
.donate-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4.2rem;
  right: 4.2rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--don-gold), rgba(197, 164, 90, 0.1));
}
.donate-story__eyebrow {
  margin: 0 0 2rem;
  color: var(--don-gold-deep);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.donate-story h2 {
  margin: 0 0 1.4rem;
  color: var(--don-green);
  font-size: 2.8rem;
  line-height: 1.22;
}
.donate-story > p {
  margin: 0 0 1.6rem;
  color: #58665e;
  font-size: 1.55rem;
  line-height: 1.85;
}
.donate-points {
  display: grid;
  gap: 1.2rem;
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
}
.donate-points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: #33443b;
  font-size: 1.5rem;
  font-weight: 500;
}
.donate-points span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #e8f0e9;
  color: #1f4d3a;
  font-size: 1.2rem;
  font-weight: 800;
}
.donate-note {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 1.9rem 2.2rem;
  border: 1px solid #ece2d0;
  border-left: 3px solid var(--don-gold);
  border-radius: 0 1.4rem 1.4rem 0;
  background: #fbf6ea;
}
.donate-note strong {
  flex: 0 0 auto;
  color: var(--don-green);
  font-size: 1.35rem;
  line-height: 1.7;
}
.donate-note p {
  margin: 0;
  color: #6b746f;
  font-size: 1.3rem;
  line-height: 1.7;
}
.donate-note a {
  color: var(--don-green-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- rich body (admin markdown) ---------- */
.donate-rich {
  color: #4a5a52;
  font-size: 1.58rem;
  line-height: 1.95;
}
.donate-rich > *:first-child {
  margin-top: 0;
}
.donate-rich h1,
.donate-rich h2,
.donate-rich h3,
.donate-rich h4 {
  margin: 2.8rem 0 1rem;
  color: var(--don-green);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.donate-rich h1 {
  font-size: 3rem;
}
.donate-rich h2 {
  font-size: 2.5rem;
}
.donate-rich h3 {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.95rem;
}
.donate-rich h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.35rem;
  height: 0.95em;
  border-radius: 99px;
  background: var(--don-gold);
}
.donate-rich h4 {
  font-size: 1.7rem;
}
.donate-rich p {
  margin: 0 0 1.4rem;
}
.donate-rich strong {
  color: var(--don-green-soft);
  font-weight: 700;
}
.donate-rich a {
  color: var(--don-green-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.donate-rich ul,
.donate-rich ol {
  margin: 0 0 1.6rem;
  padding-left: 2.4rem;
}
.donate-rich li {
  margin-bottom: 0.6rem;
}
.donate-rich blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.8rem;
  border-left: 3px solid var(--don-gold);
  border-radius: 0 1rem 1rem 0;
  background: #fbf6ea;
  color: #5b6a63;
  font-style: italic;
}
.donate-rich hr {
  margin: 2.6rem 0;
  border: 0;
  border-top: 1px dashed #dccfba;
}
.donate-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 1.2rem;
  margin: 1.4rem 0;
}
.donate-rich code {
  padding: 0.1em 0.4em;
  border-radius: 0.4rem;
  background: #f1eadc;
  font-size: 0.9em;
}

/* ---------- donation card + form ---------- */
.donate-card {
  position: sticky;
  top: 9rem;
  overflow: hidden;
  border: 1px solid var(--don-line);
  border-radius: 2.2rem;
  background: #fffdf8;
  box-shadow: 0 42px 80px -52px rgba(31, 42, 36, 0.8);
}
.donate-card__head {
  position: relative;
  padding: 2.8rem 3rem 2.4rem;
  background:
    radial-gradient(320px 160px at 100% 0%, rgba(197, 164, 90, 0.24), rgba(197, 164, 90, 0) 70%),
    linear-gradient(135deg, #1f4d3a, #14392c 70%);
  color: #fff;
  overflow: hidden;
}
.donate-card__head::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -6rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.donate-card__head .donate-eyebrow {
  margin-bottom: 0.8rem;
  color: #e2c784;
}
.donate-card__head .donate-eyebrow::before {
  background: linear-gradient(90deg, #e2c784, rgba(226, 199, 132, 0));
}
.donate-card__head h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.15;
}
.donate-card__head p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.28rem;
  line-height: 1.6;
}
.donate-card form {
  padding: 2.6rem 3rem 2.4rem;
}
.donate-form__amounthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid #eadfc9;
  border-radius: 1.3rem;
  background: linear-gradient(135deg, #fbf6ea, #f6eedc);
}
.donate-form__amounthead span {
  color: #8a8477;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.donate-form__amounthead strong {
  color: var(--don-green);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.donate-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.donate-preset {
  padding: 1rem 0.4rem;
  border: 1px solid #ddd2bf;
  border-radius: 1rem;
  background: #fff;
  color: #3a473f;
  font-family: inherit;
  font-size: 1.28rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}
.donate-preset:hover {
  border-color: var(--don-green-soft);
  transform: translateY(-1px);
}
.donate-preset.is-on {
  border-color: var(--don-green-soft);
  background: var(--don-green-soft);
  color: #fff;
  box-shadow: 0 10px 18px -12px rgba(31, 77, 58, 0.8);
}
.donate-field {
  display: block;
  margin-bottom: 1.3rem;
}
.donate-field > span {
  display: block;
  margin-bottom: 0.45rem;
  color: #3a473f;
  font-size: 1.24rem;
  font-weight: 600;
}
.donate-field em {
  color: #b4462f;
  font-style: normal;
}
.donate-field small {
  color: #938d82;
  font-size: 1.12rem;
  font-weight: 400;
}
.donate-field input,
.donate-field textarea {
  width: 100%;
  padding: 1.15rem 1.3rem;
  border: 1px solid #d9d0c0;
  border-radius: 1rem;
  background: #fff;
  color: #22302a;
  font-family: inherit;
  font-size: 1.42rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.donate-field textarea {
  resize: vertical;
  min-height: 5.2rem;
}
.donate-field input:focus,
.donate-field textarea:focus {
  outline: none;
  border-color: var(--don-green-soft);
  box-shadow: 0 0 0 3px rgba(31, 77, 58, 0.12);
}
.donate-field input:disabled,
.donate-field textarea:disabled {
  background: #f6f2e9;
  color: #8a847a;
}
.donate-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--don-green);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #1f4d3a, #14392c);
  color: #fff;
  font-family: inherit;
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 30px -20px rgba(20, 57, 44, 0.9);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.donate-submit:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #256048, #18432f);
  box-shadow: 0 22px 36px -20px rgba(20, 57, 44, 0.95);
}
.donate-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}
.donate-error {
  margin: 0 0 1.2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid #f0c9bd;
  border-radius: 1rem;
  background: #fdf1ed;
  color: #a13822;
  font-size: 1.3rem;
  line-height: 1.55;
}
.donate-trust {
  margin: 1.4rem 0 0;
  color: #948d80;
  font-size: 1.14rem;
  text-align: center;
}
.donate-closed {
  display: grid;
  gap: 1.6rem;
  padding: 2.6rem 3rem 3rem;
}
.donate-closed p {
  margin: 0;
  color: #6b746f;
  font-size: 1.45rem;
}

/* ---------- thank-you ---------- */
.donate-thanks {
  padding: 5rem 2rem 7rem;
}
.donate-thanks__wrap {
  width: min(780px, 100%);
  margin: 0 auto;
}
.donate-thanks__card {
  padding: 4rem 4rem 3rem;
  border: 1px solid var(--don-line);
  border-radius: 2.4rem;
  background: #fffdf8;
  text-align: center;
  box-shadow: 0 46px 90px -58px rgba(31, 42, 36, 0.8);
}
.donate-tick {
  display: inline-grid;
  place-items: center;
  width: 6.6rem;
  height: 6.6rem;
  margin-bottom: 1.8rem;
  border-radius: 50%;
  background: #e7f2e8;
  color: #1f7a45;
  font-size: 3.2rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px #f3f8f2;
}
.donate-tick.is-pending {
  background: #fdf2dd;
  color: #a07725;
  box-shadow: 0 0 0 8px #fbf7ee;
}
.donate-thanks__card .donate-eyebrow {
  color: var(--don-gold-deep);
}
.donate-thanks__card h1 {
  margin: 0 0 1.2rem;
  color: var(--don-green);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
}
.donate-thanks__card h1 em {
  color: var(--don-green-soft);
  font-style: normal;
}
.donate-thanks__lede {
  max-width: 56rem;
  margin: 0 auto 2.8rem;
  color: #6b746f;
  font-size: 1.5rem;
  line-height: 1.7;
}
.donate-thanks__lede strong {
  color: var(--don-green-soft);
}
.donate-receipt {
  padding: 2.4rem;
  border: 1px solid var(--don-line);
  border-radius: 1.6rem;
  background: #fbf7ef;
  text-align: left;
}
.donate-receipt__head {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  padding-bottom: 1.8rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px dashed #dccfba;
}
.donate-receipt__head img {
  width: 5.6rem;
  height: 5.6rem;
  object-fit: contain;
  border-radius: 1rem;
  background: #fff;
  padding: 0.4rem;
}
.donate-receipt__head strong {
  display: block;
  color: var(--don-green);
  font-size: 1.5rem;
  line-height: 1.3;
}
.donate-receipt__head span {
  display: block;
  margin-top: 0.3rem;
  color: #8a847a;
  font-size: 1.2rem;
  line-height: 1.5;
}
.donate-receipt__list {
  display: grid;
  gap: 0;
  margin: 0;
}
.donate-receipt__list > div {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #efe7d8;
  font-size: 1.32rem;
}
.donate-receipt__list dt {
  color: #8a847a;
}
.donate-receipt__list dd {
  margin: 0;
  color: #26332c;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.donate-receipt__list dd.is-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.2rem;
}
.donate-receipt__list .is-total {
  margin-top: 0.6rem;
  padding-top: 1.2rem;
  border-bottom: 0;
  border-top: 2px solid #dccfba;
}
.donate-receipt__list .is-total dt {
  color: #1b3a2d;
  font-size: 1.4rem;
  font-weight: 700;
}
.donate-receipt__list .is-total dd {
  color: var(--don-green-soft);
  font-size: 2.2rem;
  line-height: 1.1;
}
.donate-status {
  display: inline-block;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.donate-status.is-paid {
  background: #e2f1e5;
  color: #1f7a45;
}
.donate-status.is-pending {
  background: #fdf0d8;
  color: #9a6f17;
}
.donate-status.is-failed {
  background: #fbe3dd;
  color: #a13822;
}
.donate-receipt__note {
  margin: 1.6rem 0 0;
  color: #6b746f;
  font-size: 1.32rem;
  font-style: italic;
}
.donate-receipt__foot {
  margin: 1.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px dashed #dccfba;
  color: #9a9287;
  font-size: 1.15rem;
  line-height: 1.6;
}
.donate-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
}
.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.2rem;
  border: 1px solid var(--don-green-soft);
  border-radius: 1rem;
  background: var(--don-green-soft);
  color: #fff;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.donate-btn:hover {
  background: var(--don-green);
}
.donate-btn--ghost {
  background: #fff;
  color: var(--don-green-soft);
}
.donate-btn--ghost:hover {
  background: #f4f0e6;
  color: var(--don-green-soft);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .donate-grid {
    grid-template-columns: minmax(0, 1fr) 38rem;
    gap: 2.6rem;
  }
  .donate-panel {
    padding: 3.4rem 3.2rem 3rem;
  }
  .donate-panel::before {
    left: 3.2rem;
    right: 3.2rem;
  }
}
@media (max-width: 900px) {
  .donate-hero {
    min-height: 0;
    padding: 5.4rem 2rem 10rem;
  }
  .donate-hero__veil {
    background:
      linear-gradient(100deg, #faf6ec 0%, #faf6ec 46%, rgba(250, 246, 236, 0.9) 66%, rgba(250, 246, 236, 0.5) 100%),
      linear-gradient(0deg, #faf6ec 0%, rgba(250, 246, 236, 0) 26%);
  }
  .donate-hero__bg {
    background-position: 72% center;
  }
  .donate-hero h1 {
    font-size: clamp(3.4rem, 8vw, 4.8rem);
  }
  .donate-ribbon__inner {
    grid-template-columns: 1fr;
  }
  .donate-ribbon__item + .donate-ribbon__item {
    border-left: 0;
    border-top: 1px solid #efe7d8;
  }
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .donate-card {
    position: static;
  }
}
@media (max-width: 640px) {
  .donate-page {
    padding-bottom: 4rem;
  }
  .donate-ribbon {
    width: calc(100% - 3rem);
    margin-top: -7rem;
  }
  .donate-ribbon__item {
    padding: 1.6rem 1.8rem;
  }
  .donate-hero {
    padding: 4.4rem 1.8rem 9.4rem;
  }
  .donate-crumb {
    margin-bottom: 1.8rem;
  }
  .donate-hero__tags span {
    font-size: 1.06rem;
    padding: 0.6rem 1.05rem;
  }
  .donate-body {
    padding: 4rem 1.4rem 0;
  }
  .donate-panel {
    padding: 2.8rem 2rem 2.4rem;
    border-radius: 1.8rem;
  }
  .donate-panel::before {
    left: 2rem;
    right: 2rem;
  }
  .donate-card form {
    padding: 2.2rem 2rem 2rem;
  }
  .donate-card__head {
    padding: 2.4rem 2rem 2rem;
  }
  .donate-card__head h2 {
    font-size: 2.3rem;
  }
  .donate-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .donate-note {
    flex-direction: column;
    gap: 0.6rem;
  }
  .donate-thanks {
    padding: 3rem 1.4rem 4rem;
  }
  .donate-thanks__card {
    padding: 3rem 1.8rem 2.4rem;
  }
  .donate-receipt {
    padding: 1.8rem 1.4rem;
  }
  .donate-receipt__list > div {
    flex-direction: column;
    gap: 0.2rem;
  }
  .donate-receipt__list dd {
    text-align: left;
  }
  .donate-thanks__actions {
    flex-direction: column;
  }
}

/* ---------- print receipt ---------- */
@media print {
  .donate-page {
    background: #fff;
    padding: 0;
  }
  .announce,
  .header,
  .footer,
  .floating-social,
  .donate-thanks__actions {
    display: none !important;
  }
  .donate-thanks {
    padding: 0;
  }
  .donate-thanks__wrap {
    width: 100%;
  }
  .donate-thanks__card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .donate-tick,
  .donate-thanks__card .donate-eyebrow {
    display: none;
  }
  .donate-thanks__lede {
    margin-bottom: 1.4rem;
  }
  .donate-receipt {
    border-color: #999;
    background: #fff;
    page-break-inside: avoid;
  }
}

/* thank-you eyebrow stays centred inside the receipt card */
.donate-thanks__card .donate-eyebrow { justify-content: center; }

/* ---------- official donation receipt document ---------- */
.donation-doc {
  position: relative;
  overflow: hidden;
  padding: 3.6rem 3.8rem 2.6rem;
  border: 1px solid #e4d9c5;
  border-radius: 1.8rem;
  background: #fff;
  text-align: left;
  box-shadow: 0 24px 60px -40px rgba(31, 42, 36, 0.7);
}
.donation-doc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1f4d3a 0%, #c5a45a 55%, #e2c784 100%);
}
.donation-doc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ece3d3;
}
.donation-doc__brand { display: flex; align-items: flex-start; gap: 1.4rem; min-width: 0; }
.donation-doc__brand img {
  flex: 0 0 auto;
  width: 6.4rem;
  height: 6.4rem;
  padding: 0.4rem;
  border: 1px solid #ece1cd;
  border-radius: 1.2rem;
  background: #fffdf8;
  object-fit: contain;
}
.donation-doc__brand strong {
  display: block;
  color: #14261f;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.donation-doc__brand span {
  display: block;
  margin-top: 0.25rem;
  color: #7d857d;
  font-size: 1.08rem;
  line-height: 1.45;
}
.donation-doc__brand .donation-doc__org {
  margin-top: 0.35rem;
  color: #a07725;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.donation-doc__title { flex: 0 0 auto; text-align: right; }
.donation-doc__title h2 {
  margin: 0.6rem 0 0.2rem;
  color: #14261f;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.donation-doc__title p {
  margin: 0;
  color: #8b8579;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.donation-doc__badge {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  background: #e4f2e7;
  color: #1f7a45;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.donation-doc__badge.is-pending { background: #fdf1d9; color: #966c16; }
.donation-doc__badge.is-failed { background: #fbe4de; color: #a13822; }
.donation-doc__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0 0;
  border: 1px solid #efe6d5;
  border-radius: 1.2rem;
  background: #fbf7ee;
  overflow: hidden;
}
.donation-doc__meta > div { padding: 1.2rem 1.4rem; }
.donation-doc__meta > div + div { border-left: 1px solid #efe6d5; }
.donation-doc__meta span,
.donation-doc__payment span,
.donation-doc__label {
  display: block;
  color: #96907f;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.donation-doc__meta strong { display: block; margin-top: 0.3rem; color: #23302a; font-size: 1.2rem; font-weight: 700; }
.donation-doc__meta small { display: block; color: #999286; font-size: 0.98rem; line-height: 1.4; }
.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.donation-doc__parties {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  margin: 2.2rem 0 1.8rem;
}
.donation-doc__parties strong { display: block; margin-top: 0.35rem; color: #14261f; font-size: 1.6rem; font-weight: 700; line-height: 1.3; }
.donation-doc__parties p { margin: 0.2rem 0 0; color: #6b746f; font-size: 1.16rem; line-height: 1.5; }
.donation-doc__table { width: 100%; border-collapse: collapse; margin: 0 0 1.6rem; }
.donation-doc__table th {
  padding: 0.9rem 1.2rem;
  border: 1px solid #e7ddcb;
  background: #f5efe3;
  color: #7d7669;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}
.donation-doc__table th:last-child { text-align: right; }
.donation-doc__table td {
  padding: 1.3rem 1.2rem;
  border: 1px solid #eee5d5;
  color: #26332c;
  font-size: 1.24rem;
  vertical-align: top;
}
.donation-doc__table td:last-child { width: 22%; text-align: right; font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.donation-doc__table td strong { display: block; color: #14261f; font-size: 1.3rem; font-weight: 700; }
.donation-doc__table td span { display: block; margin-top: 0.2rem; color: #8b8579; font-size: 1.05rem; line-height: 1.4; }
.donation-doc__table tfoot td {
  border-top: 2px solid #d9c9a8;
  background: #fbf7ee;
  color: #14261f;
  font-size: 1.3rem;
  font-weight: 700;
}
.donation-doc__table tfoot td:last-child { color: #1f4d3a; font-size: 2rem; font-weight: 800; }
.donation-doc__words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  align-items: baseline;
  margin: 0 0 1.8rem;
  padding: 1rem 1.2rem;
  border: 1px dashed #dfd2ba;
  border-radius: 1rem;
  background: #fffdf8;
}
.donation-doc__words span {
  color: #96907f;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.donation-doc__words strong { color: #1f4d3a; font-size: 1.18rem; font-weight: 700; }
.donation-doc__payment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid #ece3d3;
}
.donation-doc__payment strong { display: block; margin-top: 0.28rem; color: #33443b; font-size: 1.1rem; font-weight: 600; word-break: break-all; }
.donation-doc__message {
  margin: 0 0 1.6rem;
  padding: 1rem 1.4rem;
  border-left: 3px solid #c5a45a;
  border-radius: 0 0.8rem 0.8rem 0;
  background: #fbf6ea;
  color: #5b6a63;
  font-size: 1.12rem;
  font-style: italic;
}
.donation-doc__sign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px dashed #ded2bd;
}
.donation-doc__thanks { max-width: 62%; }
.donation-doc__thanks strong { display: block; color: #14261f; font-size: 1.24rem; font-weight: 700; }
.donation-doc__thanks p { margin: 0.3rem 0 0; color: #7d857d; font-size: 1.04rem; line-height: 1.55; }
.donation-doc__signature { min-width: 180px; text-align: center; }
.donation-doc__signline { display: block; width: 100%; height: 1px; margin-bottom: 0.5rem; background: #a9a294; }
.donation-doc__signature small { display: block; color: #96907f; font-size: 0.92rem; line-height: 1.4; }
.donation-doc__signature strong { display: block; color: #33443b; font-size: 1rem; font-weight: 600; }
.donation-doc__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.6rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid #ece3d3;
  color: #a19a8d;
  font-size: 0.94rem;
  line-height: 1.5;
}

/* receipt print layout */
@page { size: A4; margin: 12mm; }
@media print {
  .donate-page .no-print,
  .donate-thanks .no-print,
  .donate-thanks__actions { display: none !important; }
  .donate-page, .donate-thanks { background: #fff !important; padding: 0 !important; }
  .donate-thanks__wrap { width: 100% !important; margin: 0 !important; }
  .donate-thanks__card {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .donation-doc {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .donation-doc::before { display: none !important; }
  .donation-doc__badge {
    border: 1px solid #555 !important;
    background: #fff !important;
    color: #000 !important;
  }
  .donation-doc__meta,
  .donation-doc__table th,
  .donation-doc__table tfoot td,
  .donation-doc__words,
  .donation-doc__message { background: #fff !important; }
  .donation-doc__head { padding-bottom: 14px; }
  .donation-doc__brand strong { font-size: 17px; }
  .donation-doc__title h2 { font-size: 22px; }
  .donation-doc__table tfoot td:last-child { font-size: 18px; }
}

/* wider paper for the official receipt */
.donate-thanks__wrap { width: min(900px, 100%); }
@media (max-width: 760px) {
  .donation-doc { padding: 2.4rem 2rem 2rem; }
  .donation-doc__head { flex-direction: column; gap: 1.4rem; }
  .donation-doc__title { text-align: left; }
  .donation-doc__meta { grid-template-columns: 1fr; }
  .donation-doc__meta > div + div { border-left: 0; border-top: 1px solid #efe6d5; }
  .donation-doc__parties { grid-template-columns: 1fr; gap: 1.4rem; }
  .donation-doc__payment { grid-template-columns: 1fr; gap: 1rem; }
  .donation-doc__sign { flex-direction: column; align-items: stretch; gap: 1.8rem; }
  .donation-doc__thanks { max-width: 100%; }
  .donation-doc__signature { text-align: left; }
}

@media print {
  .donation-doc { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- final print rules: one clean page, no site chrome ---------- */
@page { size: A4; margin: 10mm; }

@media print {
  html, body {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    display: block !important;
  }
  .announce,
  .header,
  .header-live-wrap,
  .header-live,
  .footer,
  .museum-footer-wrapper,
  #MuseumFooter,
  .floating-social,
  .cart-drawer,
  .scrim,
  .no-print {
    display: none !important;
  }
  #MainContent,
  main {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .donate-page,
  .donate-thanks {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .donate-thanks__wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .donate-thanks__card {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .donation-doc {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .donation-doc::before {
    display: block !important;
    height: 6px !important;
    background: linear-gradient(90deg, #1f4d3a, #c5a45a 60%, #e2c784) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .donation-doc__head { padding-bottom: 12px !important; }
  .donation-doc__meta { background: #fbf7ee !important; }
  .donation-doc__table th { background: #f5efe3 !important; }
  .donation-doc__table tfoot td { background: #fbf7ee !important; }
  .donation-doc__words { background: #fffdf8 !important; }
  .donation-doc__message { background: #fbf6ea !important; }
  .donation-doc__badge {
    border: 0 !important;
    background: #e4f2e7 !important;
    color: #1f7a45 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .donation-doc__badge.is-pending { background: #fdf1d9 !important; color: #966c16 !important; }
  .donation-doc__badge.is-failed { background: #fbe4de !important; color: #a13822 !important; }
}

/* compact print typography so the whole receipt fits one A4 page */
@page { size: A4; margin: 8mm; }
@media print {
  html { font-size: 55% !important; }
  .donation-doc__head { padding-bottom: 10px !important; }
  .donation-doc__meta { margin-top: 10px !important; }
  .donation-doc__meta > div { padding: 7px 10px !important; }
  .donation-doc__parties { margin: 10px 0 8px !important; }
  .donation-doc__table td, .donation-doc__table th { padding: 7px 10px !important; }
  .donation-doc__words { margin-bottom: 8px !important; padding: 7px 10px !important; }
  .donation-doc__payment { padding: 8px 0 !important; }
  .donation-doc__sign { margin-top: 10px !important; padding-top: 8px !important; }
  .donation-doc__foot { margin-top: 8px !important; padding-top: 6px !important; }
}

/* ---------- professional donation receipt ---------- */
.receipt {
  position: relative;
  overflow: hidden;
  padding: 3.4rem 3.6rem 2.4rem;
  border: 1px solid #e4d9c5;
  border-radius: 1.8rem;
  background: #fff;
  text-align: left;
  box-shadow: 0 24px 60px -40px rgba(31, 42, 36, 0.7);
}
.receipt::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1f4d3a 0%, #c5a45a 58%, #e2c784 100%);
}
.receipt__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid #ece3d3;
}
.receipt__brand { display: flex; align-items: flex-start; gap: 1.3rem; min-width: 0; }
.receipt__brand img {
  flex: 0 0 auto;
  width: 6.2rem;
  height: 6.2rem;
  padding: 0.35rem;
  border: 1px solid #ece1cd;
  border-radius: 1.1rem;
  background: #fffdf8;
  object-fit: contain;
}
.receipt__brand strong {
  display: block;
  color: #14261f;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.receipt__brand span {
  display: block;
  margin-top: 0.2rem;
  color: #7d857d;
  font-size: 1.06rem;
  line-height: 1.45;
}
.receipt__tag {
  margin-top: 0.3rem !important;
  color: #a07725 !important;
  font-size: 0.98rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.receipt__id { flex: 0 0 auto; text-align: right; }
.receipt__id h2 {
  margin: 0.55rem 0 0.2rem;
  color: #14261f;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.receipt__id p {
  margin: 0;
  color: #8b8579;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}
.receipt__badge {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  background: #e4f2e7;
  color: #1f7a45;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.receipt__badge.is-pending { background: #fdf1d9; color: #966c16; }
.receipt__badge.is-failed { background: #fbe4de; color: #a13822; }
.receipt__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.8rem 0 0;
  border: 1px solid #efe6d5;
  border-radius: 1rem;
  background: #fbf7ee;
  overflow: hidden;
}
.receipt__meta > div { padding: 1rem 1.3rem; }
.receipt__meta > div + div { border-left: 1px solid #efe6d5; }
.receipt__meta span,
.receipt__payment span,
.receipt__label {
  display: block;
  color: #96907f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.receipt__meta strong { display: block; margin-top: 0.25rem; color: #23302a; font-size: 1.16rem; font-weight: 700; }
.receipt__meta small { display: block; color: #999286; font-size: 0.95rem; line-height: 1.4; }
.receipt__parties {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  margin: 2rem 0 1.5rem;
}
.receipt__parties strong { display: block; margin-top: 0.3rem; color: #14261f; font-size: 1.52rem; font-weight: 700; line-height: 1.3; }
.receipt__parties p { margin: 0.15rem 0 0; color: #6b746f; font-size: 1.12rem; line-height: 1.45; }
.receipt__table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; }
.receipt__table th {
  padding: 0.8rem 1.1rem;
  border: 1px solid #e7ddcb;
  background: #f5efe3;
  color: #7d7669;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}
.receipt__table th:last-child { text-align: right; }
.receipt__table td {
  padding: 1.1rem;
  border: 1px solid #eee5d5;
  color: #26332c;
  font-size: 1.18rem;
  vertical-align: top;
}
.receipt__table td:last-child { width: 22%; text-align: right; font-size: 1.38rem; font-weight: 700; white-space: nowrap; }
.receipt__table td strong { display: block; color: #14261f; font-size: 1.24rem; font-weight: 700; }
.receipt__table td span { display: block; margin-top: 0.15rem; color: #8b8579; font-size: 1rem; line-height: 1.4; }
.receipt__table tfoot td {
  border-top: 2px solid #d9c9a8;
  background: #fbf7ee;
  color: #14261f;
  font-size: 1.24rem;
  font-weight: 700;
}
.receipt__table tfoot td:last-child { color: #1f4d3a; font-size: 1.9rem; font-weight: 800; }
.receipt__words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  align-items: baseline;
  margin: 0 0 1.4rem;
  padding: 0.85rem 1.1rem;
  border: 1px dashed #dfd2ba;
  border-radius: 0.9rem;
  background: #fffdf8;
}
.receipt__words span {
  color: #96907f;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.receipt__words strong { color: #1f4d3a; font-size: 1.12rem; font-weight: 700; }
.receipt__payment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem 2rem;
  padding: 1.2rem 0;
  border-top: 1px solid #ece3d3;
  border-bottom: 1px solid #ece3d3;
}
.receipt__payment strong { display: block; margin-top: 0.25rem; color: #33443b; font-size: 1.06rem; font-weight: 600; word-break: break-all; }
.receipt__message {
  margin: 1.2rem 0 0;
  padding: 0.85rem 1.2rem;
  border-left: 3px solid #c5a45a;
  border-radius: 0 0.7rem 0.7rem 0;
  background: #fbf6ea;
  color: #5b6a63;
  font-size: 1.08rem;
  font-style: italic;
}
.receipt__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 1.8rem;
}
.receipt__thanks { max-width: 64%; }
.receipt__thanks strong { display: block; color: #14261f; font-size: 1.2rem; font-weight: 700; }
.receipt__thanks p { margin: 0.25rem 0 0; color: #7d857d; font-size: 1rem; line-height: 1.5; }
.receipt__sign { min-width: 170px; text-align: center; }
.receipt__signline { display: block; width: 100%; height: 1px; margin-bottom: 0.45rem; background: #a9a294; }
.receipt__sign small { display: block; color: #96907f; font-size: 0.9rem; line-height: 1.4; }
.receipt__sign strong { display: block; color: #33443b; font-size: 0.96rem; font-weight: 600; }
.receipt__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ece3d3;
  color: #a19a8d;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- receipt print: one professional A4 page ---------- */
@page { size: A4; margin: 12mm; }
@media print {
  html { font-size: 62.5% !important; }
  html, body {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    display: block !important;
  }
  .announce,
  .header,
  .header-live-wrap,
  .header-live,
  .footer,
  .museum-footer-wrapper,
  #MuseumFooter,
  .floating-social,
  .cart-drawer,
  .scrim,
  .no-print,
  .donate-thanks__actions {
    display: none !important;
  }
  #MainContent, main { display: block !important; margin: 0 !important; padding: 0 !important; }
  .donate-page, .donate-thanks { min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
  .donate-thanks__wrap { width: 100% !important; max-width: none !important; margin: 0 !important; }
  .donate-thanks__card { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
  .receipt {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .receipt::before {
    height: 5px !important;
    background: linear-gradient(90deg, #1f4d3a 0%, #c5a45a 58%, #e2c784 100%) !important;
  }
  .receipt__head { padding-bottom: 12px !important; }
  .receipt__brand img { width: 50px !important; height: 50px !important; }
  .receipt__brand strong { font-size: 15.5px !important; }
  .receipt__brand span { font-size: 9px !important; }
  .receipt__tag { font-size: 8px !important; }
  .receipt__id h2 { font-size: 20px !important; }
  .receipt__id p { font-size: 9px !important; }
  .receipt__meta { margin-top: 10px !important; }
  .receipt__meta > div { padding: 7px 10px !important; }
  .receipt__meta span, .receipt__payment span, .receipt__label { font-size: 7.5px !important; }
  .receipt__meta strong { font-size: 9.5px !important; }
  .receipt__meta small { font-size: 7.5px !important; }
  .receipt__parties { margin: 10px 0 8px !important; gap: 22px !important; }
  .receipt__parties strong { font-size: 12.5px !important; }
  .receipt__parties p { font-size: 9px !important; }
  .receipt__table { margin-bottom: 8px !important; }
  .receipt__table th { padding: 5px 8px !important; font-size: 7.5px !important; }
  .receipt__table td { padding: 6px 8px !important; font-size: 9.5px !important; }
  .receipt__table td strong { font-size: 10px !important; }
  .receipt__table td span { font-size: 8px !important; }
  .receipt__table tfoot td { font-size: 10px !important; }
  .receipt__table tfoot td:last-child { font-size: 15px !important; }
  .receipt__words { margin-bottom: 8px !important; padding: 6px 9px !important; }
  .receipt__words span { font-size: 7.5px !important; }
  .receipt__words strong { font-size: 9px !important; }
  .receipt__payment { padding: 8px 0 !important; }
  .receipt__payment strong { font-size: 8.5px !important; }
  .receipt__bottom { margin-top: 10px !important; gap: 24px !important; }
  .receipt__thanks strong { font-size: 9.5px !important; }
  .receipt__thanks p { font-size: 8px !important; }
  .receipt__sign small { font-size: 7.5px !important; }
  .receipt__sign strong { font-size: 8px !important; }
  .receipt__foot { margin-top: 8px !important; padding-top: 6px !important; font-size: 7px !important; }
  .receipt__meta, .receipt__table th, .receipt__table tfoot td, .receipt__words, .receipt__message {
    background: #fbf7ee !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .receipt__badge {
    border: 0 !important;
    background: #e4f2e7 !important;
    color: #1f7a45 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .receipt__badge.is-pending { background: #fdf1d9 !important; color: #966c16 !important; }
  .receipt__badge.is-failed { background: #fbe4de !important; color: #a13822 !important; }
}

/* framed, full-page professional print layout */
@media print {
  .receipt {
    display: flex !important;
    flex-direction: column !important;
    min-height: 268mm !important;
    padding: 8mm 9mm !important;
    border: 1px solid #d9c9a8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }
  .receipt::before {
    inset: 0 0 auto !important;
    height: 4px !important;
  }
  .receipt__head { padding-bottom: 14px !important; }
  .receipt__brand img { width: 54px !important; height: 54px !important; }
  .receipt__brand strong { font-size: 16.5px !important; }
  .receipt__brand span { font-size: 9.5px !important; }
  .receipt__tag { font-size: 8.5px !important; }
  .receipt__id h2 { font-size: 22px !important; }
  .receipt__id p { font-size: 9.5px !important; }
  .receipt__meta { margin-top: 12px !important; }
  .receipt__meta > div { padding: 9px 12px !important; }
  .receipt__meta span, .receipt__payment span, .receipt__label { font-size: 8.5px !important; }
  .receipt__meta strong { font-size: 10.5px !important; }
  .receipt__meta small { font-size: 8.5px !important; }
  .receipt__parties { margin: 14px 0 12px !important; gap: 26px !important; }
  .receipt__parties strong { font-size: 13.5px !important; }
  .receipt__parties p { font-size: 9.5px !important; }
  .receipt__table { margin-bottom: 10px !important; }
  .receipt__table th { padding: 7px 10px !important; font-size: 8.5px !important; }
  .receipt__table td { padding: 9px 10px !important; font-size: 10px !important; }
  .receipt__table td strong { font-size: 10.5px !important; }
  .receipt__table td span { font-size: 8.5px !important; }
  .receipt__table tfoot td { font-size: 11px !important; }
  .receipt__table tfoot td:last-child { font-size: 17px !important; }
  .receipt__words { margin-bottom: 10px !important; padding: 8px 10px !important; }
  .receipt__words span { font-size: 8.5px !important; }
  .receipt__words strong { font-size: 10px !important; }
  .receipt__payment { padding: 10px 0 !important; }
  .receipt__payment strong { font-size: 9px !important; }
  .receipt__bottom { margin-top: 18px !important; gap: 28px !important; }
  .receipt__thanks strong { font-size: 10.5px !important; }
  .receipt__thanks p { font-size: 8.5px !important; }
  .receipt__sign small { font-size: 8px !important; }
  .receipt__sign strong { font-size: 8.5px !important; }
  .receipt__foot {
    margin-top: auto !important;
    padding-top: 8px !important;
    font-size: 8px !important;
  }
}

/* elegant blank-space watermark and bottom-anchored signature for print */
@media print {
  .receipt::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    width: 86mm;
    height: 86mm;
    transform: translate(-50%, -50%);
    background: url("/cdn/shop/files/logo.png") center / contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .receipt__bottom { margin-top: auto !important; }
  .receipt__foot { margin-top: 12px !important; }
}

/* letterhead-style brand mark */
.receipt__brand { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.receipt__brand img {
  width: 16rem;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
@media print {
  .receipt__brand img { width: 132px !important; height: auto !important; }
  .receipt__brand { gap: 5px !important; }
  .receipt__brand strong { font-size: 15px !important; }
}

@media print {
  .receipt::after { top: 64% !important; width: 100mm !important; height: 100mm !important; opacity: 0.04 !important; }
  .receipt__tag { margin-top: 0 !important; }
}

/* pending-donation payment page */
.donate-pay-summary { display: grid; gap: 0; margin: 0 0 24px; padding: 18px 20px; border: 1px solid #e6dccb; border-radius: 14px; background: #fbf7ef; text-align: left; }
.donate-pay-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid #efe7d8; }
.donate-pay-summary > div:last-child { border-bottom: 0; }
.donate-pay-summary span { color: #8a847a; font-size: 12px; }
.donate-pay-summary strong { color: #26332c; font-size: 13px; font-weight: 700; text-align: right; word-break: break-word; }
.donate-pay-summary .is-total { margin-top: 4px; padding-top: 12px; border-top: 2px solid #dccfba; }
.donate-pay-summary .is-total strong { color: #1f4d3a; font-size: 22px; }
.donate-paynow { margin: 0 0 8px; }
.donate-paynow .donate-error { margin-top: 12px; text-align: left; }

.donate-thanks__paynow { width: min(430px, 100%); margin: 0 auto 28px; text-align: left; }
