/* Frontend — product page payment options (display only) */

.mpo-payment-options {
	margin: 1.25rem 0 1.5rem;
	padding: 1rem 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mpo-payment-options__title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.mpo-payment-options__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.mpo-payment-options__item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	background: #fafafa;
}

.mpo-payment-options__logo {
	flex: 0 0 56px;
	width: 56px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mpo-payment-options__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.mpo-payment-options__logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e8e8e8;
	color: #444;
	font-weight: 600;
	font-size: 0.95rem;
}

.mpo-payment-options__details {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.mpo-payment-options__name {
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
}

.mpo-payment-options__price {
	font-size: 0.95rem;
	line-height: 1.35;
}

.mpo-payment-options__price .amount {
	font-weight: 600;
}

.mpo-payment-options--grid .mpo-payment-options__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem;
}

.mpo-payment-options--empty {
	padding: 0.75rem 0;
	color: #666;
	font-size: 0.9rem;
}

.mpo-gateway-icon {
	max-height: 24px !important;
	max-width: 40px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	vertical-align: middle;
	margin-left: 6px;
}

.woocommerce-checkout #payment .payment_methods li img.mpo-gateway-icon,
.woocommerce-checkout #payment .payment_method_bacs img.mpo-gateway-icon,
#add_payment_method #payment .payment_methods li img.mpo-gateway-icon {
	max-height: 24px !important;
	max-width: 40px !important;
}
