/*
 * Boococks Christmas Orders — front end.
 * Brand book (Camille Agency, Dec 2025): Deep Sage #697454 and Ivory #FFFBF2 only; Cormorant Garamond
 * headlines in sentence case; Inter Bold all-caps subheads with wide tracking; Inter body. "Quiet
 * confidence": Christmas comes from the photography and words, never from red/green decoration.
 * Everything is scoped to .bco so the rest of the WoodMart theme is untouched.
 */

.bco,
.bco-zone {
	--bco-sage: #697454;
	--bco-sage-dark: #565f45;
	--bco-sage-deep: #3f4632;
	--bco-sage-tint: #eef0e7;
	--bco-ivory: #fffbf2;
	--bco-ivory-2: #f7f1e3;
	--bco-ink: #23251f;
	--bco-muted: #6a6b62;
	--bco-line: #e6dfcf;
	--bco-line-strong: #cfc6b2;
	--bco-error: #a1382a;
	--bco-radius: 6px;
	--bco-radius-lg: 12px;
	--bco-shadow: 0 4px 8px rgb(225, 220, 208);
	--bco-shadow-lift: 0 12px 28px rgba(150, 140, 115, 0.28);
	--bco-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--bco-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--bco-sans: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-family: var(--bco-sans);
	color: var(--bco-ink);
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.bco-zone {
	font-family: var(--bco-sans);
}

.bco *,
.bco *::before,
.bco *::after {
	box-sizing: inherit;
}

.bco [hidden] {
	display: none !important;
}

.bco img {
	max-width: 100%;
	display: block;
}

.bco .bco-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.bco .bco-logo {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Type ---------- */

.bco .bco-h,
.bco h1.bco-banner__title,
.bco h2.bco-banner__title,
.bco .bco-card__title,
.bco .bco-pick__name,
.bco .bco-step__title,
.bco .bco-storecard__name,
.bco-section h2.bco-h {
	font-family: var(--bco-serif);
	font-weight: 400;
	text-transform: none;
	letter-spacing: -0.005em;
	color: var(--bco-ink);
	line-height: 1.1;
}

.bco .bco-h {
	font-size: clamp(26px, 3.2vw, 34px);
	margin: 0 0 6px;
}

.bco .bco-h:focus {
	outline: none;
}

.bco-section .bco-kicker,
.bco-panel .bco-kicker,
.bco-store__meta {
	color: var(--bco-sage-dark);
}

.bco .bco-kicker,
.bco .bco-label {
	font-family: var(--bco-sans);
	font-weight: 700;
	font-size: 11.5px;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bco-sage);
	margin: 0 0 10px;
}

.bco .bco-muted {
	color: var(--bco-muted);
	font-size: 15px;
	margin: 0;
}

.bco .bco-notice {
	font-size: 13px;
	line-height: 1.5;
	color: var(--bco-muted);
	margin: 10px 0 0;
}

.bco-sr,
.bco .bco-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bco .bco-hp {
	left: -10000px !important;
}

/* ---------- Buttons ---------- */

.bco .bco-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--bco-sage);
	border-radius: var(--bco-radius);
	background: var(--bco-sage);
	color: var(--bco-ivory);
	font: 600 14px/1.2 var(--bco-sans);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}

.bco .bco-btn .bco-icon {
	width: 18px;
	height: 18px;
}

.bco .bco-btn:hover {
	background: var(--bco-sage-dark);
	border-color: var(--bco-sage-dark);
	color: var(--bco-ivory);
}

.bco .bco-btn:active {
	transform: scale(0.97);
	transition-duration: 0.08s;
}

.bco .bco-btn:hover:not([disabled]) {
	box-shadow: 0 8px 18px rgba(63, 70, 50, 0.18);
}

.bco .bco-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none;
}

.bco .bco-btn--ghost {
	background: transparent;
	color: var(--bco-sage-dark);
	border-color: var(--bco-line-strong);
}

.bco .bco-btn--ghost:hover {
	background: var(--bco-sage-tint);
	border-color: var(--bco-sage);
	color: var(--bco-sage-deep);
}

.bco .bco-btn--light {
	background: var(--bco-ivory);
	border-color: var(--bco-ivory);
	color: var(--bco-sage-deep);
}

.bco .bco-btn--light:hover {
	background: #fff;
	border-color: #fff;
	color: var(--bco-sage-deep);
}

.bco .bco-btn--outline-light {
	background: transparent;
	border-color: rgba(255, 251, 242, 0.6);
	color: var(--bco-ivory);
}

.bco .bco-btn--outline-light:hover {
	background: rgba(255, 251, 242, 0.12);
	border-color: var(--bco-ivory);
	color: var(--bco-ivory);
}

.bco .bco-btn--small {
	min-height: 40px;
	padding: 9px 16px;
	font-size: 11.5px;
	gap: 6px;
}

.bco .bco-btn--block {
	width: 100%;
}

.bco .bco-btn--lg {
	min-height: 56px;
	padding: 16px 32px;
	font-size: 13px;
	box-shadow: 0 10px 24px rgba(86, 95, 69, 0.28);
}

.bco .bco-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 4px 0;
	color: var(--bco-sage-dark);
	font: 600 14px/1.2 var(--bco-sans);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bco .bco-link .bco-icon {
	width: 15px;
	height: 15px;
}

.bco .bco-btn:focus-visible,
.bco .bco-link:focus-visible,
.bco a:focus-visible,
.bco input:focus-visible,
.bco select:focus-visible,
.bco textarea:focus-visible,
.bco button:focus-visible {
	outline: 3px solid var(--bco-sage-deep);
	outline-offset: 2px;
}

.bco.bco-banner a:focus-visible,
.bco-bar .bco-btn:focus-visible {
	outline-color: var(--bco-ivory);
}

.bco .bco-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: bco-spin 0.8s linear infinite;
	vertical-align: -3px;
}

@keyframes bco-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Hero and banner ---------- */

.bco-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--bco-sage);
	color: var(--bco-ivory);
	border-radius: var(--bco-radius-lg);
}

.bco-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
	z-index: -2;
}

.bco-hero .bco-banner__img {
	animation: bco-settle 2.4s var(--bco-ease) both;
}

@keyframes bco-settle {
	from { transform: scale(1.06); }
	to { transform: none; }
}

.bco-stamp {
	position: absolute;
	right: clamp(24px, 7vw, 120px);
	bottom: clamp(32px, 8vw, 96px);
	width: 148px;
	height: 148px;
	color: var(--bco-ivory);
	pointer-events: none;
}

.bco-stamp svg {
	width: 100%;
	height: 100%;
	animation: bco-turn 48s linear infinite;
}

.bco-stamp text {
	fill: currentColor;
	font: 600 9.6px var(--bco-sans);
	letter-spacing: 0.3em;
}

.bco-stamp__mark {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 40px;
	transform: translate(-50%, -50%);
}

@keyframes bco-turn {
	to { transform: rotate(360deg); }
}

.bco-banner.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(63, 70, 50, 0.95) 0%, rgba(86, 95, 69, 0.86) 38%, rgba(86, 95, 69, 0.3) 70%, rgba(86, 95, 69, 0.05) 100%);
}

.bco-banner__inner {
	position: relative;
	max-width: 620px;
	padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
}

.bco.bco-banner .bco-kicker,
.bco.bco-banner .bco-banner__title,
.bco.bco-banner .bco-banner__text {
	color: var(--bco-ivory);
}

.bco.bco-banner .bco-kicker {
	opacity: 1;
}

.bco.bco-banner .bco-banner__title {
	font-size: clamp(34px, 5vw, 50px);
	margin: 0 0 14px;
}

.bco-banner__text {
	margin: 0 0 26px;
	font-size: 17px;
	line-height: 1.6;
	max-width: 46ch;
}

.bco-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/*
 * Homepage / shop banner (not the landing-page hero). It's dropped into page content between
 * other blocks, so it carries its own vertical spacing rather than relying on the blocks around it.
 * Doubled .bco class: WoodMart's `:is(.entry-content, …) > *` reset has equal specificity otherwise.
 */
.bco.bco-banner:not(.bco-hero) {
	margin: clamp(24px, 3.5vw, 48px) 0;
}

/* Kept compact: it sits between the hero and the categories, so every pixel is extra scrolling. */
.bco-banner:not(.bco-hero) .bco-banner__inner {
	padding: clamp(24px, 3vw, 36px) clamp(20px, 4vw, 48px);
}

.bco.bco-banner:not(.bco-hero) .bco-banner__title {
	font-size: clamp(30px, 3.6vw, 42px);
	margin-bottom: 8px;
}

.bco-banner:not(.bco-hero) .bco-banner__text {
	margin-bottom: 18px;
}

.bco-banner.has-image:not(.bco-hero) .bco-banner__inner {
	max-width: 640px;
}

/* Watermark on the plain banner: anchored to the banner's bottom-right corner. */
.bco-banner__mark {
	position: absolute;
	right: clamp(-40px, -2vw, -16px);
	bottom: -70px;
	width: clamp(200px, 22vw, 290px);
	color: rgba(255, 251, 242, 0.08);
	pointer-events: none;
}

