.zorem-paddle-receipt {
	max-width: 640px;
	margin: 2em auto;
	padding: 1.5em;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	background: #fff;
}

.zorem-paddle-receipt h2 {
	margin-top: 0;
	text-align: center;
}

.zorem-paddle-inline.checkout-container {
	min-height: 450px;
	width: 100%;
	margin: 1em 0;
}

.zorem-paddle-receipt .zorem-paddle-button {
	display: inline-block;
	margin: 1em auto 0;
	padding: 0.8em 1.6em;
	background: #155af6;
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-size: 1rem;
	cursor: pointer;
}

.zorem-paddle-receipt .zorem-paddle-button:hover {
	background: #0d41b8;
}

.zorem-paddle-mode-overlay {
	text-align: center;
}

.zorem-paddle-receipt .zorem-paddle-hint {
	margin-top: 1em;
	color: #666;
	font-size: 0.9rem;
	text-align: center;
}

.zorem-paddle-tax-summary {
	margin: 1em 0 1.5em;
	padding: 0.75em 1em;
	background: #f6f8fb;
	border-radius: 4px;
}

.zorem-paddle-tax-summary-table {
	width: 100%;
	border-collapse: collapse;
}

.zorem-paddle-tax-summary-table th,
.zorem-paddle-tax-summary-table td {
	padding: 0.4em 0;
	text-align: left;
	font-weight: normal;
	border: 0;
}

.zorem-paddle-tax-summary-table td {
	text-align: right;
}

.zorem-paddle-tax-summary-total th,
.zorem-paddle-tax-summary-total td {
	border-top: 1px solid #e2e4e7;
	padding-top: 0.6em;
	font-weight: 600;
}

.zorem-paddle-tax-summary-note {
	margin: 0.4em 0 0;
	color: #666;
	text-align: center;
}

/* Estimated tax line rendered directly above "Total due today" on the
   cart and checkout pages. Laid out as a flex row so the label and the
   amount sit on opposite ends, matching the surrounding theme rows. */
.zorem-paddle-estimated-tax-line {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.zorem-paddle-estimated-tax-line .zorem-paddle-estimated-tax-label {
	color: #475569;
}

.zorem-paddle-estimated-tax-line .zorem-paddle-estimated-tax-amount {
	color: #0f172a;
	font-weight: 600;
	text-align: right;
}

.zorem-paddle-estimated-tax-line .zorem-paddle-estimated-tax-note {
	display: block;
	margin-top: 0.15rem;
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 400;
}

/* Estimated tax row injected into the zorem theme's "Recurring totals"
   table. Inherits most styling from the theme's
   `.zorem-recurring-totals tr.cart-subtotal.recurring-total` selector
   via the classes we emit on the <tr>; nothing extra needed here beyond
   making sure the amount stays right-aligned if the theme rule shifts. */
.zorem-recurring-totals tr.zorem-paddle-tax-estimate td {
	text-align: right;
}

/* Order-pay "Order awaiting payment" box — the injected tax row uses
   the theme's existing .zorem-order-pay-total-row wrapper, so inherits
   its styling automatically. We only need to tame the <small> note. */
.zorem-order-pay-totals .zorem-order-pay-total-row small {
	display: block;
	margin-top: 0.125rem;
	font-size: 0.7rem;
	font-weight: 400;
	color: #94a3b8;
}
