
/* ==========================================================
   DONATION FORM PAGES (/donation?id=…)
   Restyle only – the theme's payment code is untouched.
   ========================================================== */
body.page-template-donations { background: #F7F3EA !important; }
body.page-template-donations .site-content > .ast-container { max-width: 100% !important; padding: 0 !important; }
body.page-template-donations .main_body {
  font-family: 'Mulish', system-ui, sans-serif; color: #1E1D1B; background: #F7F3EA;
  padding: 56px 20px 80px; box-sizing: border-box;
}
body.page-template-donations .main_body * { box-sizing: border-box; }
body.page-template-donations .step-title { max-width: 680px; margin: 0 auto 24px; text-align: center; }
body.page-template-donations .step-title h1 {
  font-family: 'Marcellus', Georgia, serif !important; font-weight: 400 !important;
  font-size: clamp(28px, 4vw, 40px) !important; line-height: 1.15 !important; color: #1E1D1B !important; margin: 0 !important;
}
body.page-template-donations #error_msg {
  max-width: 680px; margin: 0 auto 16px; background: #FBEDE8; color: #A3361F; border: 1.5px solid #E8B9A9;
  border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 15px;
}
body.page-template-donations .container_box {
  max-width: 680px !important; margin: 0 auto !important; background: #FFFFFF !important;
  border: 1px solid #E6DCC6 !important; border-radius: 18px !important; padding: 32px !important;
  box-shadow: 0 10px 30px rgba(30, 29, 27, 0.06);
}
/* step indicator */
body.page-template-donations .step::before {
  display: block; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #E6DCC6;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #6E6240;
}
body.page-template-donations #step1::before { content: "Step 1 of 4 · Amount"; }
body.page-template-donations #step2::before { content: "Step 2 of 4 · Message"; }
body.page-template-donations #step3::before { content: "Step 3 of 4 · Your details"; }
body.page-template-donations #step4::before { content: "Step 4 of 4 · Payment"; }
/* headings and labels */
body.page-template-donations .section-title,
body.page-template-donations .step h4,
body.page-template-donations .step h5 {
  font-family: 'Mulish', system-ui, sans-serif !important; font-size: 15px !important; font-weight: 800 !important;
  color: #1E1D1B !important; margin: 0 0 10px !important; letter-spacing: 0; text-transform: none;
}
body.page-template-donations #text-msg1 { margin-top: 22px !important; }
/* select and text fields */
body.page-template-donations .custom-select,
body.page-template-donations .form-control,
body.page-template-donations .step textarea {
  width: 100% !important; font-family: 'Mulish', system-ui, sans-serif !important; font-size: 16px !important;
  color: #1E1D1B !important; background-color: #FFFFFF !important; border: 1.5px solid #D8CCB0 !important;
  border-radius: 12px !important; padding: 13px 14px !important; box-shadow: none !important; height: auto !important;
}
body.page-template-donations .custom-select { padding-right: 40px !important; }
body.page-template-donations .custom-select:focus,
body.page-template-donations .form-control:focus,
body.page-template-donations .amount-input:focus {
  outline: none !important; border-color: #6E6240 !important; box-shadow: 0 0 0 3px rgba(188, 169, 122, 0.35) !important;
}
body.page-template-donations .step textarea { min-height: 130px; }
body.page-template-donations #donorForm .mb-3 { margin-bottom: 14px !important; }
/* how often: one off / daily / weekly / monthly */
body.page-template-donations ul.donation-type { gap: 8px !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
body.page-template-donations ul.donation-type li {
  flex: 1 1 0; justify-content: center; margin: 0 !important; padding: 12px 8px !important;
  background: #FFFFFF !important; border: 1.5px solid #D8CCB0 !important; border-radius: 12px !important;
  box-shadow: none !important; color: #1E1D1B !important; font-weight: 800; font-size: 15px; cursor: pointer;
}
body.page-template-donations ul.donation-type li:hover { border-color: #6E6240 !important; }
body.page-template-donations ul.donation-type li.active { background: #1E1D1B !important; border-color: #1E1D1B !important; color: #F7F3EA !important; }
/* amounts: 2 x 2 grid plus own amount */
body.page-template-donations .amount-section.active { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.page-template-donations .amount-box {
  margin: 0 !important; padding: 14px 16px !important; background: #FFFFFF !important;
  border: 1.5px solid #D8CCB0 !important; border-radius: 12px !important; box-shadow: none !important;
  display: flex !important; align-items: baseline; gap: 6px; cursor: pointer;
}
body.page-template-donations .amount-box:hover { border-color: #6E6240 !important; }
body.page-template-donations .amount-box .amount { font-size: 20px !important; font-weight: 800 !important; color: inherit !important; }
body.page-template-donations .amount-box small { font-size: 12px !important; font-weight: 600; opacity: 0.75; text-transform: lowercase; }
body.page-template-donations .amount-box.active { background: #1E1D1B !important; border-color: #1E1D1B !important; color: #F7F3EA !important; }
body.page-template-donations .amount-box.custom-amount { grid-column: 1 / -1; align-items: center; padding: 6px 6px 6px 16px !important; cursor: text; }
body.page-template-donations .amount-box.custom-amount.active { background: #FFFFFF !important; border-color: #6E6240 !important; color: #1E1D1B !important; }
body.page-template-donations .custom-amount .currency { font-size: 18px !important; font-weight: 800; color: #6E6240 !important; }
body.page-template-donations .amount-input {
  flex: 1 1 auto; width: 100% !important; font-family: 'Mulish', system-ui, sans-serif !important; font-size: 16px !important;
  color: #1E1D1B !important; background: transparent !important; border: 0 !important; border-radius: 8px !important; padding: 10px 8px !important;
}
/* cover fees and gift aid */
body.page-template-donations #text-msg2 { margin-top: 18px !important; }
body.page-template-donations .fee-box {
  align-items: flex-start; gap: 10px; background: #F7F3EA; border: 1px solid #E6DCC6; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #3D3830;
}
body.page-template-donations .fee-box input[type=checkbox] { margin-top: 3px; accent-color: #6E6240; width: 16px; height: 16px; flex: none; }
body.page-template-donations .fee-box label { margin: 0; cursor: pointer; }
body.page-template-donations .gift-aid-box { display: block !important; margin: 6px 0 4px; font-size: 15px !important; font-weight: 800; }
body.page-template-donations .gift-label .toggle { background: #D8CCB0 !important; }
body.page-template-donations #giftAid:checked + .gift-label .toggle,
body.page-template-donations .gift-aid-box input:checked ~ .gift-label .toggle { background: #6E6240 !important; }
body.page-template-donations #giftMessage { background: #F7F3EA; border: 1px solid #E6DCC6; border-radius: 12px; padding: 16px !important; font-size: 13px; line-height: 1.6; color: #3D3830; margin-bottom: 8px; }
body.page-template-donations #giftMessage .fee-box { background: transparent; border: 0; padding: 10px 0 0; }
/* payment step */
body.page-template-donations .summary-card { background: #F7F3EA !important; border: 1px solid #E6DCC6 !important; border-radius: 12px !important; padding: 16px 18px !important; margin-bottom: 18px; }
body.page-template-donations .summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; color: #3D3830; }
body.page-template-donations .summary-row.total { font-weight: 800; font-size: 17px; color: #1E1D1B; }
body.page-template-donations .summary-divider { border-top: 1px solid #E6DCC6; margin: 8px 0; }
body.page-template-donations #card-element { border: 1.5px solid #D8CCB0 !important; border-radius: 12px !important; padding: 15px 14px !important; background: #FFFFFF !important; }
body.page-template-donations #card-errors { color: #A3361F; font-size: 14px; font-weight: 700; }
/* buttons */
body.page-template-donations .text-end { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body.page-template-donations .btn-next,
body.page-template-donations #submitBtn,
body.page-template-donations #submitBtnCancel,
body.page-template-donations #submitBtn1,
body.page-template-donations .btn-back {
  font-family: 'Mulish', system-ui, sans-serif !important; font-weight: 800 !important; font-size: 15px !important;
  letter-spacing: 0.04em; border-radius: 999px !important; padding: 14px 32px !important; margin: 0 !important; cursor: pointer;
}
body.page-template-donations .btn-next,
body.page-template-donations #submitBtn { background: #BCA97A !important; color: #1E1D1B !important; border: 1.5px solid #BCA97A !important; }
body.page-template-donations .btn-next:hover,
body.page-template-donations #submitBtn:hover { background: #A8955F !important; border-color: #A8955F !important; }
body.page-template-donations .btn-back,
body.page-template-donations #submitBtnCancel { background: #FFFFFF !important; color: #1E1D1B !important; border: 1.5px solid #CDBF9C !important; }
body.page-template-donations .btn-back:hover,
body.page-template-donations #submitBtnCancel:hover { border-color: #1E1D1B !important; }
body.page-template-donations #submitBtn1 { background: #6E6240 !important; color: #FFFFFF !important; border: 0 !important; }
@media (max-width: 600px) {
  body.page-template-donations .container_box { padding: 22px !important; }
  body.page-template-donations ul.donation-type { flex-wrap: wrap; }
  body.page-template-donations ul.donation-type li { flex: 1 1 40%; }
}
body.page-template-donations #step1 > .mb-4 { margin-bottom: 22px !important; }
body.page-template-donations .message-box { background: transparent !important; padding: 0 !important; border: 0 !important; }
body.page-template-donations .gift-aid-box,
body.page-template-donations .gift-label,
body.page-template-donations .gift-label .text { font-family: 'Mulish', system-ui, sans-serif !important; font-size: 15px !important; font-weight: 800 !important; }
body.page-template-donations .summary-row.total span { color: #1E1D1B !important; }