.bco-banner__brand {
	width: clamp(170px, 22vw, 230px);
	color: var(--bco-ivory);
	margin: 0 0 clamp(28px, 4vw, 44px);
}

/* Landing-page hero */
.bco-hero {
	border-radius: 0;
	min-height: clamp(560px, 78vh, 720px);
	display: flex;
	align-items: center;
}

.bco-hero .bco-banner__inner {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding-top: clamp(48px, 8vw, 96px);
	padding-bottom: clamp(48px, 8vw, 96px);
}

.bco-hero .bco-banner__inner > * {
	max-width: 600px;
}

.bco.bco-hero .bco-banner__title {
	font-size: clamp(44px, 7vw, 78px);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.bco-hero .bco-banner__text {
	font-size: clamp(17px, 1.6vw, 19px);
}

.bco-banner__closing {
	margin: 22px 0 0;
	font-size: 14.5px;
	color: var(--bco-ivory);
}

.bco .bco-banner__link {
	align-self: center;
	padding: 6px 4px;
	color: var(--bco-ivory);
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.bco .bco-banner__link:hover {
	color: #fff;
}

.bco-hero .bco-banner__inner > .bco-banner__points {
	max-width: none;
}

.bco-banner__points {
	list-style: none;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 40px 0 0;
	padding: 8px;
	border: 1px solid rgba(255, 251, 242, 0.22);
	border-radius: var(--bco-radius);
	background: rgba(255, 251, 242, 0.08);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.bco-banner__points li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 18px 6px 6px;
	font-size: 14px;
	font-weight: 500;
	animation: bco-rise 0.7s var(--bco-ease) both;
	animation-delay: calc(0.5s + var(--bco-i, 0) * 0.14s);
}

.bco-banner__points li + li {
	border-left: 1px solid rgba(255, 251, 242, 0.22);
	padding-left: 16px;
}

.bco-point__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bco-ivory);
	color: var(--bco-sage-deep);
}

.bco .bco-point__icon .bco-icon {
	width: 18px;
	height: 18px;
}

@keyframes bco-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}



/* ---------- Landing-page sections (core blocks with .bco / .bco-section) ---------- */

.bco-section {
	padding-top: clamp(56px, 8vw, 104px);
	padding-bottom: 0;
}

.wp-block-group.bco-zone {
	margin-block: 0 !important;
}

.wp-block-group.bco-zone + .wp-block-group.bco-zone {
	margin-top: 0 !important;
}

.bco-section.bco-zone {
	padding: clamp(64px, 8vw, 112px) clamp(16px, 4vw, 32px);
}

.bco-zone--white {
	--bco-zone-bg: #fff;
	background: #fff;
}

.bco-zone--linen {
	--bco-zone-bg: var(--bco-ivory-2);
	background: var(--bco-ivory-2);
}

.bco-zone--sage {
	--bco-zone-bg: var(--bco-sage);
	background: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco-zone--sage.bco-section h2.bco-h,
.bco-zone--sage h3 {
	color: var(--bco-ivory);
}

.bco-zone--sage.bco-section .bco-kicker,
.bco.bco-zone--sage .bco-muted,
.bco-zone--sage.bco-ideas p {
	color: var(--bco-ivory); /* full ivory keeps body text above 4.5:1 on sage */
}

.bco-section > .bco-kicker {
	margin-bottom: 8px;
	text-align: center;
}

.bco-section h2.bco-h {
	font-size: clamp(32px, 4.6vw, 48px);
	margin: 0 auto 14px;
	text-align: center;
}

.bco-section > .bco-section__intro,
.bco-section > p.bco-muted {
	max-width: 620px;
	margin: 0 auto 40px;
	text-align: center;
	font-size: 17px;
}

/* How it works */
.bco-steps-row {
	position: relative;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 8px 0 0;
	padding: 0;
}

.bco-steps-row::before {
	content: "";
	position: absolute;
	top: 44px;
	left: 16.66%;
	right: 16.66%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--bco-sage) 0 8px, transparent 8px 16px);
	opacity: 0.45;
	transform-origin: left center;
	transition: transform 1.4s var(--bco-ease) 0.3s;
}

.bco-motion .bco-steps-row:not(.is-drawn)::before {
	transform: scaleX(0);
}

.bco-step {
	position: relative;
	text-align: center;
}

.bco-step__badge {
	position: relative;
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--bco-ivory-2);
	color: var(--bco-sage);
	box-shadow: 0 0 0 8px var(--bco-zone-bg, #fff);
	transition: transform 0.45s var(--bco-ease), background-color 0.3s ease, color 0.3s ease;
}

.bco .bco-step__badge .bco-icon {
	width: 38px;
	height: 38px;
	stroke-width: 1.4;
	transition: transform 0.45s var(--bco-ease);
}

@media (hover: hover) {
	.bco-step:hover .bco-step__badge {
		transform: translateY(-4px);
		background: var(--bco-sage);
		color: var(--bco-ivory);
	}

	.bco-step:hover .bco-step__badge .bco-icon {
		transform: rotate(-8deg) scale(1.06);
	}
}

/* Closing call to action */
.bco-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(56px, 8vw, 96px) 24px;
	background: var(--bco-sage);
	color: var(--bco-ivory);
	text-align: center;
}

.bco-cta::before {
	content: "";
	position: absolute;
	inset: auto -10% -60% -10%;
	height: 120%;
	background: radial-gradient(closest-side, rgba(255, 251, 242, 0.12), transparent);
	pointer-events: none;
}

.bco-cta > * {
	position: relative;
}

.bco-cta .bco-logo {
	width: 44px;
	margin-bottom: 18px;
	color: var(--bco-ivory);
}

.bco .bco-cta__title {
	max-width: 22ch;
	margin: 0 0 12px;
	font-family: var(--bco-serif);
	font-weight: 400;
	font-size: clamp(30px, 4.4vw, 46px);
	line-height: 1.1;
	color: var(--bco-ivory);
}

.bco-cta__text {
	max-width: 56ch;
	margin: 0 0 26px;
	font-size: 16.5px;
}

.bco-step__num {
	position: absolute;
	top: -2px;
	right: -2px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 2px solid var(--bco-zone-bg, #fff);
	border-radius: 50%;
	background: var(--bco-sage-deep);
	color: var(--bco-ivory);
	font: 700 12px/1 var(--bco-sans);
}

.bco-motion .bco-step.bco-reveal .bco-step__num {
	transform: scale(0);
	transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--bco-delay, 0ms) + 0.35s);
}

.bco-motion .bco-step.bco-reveal.is-visible .bco-step__num {
	transform: none;
}

.bco .bco-step__title {
	font-size: 28px;
	margin: 0 0 8px;
}

.bco-step__text {
	margin: 0 auto;
	max-width: 30ch;
	color: var(--bco-muted);
	font-size: 15.5px;
}

/* Range cards */
.bco-range {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1280px) {
	.bco-range {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.bco-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--bco-radius-lg);
	overflow: hidden;
	box-shadow: var(--bco-shadow);
	transition: box-shadow 0.35s var(--bco-ease), transform 0.35s var(--bco-ease);
}

@media (hover: hover) {
	.bco-card:hover {
		box-shadow: var(--bco-shadow-lift);
		transform: translateY(-3px);
	}

	.bco-card:hover .bco-card__img {
		transform: scale(1.045);
	}
}

.bco-card.is-in-order::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--bco-sage);
	border-radius: inherit;
	pointer-events: none;
}

.bco .bco-btn.is-in-order {
	background: var(--bco-sage-tint);
	border-color: var(--bco-sage);
	color: var(--bco-sage-deep);
}



.bco-card.is-unavailable {
	opacity: 0.6;
}

.bco-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bco-ivory-2);
}

.bco-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--bco-ease);
}



.bco-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--bco-line-strong);
}

.bco-card__placeholder .bco-logo {
	width: 64px;
}

.bco-card__ribbon {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 12px;
	border-radius: var(--bco-radius);
	background: var(--bco-ivory);
	color: var(--bco-sage-deep);
	font: 700 10.5px/1 var(--bco-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.bco-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	flex: 1;
}

.bco .bco-card__type {
	margin: 0;
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bco-sage);
}

.bco .bco-card__title {
	font-size: 26px;
	margin: 0;
}

.bco-card__desc {
	margin: 0;
	font-size: 15px;
	color: var(--bco-muted);
}

.bco-card__options {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 4px 0 0;
	padding: 0;
}

.bco-card__options li {
	padding: 3px 10px;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius);
	font-size: 12.5px;
	color: var(--bco-sage-deep);
	background: var(--bco-ivory);
}

.bco-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--bco-line);
}

.bco-card__price {
	margin: 0;
	font-size: 14px;
	color: var(--bco-muted);
}

.bco-card__price strong {
	font-family: var(--bco-serif);
	font-weight: 500;
	font-size: 26px;
	color: var(--bco-ink);
}

