.gcdf-root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.gcdf-overlay{align-items:center;background:rgba(43,50,65,.92);box-sizing:border-box;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:999999}.gcdf-modal-shell{max-width:1120px;position:relative;width:min(1120px,calc(100vw - 48px))}.gcdf-dialog{display:grid;gap:25px;grid-template-columns:minmax(0,645px) minmax(0,450px);height:min(760px,calc(100vh - 110px););width:100%}.gcdf-campaign,.gcdf-checkout{background:#fff;border-radius:20px}.gcdf-campaign{overflow:hidden}.gcdf-campaign-image-wrap{aspect-ratio:645/361;display:block;overflow:hidden;width:100%}.gcdf-campaign-image{display:block;height:100%;object-fit:cover;object-position:center center;width:100%}.gcdf-campaign-copy{padding:25px 36px}.gcdf-logo{max-height:64px;max-width:170px;margin-bottom:22px}.gcdf-campaign h2,.gcdf-campaign-heading{color:#282f3c;font-size:24px;font-weight:700;line-height:1.25;margin:0 0 16px}.gcdf-campaign-heading p{margin:0}.gcdf-description{font-size:17px;line-height:1.42}.gcdf-checkout{box-sizing:border-box;display:flex;flex-direction:column;padding:28px 40px}.gcdf-checkout-heading{align-items:center;display:flex;gap:10px;justify-content:center;margin:0 0 22px}.gcdf-secure-icon{height:34px;width:30px}.gcdf-secure-icon path:first-child,.gcdf-secure-icon rect,.gcdf-secure-icon path:last-child{fill:none;stroke:#00bf7d;stroke-width:2}.gcdf-checkout-heading h2{color:#282f3c;font-size:24px;margin:0}.gcdf-root .gcdf-frequency{background:#fff;border:1px solid #c5cedb;border-radius:10px;display:flex;height:50px;margin-bottom:15px;overflow:visible;padding:0;position:relative}.gcdf-root .gcdf-frequency button{background:transparent!important;border:0!important;border-radius:10px!important;color:#353d4a!important;cursor:pointer;flex:1;font:400 17px/1 Inter,sans-serif!important;height:50px!important;letter-spacing:0!important;margin:-1px 0!important;padding:0!important;text-transform:none!important;white-space:nowrap}.gcdf-root .gcdf-frequency button.is-active{background:#eff4ff!important;border:2px solid var(--gcdf-accent,#3474e8)!important;box-shadow:none!important;font-weight:600!important;margin:-1px!important;position:relative;z-index:1}.gcdf-amount-grid{display:grid;gap:11px 12px;grid-template-columns:repeat(3,1fr);margin-bottom:14px}.gcdf-root .gcdf-amount{background:#fff!important;border:1px solid #c5cedb!important;border-radius:10px!important;color:#363e4a!important;font:400 16px/1 Inter,sans-serif!important;height:50px!important;padding:0!important;text-transform:none!important;white-space:nowrap}.gcdf-root .gcdf-amount.is-selected{background:#f1f5ff!important;border:2px solid var(--gcdf-accent,#3474e8)!important;font-weight:600!important}.gcdf-custom-amount,.gcdf-field,.gcdf-designation-toggle{border:1px solid #c5cedb;border-radius:10px;box-sizing:border-box;display:block;height:64px!important;margin:0 0 16px;padding:9px 18px;position:relative}.gcdf-custom-amount span,.gcdf-field span{color:#5c6676;font-size:13px}.gcdf-custom-amount input,.gcdf-field input{background:transparent;border:0;box-shadow:none;color:#292f3b;font:400 18px Inter,sans-serif;height:26px;outline:0;padding:3px 0;width:100%}.gcdf-custom-amount input[type=number]{appearance:textfield;padding-right:82px}.gcdf-custom-amount input::-webkit-inner-spin-button,.gcdf-custom-amount input::-webkit-outer-spin-button{-webkit-appearance:none}.gcdf-custom-amount .gcdf-currency{color:#697385;font-size:16px;font-style:normal;position:absolute;right:18px;top:26px}.gcdf-custom-amount .gcdf-currency b{font-size:18px;font-weight:400}.gcdf-designation{margin-bottom:16px;position:relative}.gcdf-designation-toggle{background:#fff;text-align:left;width:100%}.gcdf-designation-toggle small{color:#5c6676;display:block;font-size:13px}.gcdf-designation-toggle strong{display:block;font-size:18px;font-weight:400}.gcdf-designation-toggle b{position:absolute;right:18px;top:22px}.gcdf-designation-menu{background:#fff;box-shadow:0 12px 24px rgba(29,38,52,.14);left:0;max-height:312px;overflow-y:auto;position:absolute;right:0;top:63px;z-index:6}.gcdf-designation-option{background:#fff;border:0;color:#343b48;display:block;font:400 17px Inter,sans-serif;min-height:48px;padding:0 46px;text-align:left;width:100%}.gcdf-designation-option:nth-child(odd){background:#edf3ff}.gcdf-designation-option span{color:var(--gcdf-accent,#3474e8);float:right;font-size:22px}.gcdf-comment-toggle{align-self:flex-start;background:none;border:0;color:#343b48;font:400 16px Inter,sans-serif;margin:auto 0 20px;padding:0;text-decoration:underline}.gcdf-next,.gcdf-trigger{background:var(--gcdf-accent,#3474e8);border:0;border-radius:10px;color:#fff;font:700 17px Inter,sans-serif;height:60px;text-transform:none}.gcdf-next{width:100%}.gcdf-close{background:#d9dde4;border:0;border-radius:50%;color:#303746;font-size:28px;height:40px;position:fixed;right:16px;top:14px;width:40px;z-index:4}.gcdf-faqs{color:#fff;display:flex;gap:14px;justify-content:center;margin-top:18px}.gcdf-faqs button{background:none;border:0;color:#fff;text-decoration:underline}.gcdf-two-fields{display:grid;gap:12px;grid-template-columns:1fr 1fr}.is-hidden{display:none!important}.gcdf-payment-error{background:#fff1f1;border:1px solid #f2b8b8;border-radius:10px;color:#9b1c1c;font-size:14px;line-height:1.4;margin:0 0 14px;padding:10px 12px}.gcdf-gateway-note,.gcdf-no-gateway{color:#5c6676;font-size:15px;line-height:1.45;margin:0}.gcdf-root .gcdf-payment-donate:disabled{opacity:.7;cursor:wait}.gcdf-root .gcdf-checkout.gcdf-success-step{align-items:center!important;display:flex!important;flex:1!important;justify-content:center!important;padding:30px!important}.gcdf-root .gcdf-success-card{background:#f7faff!important;border:1px solid #d7e3f8!important;border-radius:16px!important;max-width:420px!important;padding:28px 24px!important;text-align:center!important;width:100%!important}.gcdf-root .gcdf-success-badge{align-items:center!important;background:#e8f8ef!important;border-radius:999px!important;color:#0f9d58!important;display:inline-flex!important;font:700 18px/1 Inter,Arial,sans-serif!important;height:42px!important;justify-content:center!important;margin:0 auto 18px!important;width:42px!important}.gcdf-root .gcdf-success-title{color:#282f3b!important;font:600 22px/1.25 Inter,Arial,sans-serif!important;margin:0 0 12px!important}.gcdf-root .gcdf-success-message{color:#586172!important;font:400 15px/1.5 Inter,Arial,sans-serif!important;margin:0 0 20px!important}.gcdf-root .gcdf-success-summary{align-items:center!important;border-top:1px solid #d9dfe8!important;color:#343b48!important;display:flex!important;font:400 15px/1 Inter,Arial,sans-serif!important;justify-content:space-between!important;margin:0 0 22px!important;padding-top:16px!important}.gcdf-root .gcdf-success-summary strong{font:600 18px/1 Inter,Arial,sans-serif!important}.gcdf-root .gcdf-success-actions{display:flex!important;flex-direction:column!important;gap:10px!important}.gcdf-root .gcdf-success-receipt{background:#fff!important;border:1px solid #c5cedb!important;border-radius:10px!important;color:#343b48!important;cursor:pointer!important;font:600 16px/1 Inter,Arial,sans-serif!important;height:52px!important;width:100%!important}.gcdf-root .gcdf-success-close{margin:0!important;width:100%!important}@media(max-width:950px){.gcdf-dialog{grid-template-columns:1fr;height:auto;max-width:650px}.gcdf-faqs{display:none}}@media(max-width:540px){.gcdf-overlay{padding:0}.gcdf-modal-shell{width:100%}.gcdf-dialog{gap:0}.gcdf-campaign,.gcdf-checkout{border-radius:0}.gcdf-amount-grid{grid-template-columns:repeat(3,1fr)}.gcdf-two-fields{grid-template-columns:1fr}}
.gcdf-root .gcdf-checkout-heading{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin:0 0 24px!important;text-align:center!important}.gcdf-root .gcdf-secure-icon{flex:0 0 auto!important;height:34px!important;width:30px!important}.gcdf-root .gcdf-checkout-heading h2{color:#282f3c!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:25px!important;font-weight:600!important;letter-spacing:0!important;line-height:1!important;margin:0!important;padding:0!important;text-transform:none!important}
.gcdf-root .gcdf-frequency button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important}
.gcdf-root .gcdf-heart{color:#ff4f83!important;display:block!important;flex:none!important;height:14px!important;margin:0!important;width:16px!important}
.gcdf-root .gcdf-heart path{fill:currentColor!important}.gcdf-root .gcdf-close{align-items:center!important;box-sizing:border-box!important;display:flex!important;font-family:Arial,sans-serif!important;font-size:28px!important;height:40px!important;justify-content:center!important;line-height:40px!important;margin:0!important;min-height:40px!important;min-width:40px!important;padding:0!important;width:40px!important}
.gcdf-root .gcdf-overlay{align-items:center!important;box-sizing:border-box!important;inset:0!important;overflow-x:hidden!important;overflow-y:auto!important;padding:24px!important}.gcdf-root .gcdf-modal-shell{margin:0 auto!important}@media (max-width:768px){.gcdf-root .gcdf-overlay{align-items:flex-start!important;padding:0!important}.gcdf-root .gcdf-modal-shell{max-width:100%!important;width:100%!important}.gcdf-root .gcdf-dialog{gap:0!important;height:auto!important;max-height:none!important;width:100%!important}}.gcdf-root .gcdf-dialog{height:min(800px,calc(100vh - 72px))!important;max-height:calc(100vh - 48px)!important}.gcdf-root .gcdf-payment-note{display:none!important}.gcdf-root .gcdf-close{position:fixed!important;right:16px!important;top:14px!important}

/* Predefined color scheme support for all checkout step headings. */

/* Full page display mode: keep the existing popup flow untouched and render the same form as a centered page section. */
.gcdf-root.gcdf-root--fullpage{background:#f4f7fb!important;box-sizing:border-box!important;display:block!important;min-height:100vh!important;padding:48px 20px!important;width:100%!important}
.gcdf-root.gcdf-root--fullpage .gcdf-fullpage{box-sizing:border-box!important;margin:0 auto!important;max-width:1120px!important;width:100%!important}
.gcdf-root.gcdf-root--fullpage .gcdf-modal-shell{margin:0 auto!important;max-width:1120px!important;width:100%!important}
.gcdf-root.gcdf-root--fullpage .gcdf-close{display:none!important}
.gcdf-root.gcdf-root--fullpage .gcdf-dialog{height:auto!important;max-height:none!important;min-height:min(760px,calc(100vh - 96px))!important;width:100%!important}
.gcdf-root.gcdf-root--fullpage .gcdf-campaign,.gcdf-root.gcdf-root--fullpage .gcdf-checkout{box-shadow:0 18px 50px rgba(25,32,45,.08)!important}
.gcdf-root.gcdf-root--fullpage .gcdf-dialog--checkout-only{grid-template-columns:minmax(0,450px)!important;justify-content:center!important}
.gcdf-root.gcdf-root--fullpage .gcdf-faqs{color:#586172!important}
.gcdf-root.gcdf-root--fullpage .gcdf-faqs button{color:#586172!important}
@media(max-width:950px){.gcdf-root.gcdf-root--fullpage{padding:32px 16px!important}.gcdf-root.gcdf-root--fullpage .gcdf-dialog{min-height:0!important}}
@media(max-width:540px){.gcdf-root.gcdf-root--fullpage{background:#fff!important;min-height:100vh!important;padding:0!important}.gcdf-root.gcdf-root--fullpage .gcdf-campaign,.gcdf-root.gcdf-root--fullpage .gcdf-checkout{box-shadow:none!important}.gcdf-root.gcdf-root--fullpage .gcdf-dialog{width:100%!important}}
.gcdf-root .gcdf-donor-header h2{color:var(--gcdf-scheme-title,#292f3b)!important}

/* Google Pay (one-time VistaPay) — outer shell only; do not restyle GPay internals */
.gcdf-root .gcdf-google-pay-wrap{margin:0 0 16px;padding:0;position:relative;z-index:6}
.gcdf-root .gcdf-google-pay-button{
  display:block;
  width:100%;
  min-height:40px;
  margin:0 0 8px;
  overflow:visible;
  line-height:0;
}
.gcdf-root .gcdf-google-pay-button > *{
  max-width:100%;
}
.gcdf-root .gcdf-google-pay-status{margin:0 0 12px;font-size:12px;color:#6b7280;min-height:0;line-height:1.4}
.gcdf-root .gcdf-google-pay-status:empty{display:none}
.gcdf-root .gcdf-google-pay-or{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:12px;color:#9ca3af;text-align:center;line-height:1.4}
.gcdf-root .gcdf-google-pay-or::before,.gcdf-root .gcdf-google-pay-or::after{content:"";flex:1 1 0;height:1px;background:#e5e7eb}

/* Apple Pay (one-time VistaPay) — under Google Pay, above “Or pay with card” */
.gcdf-root .gcdf-apple-pay-wrap{margin:0 0 16px;padding:0;position:relative;z-index:6;text-align:center}
.gcdf-root .gcdf-apple-pay-button{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height:40px;
  margin:0 auto 8px;
  /* Do not use overflow:hidden / fixed height — clips <apple-pay-button> on Safari */
  overflow:visible;
  line-height:0;
}
.gcdf-root .gcdf-apple-pay-button > *,
.gcdf-root .gcdf-apple-pay-button .gcdf-apple-pay-mount,
.gcdf-root .gcdf-apple-pay-button [data-gcdf-wallet-mount]{
  display:flex;
  justify-content:center;
  margin-left:auto;
  margin-right:auto;
  max-width:100%;
  min-height:40px;
  line-height:0;
}
.gcdf-root .gcdf-apple-pay-button apple-pay-button,
.gcdf-root .gcdf-apple-pay-button #encoded-apms-applePayButton{
  display:inline-block;
  -webkit-appearance:-apple-pay-button;
  appearance:-apple-pay-button;
  width:240px;
  height:40px;
  max-width:100%;
  border-radius:4px;
  --apple-pay-button-width:240px;
  --apple-pay-button-height:40px;
  --apple-pay-button-border-radius:4px;
}
.gcdf-root .gcdf-apple-pay-status{margin:0 0 4px;font-size:12px;color:#6b7280;min-height:0;line-height:1.4;text-align:center}
.gcdf-root .gcdf-apple-pay-status:empty{display:none}
.gcdf-root .gcdf-google-pay-status{text-align:center}
@media(max-width:768px){
  /* Match Google Pay box on Android — same 240×40 / radius 4, centered (not full-bleed pill). */
  .gcdf-root .gcdf-apple-pay-wrap{width:100%;margin:0 0 12px;text-align:center}
  .gcdf-root .gcdf-apple-pay-button,
  .gcdf-root .gcdf-apple-pay-button .gcdf-apple-pay-mount,
  .gcdf-root .gcdf-apple-pay-button [data-gcdf-wallet-mount]{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    max-width:100%;
    min-height:40px;
    margin:0 auto;
  }
  .gcdf-root .gcdf-apple-pay-button apple-pay-button,
  .gcdf-root .gcdf-apple-pay-button #encoded-apms-applePayButton,
  .gcdf-root .gcdf-apple-pay-button button,
  .gcdf-root .gcdf-apple-pay-button [role="button"]{
    display:inline-block!important;
    box-sizing:border-box!important;
    width:240px!important;
    max-width:100%!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    border-radius:4px!important;
    --apple-pay-button-width:240px;
    --apple-pay-button-height:40px;
    --apple-pay-button-border-radius:4px;
  }
}

/* Full-page layout polish: scoped only to display="full_page" so popup mode stays unchanged. */
.gcdf-root.gcdf-root--fullpage{
  background:#f4f7fb!important;
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
  max-width:100%!important;
  min-height:100vh!important;
  padding:56px 24px!important;
  overflow-x:hidden!important;
  width:100%!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-fullpage,
.gcdf-root.gcdf-root--fullpage .gcdf-modal-shell{
  box-sizing:border-box!important;
  margin:0 auto!important;
  max-width:1120px!important;
  width:100%!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-dialog{
  align-items:stretch!important;
  display:grid!important;
  gap:24px!important;
  grid-template-columns:minmax(0,600px) minmax(450px,450px)!important;
  height:auto!important;
  justify-content:center!important;
  max-height:none!important;
  min-height:0!important;
  width:100%!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-campaign,
.gcdf-root.gcdf-root--fullpage .gcdf-checkout{
  border:0!important;
  box-shadow:0 18px 50px rgba(25,32,45,.10)!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-checkout{
  min-height:760px!important;
  padding:28px 34px!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-dialog--checkout-only{
  grid-template-columns:minmax(420px,450px)!important;
  justify-content:center!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-faqs{
  color:#586172!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-faqs button{
  color:#586172!important;
}
@media(max-width:900px){
  .gcdf-root.gcdf-root--fullpage{
    padding:36px 18px!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog{
    grid-template-columns:minmax(0,680px)!important;
    justify-content:center!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout{
    min-height:0!important;
  }
}
@media(max-width:540px){
  .gcdf-root.gcdf-root--fullpage{
    background:#fff!important;
    padding:0!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-campaign,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout{
    box-shadow:none!important;
  }
}

/* Full-page sub-steps: avoid double side spacing so forms stay the same usable width as the checkout card. */
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-donor-step,
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-payment-step,
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-step,
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step{
  padding:0!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-detail-fields,
.gcdf-root.gcdf-root--fullpage .gcdf-gateway-list,
.gcdf-root.gcdf-root--fullpage .gcdf-payment-details,
.gcdf-root.gcdf-root--fullpage .gcdf-native-checkout,
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-body,
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields,
.gcdf-root.gcdf-root--fullpage .gcdf-organisation{
  margin-left:30px!important;
  margin-right:30px!important;
  width:auto!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-donor-step .gcdf-next,
.gcdf-root.gcdf-root--fullpage .gcdf-payment-footer,
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-actions,
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-continue{
  margin-left:30px!important;
  margin-right:30px!important;
  width:calc(100% - 60px)!important;
}

/* Full-page comment and Gift Aid address screens: keep controls aligned to the same width. */
.gcdf-root.gcdf-root--fullpage .gcdf-checkout:has(.gcdf-comment-editor){
  padding:0!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-comment-editor{
  box-sizing:border-box!important;
  margin:16px 30px 16px!important;
  width:calc(100% - 60px)!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-comment-save{
  margin:0 30px 30px!important;
  width:calc(100% - 60px)!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields{
  margin-left:30px!important;
  margin-right:30px!important;
  width:calc(100% - 60px)!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields>.gcdf-field,
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields .gcdf-gift-aid-detail-fields,
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-country-picker{
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
  max-width:100%!important;
  min-width:0!important;
  width:100%!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields .gcdf-gift-aid-detail-fields .gcdf-field{
  box-sizing:border-box!important;
  width:100%!important;
}

/* Full-page background should hug the form area instead of filling the whole page section. */
.gcdf-root.gcdf-root--fullpage{
  background:transparent!important;
  min-height:0!important;
  padding:0!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-fullpage{
  background:transparent!important;
  box-sizing:border-box!important;
  margin:0 auto!important;
  max-width:100%!important;
  padding:0!important;
  width:fit-content!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-modal-shell{
  max-width:100%!important;
  width:fit-content!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-dialog{
  background:#f4f7fb!important;
  box-sizing:border-box!important;
  max-width:calc(100vw - 48px)!important;
  padding:56px 64px!important;
  width:fit-content!important;
}
@media(max-width:950px){
  .gcdf-root.gcdf-root--fullpage .gcdf-fullpage{
    max-width:100%!important;
    width:100%!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-modal-shell,
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog{
    max-width:100%!important;
    width:100%!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog{
    padding:36px 18px!important;
  }
}
@media(max-width:540px){
  .gcdf-root.gcdf-root--fullpage .gcdf-fullpage{
    background:#fff!important;
    padding:0!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog{
    background:#fff!important;
    padding:0!important;
  }
}


/* Full-page mobile sizing: match popup mobile sections without touching popup flow. */
@media(max-width:768px){
  .gcdf-root.gcdf-root--fullpage{
    background:#fff!important;
    padding:0!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-fullpage,
  .gcdf-root.gcdf-root--fullpage .gcdf-modal-shell,
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog{
    box-sizing:border-box!important;
    max-width:100%!important;
    width:100%!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog{
    display:grid!important;
    gap:0!important;
    grid-template-columns:1fr!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-campaign,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout{
    border-radius:0!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    max-width:100%!important;
    width:100%!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-donor-step,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-payment-step,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-step,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step{
    height:auto!important;
    min-height:0!important;
    padding:0 0 28px!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-detail-fields,
  .gcdf-root.gcdf-root--fullpage .gcdf-gateway-list,
  .gcdf-root.gcdf-root--fullpage .gcdf-payment-details,
  .gcdf-root.gcdf-root--fullpage .gcdf-vistapay-redirect-note,
  .gcdf-root.gcdf-root--fullpage .gcdf-native-checkout,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-body,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields,
  .gcdf-root.gcdf-root--fullpage .gcdf-organisation{
    box-sizing:border-box!important;
    margin-left:20px!important;
    margin-right:20px!important;
    max-width:none!important;
    width:calc(100% - 40px)!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-donor-step .gcdf-check{
    margin-left:20px!important;
    margin-right:20px!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-donor-step .gcdf-next,
  .gcdf-root.gcdf-root--fullpage .gcdf-payment-footer,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-actions,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-continue,
  .gcdf-root.gcdf-root--fullpage .gcdf-comment-save{
    box-sizing:border-box!important;
    margin-left:20px!important;
    margin-right:20px!important;
    width:calc(100% - 40px)!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout:has(.gcdf-comment-editor){
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-comment-editor{
    box-sizing:border-box!important;
    margin:16px 20px!important;
    min-height:420px!important;
    width:calc(100% - 40px)!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields>.gcdf-field,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields .gcdf-gift-aid-detail-fields,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-country-picker,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-country-toggle{
    box-sizing:border-box!important;
    max-width:100%!important;
    width:100%!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-declaration{
    box-sizing:border-box!important;
    width:100%!important;
  }
}

/* Full-page mobile Gift Aid screens width fix only. */
@media(max-width:768px){
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-step .gcdf-gift-aid-body,
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step .gcdf-gift-aid-address-fields{
box-sizing:border-box!important;
margin-left:8px!important;
margin-right:8px!important;
max-width:none!important;
width:calc(100% - 16px)!important;
}
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-step .gcdf-gift-aid-actions,
.gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step .gcdf-gift-aid-address-continue{
box-sizing:border-box!important;
margin-left:8px!important;
margin-right:8px!important;
width:calc(100% - 16px)!important;
}
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-step .gcdf-gift-aid-declaration,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step .gcdf-gift-aid-address-fields>.gcdf-field,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step .gcdf-gift-aid-detail-fields,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step .gcdf-gift-aid-country-picker,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-gift-aid-address-step .gcdf-gift-aid-country-toggle{
    box-sizing:border-box!important;
    max-width:100%!important;
    width:100%!important;
  }
}

@media(max-width:540px){
  .gcdf-root.gcdf-root--fullpage .gcdf-dialog,
  .gcdf-root.gcdf-root--fullpage .gcdf-campaign,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout{
    box-sizing:border-box!important;
    margin-left:auto!important;
    margin-right:auto!important;
    max-width:430px!important;
    width:100%!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout:not(.gcdf-donor-step):not(.gcdf-payment-step):not(.gcdf-success-step):not(.gcdf-gift-aid-step):not(.gcdf-gift-aid-address-step){
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-main-title{font-size:28px!important;line-height:1.18!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-frequency{height:52px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-frequency button{font-size:16px!important;line-height:1.1!important;min-width:0!important;padding:0 7px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-heart{font-size:14px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-amount-grid{gap:12px!important;margin-top:16px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-amount-btn{font-size:20px!important;height:62px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-amount-custom{height:70px!important;margin-top:14px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-amount-input{font-size:20px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-designation{height:78px!important;margin-top:14px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-comment-link{font-size:18px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-submit,
  .gcdf-root.gcdf-root--fullpage .gcdf-checkout.gcdf-donor-step .gcdf-next,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-claim,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-continue,
  .gcdf-root.gcdf-root--fullpage .gcdf-comment-save,
  .gcdf-root.gcdf-root--fullpage .gcdf-payment-footer .gcdf-donate{font-size:20px!important;height:62px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-donor-header h2{font-size:24px!important;line-height:1.2!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-detail-fields,
  .gcdf-root.gcdf-root--fullpage .gcdf-gateway-list,
  .gcdf-root.gcdf-root--fullpage .gcdf-payment-details,
  .gcdf-root.gcdf-root--fullpage .gcdf-native-checkout,
  .gcdf-root.gcdf-root--fullpage .gcdf-payment-footer,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-body,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields{
    margin-left:20px!important;
    margin-right:20px!important;
    width:calc(100% - 40px)!important;
  }
  .gcdf-root.gcdf-root--fullpage .gcdf-detail-fields .gcdf-field,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields>.gcdf-field,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields .gcdf-gift-aid-detail-fields .gcdf-field{height:72px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-detail-fields input,
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-address-fields input,
  .gcdf-root.gcdf-root--fullpage .gcdf-field input{font-size:19px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-comment-editor{font-size:20px!important;min-height:260px!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-body h3{font-size:18px!important;line-height:1.35!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-body p{font-size:16px!important;line-height:1.45!important}
  .gcdf-root.gcdf-root--fullpage .gcdf-gift-aid-declaration{font-size:15px!important;height:150px!important;line-height:1.45!important}
}
