/* EFGN — recuadro de precio según el medio de pago (ficha, tarjetas, carrito) y opciones de pago legibles. */
.efgn-pp-box {
	margin: 12px 0 16px;
	padding: 12px 14px;
	border: 1px solid #cfe3d6;
	border-radius: 10px;
	background: #f4faf6;
	color: #1a1a1a;
	font-size: 0.95rem;
	line-height: 1.35;
}
.efgn-pp-box__title { margin: 0 0 8px; font-weight: 700; font-size: 1em; }
.efgn-pp-box__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 6px;
	padding: 6px 8px;
	border-radius: 8px;
}
.efgn-pp-box__row.is-selected { background: #fff; box-shadow: inset 0 0 0 2px #1b6b3a; }
.efgn-pp-box__row strong { font-size: 1.05em; white-space: nowrap; }
.efgn-pp-box__row em { display: block; font-style: normal; font-size: 0.85em; color: #1b6b3a; }
.efgn-pp-box__row--breb { font-weight: 700; color: #14532d; }
.efgn-pp-box__row--breb strong { font-size: 1.3em; }
.efgn-pp-box__note { margin: 6px 0 0; font-size: 0.82em; opacity: 0.8; }
.efgn-pp-box--blocks { margin: 16px 0; }
.efgn-pp-card {
	margin: 2px 0 0;
	font-size: 0.85em;
	font-weight: 600;
	color: #14532d;
}
[data-efgn-pp] { min-height: 0; }

/* ───────── Opciones de pago del checkout por bloques: más grandes y con contraste ───────── */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option {
	margin: 0 0 10px;
	padding: 14px 16px 14px 52px;
	border: 2px solid #c9d1d9;
	border-radius: 10px;
	background: #fff;
	color: #1a1a1a;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option-checked,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option--checked-option-highlighted {
	border-color: #1b6b3a;
	background: #f4faf6;
	box-shadow: 0 0 0 1px #1b6b3a;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control__label,
.wc-block-checkout__payment-method .wc-block-components-radio-control__label * {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a1a1a;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
	padding: 4px 0 4px;
	color: #1a1a1a;
	font-size: 0.95rem;
}
.efgn-breb-saving { margin: 0 0 10px; font-weight: 600; color: #14532d; }

/* ───────── Bre-B: QR tocable, botones y vista a pantalla completa ───────── */
.efgn-breb-qr {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	text-align: left;
}
.efgn-breb-qr__img { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 10px; border: 1px solid #c9d1d9; background: #fff; }
.efgn-breb-qr__tap { display: block; margin-top: 4px; font-size: 0.85em; color: #0f62fe; font-weight: 600; }
.efgn-breb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.efgn-breb-btn {
	display: inline-block;
	min-height: 44px;
	padding: 10px 14px;
	border: 2px solid #1b6b3a;
	border-radius: 8px;
	background: #fff;
	color: #14532d;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}
.efgn-breb-btn--primary { background: #1b6b3a; color: #fff; }
.efgn-qr-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	background: rgba(0, 0, 0, 0.85);
}
.efgn-qr-modal__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 640px;
	max-height: 100%;
	padding: 16px;
	border-radius: 14px;
	background: #fff;
	overflow: auto;
}
.efgn-qr-modal__img { display: block; width: min(88vw, 70vh, 560px); height: auto; }
.efgn-qr-modal__hint { margin: 0; text-align: center; font-size: 1rem; color: #1a1a1a; }
.efgn-qr-modal__close {
	min-height: 48px;
	padding: 12px 28px;
	border: 0;
	border-radius: 8px;
	background: #1b6b3a;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
}
html.efgn-qr-open, html.efgn-qr-open body { overflow: hidden; }
