/* ==========================================================================
   BBF / Australia — design layer
   --------------------------------------------------------------------------
   Loaded AFTER bbf.css. It does not replace the base theme: it re-skins it.

   Concept: trade document, not SaaS landing page.
   - Palette taken from the Australian coast and outback, not from a template:
     bone paper, ochre earth, eucalyptus green, deep-water ink.
   - Geometry stays square (radius 0), separated by hairlines instead of
     shadows, so the page reads like a customs invoice or a spec sheet.
   - Numbers are tabular and right-aligned, the way freight figures should be.
   - One signature element: the landed-cost receipt with a rotated
     "duty paid" stamp. Everything else stays quiet around it.

   To roll back to the previous design: remove the bbf-au enqueue in
   functions.php and restore front-page.worldwide.php.bak.
   ========================================================================== */

:root {
	/* brand */
	--ink: #0b1220;
	--ink-2: #121c2b;

	/* Australian palette */
	--au-bone: #faf6ee;
	--au-sand: #f0e8d9;
	--au-sand-2: #e7dcc7;
	--au-line: #ded2bd;
	--au-ochre: #b8451a;
	--au-ochre-soft: #d9663a;
	--au-euc: #2f4f43;
	--au-euc-soft: #517a68;
	--au-hivis: #e8b33a;

	/* remapped base tokens so the rest of the theme follows the new palette */
	--accent: #b8451a;
	--accent-dark: #9a3612;
	--paper: #ffffff;
	--soft: #f7f2e8;
	--line: #e4dac8;
	--muted: #6b6455;

	--font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
body.woocommerce,
body.storefront {
	background: var(--au-bone);
}

/* ---------- type ---------- */
.bbf-home h1,
.bbf-home h2,
.bbf-home h3 {
	letter-spacing: 0.005em;
	text-wrap: balance;
}

.bbf-eyebrow {
	color: var(--au-ochre);
	letter-spacing: 0.2em;
	font-weight: 700;
}

/* NOTE: do not set a blanket `.bbf-home p` colour here. The base stylesheet
   already tunes paragraph colour per section, and a global override silently
   turns body copy dark grey inside the dark sections — which is exactly how
   the wholesale-rules cards became unreadable on the first pass. */

/* tabular figures everywhere a number is compared */
.bbf-order strong,
.bbf-cost__table td,
.bbf-strip__item strong,
.au-receipt,
.au-metric strong {
	font-variant-numeric: tabular-nums;
}

/* ---------- hero ---------- */
.bbf-hero {
	background:
		radial-gradient(1200px 520px at 78% -10%, rgba(184, 69, 26, 0.10), transparent 62%),
		linear-gradient(180deg, var(--au-bone) 0%, var(--au-sand) 100%);
	border-bottom: 1px solid var(--au-line);
}

.bbf-hero__in {
	padding-top: 72px;
	padding-bottom: 72px;
	gap: 56px;
}

.bbf-hero h1 {
	font-size: clamp(44px, 6vw, 86px);
	line-height: 0.92;
	letter-spacing: -0.005em;
}

.bbf-hero h1 em {
	font-style: normal;
	color: var(--au-ochre);
	display: inline-block;
}

.bbf-hero .bbf-lead {
	font-size: 17px;
	line-height: 1.68;
	max-width: 54ch;
	color: #38404a;
}

.bbf-hero .bbf-lead strong {
	color: var(--au-euc);
}

.bbf-hero__points {
	display: flex;
	flex-wrap: wrap;
	row-gap: 8px;
	gap: 0;
	margin-top: 26px;
	border-top: 1px solid var(--au-line);
	padding-top: 18px;
}

.bbf-hero__points li {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--au-euc);
	padding: 0 22px 0 0;
	margin-right: 22px;
	border-right: 1px solid var(--au-line);
}

.bbf-hero__points li:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

/* ---------- the landed receipt (signature element) ---------- */
.au-receipt {
	position: relative;
	background: #fff;
	border: 1px solid var(--au-line);
	box-shadow: 14px 14px 0 -1px var(--au-sand-2);
	padding: 0;
	font-size: 13.5px;
	color: #2b323b;
}

.au-receipt__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 22px;
	border-bottom: 1px solid var(--au-line);
	background: var(--ink);
	color: #fff;
}

