.spicepay-wc-method-icon {
	max-height: 1.5rem;
	max-width: 7.5rem;
	vertical-align: middle;
}

.spicepay-wc-block-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.spicepay-wc-block-label .spicepay-wc-method-icon {
	margin-left: auto;
}

/*
 * "Nothing" checkout display. The store offers exactly one SpicePay method, so
 * the payment step has nothing to choose between: it is removed and the buyer
 * goes from Place order straight to the SpicePay hosted checkout. The method is
 * still registered and selected — only its presentation is dropped — so the
 * order submits normally.
 */
body.spicepay-wc-hide-payment-methods .wp-block-woocommerce-checkout-payment-block,
body.spicepay-wc-hide-payment-methods .wc_payment_methods,
body.spicepay-wc-hide-payment-methods #payment .payment_methods {
	display: none !important;
}

.spicepay-wc-block-label-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
