.donate-box-section {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding: clamp(3rem, 7vw, 6rem) 1.25rem;
}

.general-donation-box {
  position: static;
  width: min(100%, 24rem);
  margin-inline: auto;
}

.donation-cart {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.donation-heading h1 {
  margin: .1rem 0 1.1rem;
  color: var(--green-deep);
  font: 800 clamp(2rem, 5vw, 2.7rem)/1.12 Georgia, serif;
  text-align: center;
}

.cash-gift {
  display: grid;
  gap: .85rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid #c9d9ca;
  border-radius: 1rem;
  background: #f2f7f0;
}

.cash-gift-heading h2 {
  margin: .1rem 0 .25rem;
  color: var(--green-deep);
  font: 800 1.15rem/1.2 Georgia, serif;
}

.cash-gift-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.cash-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.cash-preset {
  min-height: 2.8rem;
  border: 1px solid #8ea394;
  border-radius: .7rem;
  background: #fff;
  color: var(--green-deep);
  font-weight: 850;
  cursor: pointer;
}

.cash-preset:hover,
.cash-preset[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.cash-custom {
  display: grid;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 800;
}

.cash-custom .money-input {
  display: flex;
  align-items: center;
  border: 1px solid #8b988f;
  border-radius: .55rem;
  background: #fff;
  overflow: hidden;
}

.cash-custom .money-input > span {
  padding-left: .85rem;
  font-weight: 800;
}

.cash-custom .money-input input {
  width: 100%;
  min-width: 0;
  padding: .75rem .75rem .75rem .35rem;
  border: 0;
  outline: 0;
  background: transparent;
}

.cash-custom .money-input:focus-within {
  outline: 3px solid #e88a35;
  outline-offset: 2px;
}

.cash-gift .help,
.cash-gift .error {
  margin: -.45rem 0 0;
  font-size: .84rem;
}

.cash-gift .help {
  color: var(--muted);
}

.cash-gift .error {
  min-height: 1.35rem;
  color: #932f24;
}

.cash-frequency {
  margin: 0;
  padding: 0;
  border: 0;
}

.cash-frequency legend {
  margin-bottom: .45rem;
  font-size: .84rem;
  font-weight: 850;
}

.cash-frequency > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.cash-frequency label {
  cursor: pointer;
}

.cash-frequency input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cash-frequency span {
  display: grid;
  min-height: 2.7rem;
  place-items: center;
  border: 1px solid #8ea394;
  border-radius: .7rem;
  background: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.cash-frequency input:focus-visible + span {
  outline: 3px solid #e88a35;
  outline-offset: 2px;
}

.cash-frequency input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.cart-totals {
  margin: 1rem 0;
  padding: .9rem 0;
  border-block: 1px solid var(--line);
}

.cart-totals p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: .25rem 0;
}

.cart-totals strong {
  color: var(--green-deep);
}

.general-donation-box .button {
  display: inline-flex;
  min-height: 3.4rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.15rem;
  border: 0;
  border-radius: .58rem;
  background: var(--green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.general-donation-box .button:hover {
  background: var(--green-deep);
}

.general-donation-box .button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.payment-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--clay);
  background: #fff3e8;
}

.payment-message.is-visible {
  display: block;
}

.general-donation-box .secure-note {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: 1.2rem 0 0;
  color: #415248;
  font-size: .78rem;
  line-height: 1.45;
}

.general-donation-box .secure-note svg {
  width: 2.3rem;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 700px) {
  .donation-cart {
    padding: 1.1rem;
  }
}
