/**
 * Estilos del método de pago Bre-B en checkout (clásico y bloques).
 */

/* Checkout clásico: ícono a la derecha del título */
.payment_method_breb > label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
}

.payment_method_breb .breb-gateway-icon {
	max-height: 28px;
	width: auto;
	margin-left: auto;
	flex-shrink: 0;
}

/* Checkout clásico: descripción con margen al expandir */
.payment_method_breb .payment_box {
	padding: 0;
	background: transparent;
	border: 0;
}

.payment_method_breb .breb-payment-description {
	margin: 0.75rem 0 0;
	padding: 1rem 1.25rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.55;
}

.payment_method_breb .breb-payment-description p {
	margin: 0 0 0.5rem;
}

.payment_method_breb .breb-payment-description p:last-child {
	margin-bottom: 0;
}

/* Checkout por bloques: ícono a la derecha */
.wc-block-components-radio-control-accordion-option[data-value="breb"] .breb-payment-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.75rem;
}

.wc-block-components-radio-control-accordion-option[data-value="breb"] .breb-payment-label-text {
	flex: 1;
}

.wc-block-components-radio-control-accordion-option[data-value="breb"] .breb-gateway-icon {
	max-height: 28px;
	width: auto;
	flex-shrink: 0;
}

/* Checkout por bloques: descripción con margen */
.wc-block-components-radio-control-accordion-content .breb-payment-description {
	margin: 0.75rem 1rem 1rem;
	padding: 1rem 1.25rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.55;
}

.wc-block-components-radio-control-accordion-content .breb-payment-description p {
	margin: 0 0 0.5rem;
}

.wc-block-components-radio-control-accordion-content .breb-payment-description p:last-child {
	margin-bottom: 0;
}
