/* 3-column grid: Credit Card / Apple Pay / Google Pay, then PromptPay / Cash. */
.wd-payment-methods.ll-has-wallets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wd-payment-methods.ll-has-wallets .wd-payment-method-card {
	min-width: 0;
}
.wd-payment-methods.ll-has-wallets .wd-payment-method-card:has(input[value="credit_card"]) { order: 1; }
.wd-payment-methods.ll-has-wallets .ll-wallet-card--apple_pay { order: 2; }
.wd-payment-methods.ll-has-wallets .ll-wallet-card--google_pay { order: 3; }
.wd-payment-methods.ll-has-wallets .wd-payment-method-card:has(input[value="promptpay"]) { order: 4; }
.wd-payment-methods.ll-has-wallets .wd-payment-method-card:has(input[value="bank_transfer"]) { order: 5; }
.wd-payment-methods.ll-has-wallets .wd-payment-method-card:has(input[value="cash"]) { order: 6; }

@media (max-width: 640px) {
	.wd-payment-methods.ll-has-wallets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ll-wallet-logo {
	display: block;
	flex: 0 0 auto;
}
.ll-wallet-note strong .ll-wallet-logo {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	margin-right: 4px;
}

.ll-wallet-note {
	padding: 16px;
	background: #fff;
	border: 1px solid #e4eaf3;
	border-radius: 14px;
	box-shadow: 0 3px 12px rgba(20, 42, 75, .05);
	color: #183153;
}
.ll-wallet-note--unavailable {
	background: #fff8f0;
	border-color: #f3dcc0;
}
.ll-wallet-note strong {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
	color: #142d4e;
}
.ll-wallet-note p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #5b6b80;
}
.ll-wallet-error:not(:empty) {
	margin-top: 8px;
}

.ll-wallet-pay-wrap {
	flex: 1 1 220px;
	max-width: 320px;
	margin-left: auto;
}
.ll-wallet-pay-wrap.is-busy #ll-wallet-pay-button {
	opacity: .5;
	pointer-events: none;
}
.ll-wallet-pay-status {
	margin-top: 6px;
	font-size: 13px;
	text-align: center;
	color: #5b6b80;
}
.ll-wallet-pay-status:empty {
	display: none;
}

.ll-terms-notice {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #5b6b80;
}
.ll-terms-notice a {
	color: #35498a;
	text-decoration: underline;
}