.au-receipt__head b {
	font-family: var(--font-head);
	font-size: 17px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
}

.au-receipt__head span {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.au-receipt__meta {
	display: flex;
	justify-content: space-between;
	padding: 12px 22px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px dashed var(--au-line);
}

.au-receipt__rows {
	padding: 6px 22px 4px;
}

.au-row {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 7px 0;
}

.au-row > span:first-child {
	color: #4a5260;
	line-height: 1.3;
}

/* dotted leader between label and figure.
   The leader is an empty span, so its border sits at the BOTTOM of its own
   line box — which is why it drifted down onto the sub-label line. Give it an
   explicit height instead of a margin so the rule lands on the first line of
   every row, with or without the small-caps sub-label. */
.au-row .au-dots {
	flex: 1;
	align-self: flex-start;
	height: 11px;
	border-bottom: 1px dotted #cfc3ad;
	min-width: 18px;
}

.au-row > b {
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.3;
}

.au-row small {
	display: block;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 500;
}

.au-row--sub > span:first-child {
	padding-left: 12px;
	font-size: 12.5px;
	color: #5b6470;
}

.au-receipt__total {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 22px 0;
	padding: 16px 0 14px;
	border-top: 2px solid var(--ink);
}

.au-receipt__total span {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.5;
}

.au-receipt__total b {
	font-family: var(--font-head);
	font-size: 40px;
	line-height: 1;
	color: var(--ink);
	letter-spacing: 0.01em;
}

.au-receipt__note {
	margin: 0;
	/* bottom padding is the seal's room: the stamp sits under the sentence,
	   tucked into the lower-left of the slip, the way a real clearance stamp
	   lands near the signature. It must never sit in the bottom-right corner
	   because the floating chat button lives there on first paint. */
	padding: 12px 22px 50px;
	font-size: 11.5px;
	line-height: 1.55;
	color: var(--muted);
	border-top: 1px dashed var(--au-line);
}

/* rubber stamp — sits in the reserved corner of the note */
.au-stamp {
	position: absolute;
	left: 24px;
	bottom: 9px;
	transform: rotate(-6deg);
	border: 2px solid var(--au-ochre);
	color: var(--au-ochre);
	font-family: var(--font-head);
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 5px 12px 4px;
	opacity: 0.9;
	background: rgba(255, 255, 255, 0.72);
	pointer-events: none;
}

/* ---------- route rail ---------- */
.au-rail {
	background: var(--ink);
	color: #fff;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.au-rail__in {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 2.2fr;
	gap: 0;
}

.au-rail__label {
	padding: 24px 26px 24px 0;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.au-rail__label b {
	display: block;
	font-family: var(--font-head);
	font-size: 22px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.1;
}

.au-rail__label span {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.au-rail__legs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.au-leg {
	padding: 22px 18px;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
}

.au-leg::before {
	content: "";
	position: absolute;
	left: -3px;
	top: 30px;
	width: 5px;
	height: 5px;
	background: var(--au-hivis);
	border-radius: 50%;
}

.au-leg strong {
	display: block;
	font-family: var(--font-head);
	font-size: 20px;
	letter-spacing: 0.1em;
	color: #fff;
}

.au-leg em {
	display: block;
	font-style: normal;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.48);
	margin-top: 3px;
}

.au-leg span {
	display: block;
	font-size: 12.5px;
	color: var(--au-hivis);
	margin-top: 8px;
	font-variant-numeric: tabular-nums;
}

/* ---------- four pillars, spec-sheet style ---------- */
.bbf-sec {
	padding-top: 76px;
	padding-bottom: 76px;
}

.bbf-sec--soft {
	background: var(--au-sand);
	border-top: 1px solid var(--au-line);
	border-bottom: 1px solid var(--au-line);
}

.bbf-sec--ink {
	background: var(--au-euc);
	color: #fff;
}

/* dark section: the base paints the rule cards navy, which reads as a foreign
   block inside eucalyptus. Hairline + tint instead. */
.bbf-sec--ink .bbf-rule {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-top: 3px solid var(--au-hivis);
}

.bbf-sec--ink .bbf-rule h3 {
	color: #fff;
}

.bbf-sec--ink .bbf-rule p,
.bbf-sec--ink .bbf-tiers__intro p,
.bbf-sec--ink .bbf-steps p {
	color: rgba(255, 255, 255, 0.74);
}

.bbf-sec--ink .bbf-rule p strong {
	color: #fff;
}

.bbf-sec__head h2 {
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 0.98;
	max-width: 22ch;
}

.bbf-sec__head p {
	max-width: 66ch;
	font-size: 15.5px;
}

.bbf-card-pad {
	background: #fff;
	border: 1px solid var(--au-line);
	padding: 26px 24px 24px;
	border-radius: 0;
	box-shadow: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.bbf-card-pad:hover {
	border-color: var(--au-ochre);
	transform: translateY(-2px);
}

.bbf-card-pad::before {
	display: none;
}

.bbf-num {
	font-family: var(--font-head);
	color: var(--au-ochre);
	font-size: 13px;
	letter-spacing: 0.16em;
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--au-line);
	display: block;
}

.bbf-card-pad h3 {
	font-size: 21px;
	line-height: 1.06;
}

.bbf-card-pad p {
	font-size: 14px;
	color: #47505c;
}

/* ---------- metric strip ---------- */
.bbf-strip {
	background: var(--au-euc);
	border: 0;
}

.bbf-strip__item strong {
	font-size: 34px;
	letter-spacing: 0.02em;
}

.bbf-strip__item span {
	color: rgba(255, 255, 255, 0.55);
}

/* ---------- cost table ---------- */
.bbf-cost {
	border: 1px solid var(--au-line);
	background: #fff;
}

.bbf-cost__head {
	background: var(--au-sand);
	border-right: 1px solid var(--au-line);
}

.bbf-cost__table th {
	background: var(--au-sand);
	color: #6b6455;
	border-bottom: 1px solid var(--au-line);
}

.bbf-cost__table td {
	border-bottom: 1px solid #ece3d3;
	color: #3a4048;
}

.bbf-cost__total td {
	background: var(--ink);
	color: #fff;
}

.bbf-cost__total td strong {
	color: var(--au-hivis);
}

.bbf-cost__table td:nth-child(2) {
	color: #8a8577;
}

/* ---------- compliance split ---------- */
.au-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--au-line);
	border: 1px solid var(--au-line);
	margin-top: 34px;
}