.bco-card__soldout {
	margin: 0;
	font-weight: 700;
	color: var(--bco-muted);
}

/* Featured (signature) card: a large 2×2 tile on desktop, so six products fill three rows exactly */
.bco-card--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.bco-card--featured .bco-card__media {
	flex: 1;
	aspect-ratio: auto;
	min-height: 320px;
}

.bco-card--featured .bco-card__body {
	flex: none;
	padding: 26px 30px 28px;
}

.bco-card--featured .bco-card__title {
	font-size: 34px;
}

/* Serving ideas (core columns + images inside .bco-ideas) */
.bco-ideas .wp-block-column {
	text-align: center;
}

.bco-ideas figure,
.bco-ideas .wp-block-image {
	margin: 0 auto 18px;
	max-width: 240px;
}

.bco-ideas .wp-block-image {
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 6px rgba(255, 251, 242, 0.2);
}

.bco-ideas img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	transition: transform 0.8s var(--bco-ease);
}

@media (hover: hover) {
	.bco-ideas .wp-block-column:hover img {
		transform: scale(1.06);
	}
}

.bco-ideas h3 {
	font-family: var(--bco-serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.15;
	margin: 0 0 6px;
}

.bco-ideas p {
	color: var(--bco-muted);
	font-size: 15px;
	margin: 0;
}

/* Store cards */
.bco-stores-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

/* Shared collection dates: a sage banner across the width of the store cards */
.bco-collect {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	margin: 0 0 24px;
	padding: 22px 30px;
	border-radius: var(--bco-radius-lg);
	background: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco .bco-collect__label {
	margin: 0 0 4px;
	font: 700 11.5px/1.4 var(--bco-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bco-ivory);
}

.bco .bco-collect__dates {
	margin: 0;
	font: 400 clamp(24px, 3vw, 30px)/1.2 var(--bco-serif);
	color: var(--bco-ivory);
}

.bco .bco-collect__note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14.5px;
	color: var(--bco-ivory);
}

.bco .bco-collect__note .bco-icon {
	width: 18px;
	height: 18px;
}

.bco-storecard {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	box-shadow: var(--bco-shadow);
	transition: box-shadow 0.35s var(--bco-ease), transform 0.35s var(--bco-ease);
}

@media (hover: hover) {
	.bco-storecard:hover {
		box-shadow: var(--bco-shadow-lift);
		transform: translateY(-3px);
	}
}

.bco-storecard__line.is-placeholder span {
	color: var(--bco-line-strong);
	letter-spacing: 0.04em;
}

.bco .bco-storecard__name {
	font-size: 26px;
	margin: 0 0 4px;
}

.bco-storecard__line {
	display: flex;
	gap: 10px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--bco-muted);
}

.bco-storecard__line .bco-icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--bco-sage);
}

.bco-storecard__line a {
	color: inherit;
}

.bco .bco-storecard__map {
	margin-top: auto;
	padding-top: 8px;
	font-size: 13.5px;
}

/* FAQ (core details blocks inside .bco-faq) */
.bco-faq .wp-block-details {
	max-width: 760px;
	margin: 0 auto 10px;
	padding: 0 24px;
	border-radius: var(--bco-radius-lg);
	background: #fff;
	overflow: hidden;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* An open question changes colour: sage tint row, sage heading and a filled sage chevron */
.bco-faq .wp-block-details[open] {
	background: var(--bco-sage-tint);
}

.bco-faq .wp-block-details summary {
	position: relative;
	list-style: none;
	padding: 20px 52px 20px 0;
	font-family: var(--bco-serif);
	font-size: 22px;
	line-height: 1.3;
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	transition: color 0.2s ease;
}

.bco-faq .wp-block-details summary:hover,
.bco-faq .wp-block-details[open] summary {
	color: var(--bco-sage-deep);
}

/* Keyboard focus only: a soft sage ring on the whole row instead of the browser's box */
.bco-faq .wp-block-details:has(summary:focus-visible) {
	box-shadow: 0 0 0 2px var(--bco-sage);
}

.bco-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.bco-faq .wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f4632' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 20px no-repeat, var(--bco-ivory-2);
	transition: transform 0.35s var(--bco-ease), background-color 0.3s ease;
}

.bco-faq .wp-block-details[open] summary::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fffbf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 20px no-repeat, var(--bco-sage);
	transform: rotate(180deg);
}

.bco-faq .wp-block-details p {
	margin: -4px 0 22px;
	max-width: 64ch;
	color: var(--bco-muted);
}

/* ---------- Order form ---------- */

/*
 * The steps sit in a white panel on the section's off-white background; "Your order" sits beside the panel,
 * outside it (Peter, 29 Oct). Continue swaps the panel's content for the next step.
 */
.bco-form {
	position: relative;
	scroll-margin-top: 100px;
	--bco-panel-pad: clamp(18px, 2.6vw, 32px);
}

.bco-form__main,
.bco-form > .bco-done,
.bco-form > .bco-loading,
.bco-form > .bco-alert {
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	box-shadow: 0 18px 50px rgba(63, 70, 50, 0.07);
}

.bco-form__main {
	padding: var(--bco-panel-pad);
	container-type: inline-size;
}

.bco-form > .bco-done {
	max-width: none;
	padding: clamp(28px, 5vw, 56px) clamp(16px, 2.6vw, 32px);
}

.bco-form > .bco-done > * {
	max-width: 580px;
	margin-left: auto;
	margin-right: auto;
}

.bco-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 40px 0;
	color: var(--bco-muted);
}

.bco-form__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
}

/* Category bar (step 1): sticks under the site's own sticky header while the products scroll. */
.bco-catnav {
	position: sticky;
	top: var(--bco-sticky-top, 0px);
	z-index: 40;
	margin: 0 0 24px;
	padding: 14px 0;
	background: var(--bco-zone-bg, var(--bco-ivory-2));
	/* A full-width bar across the page, as in Peter's wireframe: the background runs to the screen edges between two hairlines. */
	box-shadow: 0 0 0 100vmax var(--bco-zone-bg, var(--bco-ivory-2)), 0 1px 0 100vmax var(--bco-line), 0 -1px 0 100vmax var(--bco-line);
	/* Clipped 1px outside top and bottom, so the space above and below the buttons is the same. */
	clip-path: inset(-1px -100vmax -1px -100vmax);
	transition: box-shadow 0.3s ease;
}

/* Once stuck, the bottom rule darkens to separate it from the products scrolling under it; the height doesn't change. */
.bco-catnav.is-stuck {
	box-shadow: 0 0 0 100vmax var(--bco-zone-bg, var(--bco-ivory-2)), 0 1px 0 100vmax var(--bco-line-strong), 0 -1px 0 100vmax var(--bco-zone-bg, var(--bco-ivory-2));
	clip-path: inset(0 -100vmax -1px -100vmax);
}

/* Equal columns, one per category, with even gaps (Peter's drawing). Phones scroll the row sideways. */
.bco-catnav__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(140px, 1fr);
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
}

.bco-catnav__track::-webkit-scrollbar {
	display: none;
}

/* Desktop: the row spans exactly the product panel (not over "Your order"), shared equally. */
@media (min-width: 980px) {
	.bco-catnav {
		margin-bottom: 28px; /* the same gap as between the panel and "Your order" */
	}

	.bco-catnav__track {
		grid-auto-columns: minmax(0, 1fr);
		margin-right: calc(340px + 28px);
	}
}

/* Tablets: equal buttons across the full width rather than a scrolling row. */
@media (min-width: 700px) and (max-width: 979px) {
	.bco-catnav__track {
		grid-auto-columns: minmax(0, 1fr);
	}
}

/* Tighter screens: drop the counts and a little padding so every name fits its equal button. */
@media (min-width: 700px) and (max-width: 1199px) {
	.bco .bco-catnav .bco-catnav__count {
		display: none;
	}

	.bco .bco-catnav .bco-catnav__link {
		padding: 8px 6px;
		font-size: 14px;
	}
}

.bco .bco-catnav__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	min-height: 50px;
	padding: 10px 12px;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	background: #fff;
	font: 600 14.5px/1.2 var(--bco-sans);
	color: var(--bco-ink);
	text-decoration: none;
	white-space: nowrap;
	scroll-snap-align: start;
	transition: background-color 0.25s var(--bco-ease), border-color 0.25s var(--bco-ease), color 0.25s var(--bco-ease), transform 0.15s ease;
}

.bco-catnav__count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--bco-sage-tint);
	font-size: 12px;
	font-weight: 700;
	color: var(--bco-sage-deep);
}

@media (hover: hover) {
	.bco .bco-catnav__link:hover {
		border-color: var(--bco-sage);
		color: var(--bco-sage-deep);
	}
}

