/* Donation page — reference layout */
.es-donate-hero {
	background: linear-gradient(165deg, #0b4628 0%, #072d1a 100%);
	color: #fff;
	padding: 3.5rem 0 5.5rem;
	text-align: center;
}
.es-donate-hero__inner {
	max-width: 40rem;
	margin: 0 auto;
}
.es-donate-hero__icon {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(243, 228, 168, 0.5);
	border-radius: 50%;
	color: #f3e4a8;
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
}
.es-donate-hero__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #f3e4a8;
}
.es-donate-hero__title {
	margin: 0 0 1rem;
	font-family: var(--es-font-display, 'Playfair Display', serif);
	font-size: clamp(1.85rem, 4vw, 2.65rem);
	line-height: 1.2;
	font-weight: 700;
}
.es-donate-hero__lead {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.es-donate-page {
	position: relative;
	background: #f9f8f3;
	padding: 0 0 4rem;
	margin-top: -3rem;
}
.es-donate-page__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c5cfc8' stroke-width='0.5'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 26px 26px;
	pointer-events: none;
}
.es-donate-page .es-container {
	position: relative;
	z-index: 1;
	max-width: 40rem;
}

.es-donate-panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(11, 70, 40, 0.12);
	border: 1px solid #ebe8e0;
	padding: 1.75rem 1.5rem 2rem;
}
@media (min-width: 640px) {
	.es-donate-panel { padding: 2rem 2.25rem 2.25rem; }
}
.es-donate-panel--message {
	text-align: center;
	padding: 2rem;
}

.es-donate-quote {
	margin: 0 0 1.5rem;
	padding: 1rem 1.15rem;
	background: #faf3d6;
	border-left: 4px solid var(--es-color-accent);
	border-radius: 8px;
	font-family: var(--es-font-display, 'Playfair Display', serif);
	font-size: 0.9375rem;
	font-style: italic;
	line-height: 1.55;
	color: #4a4030;
	text-align: center;
}

.es-donate-alert {
	margin-bottom: 1.25rem;
	padding: 0.85rem 1rem;
	background: #fde8ea;
	border: 1px solid #f5c2c7;
	border-radius: 8px;
	color: #842029;
	font-size: 0.875rem;
}
.es-donate-alert p { margin: 0; }

.es-donate-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #e8e4d9;
}
.es-donate-tab {
	flex: 1;
	text-align: center;
	padding: 0.65rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	color: var(--es-color-muted);
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}
.es-donate-tab input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.es-donate-tab.is-active {
	color: var(--es-color-primary);
	border-bottom-color: var(--es-color-primary);
}

.es-donate-label {
	margin: 0 0 0.65rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--es-color-muted);
}

.es-donate-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.es-donate-amt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.25rem;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	border: 1px solid #d8ddd9;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	color: #3d4a42;
	font-family: inherit;
}
.es-donate-amt input { position: absolute; opacity: 0; pointer-events: none; }
.es-donate-amt.is-active,
.es-donate-amt:has(input:checked) {
	background: var(--es-color-primary);
	border-color: var(--es-color-primary);
	color: #fff;
}
.es-donate-amt--custom.is-active {
	background: #fff;
	color: var(--es-color-primary);
	border-color: var(--es-color-primary);
	box-shadow: inset 0 0 0 1px var(--es-color-primary);
}

.es-donate-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}
.es-donate-stepper__btn {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 8px;
	border: 1px solid #d8ddd9;
	background: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	color: var(--es-color-primary);
}
.es-donate-stepper__field {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 1rem;
	border: 1px solid #d8ddd9;
	border-radius: 8px;
	background: #fff;
	min-width: 8rem;
	justify-content: center;
}
.es-donate-stepper__currency {
	font-weight: 600;
	color: var(--es-color-muted);
}
.es-donate-stepper__field input {
	border: none;
	width: 4.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	font-family: inherit;
	color: var(--es-color-primary);
}
.es-donate-stepper__field input:focus { outline: none; }
.es-donate-hint {
	margin: 0 0 1.35rem;
	font-size: 0.75rem;
	color: var(--es-color-muted);
	text-align: center;
}

.es-donate-field select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d8ddd9;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.875rem;
}
.es-donate-fields { margin-top: 1rem; }
.es-donate-fields input,
.es-donate-fields textarea {
	border-radius: 8px;
}
.es-donate-anon {
	margin: 1rem 0 1.25rem;
	font-size: 0.8125rem;
}

.es-donate-summary {
	margin: 0 0 1.25rem;
	padding: 1rem 1.15rem;
	background: #f3ebe0;
	border-radius: 10px;
	font-size: 0.875rem;
}
.es-donate-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.45rem;
	color: #4a4030;
}
.es-donate-summary__row strong { font-weight: 600; text-align: right; }
.es-donate-summary__total {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(11, 70, 40, 0.12);
	font-weight: 700;
	color: var(--es-color-primary);
}

.es-donate-submit__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	text-transform: none;
	letter-spacing: 0;
	padding: 0.95rem 1.25rem;
}
.es-donate-disclaimer {
	margin: 0.85rem 0 0;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: var(--es-color-muted);
	text-align: center;
}
