.xfmr-fast-panel,
.xfmr-fast-line {
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
	color: #172033;
}

.xfmr-fast-panel {
	margin: 1.25rem 0;
	padding: 1rem;
}

.xfmr-fast-panel > h3 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.25;
}

.xfmr-fast-panel__intro {
	margin: .4rem 0 .9rem;
	color: #475569;
	font-size: .92rem;
}

.xfmr-fast-group + .xfmr-fast-group {
	margin-top: .85rem;
}

.xfmr-fast-group > h4 {
	margin: 0 0 .45rem;
	font-size: .95rem;
	line-height: 1.35;
}

.xfmr-fast-group--larger > h4 {
	color: #166534;
}

.xfmr-fast-group--split > h4,
.xfmr-fast-group--smaller > h4 {
	color: #92400e;
}

.xfmr-fast-alt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: .65rem;
	align-items: center;
	padding: .75rem;
	border-radius: 8px;
}

.xfmr-fast-alt + .xfmr-fast-alt {
	margin-top: .5rem;
}

.xfmr-fast-alt--larger {
	border: 1px solid #86efac;
	background: #f0fdf4;
}

.xfmr-fast-alt--split,
.xfmr-fast-alt--smaller {
	border: 2px solid #f59e0b;
	background: #fffbeb;
}

.xfmr-fast-alt__facts {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem .7rem;
	align-items: baseline;
	min-width: 0;
	font-size: .9rem;
}

.xfmr-fast-alt__sku {
	font-weight: 750;
	overflow-wrap: anywhere;
}

.xfmr-fast-alt__stock {
	color: #166534;
	font-weight: 700;
}

.xfmr-fast-alt__difference {
	color: #334155;
	font-weight: 650;
}

.xfmr-fast-alt__condition {
	grid-column: 1 / -1;
	display: block;
	padding: .55rem .65rem;
	border-radius: 6px;
	background: #fef3c7;
	color: #78350f;
	font-size: .95rem;
	line-height: 1.4;
}

.xfmr-fast-alt__split-quantity {
	grid-column: 1 / -1;
	color: #78350f;
	font-weight: 700;
}

.xfmr-fast-alt__view.button,
.xfmr-fast-alt__swap.button {
	margin: 0;
	white-space: normal;
	text-align: center;
	line-height: 1.25;
}

.xfmr-fast-line {
	margin: .65rem 0 .2rem;
	padding: .75rem;
	border-color: #f59e0b;
	background: #fffbeb;
	font-size: .9rem;
}

.xfmr-fast-line__warning {
	display: block;
	color: #7c2d12;
	font-size: .96rem;
	line-height: 1.4;
}

.xfmr-fast-line > p {
	margin: .35rem 0 0;
	color: #7c2d12;
}

.xfmr-fast-line__alternatives {
	margin-top: .75rem;
}

.xfmr-fast-split {
	border-left-color: #f59e0b !important;
}

.woocommerce-cart-form tr.xfmr-fast-cart-row--lead > td {
	background-color: #fffdf5;
}

.woocommerce-cart-form tr.xfmr-fast-cart-row--now > td.product-name {
	box-shadow: inset 3px 0 0 #22c55e;
}

@media (max-width: 600px) {
	.xfmr-fast-panel,
	.xfmr-fast-line {
		padding: .75rem;
	}

	.xfmr-fast-alt {
		grid-template-columns: 1fr;
	}

	.xfmr-fast-alt__condition {
		grid-column: 1;
	}

	.xfmr-fast-alt__split-quantity {
		grid-column: 1;
	}

	.xfmr-fast-alt__view.button,
	.xfmr-fast-alt__swap.button {
		width: 100%;
	}
}
