/*
 * exPay Gateways – checkout styles.
 * Theme-adaptive: inherits the theme's font and text colour; every tint is derived
 * from currentColor, so it works on light, dark and coloured themes without overrides.
 */
.expay-icons {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3em;
	margin-inline-start: .5em;
	vertical-align: middle;
	line-height: 1;
}
.expay-icons__logo {
	height: 1.6em !important;
	max-height: 26px;
	width: auto !important;
	max-width: 110px;
	object-fit: contain;
	margin: 0 !important;
	float: none !important;
}
.expay-badge {
	display: inline-block;
	font-size: .68em;
	font-weight: 600;
	letter-spacing: .02em;
	padding: .3em .55em;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	background: color-mix(in srgb, currentColor 5%, transparent);
	white-space: nowrap;
	opacity: .85;
}
.expay-label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25em .5em;
	width: 100%;
}
.expay-label .expay-icons {
	margin-inline-start: auto;
}
.expay-pm {
	display: grid;
	gap: .55em;
	font-size: .94em;
	container-type: inline-size;
}
.expay-pm p {
	margin: 0 !important;
}
.expay-pm__desc {
	opacity: .9;
}
.expay-pm__inst {
	padding: .55em .8em;
	border-radius: .6em;
	background: color-mix(in srgb, currentColor 6%, transparent);
	font-weight: 500;
}
.expay-pm__inst label {
	margin-inline-end: .4em;
}
.expay-pm__select {
	font: inherit;
	color: inherit;
	min-height: 2.4em;
	max-width: 100%;
	padding: .3em 2em .3em .7em;
	border-radius: .55em;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	background-color: transparent;
}
.expay-pm__select:focus-visible {
	outline: 2px solid color-mix(in srgb, currentColor 60%, transparent);
	outline-offset: 2px;
}
@container (max-width: 360px) {
	.expay-pm__inst label { display: block; margin-bottom: .3em; }
	.expay-pm__select { width: 100%; }
}
.expay-pm__secure {
	display: flex;
	align-items: flex-start;
	gap: .45em;
	font-size: .86em;
	opacity: .72;
}
.expay-pm__secure svg {
	flex: none;
	margin-top: .2em;
}
.expay-pm__test {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5em;
	padding: .5em .75em;
	border-radius: .6em;
	border: 1px dashed #d97706;
	background: color-mix(in srgb, #f59e0b 12%, transparent);
	font-size: .88em;
}
.expay-pm__test span {
	font-weight: 700;
	letter-spacing: .04em;
	color: #b45309;
}
@media (prefers-color-scheme: dark) {
	.expay-pm__test span { color: #fbbf24; }
}
@container (max-width: 360px) {
	.expay-pm { font-size: .9em; }
}
@media (max-width: 480px) {
	.expay-label .expay-icons {
		margin-inline-start: 0;
		width: 100%;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.expay-pm { animation: expay-in .2s ease-out; }
	@keyframes expay-in { from { opacity: 0; transform: translateY(-2px); } }
}

.expay-pm__powered {
	font-size: .75em;
	opacity: .55;
	text-align: end;
}
.expay-pm__powered a {
	color: inherit !important;
	font-weight: 600;
	text-decoration: none !important;
}
.expay-pm__powered a:hover { text-decoration: underline !important; }
