/*
 * BananaBox homepage sections — Hero, How It Works, Features, Final CTA.
 * Transliterated from spa-source/src/components/bananabox/{BBHero,BBHowItWorks,
 * BBFeatures,BBFinalCTA}.jsx (feature/MAR0004 — homepage SPA-embed -> native blocks).
 *
 * Every value below is read directly off the JSX's Tailwind classes and inline
 * styles, not eyeballed, per standards/wordpress-theme.md's pixel-parity rule.
 * Tailwind default scale used for conversion (root 16px):
 *   spacing: 1 unit = 0.25rem            text-xs .75rem/1rem lh
 *   text-sm .875rem/1.25rem lh            text-base 1rem/1.5rem lh
 *   text-lg 1.125rem/1.75rem lh           text-xl 1.25rem/1.75rem lh
 *   text-7xl 4.5rem                       rounded-md .375rem  rounded-lg .5rem
 *   rounded-xl .75rem  rounded-2xl 1rem   tracking-wider .05em  tracking-widest .1em
 *   leading-relaxed 1.625                 shadow-xl per Tailwind default
 *
 * Bespoke, non-editable visual chrome (the browser-chrome bar, dashboard mockup,
 * feature-card UI mockups) is authored here + as wp:html in front-page.html —
 * same approach parts/header.html and parts/footer.html already use for chrome
 * that isn't real wp-admin-editable content. Real marketing copy (headlines,
 * body copy, CTA labels, step/feature text) uses core heading/paragraph/buttons
 * blocks with a custom className hooked to the rules below, so it stays editable
 * in the Block Editor even though the exact type scale (clamp(), decorative
 * gradients, rgba overlays) needs hand-written CSS rather than block style-panel
 * controls to hit pixel parity. See standards/wordpress-theme.md for this pattern.
 *
 * Enqueued only on is_front_page() by functions.php (bananabox_enqueue_home_assets).
 */

/* ── Shared editorial utility classes (also usable on secondary pages) ──
   Moved here rather than brand.css since they were previously only shipped via
   the SPA bundle's own index.css and are first introduced to WP by this build. */
.bb-display {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.1;
	color: var(--bb-ink);
}

.bb-eyebrow {
	display: block;
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bb-purple);
}

/* ══════════════════════ HERO ══════════════════════ */

.bb-hero {
	position: relative;
	padding-top: 8rem;
	padding-bottom: 0;
	overflow: hidden;
	background-color: var(--bb-paper);
}

.bb-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: url("https://media.base44.com/images/public/6a39624869ef7863a366357d/ca922589d_generated_image.png");
	background-size: cover;
	background-position: center 25%;
}

/* Art-directed mobile/tablet crops (2026-07-14, MAR0003 mobile-responsiveness pass).
   The original is a square 1024x1024 illustration with the produce artwork band
   sitting in the vertical middle third and lots of empty cream space above/below —
   fine for the desktop hero (short + wide), but on mobile the hero is very tall
   (stacked headline/subhead/CTAs/dashboard mockup push it past 1300px), so
   `cover` on the square original has to scale up hugely to satisfy the height,
   cropping most of the width and showing only a zoomed-in sliver of one or two
   items. These variants pre-crop the produce band and pad it onto a canvas whose
   own aspect ratio approximates the mobile/tablet hero's visible-above-the-fade
   area, so `cover` needs only a modest scale and the full produce row stays in
   frame near the top. Desktop (≥1024px) keeps the original untouched — no
   override below that breakpoint. */
@media (max-width: 767px) {
	.bb-hero__bg {
		background-image: url("../images/hero-bg-mobile.png");
		background-position: top center;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.bb-hero__bg {
		background-image: url("../images/hero-bg-tablet.png");
		background-position: top center;
	}
}

.bb-hero__fade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(251, 250, 245, 0) 60%, var(--bb-paper) 100%);
}

.bb-hero__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5rem;
	position: relative;
}

.bb-hero__headline-wrap {
	text-align: center;
	max-width: 56rem;
	margin: 0 auto 1.25rem;
}

