/* Hide leftover Additional information wrapper if theme still outputs it. */
.woocommerce-checkout .woocommerce-additional-fields:empty,
.woocommerce-checkout .woocommerce-additional-fields:not(:has(.woocommerce-additional-fields__field-wrapper > *)),
.woocommerce-checkout #order_comments_field {
	display: none !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection {
	border-color: #b32d2e !important;
}

.woocommerce-checkout .ms-checkout-field-error {
	display: block;
	margin: 6px 0 0;
	padding: 0;
	color: #b32d2e;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 400;
}

.woocommerce-checkout .form-row:not(.woocommerce-invalid) > .ms-checkout-field-error {
	display: none;
}

/* Order received: hide Billing address (and leftover empty customer-details). */
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-column--billing-address,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-billing-address,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-billing-wrapper {
	display: none !important;
}
