.bb-backorder-notice {
	box-sizing: border-box;
	clear: both;
	width: 100%;
	margin: 0.75rem 0 1rem;
	padding: 0.9rem 1rem;
	border: 2px solid #a34d00;
	border-radius: 4px;
	background: #fff4df;
	color: #492500;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.55;
	text-align: left;
	white-space: normal;
	overflow-wrap: anywhere;
}
.bb-backorder-notice[hidden] { display: none !important; }
.bb-backorder-listing {
	margin: 0.5rem 0 0.75rem;
	padding: 0.5rem 0.6rem;
	font-size: 0.8rem;
	line-height: 1.4;
}
/* Betheme's existing 140px description cap must grow with the notice.
 * Keep its responsive column widths and row-clearing rules intact. */
ul.products:has(.bb-backorder-listing) > li.product > .desc {
	height: auto !important;
	min-height: 140px;
}
@media (max-width: 767px) {
	ul.products .bb-backorder-listing + .mfn-li-product-row-button a.button {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		padding: 0.65rem 0.4rem;
		margin-left: 0 !important;
		left: auto;
		font-size: 0.85rem;
		line-height: 1.4;
		white-space: normal;
		word-break: normal;
		overflow-wrap: normal;
	}
}
.bb-backorder-checkout { margin-top: 1rem; }
.bb-backorder-checkout ul { margin: 0.75rem 0 1rem 1.25rem; padding: 0; }
.bb-backorder-checkout li { margin-bottom: 0.75rem; }
.bb-backorder-ack-label {
	display: flex !important;
	align-items: flex-start;
	gap: 0.65rem;
	cursor: pointer;
	color: #492500;
	font-weight: 600;
}
.bb-backorder-ack-label input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.2rem;
	height: 1.2rem;
	margin: 0.2rem 0 0;
	accent-color: #7a3a00;
}
.bb-backorder-ack-label input:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
form.cart:has(.bb-backorder-product:not([hidden])) { flex-wrap: wrap; }
.bb-backorder-product { flex: 0 0 100%; }