.bb-hero__headline {
	font-size: clamp(3rem, 6.5vw, 5rem);
	color: var(--bb-ink);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.bb-hero__headline-accent {
	color: var(--bb-yellow);
}

.bb-hero__subhead {
	text-align: center;
	margin: 0 auto 2rem;
	color: rgba(43, 26, 36, 0.65);
	max-width: 50ch;
	line-height: 1.6;
	font-size: 1.125rem;
}

.bb-hero__ctas {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 4rem;
}

@media (min-width: 640px) {
	.bb-hero__ctas {
		flex-direction: row;
	}
}

/* .bb-hero__cta is the core button block's wrapper div (`.wp-block-button`) —
   it only owns width/box behavior. The actual visual styling has to target the
   inner `.wp-block-button__link` (the real <a>), which is what carries theme.json's
   button-element styles and would otherwise win over anything set on the wrapper. */
.bb-hero__cta {
	width: 100%;
}

@media (min-width: 640px) {
	.bb-hero__cta {
		width: auto;
	}
}

.bb-hero__cta .wp-block-button__link {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	padding: 1rem 2rem;
	border-radius: 0.5rem;
	font-size: 1rem;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 640px) {
	.bb-hero__cta .wp-block-button__link {
		width: auto;
	}
}

.bb-hero__cta .wp-block-button__link:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.125rem);
}

.bb-hero__cta--primary .wp-block-button__link {
	background-color: var(--bb-yellow);
	color: #1a0f18;
}

.bb-hero__cta--secondary .wp-block-button__link {
	border: 1px solid var(--bb-purple);
	color: var(--bb-paper);
	background-color: var(--bb-purple);
}

.bb-hero__cta--secondary .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.3);
}

/* Product UI mockup */
.bb-hero__mockup {
	position: relative;
	margin: 0 auto;
	max-width: 56rem;
}

.bb-hero__browser-bar {
	border-radius: 0.75rem 0.75rem 0 0;
	padding: 0.75rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-bottom: 0;
	background-color: #0d080c;
}

.bb-hero__dot {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 9999px;
	display: inline-block;
}

.bb-hero__dot--red {
	background-color: var(--bb-red);
	opacity: 0.7;
}

.bb-hero__dot--yellow {
	background-color: var(--bb-yellow);
	opacity: 0.4;
}

.bb-hero__dot--sage {
	background-color: var(--bb-sage);
	opacity: 0.6;
}

.bb-hero__url-bar {
	margin-left: 1rem;
	flex: 1 1 auto;
	max-width: 20rem;
	height: 1.25rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	padding: 0 0.75rem;
	background-color: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.3);
}

.bb-hero__dashboard {
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 0 0 0.75rem 0.75rem;
	overflow: hidden;
	background-color: var(--bb-paper);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.bb-hero__dash-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem;
	border-bottom: 1px solid rgba(43, 26, 36, 0.08);
	background-color: #fff;
}

@media (min-width: 640px) {
	.bb-hero__dash-top {
		padding: 1rem 1.5rem;
	}
}

.bb-hero__dash-title {
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--bb-ink);
	font-family: Georgia, serif;
}

.bb-hero__dash-sub {
	font-size: 0.75rem;
	color: rgba(43, 26, 36, 0.45);
}

.bb-hero__dash-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.bb-hero__pill {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background-color: var(--bb-sage-pale);
	color: var(--bb-sage);
}

.bb-hero__dash-btn {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	background-color: var(--bb-purple);
	color: var(--bb-paper);
	border: none;
}

.bb-hero__dash-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

@media (min-width: 640px) {
	.bb-hero__dash-body {
		grid-template-columns: 2fr 1fr;
	}
}

.bb-hero__dash-col {
	padding: 1rem;
}

@media (min-width: 640px) {
	.bb-hero__dash-col {
		padding: 1.25rem;
	}
}

.bb-hero__dash-col--menu {
	border-bottom: 1px solid rgba(43, 26, 36, 0.08);
}

@media (min-width: 640px) {
	.bb-hero__dash-col--menu {
		border-bottom: 0;
		border-right: 1px solid rgba(43, 26, 36, 0.08);
	}
}

.bb-hero__dash-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
	color: rgba(43, 26, 36, 0.4);
}

.bb-hero__menu-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bb-hero__menu-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.625rem 0.75rem;
	border-radius: 0.5rem;
	background-color: rgba(43, 26, 36, 0.03);
}

.bb-hero__menu-row--sold {
	background-color: rgba(183, 57, 50, 0.06);
}