.bco .bco-catnav__link.is-current {
	background: var(--bco-sage);
	border-color: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco .bco-catnav__link.is-current .bco-catnav__count {
	background: rgba(255, 251, 242, 0.22);
	color: var(--bco-ivory);
}

.bco-picks__group {
	scroll-margin-top: calc(var(--bco-sticky-top, 0px) + var(--bco-catnav-h, 0px) + 12px);
}

.bco-form__layout.is-review {
	grid-template-columns: minmax(0, 1fr);
}

.bco-panel__head {
	margin-bottom: 22px;
}

.bco-panel__head .bco-muted {
	margin-top: 4px;
}

.bco-panel__head .bco-kicker {
	margin-bottom: 6px;
}

/* Step indicator */
.bco-steps {
	list-style: none;
	display: flex;
	margin: 0 0 30px;
	padding: 0;
}

.bco-steps__item {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bco-muted);
}

.bco-steps__item:last-child {
	flex: none;
}

.bco-steps__item:not(:last-child)::after {
	content: "";
	flex: 1;
	height: 1px;
	margin: 0 12px;
	background: var(--bco-line-strong);
}

.bco-steps__item.is-done::after {
	background: var(--bco-sage);
}

.bco-steps__item button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	color: var(--bco-sage-dark);
	cursor: pointer;
}

.bco-steps__item button:hover .bco-steps__label {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bco-steps__num {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 50%;
	border: 1px solid var(--bco-line-strong);
	background: #fff;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--bco-muted);
}

.bco-steps__num .bco-icon {
	width: 15px;
	height: 15px;
	stroke-width: 2.2;
}

.bco-steps__item.is-current {
	color: var(--bco-ink);
}

.bco-steps__item.is-current .bco-steps__num {
	background: var(--bco-sage);
	border-color: var(--bco-sage);
	color: var(--bco-ivory);
	box-shadow: 0 0 0 4px rgba(105, 116, 84, 0.18);
}

.bco-steps__item.is-done .bco-steps__num {
	background: var(--bco-sage-tint);
	border-color: var(--bco-sage);
	color: var(--bco-sage-dark);
}

/* Product picker */
.bco-picks {
	display: grid;
	gap: 16px;
}

/* Two cards per row once the panel is wide enough; card heights may differ. */
@container (min-width: 640px) {
	.bco-picks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}

	/* Wireframe: price on the left, button bottom-right, on one row. The wider "In your order" control may still wrap. */
	.bco .bco-pick__buy:not(:has(.bco-inorder)) {
		flex-wrap: nowrap;
	}

	.bco .bco-pick__price {
		min-width: 0;
	}

	.bco .bco-pick__buy .bco-btn--add {
		flex: none;
	}
}

.bco-pick {
	display: flex;
	flex-direction: column;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bco-pick__head {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.bco-pick__intro {
	min-width: 0;
}

.bco-pick__intro .bco-badge--in {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
}

.bco-pick__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.bco-pick.is-highlight {
	border-color: var(--bco-sage);
	box-shadow: 0 0 0 3px rgba(105, 116, 84, 0.15);
}

.bco-pick.is-unavailable {
	opacity: 0.55;
}

.bco-pick__media {
	border-radius: var(--bco-radius);
	overflow: hidden;
	background: var(--bco-ivory-2);
	aspect-ratio: 4 / 3;
	align-self: start;
}

.bco .bco-pick__type {
	margin: 0 0 4px;
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bco-sage-dark);
}

.bco-pick__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bco-pick__ph {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--bco-line-strong);
}

.bco-pick__ph .bco-logo {
	width: 44px;
}

.bco .bco-pick__name {
	font-size: 23px;
	line-height: 1.15;
	margin: 0;
}

.bco-pick__desc {
	margin: 6px 0 0;
	max-width: 60ch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bco-muted);
}

/* Optional extras, folded away: the product note, a size preference and the butcher request. */
.bco-pick__more {
	margin-top: 14px;
	border-top: 1px dashed var(--bco-line-strong);
}

.bco-pick__more summary {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 0 0;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--bco-sage-dark);
	cursor: pointer;
}

.bco-pick__more summary::-webkit-details-marker {
	display: none;
}

/* No box around the row when it's clicked; keyboard focus rings the "+" instead. */
.bco .bco-pick__more summary:focus {
	outline: none;
}

.bco .bco-pick__more summary:focus-visible .bco-pick__more-icon {
	box-shadow: 0 0 0 3px var(--bco-sage-tint), 0 0 0 5px var(--bco-sage);
}

.bco-pick__more-icon {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	flex: none;
	border: 1px solid var(--bco-sage);
	border-radius: 50%;
	color: var(--bco-sage);
	transition: transform 0.2s var(--bco-ease), background-color 0.2s ease, color 0.2s ease;
}

.bco .bco-pick__more-icon .bco-icon {
	width: 14px;
	height: 14px;
	stroke-width: 2.2;
}

.bco-pick__more[open] .bco-pick__more-icon {
	transform: rotate(45deg);
	background: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco-pick__more-set {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: var(--bco-radius);
	background: var(--bco-sage-tint);
	font-size: 11.5px;
	font-weight: 600;
	color: var(--bco-sage-deep);
}

/* <details> puts its content in a slot that doesn't pass box-sizing down, so set it again here. */
.bco .bco-pick__more-body,
.bco .bco-pick__more-body * {
	box-sizing: border-box;
}

.bco-pick__more-body {
	padding: 4px 0 2px;
	animation: bco-in 0.25s var(--bco-ease);
}

.bco-pick__more-body > .bco-note {
	margin-top: 10px;
}

.bco-pick__more-body > .bco-pref-label {
	margin-top: 14px;
}

/* A weight the customer doesn't choose: a single size or an approximate range */
.bco-pick__weight {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--bco-ink);
}

.bco-pick__hint {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--bco-muted);
}

.bco-pick.is-in-order {
	border-color: var(--bco-sage);
}

/* "In your order": the persistent state of an ordered option, with its own quantity control */
.bco-inorder {
	display: flex;
	align-items: center;
	gap: 14px;
	animation: bco-in 0.3s var(--bco-ease);
}

.bco-inorder__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 700 11px/1.2 var(--bco-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bco-sage-deep);
}

.bco-inorder__label .bco-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.2;
	color: var(--bco-sage);
}

.bco-inorder .bco-stepper {
	border-color: var(--bco-sage);
}

@keyframes bco-in {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: none; }
}

.bco-choice {
	border: 0;
	margin: 14px 0 0;
	padding: 0;
	min-width: 0;
}

.bco-choice legend {
	padding: 0;
	margin-bottom: 8px;
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bco-muted);
}

.bco-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bco-chip {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.bco-chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.bco-chip span {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	min-height: 40px;
	padding: 9px 16px;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	background: var(--bco-ivory);
	font-size: 14px;
	font-weight: 600;
	color: var(--bco-ink);
	transition: background-color 0.25s var(--bco-ease), border-color 0.25s var(--bco-ease), color 0.25s var(--bco-ease), transform 0.15s ease;
}

.bco-chip small {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--bco-muted);
}

.bco-chip:hover span {
	border-color: var(--bco-sage);
}

.bco-chip input:checked + span {
	background: var(--bco-sage);
	border-color: var(--bco-sage);
	color: var(--bco-ivory);
	animation: bco-pop 0.3s var(--bco-ease);
}

.bco-chip:active span {
	transform: scale(0.96);
}

@keyframes bco-pop {
	0% { transform: scale(0.94); }
	60% { transform: scale(1.04); }
	100% { transform: none; }
}

.bco output.is-bump {
	animation: bco-pop 0.35s var(--bco-ease);
}

.bco-chip input:checked + span small {
	color: var(--bco-ivory);
}

.bco-chip input:focus-visible + span {
	outline: 3px solid var(--bco-sage-deep);
	outline-offset: 2px;
}

.bco-kg {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bco .bco-kg input {
	width: 110px;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	font: 500 16px var(--bco-sans);
	background: #fff;
}

.bco-pick__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--bco-line);
}

/* Keep a gap above the buy row when the card isn't stretched by its neighbour. */
.bco-pick__body > :nth-last-child(2) {
	margin-bottom: 18px;
}

.bco-pick__price {
	display: flex;
	flex-direction: column;
	margin: 0 auto 0 0;
	font-size: 13.5px;
	line-height: 1.3;
	color: var(--bco-muted);
}

.bco-pick__price strong {
	font-family: var(--bco-serif);
	font-weight: 500;
	font-size: 24px;
	color: var(--bco-ink);
}

.bco-pick__price span {
	font-size: 12.5px;
}

.bco .bco-btn--add {
	min-height: 46px;
}

.bco-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	background: #fff;
	overflow: hidden;
}

.bco-stepper button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bco-sage-dark);
	flex-shrink: 0;
	cursor: pointer;
}

.bco-stepper button:hover:not([disabled]) {
	background: var(--bco-sage-tint);
}

.bco-stepper button[disabled] {
	color: var(--bco-line-strong);
	cursor: not-allowed;
}

.bco-stepper .bco-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2;
}

.bco-stepper output {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font: 600 16px/44px var(--bco-sans);
	color: var(--bco-ink);
}

.bco-stepper--sm button,
.bco-stepper--sm output {
	width: 32px;
	height: 32px;
	line-height: 32px;
	font-size: 14px;
}

