/* Star Shop Revenue Bridge — B2B conversion layer. Design tokens per sprint spec. */

:root {
	--star-shop-navy: #0B1F33;
	--star-shop-navy-soft: #12304d;
	--star-shop-rfq: #F97316;
	--star-shop-wa: #16A34A;
	--star-shop-bg: #FFFFFF;
	--star-shop-bg-soft: #F8FAFC;
	--star-shop-text: #0F172A;
	--star-shop-muted: #64748B;
	--star-shop-radius: 10px;
	--star-shop-shadow: 0 1px 3px rgba(15, 23, 42, .10);
}

/* ---------- Product-page CTA block ---------- */

.star-shop-cta {
	background: var(--star-shop-bg-soft);
	border: 1px solid #E2E8F0;
	border-radius: var(--star-shop-radius);
	padding: 18px 18px 14px;
	margin: 18px 0 10px;
	box-shadow: var(--star-shop-shadow);
}

.star-shop-cta-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--star-shop-text);
}

.star-shop-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.star-shop-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: var(--star-shop-radius);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	box-shadow: var(--star-shop-shadow);
	transition: filter .15s ease, transform .15s ease;
}

.star-shop-cta-btn:hover {
	filter: brightness(.94);
	text-decoration: none;
	transform: translateY(-1px);
}

/* Primary */
.star-shop-cta-rfq {
	background: var(--star-shop-rfq);
	color: #fff;
}

/* Secondary */
.star-shop-cta-wa {
	background: var(--star-shop-wa);
	color: #fff;
}

/* Tertiary */
.star-shop-cta-repair {
	background: var(--star-shop-bg);
	color: var(--star-shop-navy);
	border-color: var(--star-shop-navy);
}

.star-shop-cta-micro {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--star-shop-muted);
}

/* ---------- Mobile sticky conversion bar ---------- */

.star-shop-mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	.star-shop-mobile-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: calc(var(--wd-toolbar-height, 55px) + env(safe-area-inset-bottom));
		z-index: 990;
		gap: 10px;
		padding: 10px 12px 10px;
		background: rgba(255, 255, 255, .96);
		border-top: 1px solid #E2E8F0;
		box-shadow: 0 -2px 8px rgba(15, 23, 42, .08);
		backdrop-filter: blur(4px);
	}

	.star-shop-mobile-btn {
		flex: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 12px 10px;
		border-radius: var(--star-shop-radius);
		font-size: 14px;
		font-weight: 600;
		line-height: 1.2;
		text-decoration: none;
	}

	.star-shop-mobile-rfq {
		background: var(--star-shop-rfq);
		color: #fff;
	}

	.star-shop-mobile-wa {
		background: var(--star-shop-wa);
		color: #fff;
	}

	/* Keep page content clear of the fixed bar + Woodmart toolbar on product pages. */
	body.single-product {
		padding-bottom: calc(74px + var(--wd-toolbar-height, 55px) + env(safe-area-inset-bottom));
	}
}