.au-col {
	background: #fff;
	padding: 28px 26px;
}

.au-col h3 {
	font-size: 19px;
	letter-spacing: 0.04em;
	margin-bottom: 14px;
}

.au-col--no h3 {
	color: var(--au-ochre);
}

.au-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.au-list li {
	position: relative;
	padding: 9px 0 9px 26px;
	font-size: 14px;
	color: #3f4854;
	border-bottom: 1px dashed #e8dfcd;
}

.au-list li:last-child {
	border-bottom: 0;
}

.au-list li::before {
	position: absolute;
	left: 0;
	top: 9px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.au-list--ok li::before {
	content: "✓";
	color: var(--au-euc-soft);
}

.au-list--no li::before {
	content: "✕";
	color: var(--au-ochre);
}

/* ---------- city chips ---------- */
.au-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.au-chip {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 7px 12px;
	border: 1px solid var(--au-line);
	background: #fff;
	color: var(--au-euc);
}

.au-chip--on {
	background: var(--au-euc);
	border-color: var(--au-euc);
	color: #fff;
}

/* ---------- faq / cta polish ---------- */
.bbf-faq details {
	border-bottom: 1px solid var(--au-line);
}

.bbf-faq summary {
	font-size: 15.5px;
}

.bbf-cta {
	background: var(--au-ochre);
}

.bbf-cta h2 {
	color: #fff;
}

.bbf-cta__copy p,
.bbf-cta__copy .bbf-eyebrow {
	color: rgba(255, 255, 255, 0.86);
}

.bbf-btn {
	border-radius: 0;
}

.bbf-fine {
	color: #6b6455;
}

/* ---------- contrast fixes over the dark base hero ----------
   bbf.css paints the hero deep navy with white type. The AU design turns it
   into sand paper, so every inherited white-on-dark rule has to be re-pointed
   here — otherwise the headline disappears into the page. */
.bbf-hero {
	color: #1d2939;
	overflow: hidden;
	/* the base hero carries its own 74/78 padding; vertical rhythm now lives
	   on __in so the two do not stack into a dead band */
	padding: 0;
}

.bbf-hero h1 {
	color: var(--ink);
	font-size: clamp(44px, 6vw, 86px);
	line-height: 0.92;
	margin-bottom: 20px;
}

.bbf-hero h1 em {
	color: var(--au-ochre);
}

.bbf-hero .bbf-lead {
	color: #38404a;
	max-width: 54ch;
}

.bbf-hero__points li {
	color: var(--au-euc);
}

.bbf-hero__points li::before {
	display: none;
}

/* the ghost button is white-on-white once the hero is light */
.bbf-hero .bbf-btn--ghost {
	border-color: rgba(11, 18, 32, 0.28);
	color: var(--ink);
}

.bbf-hero .bbf-btn--ghost:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* base sets its own size on the hero h1; keep the AU scale */
.bbf-sec__head h2 {
	max-width: 24ch;
}

/* ---------- KPI panel (who we supply) ----------
   The base lays value and caption out as a grid pair, which breaks "AUD 4,500
   – 7,500" across three lines in a narrow panel. Stack them instead. */
.bbf-split__panel .bbf-kpi {
	display: block;
	border-bottom: 1px solid var(--au-line);
}

.bbf-split__panel .bbf-kpi strong {
	font-size: 27px;
	white-space: nowrap;
}

.bbf-split__panel .bbf-kpi span {
	display: block;
	margin-top: 5px;
}

/* ---------- brand lockup ----------
   MUSTER with a paddock corner set into it: two fence rails turning in
   toward the yard. The ochre corner is the mark, the hi-vis AU a brand tick.
   Sits above the housekeeping that follows. */

.site-header .site-title,
.site-header .site-title a {
	font-family: var(--font-head);
	font-size: 27px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1;
}

/* The tagline keeps running in the <title> for search, but in the header it
   stretched into a grey band under the lockup and pulled weight away from the
   mark. Hide it here only. */
.site-header .site-description {
	display: none;
}

.site-header .site-title a::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	border-left: 2.5px solid var(--au-ochre);
	border-top: 2.5px solid var(--au-ochre);
	vertical-align: 3px;
}

