
.tpc-payment-prices {
	width: 100%;
	max-width: 560px;
	margin: 14px 0 26px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .025);
	font-size: 14px;
	clear: both;
}

.tpc-payment-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 16px 11px;
	background: #fafafa;
	border-bottom: 1px solid #ececec;
}

.tpc-payment-head-title {
	color: #222;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.tpc-payment-head-subtitle {
	color: #8a8a8a;
	font-size: 11px;
	white-space: nowrap;
}

.tpc-payment-normal,
.tpc-payment-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-sizing: border-box;
}

.tpc-payment-normal {
	padding: 9px 16px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	color: #777;
	font-size: 12px;
}

.tpc-payment-normal-right {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tpc-payment-normal del {
	color: #777;
	opacity: .9;
}

.tpc-payment-discount {
	display: inline-flex;
	align-items: center;
	padding: 3px 7px;
	border-radius: 999px;
	background: #eaf7f1;
	color: #16835f;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.tpc-payment-row {
	min-height: 72px;
	padding: 12px 16px;
}

.tpc-payment-row + .tpc-payment-row {
	border-top: 1px solid #ededed;
}

.tpc-payment-method {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	color: #272727;
}

.tpc-payment-method > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.25;
}

.tpc-payment-method strong {
	color: #262626;
	font-size: 14px;
	font-weight: 600;
}

.tpc-payment-method small {
	color: #858585;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
}

.tpc-pay-icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	color: #555;
}

.tpc-payment-price-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex: 0 0 auto;
}

.tpc-best-price {
	display: inline-flex;
	align-items: center;
	padding: 3px 7px;
	border-radius: 999px;
	background: #f0eafb;
	color: #5721a6;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.tpc-payment-amount {
	display: block;
	margin: 0;
	color: #242424;
	font-size: 18px;
	font-weight: 650;
	line-height: 1.15;
	white-space: nowrap;
}

.tpc-payment-transfer .tpc-payment-amount {
	color: #4c1da8;
	font-size: 22px;
	font-weight: 700;
}

.tpc-payment-amount .woocommerce-Price-amount {
	white-space: nowrap;
}

.tpc-payment-note {
	margin: 0;
	padding: 9px 16px 11px;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
	color: #8a8a8a;
	font-size: 10.5px;
	line-height: 1.4;
}

/* Refuerzo para Goya: evita que el precio original quede flotando junto al bloque. */
.single-product .summary > p.price,
.single-product .summary > .price,
.single-product .summary .product_price,
.single-product .summary .et-product-detail .price {
	display: none !important;
}

@media (max-width: 560px) {
	.tpc-payment-prices {
		max-width: none;
		margin-top: 12px;
	}

	.tpc-payment-head,
	.tpc-payment-normal,
	.tpc-payment-row {
		padding-left: 13px;
		padding-right: 13px;
	}

	.tpc-payment-row {
		gap: 12px;
	}

	.tpc-payment-transfer .tpc-payment-amount {
		font-size: 20px;
	}

	.tpc-payment-other .tpc-payment-amount {
		font-size: 17px;
	}
}

@media (max-width: 390px) {
	.tpc-payment-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.tpc-payment-price-wrap,
	.tpc-payment-row > .tpc-payment-amount {
		align-self: flex-end;
	}
}
