.nde-donation-widget,
.nde-donation-widget * {
	box-sizing: border-box;
}

.nde-donation-widget {
	width: 413px;
	max-width: 100%;
	container-type: inline-size;
	background: #fdf4e3;
	padding: 24px 24px 8px;
	font-family: inherit;
	color: #4c2817;
}

.nde-donation-heading {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #9b6c56;
}

.nde-amounts {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 12px;
	padding: 0;
	flex-wrap: nowrap;
}

.nde-amount-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	min-width: 66px;
	max-width: 100%;
	height: 34px;
	padding: 0 18px;
	border: 1px solid #dccbb6;
	border-radius: 999px;
	background: transparent;
	color: #4c2817;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nde-amount-btn:hover,
.nde-amount-btn:focus {
	outline: none;
	transform: translateY(-1px);
}

.nde-amount-btn.is-active {
	background: #4c2817;
	border-color: #4c2817;
	color: #fff;
}

.nde-other-row {
	display: none;
	align-items: center;
	position: relative;
	width: 100%;
	margin: 0 0 20px;
}

.nde-other-row.is-visible {
	display: flex;
}

.nde-currency-prefix {
	flex: 0 0 auto;
	width: 16px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	color: #4c2817;
}

.nde-other-input {
	flex: 1 1 auto;
	min-width: 0;
	width: calc(100% - 16px);
	height: 38px;
	border: 1px solid #dccbb6;
	border-radius: 5px;
	background: #faefd9;
	color: #4c2817;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	padding: 0 14px;
	box-shadow: none;
	outline: none;
}

.nde-other-input:focus {
	border-color: #b6a291;
	box-shadow: 0 0 0 1px rgba(76, 40, 23, 0.1);
}

.nde-other-input::-webkit-outer-spin-button,
.nde-other-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.nde-other-input[type="number"] {
	-moz-appearance: textfield;
}

.nde-payment-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
	padding: 0;
	flex-wrap: wrap;
}

.nde-payment-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 130px;
	max-width: 100%;
	min-height: 42px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none !important;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.nde-payment-button:hover,
.nde-payment-button:focus {
	outline: none;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.nde-button-primary {
	background: #4c2817;
	border-color: #4c2817;
	color: #fff;
}

.nde-button-primary:hover,
.nde-button-primary:focus {
	background: #3d1f12;
	border-color: #3d1f12;
	color: #fff;
}

.nde-button-secondary {
	background: transparent;
	border-color: #cdb89e;
	color: #4c2817;
	font-weight: 400;
}

.nde-button-secondary:hover,
.nde-button-secondary:focus {
	background: #faefd9;
	color: #4c2817;
}

.nde-payment-button.is-disabled,
.nde-payment-button[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.55;
	pointer-events: none;
}

.nde-divider {
	width: 100%;
	border-bottom: 1px solid #eadcc8;
	margin: 0;
}


@container (max-width: 360px) {
	.nde-amounts {
		flex-wrap: wrap;
	}
}

@media (max-width: 400px) {
	.nde-amounts {
		flex-wrap: wrap;
	}
}

@media (max-width: 420px) {
	.nde-donation-widget {
		width: 100%;
	}

	.nde-payment-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.nde-payment-button {
		width: 100%;
		min-width: 0;
	}
}
