/* BC Prevendita Discount — stili frontend */

.bc-pd-badge {
	background: #b8232f;
	color: #fff;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
	padding: .5em .7em;
	border-radius: 999px;
	white-space: nowrap;
}

/* --- Prezzo barrato leggibile su mobile --- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .35em;
}

.woocommerce div.product p.price del {
	color: inherit;
}

/* --- Riga prezzo nel carrello --- */
.bc-pd-cart-price del {
	display: inline-block;
	opacity: .6;
	font-size: .9em;
	text-decoration: line-through;
}

.bc-pd-cart-price ins {
	text-decoration: none;
	font-weight: 600;
}

/* --- Messaggio risparmio --- */
.bc-pd-cart-message {
	display: flex;
	align-items: center;
	gap: .75em;
	margin: 0 0 1.5em;
	padding: .95em 1.1em;
	border: 1px solid rgba(30, 132, 73, .35);
	border-left: 4px solid #1e8449;
	border-radius: 6px;
	background: rgba(30, 132, 73, .07);
	color: #14532d;
	font-size: .95em;
	line-height: 1.45;
}

.bc-pd-cart-message__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9em;
	height: 1.9em;
	border-radius: 50%;
	background: #1e8449;
	color: #fff;
	font-weight: 700;
	font-size: .85em;
}

.bc-pd-cart-message .woocommerce-Price-amount {
	white-space: nowrap;
}

/* --- Riga totali --- */
.bc-pd-savings-row th,
.bc-pd-savings-row .bc-pd-savings-amount {
	color: #1e8449;
}

.bc-pd-savings-row .bc-pd-savings-amount {
	font-weight: 600;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.bc-pd-cart-message {
		align-items: flex-start;
		padding: .85em .9em;
		font-size: .9em;
	}

	.woocommerce ul.products li.product .price del {
		display: inline-block;
		font-size: .82em;
	}
}
