/**
 * [neogold_buyback_live] - the LIVE strip of the Răscumpărare page.
 * Visual language mirrors the page's static sections (ng-rl-*): cream
 * cells, maroon/gold numbers, 18px-radius cards.
 */
.ng-bb {
	color: #2b2620;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 44px;
}

.ng-bb * {
	box-sizing: border-box;
}

.ng-bb__kicker {
	color: #a5802f;
	display: block;
	font-size: 12.8px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.ng-bb__title {
	color: #630606;
	font-size: 26.4px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 18px;
}

.ng-bb__groups {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
}

.ng-bb-group {
	background: #fff;
	border: 1px solid #ddd7c9;
	border-radius: 16px;
	padding: 24px 24px 20px;
	position: relative;
}

.ng-bb-group--ours {
	border: 2px solid #c99a3f;
	box-shadow: 0 10px 28px rgba(99, 6, 6, 0.08);
}

.ng-bb-group__flag {
	background: #a5802f;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	left: 24px;
	letter-spacing: 0.08em;
	padding: 4px 12px;
	position: absolute;
	text-transform: uppercase;
	top: -13px;
}

.ng-bb-group__title {
	color: #2b2620;
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 4px;
}

.ng-bb-group__sub {
	color: #7a7468;
	font-size: 14px;
	margin: 0 0 18px;
}

.ng-bb-group__row {
	display: flex;
	gap: 18px;
}

.ng-bb-card {
	background: #f1eee6;
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	display: block;
	flex: 1;
	font: inherit;
	padding: 16px 8px 13px;
	text-align: center;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ng-bb-card:hover {
	transform: translateY(-1px);
}

.ng-bb-card[aria-pressed="true"] {
	background: #fff;
	border-color: #c99a3f;
	box-shadow: 0 6px 18px rgba(99, 6, 6, 0.1);
}

.ng-bb-card__metal {
	color: #7a7468;
	display: block;
	font-size: 12.8px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.ng-bb-card__pct {
	color: #630606;
	display: block;
	font-size: 46px;
	font-weight: 800;
	line-height: 1.05;
}

.ng-bb-card--gold .ng-bb-card__pct {
	color: #a5802f;
}

.ng-bb-card__pct sup {
	font-size: 19px;
	font-weight: 700;
}

.ng-bb-card__pct-of {
	color: #7a7468;
	display: block;
	font-size: 12.5px;
	margin: 4px 0 10px;
}

.ng-bb-card__price {
	display: block;
}

.ng-bb-card__value {
	color: #2b2620;
	font-size: 19px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1.1;
}

.ng-bb-card__value.is-updated {
	animation: ng-bb-pulse 1.6s ease;
}

@keyframes ng-bb-pulse {
	0% {
		background-color: rgba(219, 166, 23, 0.25);
	}

	100% {
		background-color: transparent;
	}
}

.ng-bb-card__unit {
	color: #7a7468;
	font-size: 12.5px;
	margin-left: 4px;
}

.ng-bb__calc {
	align-items: center;
	background: #fff;
	border: 1px solid #ddd7c9;
	border-radius: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	justify-content: space-between;
	margin-top: 18px;
	padding: 18px 22px;
}

.ng-bb__calc-heading {
	color: #630606;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ng-bb__calc-weight {
	align-items: center;
	color: #7a7468;
	display: flex;
	font-size: 14px;
	font-weight: 600;
	gap: 8px;
}

.ng-bb__calc-weight input {
	border: 1px solid #ddd7c9;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 700;
	padding: 8px 10px;
	text-align: right;
	width: 110px;
}

.ng-bb__calc-total {
	align-items: baseline;
	color: #7a7468;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ng-bb__calc-total output {
	color: #630606;
	font-size: 30px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	letter-spacing: 0;
	/* Reserved width: the amount grows INSIDE this box (right-aligned)
	   instead of pushing the weight input around as digits come and
	   go (owner report 2026-08-11). Fits "999.999,99". */
	min-width: 172px;
	text-align: right;
	text-transform: none;
}

.ng-bb__calc-cur {
	font-size: 13px;
}

.ng-bb__note {
	color: #7a7468;
	border: 1px dashed #ddd7c9;
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	margin: 14px 0 0;
	padding: 12px 16px;
}

.ng-bb__visit {
	align-items: center;
	background: #630606;
	border-radius: 18px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	margin-top: 18px;
	padding: 24px 28px;
}

.ng-bb__visit-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
}

.ng-bb__visit-sub {
	color: #f0e4e0;
	font-size: 14.5px;
	margin: 0;
}

.ng-bb__visit-btn {
	background: linear-gradient(135deg, #c99a3f, #a5802f);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	padding: 14px 26px;
	transition: transform 0.15s ease;
	white-space: nowrap;
}

.ng-bb__visit-btn:hover {
	color: #fff;
	transform: translateY(-1px);
}

.ng-bb__visit-btn.is-loading {
	opacity: 0.7;
}

@media (max-width: 900px) {
	.ng-bb__groups {
		grid-template-columns: 1fr;
	}

	.ng-bb-group--ours {
		order: -1;
	}

	.ng-bb-card__pct {
		font-size: 40px;
	}
}

@media (max-width: 440px) {
	.ng-bb__calc {
		align-items: flex-start;
		flex-direction: column;
	}
}
