.btpay-donation {
    --btpay-primary: var(--tc-theme-primary, #c09867);
    --btpay-navy: var(--tc-theme-secondary, #001448);
    --btpay-muted: var(--tc-body-color, #6f7682);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    max-width: 1140px;
    margin: 32px auto 80px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(0, 20, 72, .09);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff 0%, #fff 58%, #f7f0e7 100%);
    box-shadow: 0 20px 60px rgba(0, 20, 72, .08);
    font-family: var(--tc-body-font-family, 'Sora', sans-serif);
}

.btpay-donation *, .btpay-donation *::before, .btpay-donation *::after { box-sizing: border-box; }
.btpay-donation__eyebrow { display: block; margin-bottom: 12px; color: var(--btpay-primary); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.btpay-donation h2 { max-width: 650px; margin: 0 0 16px; color: var(--btpay-navy); font-family: var(--tc-heading-font-family, 'Martel', serif); font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.btpay-donation__intro > p { max-width: 650px; margin: 0 0 22px; color: var(--btpay-muted); font-size: 17px; line-height: 1.7; }
.btpay-donation__intro ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--btpay-navy); font-size: 14px; }
.btpay-donation__intro li::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; border-radius: 50%; background: #eaf5ed; color: #237545; font-weight: 700; }

.btpay-donation__panel, .btpay-donation__cta { overflow: hidden; border: 1px solid rgba(0, 20, 72, .12); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(0, 20, 72, .1); }
.btpay-donation__cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; background: var(--btpay-primary); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.45; text-decoration: none; transition: filter .2s ease, transform .2s ease; }
.btpay-donation__cta:hover { color: #fff; filter: brightness(.94); transform: translateY(-2px); }
.btpay-donation__cta span:last-child { flex: 0 0 auto; font-size: 22px; }
.btpay-donation__panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 24px; background: var(--btpay-primary); color: #fff; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; transition: filter .2s ease; }
.btpay-donation__panel > summary::-webkit-details-marker { display: none; }
.btpay-donation__panel > summary:hover { filter: brightness(.94); }
.btpay-donation__panel > summary span:last-child { font-size: 22px; transition: transform .2s ease; }
.btpay-donation__panel[open] > summary span:last-child { transform: rotate(90deg); }
.btpay-donation__form { display: grid; gap: 18px; padding: 24px; }
.btpay-donation__form fieldset { margin: 0; padding: 0; border: 0; }
.btpay-donation__form legend, .btpay-donation__field > span:first-child { margin-bottom: 9px; color: var(--btpay-navy); font-size: 14px; font-weight: 700; }
.btpay-donation__amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.btpay-donation__amounts label { position: relative; margin: 0; cursor: pointer; }
.btpay-donation__amounts input { position: absolute; opacity: 0; pointer-events: none; }
.btpay-donation__amounts span { display: grid; place-items: center; min-height: 46px; border: 1px solid #d7dce5; border-radius: 9px; color: var(--btpay-navy); background: #fff; font-weight: 600; transition: .18s ease; }
.btpay-donation__amounts input:checked + span { border-color: var(--btpay-primary); background: #fbf4eb; box-shadow: inset 0 0 0 1px var(--btpay-primary); }
.btpay-donation__field { display: flex; flex-direction: column; margin: 0; }
.btpay-donation__field input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #d1d6df; border-radius: 9px; color: var(--btpay-navy); background: #fff; }
.btpay-donation__input-unit { display: flex; align-items: center; overflow: hidden; border: 1px solid #d1d6df; border-radius: 9px; }
.btpay-donation__input-unit input { border: 0; border-radius: 0; box-shadow: none; }
.btpay-donation__input-unit b { padding: 0 14px; color: var(--btpay-muted); font-size: 13px; }
.btpay-donation__consent { display: flex; gap: 9px; align-items: flex-start; margin: 0; color: var(--btpay-muted); font-size: 12px; line-height: 1.5; }
.btpay-donation__consent input { flex: 0 0 auto; margin-top: 2px; }
.btpay-donation__consent a { color: var(--btpay-navy); }
.btpay-donation__form > button { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--btpay-navy); color: #fff; font-weight: 700; cursor: not-allowed; }
.btpay-donation__prototype { margin: -7px 0 0; color: #8c681f; font-size: 12px; text-align: center; }

@media (max-width: 767px) {
    .btpay-donation { grid-template-columns: 1fr; margin: 24px 15px 56px; padding: 24px 18px; border-radius: 18px; }
    .btpay-donation h2 { font-size: 30px; }
    .btpay-donation__intro > p { font-size: 15px; }
    .btpay-donation__form { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .btpay-donation__panel > summary, .btpay-donation__amounts span { transition: none; }
}
