/**
 * Frequently Bought Together (Pro) — styling.
 *
 * A horizontal row of product cards joined by "+", with a total and a single
 * add button below. Reuses the configurator's --bb-* tokens so it brands with
 * everything else, but renders fine on a plain product page too (the tokens
 * fall back to sensible defaults via the values inlined here).
 */

.bb-fbt {
	margin: 28px 0;
	padding: 18px 20px;
	border: 1px solid var(--bb-border, #e5e7eb);
	border-radius: 12px;
	background: var(--bb-surface-faint, #f9fafb);
}

.bb-fbt-title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	color: var(--bb-ink, #111827);
}

.bb-fbt-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
}

.bb-fbt-plus {
	align-self: center;
	font-size: 22px;
	font-weight: 400;
	color: var(--bb-muted-light, #9ca3af);
	line-height: 1;
}

.bb-fbt-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 5px;
	width: 130px;
	padding: 10px;
	border: 1px solid var(--bb-border, #e5e7eb);
	border-radius: 10px;
	background: var(--bb-surface, #fff);
	cursor: pointer;
}

.bb-fbt-anchor {
	cursor: default;
	border-color: var(--bb-border-strong, #d1d5db);
}

.bb-fbt-img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--bb-surface-faint, #f9fafb);
}

.bb-fbt-pick {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 18px;
}

.bb-fbt-this {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bb-muted, #6b7280);
}

.bb-fbt-name {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--bb-ink-soft, #1f2937);
}

.bb-fbt-price {
	font-size: 13px;
	color: var(--bb-ink, #111827);
}

.bb-fbt-price del {
	color: var(--bb-muted-light, #9ca3af);
	margin-right: 4px;
	font-size: 12px;
}

.bb-fbt-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
}

.bb-fbt-total {
	font-size: 15px;
	color: var(--bb-text, #374151);
}

.bb-fbt-total-amount {
	font-size: 18px;
	color: var(--bb-ink, #111827);
	margin-left: 4px;
}

.bb-fbt-add {
	margin-left: auto;
}

@media (max-width: 480px) {
	.bb-fbt-item {
		width: calc(50% - 18px);
	}

	.bb-fbt-add {
		margin-left: 0;
		width: 100%;
	}
}

/* -----------------------------------------------------------------
 * Cart-stage upsell ("Complete your order") — a row of compact offer cards
 * rendered after the cart table. Shares the FBT tokens so it brands alike.
 * ----------------------------------------------------------------- */

.bb-cart-upsell {
	margin: 28px 0;
	padding: 18px 20px;
	border: 1px solid var(--bb-border, #e5e7eb);
	border-radius: 12px;
	background: var(--bb-surface-faint, #f9fafb);
}

.bb-cart-upsell-title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	color: var(--bb-ink, #111827);
}

.bb-cart-upsell-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bb-cart-upsell-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	width: 150px;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--bb-border, #e5e7eb);
	border-radius: 10px;
	background: var(--bb-surface, #fff);
}

.bb-cart-upsell-img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--bb-surface-faint, #f9fafb);
}

.bb-cart-upsell-name {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--bb-ink-soft, #1f2937);
}

.bb-cart-upsell-price {
	font-size: 13px;
	color: var(--bb-ink, #111827);
}

.bb-cart-upsell-price del {
	color: var(--bb-muted-light, #9ca3af);
	margin-right: 4px;
	font-size: 12px;
}

.bb-cart-upsell-save {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--bb-success, #1a7f37);
}

.bb-cart-upsell-add {
	margin-top: 4px;
	width: 100%;
}

@media (max-width: 480px) {
	.bb-cart-upsell-item {
		width: calc(50% - 16px);
	}
}