.site-header .site-title a::after {
	content: "AU";
	display: inline-block;
	margin-left: 10px;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.12em;
	vertical-align: 9px;
	color: var(--au-hivis);
}

@media (max-width: 720px) {
	.site-header .site-title a {
		font-size: 22px;
		letter-spacing: 0.16em;
	}

	.site-header .site-title a::before {
		width: 8px;
		height: 8px;
		margin-right: 8px;
		border-width: 2px;
	}

	.site-header .site-title a::after {
		display: none;
	}
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.au-rail__in {
		grid-template-columns: 1fr;
	}

	.au-rail__label {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding: 22px 0 16px;
	}

	.au-rail__legs {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 820px) {
	.bbf-hero__in {
		padding-top: 44px;
		padding-bottom: 44px;
		gap: 34px;
	}

	.au-receipt {
		box-shadow: 8px 8px 0 -1px var(--au-sand-2);
	}

	.au-cols {
		grid-template-columns: 1fr;
	}

	.bbf-sec {
		padding-top: 52px;
		padding-bottom: 52px;
	}
}

@media (max-width: 560px) {
	.au-rail__legs {
		grid-template-columns: repeat(2, 1fr);
	}

	/* the total is label + figure side by side on desktop; on a phone the
	   figure wraps and the number breaks. Stack them. */
	.au-receipt__total {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		padding-top: 12px;
	}

	.au-receipt__total b {
		font-size: 34px;
		white-space: nowrap;
	}

	/* hairline-divided inline list becomes a 2-up grid, without the stray
	   vertical rules that survive a wrap */
	.bbf-hero__points {
		display: grid;
		grid-template-columns: 1fr 1fr;
		row-gap: 10px;
	}

	.bbf-hero__points li {
		border-right: 0;
		margin-right: 0;
		padding-right: 0;
	}

	.au-stamp {
		left: 16px;
		bottom: 8px;
		font-size: 11px;
		letter-spacing: 0.12em;
	}
}

/* Storefront's icon subfont overlaps the label once the button tightens up
   on phones. Draw the three bars ourselves: fully predictable, no icon font,
   and it inherits the button's text colour. */
.main-navigation button.menu-toggle::before {
	content: "";
	position: static;
	display: inline-block;
	width: 13px;
	height: 2px;
	margin-right: 8px;
	vertical-align: 3px;
	background: currentColor;
	box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}

/* ---------- header on small phones ----------
   The menu button was being squeezed by the quote CTA and rendered as
   "☰ ENU": the flex row shrank it below its content width and the button
   clips. flex:0 0 auto stops the shrink; max-content sets the floor. */
@media (max-width: 560px) {
	.main-navigation button.menu-toggle {
		flex: 0 0 auto;
		min-width: max-content;
		white-space: nowrap;
		padding: 9px 12px;
		font-size: 10.5px;
		letter-spacing: 0.02em;
	}

	.bbf-eyebrow {
		font-size: 10px;
		letter-spacing: 0.1em;
	}

	.bbf-header-cta {
		padding: 9px 12px;
		font-size: 10.5px;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}

	.bbf-header-cta-wrap {
		gap: 8px;
	}
}

/* ---------- mobile chat composer ----------
   Two separate faults, one cause.

   1. iOS Safari and Chrome Android auto-zoom the whole page the moment a text
      input with font-size below 16px takes focus. The chat composer was 13px,
      so tapping it zoomed the page in — the composer text ran off the right
      edge, and the page stayed zoomed after closing the panel. 16px is the
      threshold; anything smaller re-triggers it.
   2. When the on-screen keyboard opens, the visual viewport shrinks but the
      layout viewport does not. chat.js publishes the live visual height as
      --bbf-vvh so the panel and the composer stay inside what is really on
      screen. */
@media (max-width: 767px) {
	.bbf-chat__form input,
	.bbf-chat__form textarea {
		font-size: 16px;
	}

	.bbf-chat {
		max-width: 100%;
	}

	.bbf-chat__panel {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		max-height: var(--bbf-vvh, calc(100dvh - 100px));
		max-height: calc(var(--bbf-vvh, 100dvh) - 84px);
	}
}

/* Last-resort guard: nothing in the page should be able to widen the document
   on a phone. clip does not create a scroll container, so the sticky header
   keeps working. */
html,
body {
	overflow-x: clip;
}

/* A pasted SKU or a long URL must not push the chat bubble wider than the
   panel — that alone can widen the mobile document. */
.bbf-chat__msg,
.bbf-chat__card strong,
.bbf-chat__card span,
.bbf-chat__preview {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Sitewide on phones: every text field sits at 16px. This is the same iOS
   auto-zoom threshold as the chat composer — the quote form and the RFQ form
   were at 15px and zoomed the page just as badly. */
@media (max-width: 767px) {
	input[type="text"],
	input[type="email"],
	input[type="search"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	input[type="password"],
	textarea,
	select,
	.bbf-form input,
	.bbf-rfq input,
	.bbf-rfq select,
	.bbf-req__field input,
	.bbf-req__field select {
		font-size: 16px;
	}
}

/* ---------- the muster list ----------
   A loading list, set like a shipping document: port codes in the condensed
   face, quantities right-aligned on a tabular grid, hairline rules only. The
   bar at the foot is the honest part — it shows how full the container is. */
.mu {
	border: 1px solid var(--au-line);
	background: #fff;
}

.mu__head,
.mu__row {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 52px 62px 112px;
	align-items: baseline;
	gap: 10px;
	padding: 10px 16px;
}

.mu__head {
	background: var(--au-sand);
	border-bottom: 1px solid var(--au-line);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7d7466;
}

.mu__row {
	border-top: 1px solid var(--au-line);
}

.mu__row:first-of-type {
	border-top: 0;
}

.mu__port {
	font-family: var(--font-head);
	font-size: 15px;
	letter-spacing: 0.08em;
	color: var(--au-euc);
}

.mu__cat {
	font-size: 13.5px;
	color: #33383f;
}

.mu__num {
	text-align: right;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	color: #33383f;
}

.mu__state {
	text-align: right;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #948a79;
}

.mu__state.is-sealed {
	color: var(--au-ochre);
}

.mu__foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 24px;
	padding: 15px 16px;
	background: var(--au-bone);
	border-top: 2px solid var(--ink);
}

.mu__stat strong {
	display: block;
	font-family: var(--font-head);
	font-size: 21px;
	line-height: 1.1;
	color: var(--ink);
}

.mu__stat span {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.mu__bar {
	flex: 1 1 120px;
	height: 8px;
	background: var(--au-sand-2);
	min-width: 90px;
}

.mu__bar-fill {
	height: 100%;
	background: var(--au-ochre);
}

.mu__pct {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

/* section lead under an h2 */
.bbf-sub {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
	max-width: 62ch;
	margin: 10px 0 0;
}

.bbf-sub strong {
	color: #33383f;
}

@media (max-width: 720px) {
	.mu__head {
		display: none;
	}

	.mu__row {
		grid-template-columns: 50px minmax(0, 1fr) auto;
		row-gap: 3px;
		padding: 12px 14px;
	}

	.mu__row > :nth-child(1) {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.mu__row > :nth-child(2) {
		grid-column: 2;
		grid-row: 1;
	}

	.mu__row > :nth-child(3) {
		grid-column: 3;
		grid-row: 1;
	}

	.mu__row > :nth-child(3)::after {
		content: " lines";
		font-size: 10px;
		letter-spacing: 0.06em;
		color: #948a79;
	}

	.mu__row > :nth-child(4) {
		grid-column: 2;
		grid-row: 2;
		text-align: left;
		color: #7d7466;
	}

	.mu__row > :nth-child(4)::after {
		content: " CBM";
	}

	.mu__row > :nth-child(5) {
		grid-column: 3;
		grid-row: 2;
	}

	.mu__foot {
		gap: 12px 16px;
	}

	.mu__stat strong {
		font-size: 18px;
	}
}

/* ---------------------------------------------------------------------------
   Assistant memory
   Two small additions to the panel: the "you were here before" line, and the
   one-sentence notice that the thread is kept on our side. The notice is not
   decoration — under APP 5 the buyer has to be told we collect it, and a chat
   widget that quietly files the conversation is a compliance problem dressed
   as a convenience.
   ------------------------------------------------------------------------- */

.bbf-chat__resume {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0 12px 8px;
	padding: 9px 12px 10px;
	width: calc(100% - 24px);
	font: inherit;
	text-align: left;
	color: var(--au-ink, #23262a);
	background: var(--au-sand);
	border: 1px solid var(--au-line);
	border-left: 3px solid var(--au-ochre);
	cursor: pointer;
	transition: background 0.15s ease;
}

/* [hidden] loses to display:flex, which would leave the line on screen for
   every first-time buyer. */
.bbf-chat__resume[hidden] {
	display: none;
}

.bbf-chat__resume:hover {
	background: #ece0cb;
}

.bbf-chat__resume span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--au-ochre);
}

.bbf-chat__resume em {
	font-style: normal;
	font-size: 11.5px;
	line-height: 1.45;
	color: #6d6559;
	overflow-wrap: anywhere;
}

.bbf-chat__privacy {
	margin: 0;
	padding: 0 12px 10px;
	font-size: 10.5px;
	line-height: 1.5;
	color: #8b8274;
}

.bbf-chat__privacy a {
	color: #8b8274;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---- The delete control ------------------------------------------------
   It was a filled pill sitting 6px from the X, because erasing a thread was
   treated as a feature of equal weight. Two things were wrong with that. On a
   phone the X is the most-tapped control in the panel and a thumb does not
   aim; and a conversation that took six turns to build is the single most
   valuable thing in the widget, so it should not be one mis-tap from gone.
   It lives in the privacy line now, sized like the sentence around it, and
   needs a second tap to fire. */
.bbf-chat__clear {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 10.5px;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	color: #8b8274;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.bbf-chat__clear:hover,
.bbf-chat__clear:focus-visible {
	color: var(--au-ochre);
}

.bbf-chat__clear.is-armed {
	color: var(--au-ochre);
	font-weight: 600;
	text-decoration: none;
}

/* The X keeps its 44px target even though the glyph is small: the header is
   the one place buyers tap blind. */
.bbf-chat__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: -12px -8px -12px 0;
	font-size: 24px;
}

/* ---- Experience pass -------------------------------------------------------
   The floating chat badge is the best converting element on the site, but on
   /get-a-quote/ it sat straight on top of the WhatsApp input and the submit
   button. While a page field has focus it steps aside instead of shrinking
   everywhere. Driven by the focus guard in inc/ux-fixes.php. */
.bbf-chat__fab {
	transition: opacity .18s ease, transform .18s ease;
}

body.bbf-typing .bbf-chat__fab {
	opacity: 0;
	transform: translateY(10px) scale(.92);
	pointer-events: none;
}

/* Deep in the catalogue the badge covers the price and the Add to inquiry
   button of the card in that corner. It becomes a dot, still tappable, still
   orange, and expands again as soon as the buyer scrolls back up. */
@media (max-width: 767px) {
	body.bbf-scrolled .bbf-chat__fab {
		padding: 13px;
		gap: 0;
		font-size: 0;
		border-radius: 50%;
	}

	body.bbf-scrolled .bbf-chat__fab-dot {
		width: 13px;
		height: 13px;
	}
}

/* ==========================================================================
   Catalogue rail + product page price bar
   --------------------------------------------------------------------------
   The rail is the only navigation across 22 categories on a 1,300-SKU
   catalogue: one scrollable row of square chips, counts in tabular figures.
   The product bar exists because on a phone the gallery fills the first
   screen and the reference price sat below the fold.
   ========================================================================== */

.bbf-catbar {
	margin: 0 0 20px;
}

.bbf-catbar__in {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 0 8px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bbf-catbar__in::-webkit-scrollbar {
	display: none;
}

.bbf-catbar__chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--au-line);
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	border-radius: 0;
	white-space: nowrap;
}

.bbf-catbar__chip em {
	font-style: normal;
	font-size: 11px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.bbf-catbar__chip:hover,
.bbf-catbar__chip.is-on {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.bbf-catbar__chip:hover em,
.bbf-catbar__chip.is-on em {
	color: rgba(255, 255, 255, 0.62);
}

/* Price bar is mobile-only; the desktop product page keeps its own layout. */
.bbf-pbar {
	display: none;
}

.bbf-buy-anchor {
	display: block;
	position: relative;
	top: -10px;
}

@media (max-width: 768px) {
	.bbf-pbar {
		display: block;
		position: sticky;
		top: 0;
		z-index: 60;
		background: var(--au-bone);
		border-bottom: 1px solid var(--au-line);
		margin: 0 0 12px;
	}

	.bbf-pbar__in {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 8px;
		padding: 9px 12px;
	}

	.bbf-pbar__price {
		font-size: 17px;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
	}

	.bbf-pbar__price em {
		font-style: normal;
		font-weight: 400;
		font-size: 11px;
		color: var(--muted);
	}

	.bbf-pbar__moq {
		font-size: 10px;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: var(--muted);
		white-space: nowrap;
	}

	/* Below ~360px the three items cannot share a line; drop the MOQ rather
	   than let the price wrap. */
	@media (max-width: 359px) {
		.bbf-pbar__moq {
			display: none;
		}
	}

	.bbf-pbar__cta {
		margin-left: auto;
		padding: 10px 11px;
		background: var(--au-ochre);
		color: #fff;
		font-size: 12px;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		text-decoration: none;
		white-space: nowrap;
	}

	/* Cap the gallery: it was the reason the price sat below the fold. */
	.single-product .woocommerce-product-gallery {
		max-height: 52vh;
		overflow: hidden;
		margin-bottom: 10px;
	}

	.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
		max-height: 52vh;
		object-fit: contain;
	}
}

/* ---------- PWA install hint ----------
   Sits above the assistant button so it never covers the thing buyers tap
   when they want to talk. Hidden until bbf.js decides the browser situation. */
.bbf-install {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(86px + env(safe-area-inset-bottom, 0px));
	z-index: 99980;
	max-width: 420px;
	margin: 0 auto;
}

.bbf-install__in {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: var(--ink);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 8px 24px rgba(11, 18, 32, 0.28);
	font-size: 12.5px;
	line-height: 1.35;
}

.bbf-install__mark {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--au-ochre-soft);
}

.bbf-install__copy {
	flex: 1 1 auto;
	text-wrap: pretty;
}

.bbf-install__go {
	flex: 0 0 auto;
	background: var(--au-ochre);
	color: #fff;
	border: 0;
	padding: 8px 12px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.bbf-install__x {
	flex: 0 0 auto;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 18px;
	line-height: 1;
	padding: 2px 4px;
	cursor: pointer;
}

@media (min-width: 900px) {
	.bbf-install {
		left: auto;
		right: 24px;
		bottom: 96px;
	}
}
