/* Brand selector shown when multi-MID routing requires the shopper to pick
 * a card type before Collect.js mounts. See nmi.js::renderBrandSelector. */

.wc-nmi-brand-selector { margin: 8px 0 14px; }
.wc-nmi-brand-selector-label {
	margin: 0 0 8px 0;
	font-weight: 600;
	font-size: 13px;
}
.wc-nmi-brand-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wc-nmi-brand-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 78px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	cursor: pointer;
	font-size: 12px;
	line-height: 1;
	color: #333;
	transition: border-color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
.wc-nmi-brand-btn img { width: 40px; height: auto; display: block; }
.wc-nmi-brand-btn span { display: block; }
.wc-nmi-brand-btn:hover:not(.is-disabled) {
	border-color: #6b7280;
	background: #f9fafb;
}
.wc-nmi-brand-btn:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}
.wc-nmi-brand-btn.is-selected {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1 inset;
	background: #eff6ff;
}
.wc-nmi-brand-btn.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	background: #f5f5f5;
}

@media (max-width: 480px) {
	.wc-nmi-brand-buttons { gap: 6px; }
	.wc-nmi-brand-btn { min-width: 64px; padding: 6px 8px; }
	.wc-nmi-brand-btn img { width: 32px; }
}