.bb-hero__menu-row-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.bb-hero__menu-icon {
	width: 2rem;
	height: 2rem;
	border-radius: 0.375rem;
	background-color: rgba(239, 197, 118, 0.25);
}

.bb-hero__menu-name {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--bb-ink);
}

.bb-hero__menu-orders {
	font-size: 0.75rem;
	color: rgba(43, 26, 36, 0.45);
}

.bb-hero__menu-row-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.bb-hero__menu-price {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--bb-ink);
}

.bb-hero__sold-badge {
	font-size: 0.75rem;
	padding: 0.125rem 0.5rem;
	border-radius: 9999px;
	background-color: rgba(183, 57, 50, 0.1);
	color: var(--bb-red);
}

.bb-hero__orders-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.bb-hero__order-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0.625rem;
	border-radius: 0.5rem;
	background-color: rgba(43, 26, 36, 0.03);
}

.bb-hero__order-id {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bb-ink);
}

.bb-hero__order-status {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.125rem 0.5rem;
	border-radius: 9999px;
}

.bb-hero__order-status--confirmed {
	color: var(--bb-sage);
	background-color: var(--bb-sage-pale);
}

.bb-hero__order-status--ready {
	color: var(--bb-purple);
	background-color: var(--bb-purple-pale);
}

.bb-hero__order-status--new {
	color: var(--bb-purple-mid);
	background-color: var(--bb-purple-pale);
}

.bb-hero__stat-box {
	border-radius: 0.5rem;
	padding: 0.75rem;
	text-align: center;
	background-color: rgba(87, 42, 111, 0.06);
}

.bb-hero__stat-num {
	font-weight: 700;
	font-size: 1.25rem;
	font-family: Georgia, serif;
	color: var(--bb-purple);
}

.bb-hero__stat-sub {
	font-size: 0.75rem;
	color: rgba(43, 26, 36, 0.45);
}

.bb-hero__mockup-fade {
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 8rem;
	pointer-events: none;
	background: linear-gradient(to bottom, transparent, var(--bb-paper));
}

/* ══════════════════════ HOW IT WORKS ══════════════════════ */

.bb-how {
	padding-top: 3rem;
	padding-bottom: 6rem;
	background-color: var(--bb-paper);
}

@media (min-width: 768px) {
	.bb-how {
		padding-top: 4rem;
		padding-bottom: 8rem;
	}
}

.bb-how__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.bb-how__stats {
	border-radius: 1rem;
	margin-bottom: 4rem;
	overflow: hidden;
	background-color: var(--bb-sage);
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.bb-how__stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

.bb-how__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 2.5rem 2rem;
}

.bb-how__stat + .bb-how__stat {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
	.bb-how__stat + .bb-how__stat {
		border-top: none;
		border-left: 1px solid rgba(255, 255, 255, 0.08);
	}
}

.bb-how__stat-num {
	display: block;
	margin-bottom: 0.25rem;
	font-family: Georgia, serif;
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--bb-paper);
	line-height: 1;
}

.bb-how__stat-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
	color: var(--bb-paper);
}

.bb-how__stat-sub {
	display: block;
	font-size: 0.75rem;
	color: rgba(251, 250, 245, 0.45);
}

.bb-how__heading {
	text-align: center;
	margin-bottom: 4rem;
}

.bb-how__title {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	color: var(--bb-ink);
}

.bb-how__intro {
	font-size: 1rem;
	margin: 0.75rem auto 0;
	color: rgba(43, 26, 36, 0.55);
	max-width: 48ch;
}

.bb-how__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.bb-how__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.bb-how__card {
	background-color: #fff;
	border-radius: 0.75rem;
	padding: 1.75rem;
	border: 1px solid rgba(43, 26, 36, 0.08);
	position: relative;
	overflow: hidden;
}

.bb-how__card-num {
	position: absolute;
	right: 1.25rem;
	top: 1rem;
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1;
	font-family: Georgia, serif;
	color: rgba(43, 26, 36, 0.04);
	user-select: none;
	pointer-events: none;
}

.bb-how__card-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	margin-bottom: 1rem;
}

.bb-how__card-tag--purple {
	color: var(--bb-purple);
	background-color: rgba(87, 42, 111, 0.1);
}

.bb-how__card-tag--sage {
	color: var(--bb-sage);
	background-color: var(--bb-sage-pale);
}

