/*
 * Orders paused (inc/pitta-orders-paused.php): only loaded while orders are paused.
 * The cart and the checkout page work; the order cannot be placed. The server refuses the order itself; this hides a
 * "place order" button should a template print its own, and styles the notice.
 */

.pitta-orders-paused__notice {
	box-sizing: border-box;
	margin: 16px 0;
	padding: 14px 18px;
	border: 1px solid var(--pitta-yellow, #F2B600);
	border-radius: 14px;
	background: var(--pitta-yellow-tint, #FFF6D6);
	color: var(--pitta-ink, #252F36);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

/* In the cart the notice is a row of the cart grid (it has 24px row gaps), over both columns; no margin of its own */
body.pitta-cart-page .pitta-orders-paused__notice {
	grid-column: 1 / -1;
	margin: 0;
}

/* Checkout: above the form, and where the "place order" button was */
body.pitta-checkout-page .pitta-orders-paused__notice {
	margin: 0 0 24px;
}

body.pitta-checkout-page #payment .pitta-orders-paused__notice {
	margin: 16px 0 0;
}

/* No place-order button */
body.pitta-orders-paused #place_order {
	display: none !important;
}