.bco-stepper--sm .bco-icon {
	width: 13px;
	height: 13px;
}

.bco .bco-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bco-muted);
}

.bco .bco-badge--in {
	padding: 4px 10px;
	border-radius: var(--bco-radius);
	background: var(--bco-sage-tint);
	color: var(--bco-sage-deep);
}

.bco .bco-badge .bco-icon {
	width: 13px;
	height: 13px;
	stroke-width: 2.2;
}

/* Order summary (sticky on desktop) */
.bco-summary {
	position: sticky;
	top: calc(var(--bco-sticky-top, 0px) + var(--bco-catnav-h, 0px) + 16px);
	max-height: calc(100vh - var(--bco-sticky-top, 0px) - var(--bco-catnav-h, 0px) - 32px);
	overflow-y: auto;
	border-radius: var(--bco-radius-lg);
}

.bco-summary__inner {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	box-shadow: var(--bco-shadow);
}

.bco-summary__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-family: var(--bco-serif);
	font-size: 24px;
	line-height: 1.2;
}

.bco-summary__title .bco-icon {
	color: var(--bco-sage);
}

.bco-summary__empty {
	margin: 0;
	padding: 18px;
	border: 1px dashed var(--bco-line-strong);
	border-radius: var(--bco-radius);
	color: var(--bco-muted);
	font-size: 14.5px;
	text-align: center;
}

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

.bco-summary__lines li {
	padding: 12px 0;
	border-top: 1px solid var(--bco-line);
}

.bco-summary__line {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bco-summary__name {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
}

.bco-summary__detail {
	font-size: 12.5px;
	color: var(--bco-muted);
}

.bco-summary__ctrl {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
}

.bco-summary__price {
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
}

.bco-summary__collect {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--bco-line);
	font-size: 14px;
	color: var(--bco-sage-deep);
}

.bco-summary__collect .bco-icon {
	width: 18px;
	height: 18px;
	color: var(--bco-sage);
}

.bco-summary__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--bco-line-strong);
	font-size: 14.5px;
}

.bco-summary__total strong {
	font-family: var(--bco-serif);
	font-weight: 500;
	font-size: 28px;
}

.bco-summary .bco-btn--block {
	margin-top: 18px;
}

/* Collection step */
.bco-stores {
	border: 0;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.bco-stores legend,
.bco-dates legend {
	padding: 0;
	margin-bottom: 12px;
}

.bco-store {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 18px 18px 56px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bco-store input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.bco-store__tick {
	position: absolute;
	left: 18px;
	top: 20px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 1.5px solid var(--bco-line-strong);
	border-radius: 50%;
	color: transparent;
}

.bco-store__tick .bco-icon {
	width: 14px;
	height: 14px;
	stroke-width: 2.4;
}

.bco-store:hover {
	border-color: var(--bco-sage);
}

.bco-store.is-checked {
	border-color: var(--bco-sage);
	box-shadow: 0 0 0 1px var(--bco-sage), var(--bco-shadow);
}

.bco-store.is-checked .bco-store__tick {
	background: var(--bco-sage);
	border-color: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco-store:has(input:focus-visible) {
	outline: 3px solid var(--bco-sage-deep);
	outline-offset: 2px;
}

.bco-store.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bco-store__name {
	font-family: var(--bco-serif);
	font-size: 22px;
	line-height: 1.2;
}

.bco-store__addr,
.bco-store__hours {
	font-size: 13.5px;
	color: var(--bco-muted);
}

.bco-store__meta {
	margin-top: 4px;
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bco-sage);
}

.bco-dates {
	border: 0;
	margin: 24px 0 8px;
	padding: 0;
}

.bco-dates__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 10px;
}

.bco-date {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 6px 10px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.bco-date input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.bco-date:hover {
	border-color: var(--bco-sage);
}

.bco-date__day,
.bco-date__month {
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bco-muted);
}

.bco-date__num {
	font-family: var(--bco-serif);
	font-size: 32px;
	line-height: 1.1;
}

.bco-date__note {
	margin-top: 2px;
	font-size: 10.5px;
	color: var(--bco-error);
}

.bco-date.is-checked {
	background: var(--bco-sage);
	border-color: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco-date.is-checked .bco-date__day,
.bco-date.is-checked .bco-date__month {
	color: var(--bco-ivory);
}

.bco-date.is-blocked {
	background: var(--bco-ivory-2);
	color: var(--bco-muted);
}

.bco-date:has(input:focus-visible) {
	outline: 3px solid var(--bco-sage-deep);
	outline-offset: 2px;
}

/* Fields */
.bco-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.bco-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
}

.bco-field small {
	font-weight: 400;
	font-size: 13px;
	color: var(--bco-muted);
}

.bco-field em {
	font-style: normal;
	font-weight: 400;
	color: var(--bco-muted);
}

.bco .bco-field input,
.bco .bco-field select,
.bco .bco-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	background: #fff;
	font: 400 16px/1.4 var(--bco-sans); /* 16px stops iOS zooming in */
	color: var(--bco-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bco .bco-field input:focus,
.bco .bco-field textarea:focus {
	border-color: var(--bco-sage);
	box-shadow: 0 0 0 3px rgba(105, 116, 84, 0.16);
	outline: none;
}

.bco .bco-field.has-error input {
	border-color: var(--bco-error);
}

.bco-error {
	color: var(--bco-error);
	font-size: 13.5px;
	margin: -10px 0 14px;
}

.bco-alert {
	background: #fbf1ee;
	border: 1px solid #ecc9c0;
	color: #7a2a1f;
	border-radius: var(--bco-radius);
	padding: 14px 16px;
	margin: 0 0 20px;
	font-size: 15px;
}

/* Review */
.bco-review-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 20px;
}

.bco-review {
	padding: 20px 22px;
	margin-bottom: 20px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
}

.bco-review__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.bco-review__head .bco-label {
	margin: 0;
}

.bco-review p {
	margin: 0 0 4px;
}

.bco-review__big {
	font-family: var(--bco-serif);
	font-size: 22px;
}

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

.bco-review__lines li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--bco-line);
	font-size: 15px;
}

.bco-review__lines small {
	display: block;
	font-size: 13px;
	color: var(--bco-muted);
}

.bco-review__lines li > span:last-child {
	white-space: nowrap;
	font-weight: 600;
}

.bco-instructions {
	margin-top: 12px !important;
	padding: 12px 14px;
	border-left: 3px solid var(--bco-sage);
	background: var(--bco-ivory);
	font-size: 14.5px;
}

.bco-instructions .bco-label {
	display: block;
	margin-bottom: 4px;
}

.bco-review__closing {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bco-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}

.bco-actions--submit {
	padding-top: 22px;
	border-top: 1px solid var(--bco-line);
}

/* Success */
.bco-done {
	max-width: 620px;
	margin: 0 auto;
	padding: clamp(16px, 4vw, 40px) 8px;
	text-align: center;
	outline: none;
}

.bco-done__mark {
	width: 56px;
	margin: 0 auto 18px;
	color: var(--bco-sage);
}

.bco-done .bco-h {
	font-size: clamp(32px, 4.4vw, 44px);
	margin-bottom: 22px;
}

.bco-done__ref {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 22px;
	padding: 16px 40px;
	border: 1px dashed var(--bco-sage);
	border-radius: var(--bco-radius-lg);
	background: #fff;
}

.bco-done__ref span {
	font: 700 10.5px/1.4 var(--bco-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bco-muted);
}

.bco-done__ref strong {
	font-family: var(--bco-serif);
	font-weight: 500;
	font-size: 44px;
	letter-spacing: 0.06em;
	line-height: 1.1;
	color: var(--bco-sage-deep);
}

/* Icon inline with the text, so a wrapped line stays centred under it. */
.bco-done__collect,
.bco-done__email {
	display: block;
}

.bco .bco-done__collect .bco-icon,
.bco .bco-done__email .bco-icon {
	display: inline-block;
	margin-right: 6px;
	vertical-align: -0.25em;
}

.bco-done__collect {
	margin: 0 0 28px;
}

.bco-done__collect .bco-icon {
	color: var(--bco-sage);
}

.bco-done__next {
	list-style: none;
	counter-reset: bco-next;
	display: grid;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	text-align: left;
}

.bco-done__next li {
	counter-increment: bco-next;
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 14px 16px 14px 58px;
	background: #fff;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius);
	font-size: 14.5px;
}

.bco-done__next li::before {
	content: counter(bco-next);
	position: absolute;
	left: 16px;
	top: 14px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bco-sage-tint);
	color: var(--bco-sage-deep);
	font-weight: 700;
	font-size: 13px;
}

.bco-done__next span {
	color: var(--bco-muted);
}

.bco-closed {
	padding: 28px;
	background: var(--bco-ivory);
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	text-align: center;
}

.bco-closed .bco-logo {
	width: 44px;
	margin: 0 auto 12px;
	color: var(--bco-sage);
}

/* "Your order" bar and sheet — phones/tablets only (the summary sidebar covers desktop) */
.bco-bar,
.bco-sheet {
	display: none;
}

