/**
 * Checkout — Unavailable Items.
 *
 * The message + Remove link live inside a standard WooCommerce error notice; this
 * only lays them out (text and a compact inline Remove button on one row) and keeps
 * the button from inheriting the theme's full-width block-button sizing.
 */
.woocommerce-error li:has(.lubiwood-cui-remove),
.wfacp-error li:has(.lubiwood-cui-remove) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.lubiwood-cui-text {
	flex: 1 1 auto;
}

/* Compact, inline Remove button — override the theme's block-button width/margins. */
a.button.lubiwood-cui-remove,
.woocommerce a.button.lubiwood-cui-remove {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	padding: 7px 16px;
	font-size: 0.85em;
	line-height: 1.3;
	white-space: nowrap;
}

@media (max-width: 480px) {
	a.button.lubiwood-cui-remove,
	.woocommerce a.button.lubiwood-cui-remove {
		width: 100%;
		text-align: center;
	}
}