.bb-how__card-tag--yellow {
	color: var(--bb-yellow-dark);
	background-color: rgba(239, 197, 118, 0.15);
}

.bb-how__card-title {
	font-weight: 700;
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
	color: var(--bb-ink);
	font-family: Georgia, serif;
	line-height: 1.25;
}

.bb-how__card-body {
	font-size: 0.875rem;
	line-height: 1.625;
	color: rgba(43, 26, 36, 0.6);
}

/* ══════════════════════ FEATURES ══════════════════════ */

.bb-features {
	padding-top: 1rem;
	padding-bottom: 7rem;
	background-color: var(--bb-paper);
}

@media (min-width: 768px) {
	.bb-features {
		padding-top: 1.5rem;
		padding-bottom: 9rem;
	}
}

.bb-features__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.bb-features__heading {
	text-align: center;
	margin-bottom: 5rem;
}

.bb-features__title {
	margin: 0 auto;
	font-size: clamp(1.9rem, 3.5vw, 3rem);
	color: var(--bb-ink);
	max-width: 18ch;
}

.bb-features__intro {
	font-size: 1rem;
	margin: 1rem auto 0;
	color: rgba(43, 26, 36, 0.5);
	max-width: 44ch;
}

.bb-features__list {
	display: flex;
	flex-direction: column;
	gap: 7rem;
}

.bb-features__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.bb-features__row {
		grid-template-columns: repeat(2, 1fr);
	}

	.bb-features__row--reverse .bb-features__text {
		order: 2;
	}

	.bb-features__row--reverse .bb-features__visual {
		order: 1;
	}
}

.bb-features__text-title {
	margin-bottom: 1.25rem;
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	color: var(--bb-ink);
	line-height: 1.2;
}

.bb-features__text-body {
	font-size: 1rem;
	line-height: 1.625;
	color: rgba(43, 26, 36, 0.6);
	max-width: 43ch;
}

/* Feature visual 1 — new menu item form mockup */
.bb-feat-card {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid rgba(43, 26, 36, 0.1);
	background-color: #fff;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.bb-feat-card__head {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(43, 26, 36, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bb-feat-card__head-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--bb-ink);
	font-family: Georgia, serif;
}

.bb-feat-card__badge {
	font-size: 0.75rem;
	padding: 0.25rem 0.5rem;
	border-radius: 9999px;
	font-weight: 600;
	background-color: var(--bb-sage-pale);
	color: var(--bb-sage);
}

.bb-feat-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bb-feat-card__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: 0.375rem;
	color: rgba(43, 26, 36, 0.5);
}

.bb-feat-card__input {
	border-radius: 0.5rem;
	border: 1px solid rgba(43, 26, 36, 0.15);
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
	color: var(--bb-ink);
}

.bb-feat-card__input--focus {
	border-color: rgba(87, 42, 111, 0.3);
	font-weight: 500;
	box-shadow: 0 0 0 3px rgba(87, 42, 111, 0.06);
}

.bb-feat-card__input--mono {
	font-family: ui-monospace, "Courier New", monospace;
}

.bb-feat-card__grid2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.bb-feat-card__submit {
	width: 100%;
	border: none;
	border-radius: 0.5rem;
	padding: 0.625rem;
	font-size: 0.875rem;
	font-weight: 600;
	background-color: var(--bb-purple);
	color: var(--bb-paper);
}

.bb-feat-card__share {
	border-radius: 0.5rem;
	padding: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background-color: rgba(87, 42, 111, 0.06);
}

.bb-feat-card__share-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bb-purple);
	white-space: nowrap;
}

.bb-feat-card__share-url {
	font-size: 0.75rem;
	flex: 1 1 auto;
	min-width: 0; /* required for text-overflow:ellipsis to engage inside a flex row */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: ui-monospace, "Courier New", monospace;
	color: rgba(43, 26, 36, 0.5);
}

.bb-feat-card__copy {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	background-color: var(--bb-purple);
	color: var(--bb-paper);
}

/* Feature visual 2 — pickup windows list mockup */
.bb-feat-card__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bb-feat-slot {
	padding: 0.75rem;
	border-radius: 0.5rem;
	background-color: rgba(43, 26, 36, 0.03);
}

.bb-feat-slot--full {
	background-color: rgba(183, 57, 50, 0.04);
}