@keyframes bco-sheet-up {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

@keyframes bco-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ---------- Reveal on scroll ---------- */

.bco-motion .bco-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--bco-ease), transform 0.7s var(--bco-ease);
	transition-delay: var(--bco-delay, 0ms);
}

.bco-motion .bco-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.bco-motion .bco-card.is-unavailable.bco-reveal.is-visible {
	opacity: 0.6;
}

.bco-motion .bco-card.bco-reveal.is-visible {
	transition: opacity 0.7s var(--bco-ease), transform 0.35s var(--bco-ease), box-shadow 0.35s var(--bco-ease);
	transition-delay: 0ms;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.bco-range {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bco-card--featured {
		grid-row: auto;
		flex-direction: row;
	}

	.bco-card--featured .bco-card__media {
		flex: 1.1;
	}

	.bco-card--featured .bco-card__body {
		flex: 1;
		justify-content: center;
	}

	.bco-stores-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 979px) {
	.bco-form__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.bco-summary {
		display: none;
	}

	.bco-form {
		padding-bottom: 96px;
	}

	.bco-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: var(--bco-bar-offset, 0px);
		z-index: 300; /* below WoodMart's side panels and overlays */
		transition: transform 0.25s ease, opacity 0.25s ease;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: var(--bco-sage-deep);
		color: var(--bco-ivory);
		font-size: 14.5px;
		font-weight: 600;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.14);
	}

	.bco-form.is-away .bco-bar {
		transform: translateY(120%);
		opacity: 0;
		pointer-events: none;
	}

	body:has(.wd-toolbar) .bco-form {
		--bco-bar-offset: 55px; /* bar and sheet sit above WoodMart's mobile bottom toolbar */
	}

	/* The left of the bar opens the order sheet: item count, estimated total, "View your order". */
	.bco .bco-bar__view {
		display: flex;
		align-items: center;
		gap: 12px;
		min-width: 0;
		min-height: 48px;
		padding: 0;
		border: 0;
		background: none;
		font: inherit;
		color: inherit;
		text-align: left;
		cursor: pointer;
	}

	.bco-bar__count {
		position: relative;
		display: inline-grid;
		place-items: center;
		width: 42px;
		height: 42px;
		flex: none;
		border-radius: 50%;
		background: rgba(255, 251, 242, 0.14);
	}

	.bco-bar__count > span {
		position: absolute;
		top: -3px;
		right: -5px;
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border-radius: 999px;
		background: var(--bco-ivory);
		font-size: 11.5px;
		font-weight: 700;
		line-height: 20px;
		text-align: center;
		color: var(--bco-sage-deep);
	}

	.bco-bar__text {
		display: flex;
		flex-direction: column;
		min-width: 0;
		line-height: 1.25;
	}

	.bco-bar__text strong {
		font-size: 16px;
		white-space: nowrap;
	}

	.bco-bar__text > small {
		font-size: 12.5px;
		font-weight: 500;
		white-space: nowrap;
		opacity: 0.85;
	}

	.bco-bar__text u {
		text-underline-offset: 3px;
	}

	.bco-bar__chev {
		display: inline-flex;
		transition: transform 0.2s var(--bco-ease);
	}

	.bco-bar__chev .bco-icon {
		width: 18px;
		height: 18px;
	}

	.bco-bar__view[aria-expanded="true"] .bco-bar__chev {
		transform: rotate(180deg);
	}

	.bco .bco-bar .bco-btn {
		flex: none;
		min-height: 46px;
		padding: 10px 20px;
		background: var(--bco-ivory);
		color: var(--bco-sage-deep);
		border-color: var(--bco-ivory);
	}

	/* Order sheet: slides up above the bar, which stays in place to close it or continue. */
	.bco-sheet {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 299;
		--bco-bar-h: 72px;
	}

	.bco .bco-sheet__backdrop {
		position: absolute;
		inset: 0;
		width: 100%;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: rgba(35, 37, 31, 0.45);
		animation: bco-fade 0.2s ease;
	}

	.bco-sheet__panel {
		position: absolute;
		left: 0;
		right: 0;
		bottom: calc(var(--bco-bar-h, 70px) + var(--bco-bar-offset, 0px) + env(safe-area-inset-bottom));
		max-height: min(72vh, calc(100vh - var(--bco-sticky-top, 0px) - 120px));
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 16px 18px;
		border-radius: 16px 16px 0 0;
		background: #fff;
		box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.16);
		animation: bco-sheet-up 0.28s var(--bco-ease);
	}

	.bco .bco-sheet__close {
		position: sticky;
		top: 0;
		float: right;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: 4px -6px 0 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #fff;
		color: var(--bco-ink);
		cursor: pointer;
	}

	.bco-sheet .bco-summary__inner {
		padding: 10px 0 0;
		border: 0;
		box-shadow: none;
	}

	/* The bar's own Continue button does this job here. */
	.bco-sheet .bco-btn--block {
		display: none;
	}

	/* Lock the page only (not body too, which would un-stick the category bar). */
	html.bco-sheet-open {
		overflow: hidden;
	}

	.bco-review-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
}

