/**
 * Checkout payment method selector — Theme Experience (R4-W2-C).
 * Mobile-first; fits PGSC checkout shell without redesigning checkout.
 */

.pg-checkout-payment {
	margin: 0 0 1rem;
	padding: 0 1rem;
}

.pg-checkout-payment__title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}

.pg-checkout-payment__list {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.pg-checkout-payment__option {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	padding: 0.875rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	cursor: pointer;
	background: #fff;
}

.pg-checkout-payment__option:has(.pg-checkout-payment__radio:checked) {
	border-color: currentColor;
	box-shadow: inset 0 0 0 1px currentColor;
}

.pg-checkout-payment__radio {
	margin: 0.2rem 0 0;
	flex-shrink: 0;
}

.pg-checkout-payment__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.pg-checkout-payment__label {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.25;
}

.pg-checkout-payment__hint {
	font-size: 0.8125rem;
	line-height: 1.35;
	opacity: 0.72;
}

.pg-checkout-payment__option--unavailable {
	opacity: 0.55;
	cursor: not-allowed;
}

.pg-checkout-payment__option--unavailable .pg-checkout-payment__radio {
	cursor: not-allowed;
}

/* Keep selector inside PGSC summary step only (Paso 2 UX). */
[data-pgsc-checkout-step="1"] .pg-checkout-payment,
[data-pgsc-checkout-step="2"] .pg-checkout-payment {
	display: none !important;
}

@media (min-width: 640px) {
	.pg-checkout-payment {
		padding: 0 1.25rem;
	}
}
