/**
 * Price comparator on review singles (below article body).
 * Visual language mirrors /carti/ #preturile card.
 */

.bn-review-prices {
	margin: 2rem 0 1.75rem;
}

.bn-review-prices .bn-prices-loading--page {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 4.5rem;
	padding: 1rem 0.5rem;
	color: #3e4a64;
	font: 600 0.9rem/1.35 "Open Sans", sans-serif;
}

.bn-review-prices .bn-prices-spinner {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	border: 2.5px solid rgba(62, 74, 100, 0.18);
	border-top-color: #bf5d54;
	border-radius: 50%;
	animation: bn-review-prices-spin 0.7s linear infinite;
	flex: 0 0 auto;
}

@keyframes bn-review-prices-spin {
	to { transform: rotate(360deg); }
}

.bn-review-prices .bn-prices-error {
	margin: 0;
	padding: 1rem;
	color: #8a3b34;
	font: 600 0.9rem/1.4 "Open Sans", sans-serif;
	text-align: center;
}

.bn-review-prices #preturile {
	text-align: center;
	margin: 0 auto;
	max-width: min(920px, 100%);
	padding: 1.35rem 1.25rem 1.1rem;
	box-sizing: border-box;
	background: linear-gradient(180deg, #fff8f6 0%, #ffffff 55%);
	border: 2px solid #bf5d54;
	border-radius: 1rem;
	box-shadow: 0 14px 36px rgba(191, 93, 84, 0.18);
	overflow-x: hidden;
}

.bn-review-prices #preturile h2 {
	margin: 0 0 1rem;
	color: #bf5d54;
	font: italic 800 clamp(1.15rem, 2.4vw, 1.45rem)/1.25 "Sansita", sans-serif;
	overflow-wrap: anywhere;
}

.bn-review-prices #preturile .prices-table,
.bn-review-prices #preturile .prices-table tbody {
	display: block;
	border: 0;
	box-shadow: none;
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

.bn-review-prices #preturile .prices-table tr {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	margin: 0 0 0.7rem;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid #f0e5e1;
	border-radius: 0.65rem;
}

.bn-review-prices #preturile .prices-table tr:last-child {
	margin-bottom: 0;
}

.bn-review-prices #preturile .prices-table td {
	border: 0;
	padding: 0;
	vertical-align: middle;
	min-width: 0;
}

.bn-review-prices #preturile .prices-table .small_td {
	width: auto;
	flex: 0 0 auto;
	max-width: 5rem;
}

.bn-review-prices #preturile .shop-name-fallback {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.25;
	color: #5a4a46;
}

.bn-review-prices #preturile .prices-table td:nth-child(2) {
	flex: 1 1 0%;
	min-width: 0 !important;
	max-width: 100%;
	overflow: hidden;
}

.bn-review-prices #preturile .prices-table .book-title {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.bn-review-prices #preturile .prices-table .book-title a {
	display: block !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	text-overflow: clip !important;
	max-width: 100%;
	color: #3e4a64;
	text-decoration: underline;
	font: 600 0.92rem/1.35 "Open Sans", sans-serif;
}

.bn-review-prices #preturile .prices-table .logo_shop {
	display: block;
	max-width: 84px;
	max-height: 32px;
	width: auto;
	height: auto;
}

.bn-review-prices #preturile .prices-table .align-right.price-action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	flex: 0 0 auto;
	white-space: nowrap;
	max-width: 42%;
}

.bn-review-prices #preturile .buton.cumpara {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	box-sizing: border-box;
	min-height: 2.55rem;
	padding: 0.62rem 1.05rem;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: none !important;
	background-color: #bf5d54;
	border: 0;
	border-radius: 0.45rem;
	box-shadow: 0 6px 14px rgba(191, 93, 84, 0.22);
	white-space: nowrap;
}

.bn-review-prices #preturile .buton.cumpara:hover {
	background-color: #3e4a64;
	box-shadow: 0 8px 18px rgba(62, 74, 100, 0.28);
	color: #fff !important;
}

.bn-review-prices #preturile .buton.cumpara .btn-price {
	display: inline-flex;
	align-items: baseline;
	gap: 0.18rem;
	padding-right: 0.75rem;
	border-right: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 0.98rem;
	font-weight: 800;
	color: #fff;
}

.bn-review-prices #preturile .buton.cumpara .btn-price small {
	font-size: 0.68rem;
	font-weight: 700;
	opacity: 0.92;
	text-transform: lowercase;
}

.bn-review-prices #preturile .buton.cumpara .btn-sep {
	display: none;
}

.bn-review-prices #preturile .buton.cumpara .btn-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.bn-review-prices #preturile .buton.cumpara.is-best {
	background: linear-gradient(135deg, #2f9e44 0%, #48b85c 100%);
	box-shadow: 0 8px 18px rgba(47, 158, 68, 0.28);
}

.bn-review-prices #preturile .buton.cumpara.is-best:hover {
	background: #3e4a64;
}

@media (max-width: 640px) {
	.bn-review-prices #preturile {
		padding: 1rem 0.75rem 0.85rem;
	}

	.bn-review-prices #preturile .prices-table tr {
		flex-wrap: wrap;
		padding: 0.75rem;
	}

	.bn-review-prices #preturile .prices-table td:nth-child(2) {
		flex: 1 1 calc(100% - 6rem);
		order: 2;
	}

	.bn-review-prices #preturile .prices-table .align-right.price-action {
		flex: 1 1 100%;
		max-width: none;
		justify-content: stretch;
		order: 3;
	}

	.bn-review-prices #preturile .buton.cumpara {
		width: 100%;
	}

	.bn-review-prices #preturile .prices-table .book-title a {
		white-space: normal !important;
	}

	.bn-review-prices #preturile .prices-table .logo_shop {
		max-width: 72px;
		max-height: 28px;
	}
}