@media (max-width: 760px) {
	.bco-steps-row {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.bco-steps-row::before {
		top: 44px;
		bottom: 44px;
		left: 43px;
		right: auto;
		width: 2px;
		height: auto;
		background: repeating-linear-gradient(180deg, var(--bco-sage) 0 8px, transparent 8px 16px);
		transform-origin: center top;
	}

	.bco-motion .bco-steps-row:not(.is-drawn)::before {
		transform: scaleY(0);
	}

	.bco-step {
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 20px;
		align-items: center;
		text-align: left;
	}

	.bco-step__badge {
		grid-row: span 2;
		margin: 0;
	}

	.bco .bco-step__title {
		align-self: end;
		font-size: 25px;
	}

	.bco-step__text {
		align-self: start;
		margin: 0;
	}


	.bco-card--featured {
		grid-column: auto;
		flex-direction: column;
	}

	.bco-card--featured .bco-card__media {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.bco-card--featured .bco-card__body {
		padding: 22px;
	}

	.bco-hero {
		min-height: 0;
		align-items: flex-end;
	}

	.bco-banner.has-image::before {
		background: linear-gradient(180deg, rgba(63, 70, 50, 0.05) 0, rgba(63, 70, 50, 0.2) 160px, rgba(63, 70, 50, 0.92) 290px, rgb(63, 70, 50) 340px);
	}

	.bco-hero .bco-banner__img {
		object-position: 55% 30%;
		height: 340px;
		bottom: auto;
	}

	/*
	 * Banner with a photo on phones: the text column is full width, so a side gradient can't keep it
	 * readable. Show the photo as a strip across the top and the text on solid sage beneath it.
	 */
	.bco-banner.has-image:not(.bco-hero) {
		background: var(--bco-sage-deep);
	}

	.bco-banner.has-image:not(.bco-hero) .bco-banner__img {
		height: 150px;
		bottom: auto;
		object-position: center 40%;
	}

	.bco-banner.has-image:not(.bco-hero)::before {
		background: linear-gradient(180deg, rgba(63, 70, 50, 0) 0, rgba(63, 70, 50, 0) 80px, rgb(63, 70, 50) 150px);
	}

	.bco-banner.has-image:not(.bco-hero) .bco-banner__inner {
		padding-top: 140px;
	}

	.bco-hero {
		background: var(--bco-sage-deep);
	}

	.bco-hero .bco-banner__inner {
		padding-top: 250px;
	}

	.bco-stamp {
		top: 84px;
		right: 18px;
		bottom: auto;
		width: 96px;
		height: 96px;
	}

	.bco-stamp__mark {
		width: 26px;
	}

	.bco-hero .bco-banner__actions .bco-btn {
		width: 100%;
		letter-spacing: 0.1em;
	}

	.bco-steps__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.bco-steps__item.is-current .bco-steps__label {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
	}

	/* Phones: the panel loses its frame so cards use the full width; the section gutter is enough. */
	.bco-form {
		--bco-panel-pad: 0px;
	}

	.bco-form__main {
		background: none;
		border: 0;
		box-shadow: none;
	}

	.bco-panel {
		padding: 0;
	}

	.bco-pick {
		padding: 14px;
		box-shadow: 0 2px 6px rgba(63, 70, 50, 0.05);
	}

	.bco-pick__head {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 14px;
	}

	.bco .bco-pick__name {
		font-size: 21px;
	}

	.bco-pick__desc {
		font-size: 13.5px;
	}

	.bco-catnav {
		margin-bottom: 12px;
		padding: 8px 0;
	}

	.bco-catnav__track {
		grid-auto-columns: minmax(136px, 1fr);
		gap: 10px;
	}

	.bco .bco-catnav__link {
		min-height: 46px;
		padding: 8px 12px;
		font-size: 14px;
	}

	.bco-pick__buy {
		gap: 12px;
	}

	.bco .bco-btn--add,
	.bco-inorder {
		flex: 1 1 100%;
	}

	.bco-inorder {
		justify-content: space-between;
	}

	.bco-stores {
		grid-template-columns: minmax(0, 1fr);
	}

	.bco-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bco-actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.bco-actions .bco-btn {
		width: 100%;
	}

	.bco-actions > span:empty {
		display: none;
	}
}

@media (max-width: 560px) {
	.bco-range,
	.bco-stores-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bco-pick__head {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.bco-inorder {
		flex-wrap: wrap;
		gap: 10px;
	}

	.bco-banner__points {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		border-radius: var(--bco-radius-lg);
	}

	.bco-banner__points li + li {
		border-left: 0;
		border-top: 1px solid rgba(255, 251, 242, 0.18);
		padding-left: 6px;
	}
}

@media print {
	.bco-motion .bco-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bco,
	.bco *,
	.bco *::before,
	.bco *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Christmas selection grouped by category */
.bco-range__nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0 0 40px;
}

.bco .bco-range__navlink {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px 10px 10px;
	border: 1px solid var(--bco-line);
	border-radius: var(--bco-radius-lg);
	background: #fff;
	color: var(--bco-ink);
	text-decoration: none;
	box-shadow: var(--bco-shadow);
	transition: border-color 0.2s ease, box-shadow 0.25s var(--bco-ease), transform 0.25s var(--bco-ease), background 0.2s ease;
}

@media (hover: hover) {
	.bco .bco-range__navlink:hover {
		border-color: var(--bco-sage);
		box-shadow: var(--bco-shadow-lift);
		transform: translateY(-2px);
	}
}

.bco .bco-range__navlink:focus-visible {
	outline: 2px solid var(--bco-sage);
	outline-offset: 2px;
}

/* The category in view (set by motion.js). */
.bco .bco-range__navlink.is-current {
	border-color: var(--bco-sage);
	background: var(--bco-sage);
	color: var(--bco-ivory);
}

.bco-range__navimg {
	flex: 0 0 48px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--bco-ivory);
	color: var(--bco-sage);
}

.bco-range__navimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bco-range__navimg svg {
	width: 26px;
	height: auto;
}

.bco-range__navtext {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.bco .bco-range__navtext strong {
	font: 500 21px/1.1 var(--bco-serif);
}

.bco .bco-range__navtext small {
	font-size: 12px;
	color: var(--bco-muted);
	transition: color 0.2s ease;
}

.bco .bco-range__navlink.is-current small {
	color: rgba(255, 251, 242, 0.8);
}

/* Phones: one swipeable row instead of stacked tiles. */
@media (max-width: 760px) {
	.bco-range__nav {
		display: flex;
		gap: 10px;
		margin: 0 -16px 28px;
		padding: 4px 16px 10px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.bco-range__nav::-webkit-scrollbar {
		display: none;
	}

	.bco .bco-range__navlink {
		flex: 0 0 auto;
		scroll-snap-align: start;
		padding: 8px 14px 8px 8px;
	}

	.bco-range__navimg {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.bco .bco-range__navtext strong {
		font-size: 18px;
	}
}

.bco-range__group {
	scroll-margin-top: 96px;
}

.bco-range__group + .bco-range__group {
	margin-top: 48px;
}

.bco .bco-range__cat,
.bco .bco-picks__cat {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 20px;
	font: 500 28px/1.2 var(--bco-serif);
	color: var(--bco-sage-deep);
}

.bco .bco-range__cat::after,
.bco .bco-picks__cat::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--bco-line);
}

.bco .bco-picks__cat {
	margin: 28px 0 14px;
	font-size: 24px;
}

.bco .bco-panel__head + .bco-picks__group .bco-picks__cat {
	margin-top: 8px;
}

/* Focused by the category bar only so screen readers continue from there; no visible ring. */
.bco .bco-picks__cat:focus {
	outline: none;
}

/* Per-item size preference and request */
.bco-chips--pref {
	margin-top: 10px;
}

.bco .bco-pick__note {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--bco-muted);
}

.bco .bco-pick__note em {
	font-style: normal;
}

.bco .bco-pick__note input {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	background: #fff;
	font: 400 16px/1.4 var(--bco-sans);
	color: var(--bco-ink);
}

.bco .bco-pick__note input:focus {
	border-color: var(--bco-sage);
	box-shadow: 0 0 0 3px rgba(105, 116, 84, 0.16);
	outline: none;
}

.bco-summary__request,
.bco-review__request {
	font-style: italic;
	color: var(--bco-sage-dark);
}

/* Store address links to the map */
.bco .bco-storecard__line a[target="_blank"] {
	text-decoration: underline;
	text-decoration-color: var(--bco-line-strong);
	text-underline-offset: 3px;
}

/* Range card details: each size, weight or stuffing in its own box; the stuffing note as rows */
.bco .bco-card__facts {
	display: grid;
	gap: 12px;
	margin: 14px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--bco-line);
}

.bco .bco-card__facts dt {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bco-sage);
}

.bco .bco-card__facts dd {
	margin: 0;
}

.bco .bco-card__boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bco .bco-card__boxes li {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid var(--bco-line-strong);
	border-radius: var(--bco-radius);
	background: var(--bco-ivory);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--bco-ink);
}

.bco .bco-card__boxes small {
	font-size: 12px;
	font-weight: 400;
	color: var(--bco-muted);
}

.bco .bco-note {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding: 12px;
	border-radius: var(--bco-radius);
	background: var(--bco-sage-tint);
	font-size: 13px;
	line-height: 1.45;
}

.bco .bco-note__rows {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bco .bco-note__rows li {
	display: grid;
	gap: 1px;
	margin: 0;
}

.bco .bco-note__rows strong {
	color: var(--bco-sage-deep);
	font-weight: 600;
}

.bco .bco-note__rows span {
	color: var(--bco-muted);
}

.bco .bco-note__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-self: start;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	background: #fff;
	color: var(--bco-sage-dark);
	font-size: 12px;
	font-weight: 600;
}

.bco .bco-note__badge svg {
	width: 14px;
	height: 14px;
}

/* Four cards per row: keep the button on one line; it moves under the price if there isn't room. */
.bco .bco-card__foot {
	flex-wrap: wrap;
	row-gap: 10px;
}

.bco .bco-card__foot .bco-btn {
	white-space: nowrap;
}

/* A note that is only a badge (e.g. "Both stuffings are gluten free") sits on the card without the panel. */
.bco .bco-note:not(:has(.bco-note__rows)) {
	padding: 0;
	background: none;
}

.bco .bco-note:not(:has(.bco-note__rows)) .bco-note__badge {
	background: var(--bco-sage-tint);
}

/* Label for the weight-range preference, so it doesn't read as a second Size choice. */
.bco .bco-pref-label {
	margin: 12px 0 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bco-sage);
}

.bco .bco-pref-label em {
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bco-muted);
}

.bco .bco-pref-label + .bco-chips--pref {
	margin-top: 6px;
}

/* Every card ends the same way: price, then the button underneath. */
.bco .bco-card__foot {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
}

/* Size boxes (with a weight underneath) share the row evenly, so sizes always sit side by side. */
.bco .bco-card__boxes li:has(small) {
	flex: 1 1 0;
	min-width: 0;
}

/* ---------- Order section: Peter's wireframe styling (30 Oct) ----------
 * Flat, clearly outlined boxes (the product panel, each product card and "Your order") instead of soft
 * shadows, and "Your order" headed like the wireframe: an upper-case label over a rule, with its button at the foot.
 */
.bco-form__main,
.bco-form > .bco-done,
.bco-form > .bco-loading,
.bco-form > .bco-alert {
	border: 1.5px solid var(--bco-line-strong);
	box-shadow: none;
}

.bco-pick {
	border: 1.5px solid var(--bco-line-strong);
}

.bco-pick.is-in-order,
.bco-pick.is-highlight {
	border-color: var(--bco-sage);
}

.bco-summary__inner {
	border: 1.5px solid var(--bco-line-strong);
	box-shadow: none;
}

.bco .bco-summary__title {
	margin: -4px 0 16px;
	padding-bottom: 14px;
	border-bottom: 1.5px solid var(--bco-line-strong);
	font: 700 13px/1.2 var(--bco-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bco-sage-deep);
}

.bco .bco-summary__title .bco-icon {
	width: 20px;
	height: 20px;
}

/* The category headings inside the panel get the same rule-under-label treatment. */
.bco .bco-picks__cat {
	font: 700 13px/1.2 var(--bco-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bco-sage-deep);
}

/* Category headings in the panel: the label alone, no rule after it (Ayhla, 30 Oct). */
.bco .bco-picks__cat::after {
	content: none;
}

@media (max-width: 760px) {
	.bco-form__main {
		border: 0;
	}
}

/* ---------- Smoothness (30 Oct) ---------- */

/* Category buttons and their counts change colour together; a slight press on tap. */
.bco-catnav__count {
	transition: background-color 0.25s var(--bco-ease), color 0.25s var(--bco-ease);
}

.bco .bco-catnav__link:active {
	transform: scale(0.98);
}

