/**
 * Cash Back Calculator — sn-ci-calc layout extensions.
 */

@media (min-width: 1024px) {
	.sn-cash-back-calc .sn-ci-calc__results {
		align-self: stretch;
		overflow: visible;
	}

	.sn-cash-back-calc .sn-ci-calc__inputs {
		align-self: flex-start;
	}
}

.sn-cash-back-calc .sn-ci-calc__results {
	padding: 1.5rem 1.5rem 2rem;
}

.sn-cash-back-calc__result-heading {
	margin: 0 0 0.5rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

.sn-cash-back-calc__hero {
	margin: 0 0 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #f3f4f6;
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-primary);
}

.sn-cash-back-calc__summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	margin-bottom: 1rem;
}

.sn-cash-back-calc__summary-label {
	margin: 0 0 0.25rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--color-text-muted);
}

.sn-cash-back-calc__summary-value {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

.sn-cash-back-calc__note {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #9a3412;
}

.sn-cash-back-calc__steps {
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: 0.5rem;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
}

.sn-cash-back-calc__steps-title {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text);
}

.sn-cash-back-calc__steps-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--color-text-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