.bb-feat-slot__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.bb-feat-slot__time {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--bb-ink);
}

.bb-feat-slot__time--dim {
	color: rgba(43, 26, 36, 0.4);
}

.bb-feat-slot__spots {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bb-sage);
}

.bb-feat-slot__spots--full {
	color: var(--bb-red);
}

.bb-feat-slot__bar {
	height: 0.375rem;
	border-radius: 9999px;
	overflow: hidden;
	background-color: rgba(43, 26, 36, 0.08);
}

.bb-feat-slot__bar-fill {
	height: 100%;
	border-radius: 9999px;
	background-color: var(--bb-sage);
}

.bb-feat-slot__bar-fill--full {
	background-color: var(--bb-red);
}

.bb-feat-card__add-slot {
	width: 100%;
	margin-top: 0.5rem;
	border-radius: 0.5rem;
	padding: 0.625rem;
	font-size: 0.875rem;
	font-weight: 600;
	background-color: transparent;
	border: 1px solid rgba(87, 42, 111, 0.25);
	color: var(--bb-purple);
}

/* Feature visual 3 — insights mockup */
.bb-feat-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.bb-feat-stat {
	border-radius: 0.75rem;
	padding: 0.75rem;
	text-align: center;
	border: 1px solid rgba(43, 26, 36, 0.07);
	background-color: rgba(43, 26, 36, 0.02);
}

.bb-feat-stat__val {
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 0.125rem;
	color: var(--bb-ink);
	font-family: Georgia, serif;
}

.bb-feat-stat__label {
	font-size: 0.75rem;
	margin-bottom: 0.25rem;
	color: rgba(43, 26, 36, 0.4);
}

.bb-feat-stat__delta {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bb-sage);
}

.bb-feat-card__sellers-label {
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: rgba(43, 26, 36, 0.4);
}

.bb-feat-seller {
	margin-bottom: 0.75rem;
}

.bb-feat-seller__row {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	margin-bottom: 0.375rem;
}

.bb-feat-seller__name {
	color: var(--bb-ink);
	font-weight: 500;
}

.bb-feat-seller__pct {
	color: var(--bb-purple);
	font-weight: 600;
}

.bb-feat-seller__bar {
	height: 0.5rem;
	border-radius: 9999px;
	overflow: hidden;
	background-color: rgba(43, 26, 36, 0.07);
}

.bb-feat-seller__bar-fill {
	height: 100%;
	border-radius: 9999px;
	background-color: var(--bb-purple);
}

/* ══════════════════════ FINAL CTA ══════════════════════ */

.bb-final-cta {
	position: relative;
	overflow: hidden;
	padding: 6rem 0;
	background-color: var(--bb-ink);
}

@media (min-width: 768px) {
	.bb-final-cta {
		padding: 8rem 0;
	}
}

.bb-final-cta__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(87, 42, 111, 0.4) 0%, transparent 70%);
}

.bb-final-cta__container {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
}

.bb-final-cta__badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
	padding: 0.375rem 0.75rem;
	border-radius: 9999px;
	color: var(--bb-yellow);
	background-color: rgba(239, 197, 118, 0.12);
	border: 1px solid rgba(239, 197, 118, 0.2);
}

.bb-final-cta__title {
	margin-bottom: 1.25rem;
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	color: var(--bb-paper);
}

.bb-final-cta__body {
	font-size: 1rem;
	margin: 0 auto 2.5rem;
	color: rgba(251, 250, 245, 0.55);
	max-width: 42ch;
}

/* Same wrapper/link split as .bb-hero__cta above — see that comment. */
.bb-final-cta__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	padding: 1rem 2rem;
	border-radius: 0.5rem;
	font-size: 1rem;
	text-decoration: none;
	background-color: var(--bb-yellow);
	color: var(--bb-ink);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bb-final-cta__ctas {
	display: flex;
	justify-content: center;
}

.bb-final-cta__cta .wp-block-button__link:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.125rem);
	color: var(--bb-ink);
}

.bb-final-cta__fine-print {
	font-size: 0.75rem;
	margin-top: 1rem;
	color: rgba(251, 250, 245, 0.3);
}

/* ══════════════════════ Skip link ══════════════════════ */

.bb-skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bb-skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background-color: var(--bb-purple);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}