/* "More details" slides open and closed (browsers that can animate <details>; others open instantly). */
.bco-pick__more {
	interpolate-size: allow-keywords;
}

.bco-pick__more::details-content {
	height: 0;
	overflow: hidden;
	transition: height 0.3s var(--bco-ease), content-visibility 0.3s allow-discrete;
}

.bco-pick__more[open]::details-content {
	height: auto;
}

/* The fade-in is no longer needed where the height animates. */
@supports selector(::details-content) {
	.bco-pick__more-body {
		animation: none;
	}
}

/* Cards: outline and "in your order" state ease in. */
.bco-pick {
	transition: border-color 0.3s var(--bco-ease), box-shadow 0.3s var(--bco-ease);
}

@media (hover: hover) {
	.bco-pick:hover {
		border-color: var(--bco-sage);
	}
}

/* ---------- Wireframe columns (desktop, 30 Oct) ----------
 * Peter's drawing: the category bar across the top; under it the white product column ("WBG") runs straight
 * down to the end of the section between two rules, with the off-white page showing on either side; "Your order"
 * sits in its own column on the right, a little below the bar.
 */
@media (min-width: 980px) {
	/* Off-white space under the column before the next section, so it ends cleanly instead of being cut off. */
	.bco-section.bco-zone.bco-order-zone {
		padding-bottom: clamp(48px, 6vw, 80px);
	}

	.bco-order-zone .bco-catnav {
		margin-bottom: 0;
	}

	.bco-order-zone .bco-form__layout {
		align-items: stretch;
	}

	.bco-order-zone .bco-form__main {
		min-height: 70vh;
		padding-top: 32px;
		padding-bottom: 40px;
		border-top: 0;
		border-radius: 0 0 var(--bco-radius-lg) var(--bco-radius-lg); /* joined to the bar at the top, closed at the bottom */
	}

	.bco-order-zone .bco-summary {
		align-self: start;
		margin-top: 24px;
	}

	/* The confirmation and error boxes keep their own frame. */

}

/* ---------- Category bar colours (30 Oct): a deep sage band with ivory buttons ---------- */
.bco-catnav,
.bco-catnav.is-stuck {
	background: var(--bco-sage-deep);
	box-shadow: 0 0 0 100vmax var(--bco-sage-deep);
}

.bco .bco-catnav .bco-catnav__link {
	background: transparent;
	border-color: rgba(255, 251, 242, 0.45);
	color: var(--bco-ivory);
}

.bco .bco-catnav .bco-catnav__count {
	background: rgba(255, 251, 242, 0.16);
	color: var(--bco-ivory);
}

@media (hover: hover) {
	.bco .bco-catnav .bco-catnav__link:hover {
		background: rgba(255, 251, 242, 0.1);
		border-color: var(--bco-ivory);
		color: var(--bco-ivory);
	}
}

.bco .bco-catnav .bco-catnav__link.is-current {
	background: var(--bco-ivory);
	border-color: var(--bco-ivory);
	color: var(--bco-sage-deep);
}

.bco .bco-catnav .bco-catnav__link.is-current .bco-catnav__count {
	background: var(--bco-sage-tint);
	color: var(--bco-sage-deep);
}

.bco .bco-catnav .bco-catnav__link:focus-visible {
	outline: 3px solid var(--bco-ivory);
	outline-offset: 2px;
}

/* The one-line step indicator is for phones only. */
.bco-steps-mobile {
	display: none;
}

/* ---------- Compact phone view (30 Oct) ----------
 * Smaller, content-sized category buttons in a row that fades at the edge with more to scroll to; a plain
 * "Step 1 of 4 · Products" line instead of four circles; tighter cards and choices. Tap targets stay 40px+.
 */
@media (max-width: 760px) {
	/* Category bar */
	.bco-catnav {
		padding: 8px 0;
		margin-bottom: 14px;
	}

	.bco-catnav__track {
		display: flex;
		gap: 6px;
	}

	.bco .bco-catnav .bco-catnav__link {
		flex: none;
		min-width: 0;
		min-height: 40px;
		padding: 6px 14px;
		border-radius: 999px;
		font-size: 13.5px;
	}

	.bco .bco-catnav .bco-catnav__count {
		display: none;
	}

	.bco-catnav__track.has-more-right {
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
	}

	.bco-catnav__track.has-more-left {
		-webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent);
		mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent);
	}

	.bco-catnav__track.has-more-left.has-more-right {
		-webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
		mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
	}

	/* Steps: the circles stay for screen readers; sighted visitors get one plain line. */
	.bco-steps {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.bco-steps-mobile {
		display: block;
		margin: 0 0 14px;
	}

	.bco-steps-mobile p {
		display: flex;
		justify-content: space-between;
		margin: 0 0 6px;
		font-size: 14px;
		font-weight: 600;
		color: var(--bco-ink);
	}

	.bco-steps-mobile p span {
		font: 700 11px/1.6 var(--bco-sans);
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: var(--bco-sage-dark);
	}

	.bco-steps-mobile__bar {
		display: block;
		height: 4px;
		border-radius: 4px;
		background: var(--bco-line);
		overflow: hidden;
	}

	.bco-steps-mobile__bar span {
		display: block;
		height: 100%;
		background: var(--bco-sage);
		transition: width 0.3s var(--bco-ease);
	}

	/* Panel heading */
	.bco .bco-panel__head {
		margin-bottom: 14px;
	}

	.bco .bco-panel__head .bco-h {
		font-size: 26px;
	}

	.bco .bco-panel__head .bco-muted {
		font-size: 13.5px;
		line-height: 1.5;
	}

	.bco .bco-picks__cat {
		margin: 22px 0 10px;
	}

	.bco-picks {
		gap: 12px;
	}

	/* Cards */
	.bco-pick {
		padding: 12px;
	}

	.bco-pick__head {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 12px;
	}

	.bco .bco-pick__type {
		margin-bottom: 2px;
		font-size: 9.5px;
	}

	.bco .bco-pick__name {
		font-size: 19px;
	}

	.bco-pick__desc {
		margin-top: 4px;
		font-size: 13px;
		line-height: 1.4;
	}

	.bco-choice {
		margin-top: 10px;
	}

	.bco-choice legend {
		margin-bottom: 6px;
		font-size: 9.5px;
	}

	.bco-chips {
		gap: 6px;
	}

	.bco-chip span {
		min-height: 40px;
		padding: 8px 12px;
		font-size: 13.5px;
	}

	.bco-pick__weight {
		font-size: 14px;
	}

	.bco-pick__more {
		margin-top: 10px;
	}

	.bco-pick__more summary {
		min-height: 40px;
		font-size: 13.5px;
	}

	.bco-pick__body > :nth-last-child(2) {
		margin-bottom: 12px;
	}

	.bco-pick__buy {
		gap: 10px;
		padding-top: 12px;
	}

	.bco .bco-pick__price strong {
		font-size: 21px;
	}

	.bco .bco-btn--add {
		min-height: 44px;
	}
}

/* Phones, Products step: "Step 1 of 4 · Products" already says it, so the heading and intro are dropped. */
@media (max-width: 760px) {
	.bco-form.is-products .bco-panel__head {
		display: none;
	}

	.bco-form.is-products .bco-picks__group:first-child .bco-picks__cat,
	.bco-form.is-products .bco-panel > .bco-picks__group:first-of-type .bco-picks__cat {
		margin-top: 4px;
	}
}

/* Phones: choice buttons stay comfortable to tap (at least 40px tall). */
@media (max-width: 760px) {
	.bco .bco-chips .bco-chip span {
		box-sizing: border-box;
		min-height: 40px;
		align-items: center;
	}
}

/* Phones: the step line already names the step ("Step 3 of 4 · Your details"), so the panel heading is hidden
   visually (kept for screen readers and as the focus target when a step opens). The one-line explanation stays. */
@media (max-width: 760px) {
	.bco .bco-panel__head .bco-h {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.bco .bco-panel__head .bco-muted {
		margin-top: 0;
	}
}

/* Phones: a slimmer category bar, so all five categories fit across most phones. */
@media (max-width: 760px) {
	.bco-catnav {
		padding: 6px 0;
	}

	.bco-catnav__track {
		gap: 4px;
	}

	.bco .bco-catnav .bco-catnav__link {
		min-height: 34px;
		padding: 4px 8px;
		font-size: 13px;
	}
}

@media (max-width: 370px) {
	.bco .bco-catnav .bco-catnav__link {
		padding: 4px 7px;
		font-size: 12.5px;
	}
}

/* Phones: the pills share the whole row (spare width spread evenly), with even gaps; on a screen too
   narrow for all five they keep their natural size and the row scrolls. */
@media (max-width: 760px) {
	.bco-catnav__track {
		gap: 6px;
	}

	/* Small own padding; the even stretch supplies the rest, so all five fit from 360px up. */
	.bco .bco-catnav .bco-catnav__link {
		flex: 1 0 auto;
		padding: 4px 6px;
	}
}

@media (max-width: 370px) {
	.bco .bco-catnav .bco-catnav__link {
		padding: 4px 6px;
	}
}
