.gpsa-order-processing-overlay {
	align-items: center;
	background: rgba(255, 255, 255, 0.88);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.gpsa-order-processing-overlay.is-visible {
	display: flex;
}

.gpsa-order-processing-panel {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d8d3c7;
	border-radius: 8px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
	color: #2d3030;
	display: flex;
	flex-direction: column;
	max-width: 520px;
	padding: 30px 34px;
	text-align: center;
	width: 100%;
}

.gpsa-order-processing-spinner {
	animation: gpsa-order-processing-spin 0.8s linear infinite;
	border: 4px solid #dedbd3;
	border-radius: 50%;
	border-top-color: #5b303a;
	display: block;
	height: 42px;
	margin-bottom: 18px;
	width: 42px;
}

.gpsa-order-processing-title {
	font-size: 19px;
	line-height: 1.4;
}

.gpsa-order-processing-message {
	font-size: 14px;
	line-height: 1.5;
	margin-top: 8px;
}

.gpsa-checkout-checking-message {
	align-items: center;
	background: #2d3030;
	border: 1px solid #5b303a;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	color: #ffffff;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	gap: 12px;
	left: 50%;
	line-height: 1.45;
	max-width: 430px;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 140ms ease, visibility 140ms ease;
	visibility: hidden;
	width: calc(100% - 40px);
	z-index: 999998;
}

.gpsa-checkout-checking-message.is-visible {
	opacity: 1;
	padding: 18px 20px;
	visibility: visible;
}

.gpsa-checkout-checking-spinner {
	animation: gpsa-order-processing-spin 0.8s linear infinite;
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	border-top-color: #ffffff;
	display: block;
	flex: 0 0 22px;
	height: 22px;
	width: 22px;
}

.gpsa-processing-action {
	pointer-events: none;
}

.gpsa-fulfilment-action-notice {
	background: #fff8e8;
	border-left: 0;
	color: #8a0606;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
	padding: 12px 14px;
}

.gpsa-fulfilment-action-notice-row td {
	background: transparent !important;
	padding: 10px 0 0 !important;
}

.gpsa-checkout-item-controls {
	align-items: center;
	display: none;
	gap: 4px;
	margin-top: 8px;
}

tr.gpsa-seasonal-calendar-item-unavailable .gpsa-checkout-item-controls {
	display: inline-flex;
}

tr.gpsa-seasonal-calendar-item-unavailable .product-quantity {
	display: none;
}

.gpsa-checkout-item-controls button,
.gpsa-checkout-item-controls input {
	box-sizing: border-box;
	height: 30px;
	margin: 0;
}

.gpsa-checkout-item-controls button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #b8b8b8;
	border-radius: 3px;
	color: #242424;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 30px;
}

.gpsa-checkout-item-controls .gpsa-checkout-remove-item {
	border-color: #a00000;
	color: #a00000;
	margin-left: 4px;
}

.gpsa-checkout-item-quantity {
	border: 1px solid #b8b8b8;
	border-radius: 3px;
	font-size: 14px;
	padding: 2px 4px;
	text-align: center;
	width: 48px;
}

.gpsa-checkout-item-controls.is-updating {
	opacity: 0.55;
}

#gpsa-seasonal-delivery-minimum {
	display: none !important;
}

body.gpsa-fulfilment-incomplete #place_order,
body.gpsa-fulfilment-incomplete #woocommerce-revolut-payment-request-google-pay-element,
body.gpsa-fulfilment-incomplete #woocommerce-revolut-payment-request-apple-pay-element,
body.gpsa-fulfilment-incomplete #woocommerce-revolut-pay-element {
	display: none !important;
}

.woocommerce-checkout #place_order::after {
	content: none !important;
	display: none !important;
}

@keyframes gpsa-order-processing-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpsa-order-processing-spinner,
	.gpsa-checkout-checking-spinner {
		animation-duration: 1.8s;
	}
}
