.d4u-deposit-card {
	margin: 0 0 18px;
	padding: 18px 22px 20px;
	background: #77a464;
	color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.d4u-deposit-card.is-expanded {
	background: rgba(0, 0, 0, 0.05);
	color: #1f1f1f;
}

.d4u-deposit-card__native-inputs,
.d4u-deposit-card__native-description {
	display: none !important;
}

.d4u-deposit-card__intro {
	display: grid;
	gap: 6px;
}

.d4u-deposit-card__eyebrow {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.9;
}

.d4u-deposit-card__title {
	margin: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1.08;
	font-weight: 600;
}

.d4u-deposit-card.is-expanded .d4u-deposit-card__title {
	color: #1f1f1f;
}

.d4u-deposit-card__lead {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.55;
	max-width: 44ch;
}

.d4u-deposit-card__toggle {
	justify-self: start;
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.16em;
	cursor: pointer;
}

.d4u-deposit-card__details {
	padding-top: 14px;
}

.d4u-deposit-card:not(.is-expanded) .d4u-deposit-card__details[hidden] {
	display: none !important;
}

.d4u-deposit-card__summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 16px;
}

.d4u-deposit-card__amount-group {
	padding: 12px 0;
	border-top: 1px solid rgba(31, 31, 31, 0.14);
}

.d4u-deposit-card__amount-label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.72;
}

.d4u-deposit-card__amount {
	display: block;
	font-size: 18px;
	line-height: 1.15;
	font-weight: 600;
}

.d4u-deposit-card__copy {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.65;
	max-width: 56ch;
}

.d4u-deposit-card__checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.55;
	cursor: pointer;
}

.d4u-deposit-card__checkbox-input {
	margin: 3px 0 0;
	accent-color: #1f1f1f;
}

.d4u-deposits-manual-balance-notice.woocommerce-info {
	background: #77a464;
	color: #fff;
	border: 0;
}

.d4u-deposits-manual-balance-notice.woocommerce-info::before {
	color: #fff;
}

.d4u-deposit-choice {
	margin: 0 0 22px;
	padding: 16px 18px;
	background: rgba(0, 0, 0, 0.04);
	transition: opacity 0.2s ease;
}

.d4u-deposit-choice.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.d4u-deposit-choice__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 600;
}

.d4u-deposit-choice__copy {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	max-width: 56ch;
}

.d4u-deposit-choice__options {
	display: grid;
	gap: 10px;
}

.d4u-deposit-choice__option {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.d4u-deposit-choice__input {
	margin: 4px 0 0;
	accent-color: #1f1f1f;
}

.d4u-deposit-choice__label {
	font-weight: 500;
}

.woocommerce-cart .d4u-deposit-row--future th,
.woocommerce-checkout-review-order-table .d4u-deposit-row--future th,
.woocommerce-cart .d4u-deposit-row--future td,
.woocommerce-checkout-review-order-table .d4u-deposit-row--future td,
.woocommerce-cart .d4u-deposit-row--due-today th,
.woocommerce-checkout-review-order-table .d4u-deposit-row--due-today th,
.woocommerce-cart .d4u-deposit-row--due-today td,
.woocommerce-checkout-review-order-table .d4u-deposit-row--due-today td {
	background: transparent;
	font-weight: 600;
}

.woocommerce-cart .d4u-deposit-row .tax_label,
.woocommerce-checkout-review-order-table .d4u-deposit-row .tax_label,
.woocommerce-order-details .tax_label,
.woocommerce-table--order-details .tax_label {
	display: inline-block;
	margin-left: 6px;
	font-size: 0.86em;
	font-weight: 400;
	opacity: 0.8;
}

@media (max-width: 768px) {
	.d4u-deposit-card {
		padding: 16px 18px 18px;
	}

	.d4u-deposit-card__title {
		font-size: 18px;
		max-width: none;
	}

	.d4u-deposit-card__lead,
	.d4u-deposit-card__copy,
	.d4u-deposit-card__checkbox {
		font-size: 13px;
	}

	.d4u-deposit-card__summary {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.d4u-deposit-card__amount {
		font-size: 17px;
	}

	.d4u-deposit-choice {
		padding: 14px 16px;
	}

	.d4u-deposit-choice__title {
		font-size: 16px;
	}

	.d4u-deposit-choice__copy,
	.d4u-deposit-choice__option {
		font-size: 13px;
	}
}
