.musqet-ec-container {
	display: block;
	width: 100%;
	margin: 16px 0;
	text-align: center;
}

/*
 * In the WC Cart/Checkout blocks the parent <ul.wc-block-components-express-payment__event-buttons>
 * is a flex/grid container, and each express method is an <li>. Force every
 * express item to take a full row so PayPal/our buttons stack vertically
 * instead of being squeezed into a 2-column layout, and bump our <li> above
 * PayPal's via flex `order`.
 */
.wc-block-components-express-payment__event-buttons > li {
	flex: 0 0 100% !important;
	flex-basis: 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	grid-column: 1 / -1 !important;
}
.wc-block-components-express-payment__event-buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px;
}
li#express-payment-method-musqet_cardstream_express {
	order: -1 !important;
}

.musqet-ec-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.musqet-ec-divider::before,
.musqet-ec-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e0e0e0;
}

.musqet-ec-divider-text {
	font-size: 13px;
	color: #888;
	text-transform: lowercase;
	white-space: nowrap;
}

.musqet-ec-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 340px;
	margin: 0 auto;
}

.musqet-ec-gpay-wrapper {
	min-height: 48px;
	font-size: 11px;
}

.musqet-ec-gpay-wrapper button,
.musqet-ec-gpay-wrapper button:hover,
.musqet-ec-gpay-wrapper button:focus,
.musqet-ec-gpay-wrapper button:active,
.musqet-ec-gpay-wrapper button:visited {
	font-size: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	min-height: 48px !important;
	width: 100% !important;
	cursor: pointer !important;
	transform: none !important;
	box-shadow: none !important;
	letter-spacing: normal !important;
	line-height: normal !important;
	text-transform: none !important;
	background-size: auto 70% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

.musqet-ec-applepay-wrapper {
	min-height: 48px;
}

.musqet-ec-applepay-btn {
	-webkit-appearance: -apple-pay-button !important;
	-apple-pay-button-type: checkout !important;
	-apple-pay-button-style: black !important;
	display: block !important;
	width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 4px !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.musqet-ec-error {
	margin: 10px auto 0;
	max-width: 340px;
	padding: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 4px;
	color: #dc2626;
	font-size: 13px;
}
