/**
 * Price pair, from SBD's participation options (where it was
 * `.sba-c-option-price-pair` until November 11, 2026): `grid grid-cols-2
 * overflow-hidden rounded-lg border`, each half `p-4`, the member half
 * `bg-red-light` and divided from the other by a border; the name
 * `text-xs`, red-dark and medium on the member half; the value
 * `mt-1 text-lg font-bold`; the saving `mt-1 text-xs font-medium` in
 * red-dark.
 */

.sba-c-price-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--sba-border);
	border-radius: var(--sba-radius-md);
}

.sba-c-price-pair > div {
	padding: 16px;
}

/* Outside a component's section too, as in the style guide, where
   MyListing's paragraph margins would apply. */
.sba-c-price-pair p {
	margin: 0;
}

.sba-c-price-pair > div + div {
	border-left: 1px solid var(--sba-border);
}

.sba-c-price-pair > .sba-c-pair-member {
	background-color: var(--sba-red-light);
}

.sba-c-price-pair .sba-c-pair-name,
.sba-c-price-pair .sba-c-pair-save {
	color: var(--sba-slate);
	font-family: var(--sba-font-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}

.sba-c-price-pair .sba-c-pair-member .sba-c-pair-name,
.sba-c-price-pair .sba-c-pair-save {
	color: var(--sba-red-dark);
	font-weight: 500;
}

.sba-c-price-pair .sba-c-pair-value {
	margin-top: 4px;
	color: var(--sba-charcoal);
	font-family: var(--sba-font-sans);
	font-size: 18px;
	font-weight: var(--sba-heading-weight);
	letter-spacing: var(--sba-heading-tracking);
	line-height: 28px;
}

.sba-c-price-pair .sba-c-pair-save {
	margin-top: 4px;
}
