/* ==========================================================================
   Composters Online — modern layer
   Loaded after style.css, menu.css, live-search.css and cart-checkout.css.

   Sizing and rhythm follow AO.com (compact header, 44–52px controls,
   12px radii), with Huel-style drawer/cards and Amazon-style CTAs.
   Brand colours are the existing ones — only their roles are tidied.

   1  Tokens + base
   2  Promo, header, search, USP strip
   3  Menu drawer
   4  Buttons, pills, links, notes
   5  Product grid + cards
   6  Archive head, toolbar, chips, sheets (sort / filter)
   7  Product page
   8  Sticky add-to-basket
   9  WooCommerce odds and ends, footer
   10 Utilities + motion
   ========================================================================== */

/* 1  Tokens + base ======================================================== */

:root {
	/* Composters Online palette (sampled from the logo) */
	--wbo-navy: #1f3a26;        /* ink: deep compost green — headings, icons */
	--wbo-indigo: #30603c;      /* wordmark green — links */
	--wbo-teal: #5c9b46;        /* leaf green (AA for icons) — active states */
	--wbo-teal-soft: #edf5e7;   /* leaf tint */
	--wbo-mint: #85bb67;        /* logo leaf green — brand rule */
	--wbo-green: #00893e;       /* primary CTA: Add to basket */
	--wbo-green-dark: #006f32;
	--wbo-orange: #e65f0c;      /* secondary CTA: Buy now */
	--wbo-orange-dark: #cc5208;
	--wbo-pink: #eb5767;        /* counts, sale */
	--wbo-sale: #c22a3c;        /* sale text (AA on white) */
	--wbo-star: #ffb24e;

	--wbo-text: #33354a;
	--wbo-muted: #5f6377;
	--wbo-line: #e3e7e6;
	--wbo-line-strong: #cfd5d3;
	--wbo-surface: #f4f6f5;
	--wbo-white: #fff;

	--wbo-font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wbo-r: 12px;
	--wbo-r-sm: 8px;
	--wbo-r-lg: 18px;
	--wbo-max: 1440px;          /* one container width for the whole site (AO-style) */
	--wbo-gutter: clamp(16px, 3.2vw, 32px);
	--wbo-shadow: 0 1px 2px rgba(31, 58, 38, .06), 0 6px 20px rgba(31, 58, 38, .06);
	--wbo-shadow-lg: 0 20px 50px rgba(31, 58, 38, .18);
	--wbo-ease: cubic-bezier(.2, .7, .2, 1);
}

body.wbo-ui {
	font-family: var(--wbo-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--wbo-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.wbo-ui button,
body.wbo-ui input,
body.wbo-ui select,
body.wbo-ui textarea {
	font-family: var(--wbo-font);
}

body.wbo-ui h1,
body.wbo-ui h2,
body.wbo-ui h3,
body.wbo-ui h4,
body.wbo-ui h5,
body.wbo-ui h6 {
	font-family: var(--wbo-font);
	letter-spacing: -.01em;
	line-height: 1.2;
}

/* Heading colour is a zero-specificity default, so blocks/boxes that set
   their own text colour (e.g. white text on a dark image box) always win. */
:where(body.wbo-ui) :where(h1, h2, h3, h4, h5, h6) {
	color: var(--wbo-navy);
}

/* Zero specificity: a default only, so footer, buttons and plugin styles win */
:where(body.wbo-ui) :where(a) {
	color: var(--wbo-indigo);
	text-underline-offset: 2px;
}

body.wbo-ui :focus-visible {
	outline: 2px solid var(--wbo-teal);
	outline-offset: 2px;
}

html.wbo-lock,
html.wbo-lock body {
	overflow: hidden;
}

/* 2  Promo, header, search, USP strip ===================================== */

.wbo-promo {
	display: block;
	padding: 7px var(--wbo-gutter);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	color: #fff !important;
	text-decoration: none;
	background: var(--wbo-navy);
}

.wbo-promo:hover {
	text-decoration: underline;
}

/* No z-index here: it would create a stacking context and trap the live
   search below its page-dim overlay (live-search.css lifts only .wbo-search). */
header#masthead.wbo-head {
	position: relative;
	z-index: auto;
	float: none;
	width: 100%;
	padding: 0;
	background: #fff;
	border-bottom: 4px solid var(--wbo-mint);
}

.wbo-head__inner {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	grid-template-areas:
		"logo menu . actions"
		"search search search search";
	align-items: center;
	gap: 6px 2px;
	max-width: var(--wbo-max);
	margin: 0 auto;
	padding: 8px var(--wbo-gutter) 12px;
}

.wbo-head__logo {
	grid-area: logo;
	display: block;
	line-height: 0;
}

.wbo-head__logo img {
	display: block;
	width: auto;
	height: clamp(34px, 10.5vw, 46px);
	max-width: none;
}

.wbo-head__menu {
	grid-area: menu;
	margin-left: 6px;
}

.wbo-head__search {
	grid-area: search;
	min-width: 0;
	margin: 0;
}

.wbo-head__actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	gap: 2px;
}

.wbo-head__btn {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 52px;
	min-height: 52px;
	margin: 0;
	padding: 2px 6px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.1;
	color: var(--wbo-navy) !important;
	text-decoration: none !important;
	background: transparent;
	border: 0;
	border-radius: var(--wbo-r-sm);
	cursor: pointer;
}

.wbo-head__btn:hover {
	background: var(--wbo-surface);
}

.wbo-head__btn .wbo-i {
	width: 28px;
	height: 28px;
}

.wbo-head__icon {
	position: relative;
	display: inline-flex;
}

.wbo-head__count {
	position: absolute;
	top: -6px;
	right: -9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--wbo-pink);
	border: 2px solid #fff;
	border-radius: 999px;
	box-sizing: content-box;
}

.wbo-head__count.is-empty {
	display: none;
}

/* Search: AO-style field with attached green button */
.wbo-head .wbo-search {
	max-width: none;
	font-family: inherit;
}

.wbo-head .wbo-search__form {
	padding: 0;
	background: #fff;
	border: 1.5px solid var(--wbo-line-strong);
	border-radius: var(--wbo-r);
	overflow: visible;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.wbo-head .wbo-search__form:focus-within {
	border-color: var(--wbo-teal);
	box-shadow: 0 0 0 3px rgba(92, 155, 70, .25);
}

.wbo-head .wbo-search .wbo-search__input,
.wbo-head .wbo-search input#searchbox {
	height: 46px;
	padding-left: 16px;
	font-size: 16px;
	line-height: 46px;
	border-radius: var(--wbo-r) 0 0 var(--wbo-r);
}

.wbo-head .wbo-search__submit {
	height: 46px;
	margin: -1.5px -1.5px -1.5px 0;
	padding: 0 22px;
	border-radius: 0 var(--wbo-r) var(--wbo-r) 0;
}

.wbo-head .wbo-search__submit span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wbo-head .wbo-search__submit svg {
	width: 22px;
	height: 22px;
}

/* USP strip: one at a time on small screens, all on desktop */
.wbo-usps {
	color: var(--wbo-navy);
	background: var(--wbo-surface);
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-usps__list {
	position: relative;
	display: grid;
	max-width: var(--wbo-max);
	min-height: 44px;
	margin: 0 auto !important;
	padding: 0 var(--wbo-gutter) !important;
	list-style: none;
}

.wbo-usps__item {
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	list-style: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .35s ease, transform .35s ease;
}

.wbo-usps__item::before {
	display: none !important;
}

.wbo-usps__item.is-active {
	opacity: 1;
	transform: none;
}

.wbo-usps__item .wbo-i {
	flex: 0 0 auto;
	color: var(--wbo-teal);
}

@media (min-width: 1000px) {
	header#masthead.wbo-head {
		border-bottom: 1px solid var(--wbo-line);
	}

	.wbo-head__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "logo search actions";
		gap: 0 clamp(20px, 3vw, 48px);
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.wbo-head__logo img {
		height: 52px;
	}

	.wbo-head__menu {
		display: none;
	}

	.wbo-head__search .wbo-search {
		max-width: 720px;
		margin: 0 auto;
	}

	.wbo-head__actions {
		gap: 8px;
	}

	.grid.navgridd {
		border-bottom: 3px solid var(--wbo-mint) !important;
	}

	.wbo-usps__list {
		grid-template-columns: repeat(4, auto);
		justify-content: space-between;
		min-height: 42px;
	}

	.wbo-usps__item {
		grid-area: auto;
		opacity: 1;
		transform: none;
		font-size: 14px;
	}
}

/* 3  Menu drawer (Huel-style) ============================================= */

.wbo-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.wbo-drawer[hidden] {
	display: none;
}

.wbo-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(17, 32, 21, .45);
	opacity: 0;
	transition: opacity .25s ease;
}

.wbo-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: min(100%, 520px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--wbo-surface);
	transform: translateX(-100%);
	transition: transform .28s var(--wbo-ease);
	-webkit-overflow-scrolling: touch;
}

.wbo-drawer.is-open .wbo-drawer__scrim {
	opacity: 1;
}

.wbo-drawer.is-open .wbo-drawer__panel {
	transform: none;
}

.wbo-drawer__top {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	padding: 6px 8px 6px 16px;
	background: #fff;
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-drawer__logo img {
	display: block;
	width: auto;
	height: 34px;
}

.wbo-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	color: var(--wbo-navy);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.wbo-drawer__close:hover {
	background: var(--wbo-surface);
}

.wbo-drawer__body {
	padding: 22px 16px 24px;
	background: #fff;
}

.wbo-drawer__label {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	color: var(--wbo-navy);
}

.wbo-seg {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 8px;
	margin: 0 0 16px;
}

.wbo-seg__btn {
	min-height: 46px;
	padding: 0 10px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: var(--wbo-navy);
	background: var(--wbo-surface);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.wbo-seg__btn[aria-selected="true"] {
	color: #fff;
	background: var(--wbo-navy);
}

.wbo-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.wbo-tiles--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.wbo-tiles[hidden] {
	display: none;
}

.wbo-tile {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--wbo-teal-soft);
	border-radius: var(--wbo-r);
	isolation: isolate;
}

.wbo-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--wbo-ease);
}

.wbo-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(17, 32, 21, .55) 0%, rgba(17, 32, 21, 0) 46%);
}

.wbo-tile__title {
	position: absolute;
	top: 12px;
	right: 12px;
	left: 14px;
	z-index: 2;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.wbo-tile__go {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--wbo-navy);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.wbo-tiles--3 .wbo-tile__title {
	top: 8px;
	right: 8px;
	left: 10px;
	font-size: 14px;
}

.wbo-tiles--3 .wbo-tile__go {
	bottom: 8px;
	left: 8px;
	width: 32px;
	height: 32px;
}

.wbo-tiles--3 .wbo-tile__go .wbo-i {
	width: 16px;
	height: 16px;
}

.wbo-tile--noimg {
	color: var(--wbo-navy) !important;
}

.wbo-tile--noimg::after {
	display: none;
}

.wbo-tile--noimg .wbo-tile__title {
	text-shadow: none;
}

.wbo-tile:hover img {
	transform: scale(1.04);
}

.wbo-drawer__all {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin: 18px 0 0;
	font-size: 18px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--wbo-navy);
	border-radius: 999px;
}

.wbo-drawer__all:hover {
	background: #162b1c;
}

.wbo-drawer__lower {
	display: grid;
	gap: 10px;
	padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
}

.wbo-card-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 10px 18px 10px 22px;
	font-size: 18px;
	font-weight: 600;
	color: var(--wbo-navy) !important;
	text-decoration: none !important;
	background: #fff;
	border-radius: var(--wbo-r-lg);
}

.wbo-card-link > span {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.wbo-card-link small {
	font-size: 13px;
	font-weight: 500;
	color: var(--wbo-muted);
}

.wbo-card-link--soft {
	font-size: 16px;
	background: transparent;
	border: 1px solid var(--wbo-line-strong);
}

.wbo-card-link:hover {
	box-shadow: var(--wbo-shadow);
}

/* WP Responsive Menu (plugin) is replaced by the drawer */
#wprmenu_bar,
#mg-wprm-wrap,
.wprm-overlay,
html body div.wprm-wrapper {
	display: none !important;
}

html body.wbo-ui {
	padding-top: 0 !important;
}

/* 4  Buttons, pills, links, notes ========================================= */

.wbo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	font-family: var(--wbo-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	border: 1.5px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.wbo-btn--add,
.wbo-btn--primary {
	color: #fff !important;
	background: var(--wbo-green) !important;
	border-color: var(--wbo-green) !important;
}

.wbo-btn--add:hover,
.wbo-btn--primary:hover {
	background: var(--wbo-green-dark) !important;
	border-color: var(--wbo-green-dark) !important;
}

.wbo-btn--buy {
	color: #1d1b3d !important;
	background: var(--wbo-orange) !important;
	border-color: var(--wbo-orange) !important;
}

.wbo-btn--buy:hover {
	background: var(--wbo-orange-dark) !important;
	border-color: var(--wbo-orange-dark) !important;
}

.wbo-btn--ghost {
	color: var(--wbo-navy) !important;
	background: #fff !important;
	border-color: var(--wbo-line-strong) !important;
}

.wbo-btn--ghost:hover {
	border-color: var(--wbo-navy) !important;
}

.wbo-btn[disabled] {
	opacity: .55;
	cursor: not-allowed;
}

.wbo-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--wbo-indigo) !important;
	text-decoration: underline;
}

.wbo-pill {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	min-height: 52px;
	padding: 6px 14px;
	font-family: var(--wbo-font);
	line-height: 1.15;
	color: var(--wbo-navy) !important;
	text-decoration: none !important;
	background: #fff;
	border: 1.5px solid var(--wbo-line-strong);
	border-radius: var(--wbo-r);
	cursor: pointer;
	transition: border-color .12s ease, box-shadow .12s ease;
}

.wbo-pill:hover {
	border-color: var(--wbo-navy);
}

.wbo-pill.is-current {
	background: var(--wbo-teal-soft);
	border-color: var(--wbo-navy);
	box-shadow: inset 0 0 0 1px var(--wbo-navy);
}

.wbo-pill.is-oos {
	color: var(--wbo-muted) !important;
	background: repeating-linear-gradient(135deg, #fff 0 6px, var(--wbo-surface) 6px 7px);
}

.wbo-pill__main {
	font-size: 16px;
	font-weight: 700;
}

.wbo-pill__sub {
	font-size: 13px;
	font-weight: 500;
	color: var(--wbo-muted);
}

.wbo-pill__sub .woocommerce-Price-amount {
	font-weight: 500;
}

.wbo-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 12px;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--wbo-navy);
	background: var(--wbo-teal-soft);
	border: 0;
	border-radius: var(--wbo-r);
}

.wbo-note > .wbo-i {
	flex: 0 0 auto;
	color: var(--wbo-teal);
}

.wbo-note > span {
	flex: 1 1 220px;
}

.wbo-note--soft {
	background: var(--wbo-surface);
}

.wbo-note .wbo-btn {
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}

/* 5  Product grid + cards ================================================= */

/* Columns: 2 on phones, 3 from 700px, 4 from 1100px. One selector for every
   breakpoint so the desktop column counts always win. */
body.wbo-ui ul.products {
	--wbo-cols: 2;
	display: grid !important;
	grid-template-columns: repeat(var(--wbo-cols), minmax(0, 1fr)) !important;
	gap: 12px;
	margin: 0 0 32px !important;
	padding: 0 !important;
	list-style: none;
}

body.wbo-ui ul.products::before,
body.wbo-ui ul.products::after {
	display: none !important;
}

@media (min-width: 700px) {
	body.wbo-ui ul.products {
		--wbo-cols: 3;
		gap: 16px;
	}
}

@media (min-width: 1100px) {
	body.wbo-ui ul.products {
		--wbo-cols: 4;
		gap: 20px;
	}
}

body.wbo-ui ul.products li.product {
	position: relative;
	display: flex !important;
	flex-direction: column;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 14px !important;
	text-align: left !important;
	background: #fff;
	border: 1px solid var(--wbo-line) !important;
	border-radius: var(--wbo-r) !important;
	box-shadow: none !important;
	overflow: hidden;
	transition: box-shadow .18s ease, border-color .18s ease;
}

body.wbo-ui ul.products li.product:hover {
	border-color: var(--wbo-line-strong) !important;
	box-shadow: var(--wbo-shadow) !important;
}

body.wbo-ui ul.products li.product::before {
	display: none !important;
}

body.wbo-ui ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

body.wbo-ui ul.products li.product a img,
body.wbo-ui ul.products li.product .wbo-flip img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
	box-shadow: none !important;
}

body.wbo-ui ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: 0 !important;
	margin: 12px 0 6px !important;
	padding: 0 14px !important;
	overflow: hidden;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: var(--wbo-navy) !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

body.wbo-ui ul.products li.product .star-rating {
	margin: 0 14px 6px !important;
	font-size: 13px;
}

body.wbo-ui ul.products li.product .price {
	display: block;
	margin: 2px 14px 0 !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.2;
	color: var(--wbo-navy) !important;
	letter-spacing: -.01em;
}

body.wbo-ui ul.products li.product .price del {
	display: inline-block;
	margin-right: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--wbo-muted);
	opacity: 1;
}

body.wbo-ui ul.products li.product .price ins {
	color: var(--wbo-sale);
	text-decoration: none;
}

body.wbo-ui ul.products li.product .price small.woocommerce-price-suffix {
	font-size: 12px;
	font-weight: 500;
	color: var(--wbo-muted);
}

.wbo-card-ppl {
	display: block;
	margin: 2px 14px 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--wbo-teal);
	color: #3f7a30;
}

body.wbo-ui ul.products li.product p.delbynew,
body.wbo-ui ul.products li.product .dimensionstw {
	margin: 6px 14px 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.4;
	color: var(--wbo-muted) !important;
	text-align: left !important;
	background: none !important;
}

body.wbo-ui ul.products li.product .dimensionstw p {
	margin: 0;
	font-size: 12px !important;
}

body.wbo-ui ul.products li.product p.delbynew b {
	color: var(--wbo-green);
}

body.wbo-ui ul.products li.product .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: 44px;
	margin: 12px 14px 0 !important;
	padding: 0 14px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	color: #fff !important;
	background: var(--wbo-green) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
}

body.wbo-ui ul.products li.product .button:hover {
	background: var(--wbo-green-dark) !important;
}

body.wbo-ui ul.products li.product .added_to_cart {
	display: block;
	margin: 8px 14px 0;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

body.wbo-ui .custom-savings-badge {
	top: 10px !important;
	right: auto !important;
	left: 10px !important;
	padding: 4px 9px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	background: var(--wbo-sale) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
}

@media (max-width: 480px) {
	body.wbo-ui ul.products li.product .woocommerce-loop-product__title,
	body.wbo-ui ul.products li.product .price,
	body.wbo-ui ul.products li.product .star-rating,
	.wbo-card-ppl,
	body.wbo-ui ul.products li.product p.delbynew,
	body.wbo-ui ul.products li.product .dimensionstw {
		padding-right: 10px !important;
		padding-left: 10px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.wbo-ui ul.products li.product .star-rating {
		margin-left: 10px !important;
	}

	body.wbo-ui ul.products li.product .price {
		font-size: 18px !important;
	}

	body.wbo-ui ul.products li.product .dimensionstw {
		display: none;
	}

	body.wbo-ui ul.products li.product .button {
		margin: 10px 10px 0 !important;
		font-size: 14px !important;
	}
}

/* Pagination */
body.wbo-ui nav.woocommerce-pagination ul {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	border: 0 !important;
}

body.wbo-ui nav.woocommerce-pagination ul li {
	border: 0 !important;
}

body.wbo-ui nav.woocommerce-pagination ul li a,
body.wbo-ui nav.woocommerce-pagination ul li span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px !important;
	font-size: 15px;
	font-weight: 600;
	color: var(--wbo-navy) !important;
	background: #fff !important;
	border: 1px solid var(--wbo-line-strong) !important;
	border-radius: 999px;
}

body.wbo-ui nav.woocommerce-pagination ul li span.current {
	color: #fff !important;
	background: var(--wbo-navy) !important;
	border-color: var(--wbo-navy) !important;
}

/* 6  Archive head, toolbar, chips, sheets ================================= */

.wbo-archive {
	max-width: var(--wbo-max);
	margin: 0 auto;
	padding: 0 var(--wbo-gutter) 40px;
}

.wbo-archive__head {
	margin: 0 0 12px;
	text-align: left;
}

body.wbo-ui .wbo-archive__head h1 {
	margin: 18px 0 8px !important;
	font-size: clamp(26px, 4.5vw, 36px) !important;
	font-weight: 800;
	text-align: left !important;
}

.wbo-archive__head .term-description {
	max-width: 75ch;
	font-size: 15px;
	color: var(--wbo-text);
}

.wbo-toolbar {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	margin: 8px calc(-1 * var(--wbo-gutter)) 0;
	padding: 10px var(--wbo-gutter);
	background: #fff;
	transition: box-shadow .15s ease;
}

.wbo-toolbar.is-stuck {
	box-shadow: 0 6px 16px rgba(31, 58, 38, .1);
}

.wbo-toolbar__sentinel {
	height: 1px;
	margin-bottom: -1px;
}

.wbo-toolbar__bar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wbo-toolbar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 14px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--wbo-navy);
	background: #fff;
	border: 1.5px solid var(--wbo-line-strong);
	border-radius: 999px;
	cursor: pointer;
}

.wbo-toolbar__btn:hover {
	border-color: var(--wbo-navy);
}

.wbo-toolbar__btn small {
	display: none;
	font-size: 14px;
	font-weight: 500;
	color: var(--wbo-muted);
}

.wbo-toolbar__btn--filter {
	color: #fff;
	background: var(--wbo-navy);
	border-color: var(--wbo-navy);
}

.wbo-toolbar__btn--filter:hover {
	border-color: var(--wbo-navy);
	background: #162b1c;
}

.wbo-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--wbo-navy);
	background: #fff;
	border-radius: 999px;
}

.wbo-toolbar__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 6px 0 16px;
}

body.wbo-ui .wbo-toolbar__count {
	float: none !important;
	margin: 0 !important;
	font-size: 14px;
	font-weight: 600;
	color: var(--wbo-muted);
}

.wbo-chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	max-width: 100%;
	margin: 0 !important;
	padding: 2px 0 !important;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.wbo-chips::-webkit-scrollbar {
	display: none;
}

.wbo-chips li {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wbo-chips li::before {
	display: none !important;
}

.wbo-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 0 10px 0 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wbo-navy) !important;
	text-decoration: none !important;
	background: var(--wbo-teal-soft);
	border-radius: 999px;
}

.wbo-chip:hover {
	background: #dcecd2;
}

.wbo-chip--clear {
	padding: 0 12px;
	text-decoration: underline !important;
	background: transparent;
}

@media (min-width: 1000px) {
	.wbo-toolbar {
		position: static;
		margin: 8px 0 0;
		padding: 0;
		box-shadow: none !important;
	}

	.wbo-toolbar__bar {
		display: flex;
		justify-content: flex-end;
		gap: 10px;
	}

	.wbo-toolbar__btn small {
		display: inline;
	}

	.wbo-toolbar__meta {
		margin-top: -38px;
		padding-right: 360px;
		min-height: 38px;
	}
}

/* Sheets: bottom sheet on mobile, side panel on desktop */
.wbo-sheet {
	position: fixed;
	inset: 0;
	z-index: 100001;
}

.wbo-sheet[hidden] {
	display: none;
}

.wbo-sheet__scrim {
	position: absolute;
	inset: 0;
	background: rgba(17, 32, 21, .45);
	opacity: 0;
	transition: opacity .25s ease;
}

.wbo-sheet__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	max-height: 88vh;
	max-height: 88dvh;
	margin: 0;
	background: #fff;
	border-radius: 20px 20px 0 0;
	box-shadow: var(--wbo-shadow-lg);
	transform: translateY(100%);
	transition: transform .3s var(--wbo-ease);
}

.wbo-sheet__panel--short {
	max-height: 70vh;
}

.wbo-sheet.is-open .wbo-sheet__scrim {
	opacity: 1;
}

.wbo-sheet.is-open .wbo-sheet__panel {
	transform: none;
}

.wbo-sheet__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 18px 10px 12px 20px;
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-sheet__head::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 50%;
	width: 40px;
	height: 4px;
	background: var(--wbo-line-strong);
	border-radius: 4px;
	transform: translateX(-50%);
}

body.wbo-ui .wbo-sheet__head h2 {
	flex: 1 1 auto;
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 800;
}

.wbo-sheet__clear {
	min-height: 40px;
	padding: 0 12px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--wbo-indigo);
	text-decoration: underline;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.wbo-sheet__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--wbo-navy);
	background: var(--wbo-surface);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.wbo-sheet__body {
	flex: 1 1 auto;
	padding: 4px 20px 12px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.wbo-sheet__empty {
	padding: 20px 0;
	color: var(--wbo-muted);
}

.wbo-sheet__foot {
	padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--wbo-line);
}

.wbo-sheet__apply {
	width: 100%;
	min-height: 52px;
	font-size: 17px;
}

.wbo-fgroup {
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-fgroup:last-child {
	border-bottom: 0;
}

.wbo-fgroup summary,
.wbo-acc__head {
	display: flex !important;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--wbo-navy);
	list-style: none;
	cursor: pointer;
}

.wbo-fgroup summary::-webkit-details-marker,
.wbo-acc__head::-webkit-details-marker {
	display: none;
}

.wbo-fgroup summary > span:first-child,
.wbo-acc__head > span:first-child {
	flex: 1 1 auto;
}

.wbo-fgroup summary .wbo-i,
.wbo-acc__head .wbo-i {
	flex: 0 0 auto;
	transition: transform .2s ease;
}

.wbo-fgroup[open] summary .wbo-i,
.wbo-acc__item[open] > .wbo-acc__head .wbo-i {
	transform: rotate(180deg);
}

.wbo-fgroup__sel:not(:empty) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	font-size: 13px;
	color: #fff;
	background: var(--wbo-teal);
	border-radius: 999px;
}

.wbo-fopts {
	margin: 0 0 12px !important;
	padding: 0 !important;
	list-style: none;
}

.wbo-fopts li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wbo-fopts li::before {
	display: none !important;
}

.wbo-fopt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	font-size: 16px;
	color: var(--wbo-text);
	cursor: pointer;
}

.wbo-fopt input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.wbo-fopt__box {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: transparent;
	background: #fff;
	border: 1.5px solid var(--wbo-line-strong);
	border-radius: 6px;
	transition: background-color .12s ease, border-color .12s ease;
}

.wbo-fopt input:checked + .wbo-fopt__box {
	color: #fff;
	background: var(--wbo-navy);
	border-color: var(--wbo-navy);
}

.wbo-fopt input:focus-visible + .wbo-fopt__box {
	outline: 2px solid var(--wbo-teal);
	outline-offset: 2px;
}

.wbo-fopt__swatch {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background: var(--sw);
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 50%;
}

.wbo-fopt__label {
	flex: 1 1 auto;
}

.wbo-fopt__count {
	font-size: 14px;
	color: var(--wbo-muted);
	font-variant-numeric: tabular-nums;
}

.wbo-fopt.is-zero {
	opacity: .45;
	cursor: default;
}

.wbo-sortlist {
	margin: 0 !important;
	padding: 6px 12px calc(16px + env(safe-area-inset-bottom)) !important;
	overflow-y: auto;
	list-style: none;
}

.wbo-sortlist li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wbo-sortlist li::before {
	display: none !important;
}

.wbo-sortlist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 10px;
	font-size: 16px;
	font-weight: 500;
	color: var(--wbo-text) !important;
	text-decoration: none !important;
	border-radius: var(--wbo-r-sm);
}

.wbo-sortlist a .wbo-i {
	color: transparent;
}

.wbo-sortlist a.is-current {
	font-weight: 700;
	color: var(--wbo-navy) !important;
	background: var(--wbo-teal-soft);
}

.wbo-sortlist a.is-current .wbo-i {
	color: var(--wbo-navy);
}

@media (min-width: 1000px) {
	.wbo-sheet__panel {
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: 440px;
		max-height: none;
		border-radius: 0;
		transform: translateX(100%);
	}

	.wbo-sheet__panel--short {
		max-height: none;
	}

	.wbo-sheet__head::before {
		display: none;
	}
}

/* Category FAQs */
.wbo-faqs {
	max-width: 900px;
	margin: 24px auto 0;
	padding: 0 var(--wbo-gutter);
}

body.wbo-ui .wbo-faqs__title {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 800;
}

/* 7  Product page ========================================================= */

body.wbo-ui.single-product .site-main,
body.wbo-ui.single-product #primary {
	max-width: var(--wbo-max);
	margin-right: auto;
	margin-left: auto;
}

body.wbo-ui.single-product nav.woocommerce-breadcrumb {
	margin: 0 auto !important;
	font-size: 13px;
	color: var(--wbo-muted);
}

body.wbo-ui.single-product nav.woocommerce-breadcrumb a {
	color: var(--wbo-navy);
	text-decoration: none;
}

body.wbo-ui div.product {
	position: relative;
}

/* Gallery */
body.wbo-ui div.product div.images.wbo-gallery {
	position: relative;
	float: none !important;
	width: auto !important;
	margin: 0 0 16px !important;
	opacity: 1 !important;
}

.wbo-gallery__viewport {
	position: relative;
}

.wbo-gallery__track {
	display: flex;
	margin: 0 !important;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	background: #fff;
}

.wbo-gallery__track::-webkit-scrollbar {
	display: none;
}

.wbo-gallery__track:focus-visible {
	outline-offset: -2px;
}

body.wbo-ui .wbo-gallery__track > .woocommerce-product-gallery__image,
body.wbo-ui .wbo-gallery__track > .woocommerce-product-gallery__image--placeholder {
	display: flex !important;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	scroll-snap-align: center;
	scroll-snap-stop: always;
	aspect-ratio: 1 / 1;
	max-height: 56vh;
	max-height: 56svh;
}

body.wbo-ui .wbo-gallery__track > .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	cursor: default;
}

body.wbo-ui .wbo-gallery__track img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-height: 100%;
	object-fit: contain;
}

.wbo-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--wbo-navy);
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--wbo-line);
	border-radius: 50%;
	box-shadow: var(--wbo-shadow);
	transform: translateY(-50%);
	cursor: pointer;
}

.wbo-gallery__arrow--prev {
	left: 12px;
}

.wbo-gallery__arrow--prev .wbo-i {
	transform: rotate(180deg);
}

.wbo-gallery__arrow--next {
	right: 12px;
}

.wbo-gallery__arrow[disabled] {
	opacity: .35;
	cursor: default;
}

.wbo-gallery__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: rgba(31, 58, 38, .72);
	border-radius: 999px;
}

.wbo-gallery__dots {
	display: flex;
	justify-content: center;
	gap: 2px;
	padding-top: 8px;
}

.wbo-gallery__dots[hidden],
.wbo-gallery__thumbs[hidden],
.wbo-gallery__count[hidden],
.wbo-gallery__arrow[hidden] {
	display: none !important;
}

.wbo-gallery__dot {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.wbo-gallery__dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	background: var(--wbo-line-strong);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width .2s ease, background-color .2s ease;
}

.wbo-gallery__dot.is-active::after {
	width: 20px;
	background: var(--wbo-navy);
	border-radius: 4px;
}

.wbo-gallery__thumbs {
	display: none;
}

.wbo-gallery__thumb {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	padding: 3px;
	background: #fff;
	border: 1.5px solid var(--wbo-line);
	border-radius: var(--wbo-r-sm);
	cursor: pointer;
}

.wbo-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wbo-gallery__thumb.is-active {
	border-color: var(--wbo-navy);
	box-shadow: inset 0 0 0 1px var(--wbo-navy);
}

/* 100% recycled badge (set per product in header.php) — smaller and below UI */
/* "100% recycled" roundel (ACF option, header.php) moves top-right to make room */
body.wbo-ui.woocommerce div.product div.images.wbo-gallery::before {
	top: 12px !important;
	right: 12px !important;
	left: auto !important;
	z-index: 4 !important;
	width: 84px !important;
	height: 84px !important;
	background-size: 84px !important;
}

/* Save % label: top-left of the main image */
body.wbo-ui div.product .wbo-gallery .custom-savings-badge {
	top: 12px !important;
	right: auto !important;
	bottom: auto !important;
	left: 12px !important;
	z-index: 5;
}

/* Badges are labels, never click targets — clicks pass through to the gallery */
body.wbo-ui .wbo-gallery .custom-savings-badge,
body.wbo-ui.woocommerce div.product div.images.wbo-gallery::before {
	pointer-events: none !important;
}

@media (max-width: 899px) {
	/* Full-bleed, swipeable images on phones/tablets */
	body.wbo-ui div.product div.images.wbo-gallery {
		width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
	}

	body.wbo-ui.single-product nav.woocommerce-breadcrumb {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

/* Summary */
body.wbo-ui div.product div.summary {
	float: none !important;
	width: auto !important;
	margin: 0 0 24px !important;
}

body.wbo-ui div.product .product_title {
	margin: 0 0 6px !important;
	font-size: clamp(21px, 3.2vw, 30px) !important;
	font-weight: 700 !important;
	line-height: 1.22 !important;
	color: var(--wbo-navy) !important;
	text-align: left !important;
}

body.wbo-ui div.product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px !important;
	font-size: 14px;
}

body.wbo-ui div.product .woocommerce-product-rating .star-rating {
	margin: 0 !important;
	color: var(--wbo-star) !important;
}

body.wbo-ui div.product .woocommerce-review-link {
	font-weight: 600;
	color: var(--wbo-indigo);
}

.wbo-price {
	margin: 4px 0 14px;
}

body.wbo-ui div.product .wbo-price p.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	margin: 0 !important;
	font-size: clamp(28px, 5vw, 34px) !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	letter-spacing: -.02em;
	color: var(--wbo-navy) !important;
}

body.wbo-ui div.product .wbo-price p.price del {
	order: 2;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--wbo-muted);
	opacity: 1;
}

body.wbo-ui div.product .wbo-price p.price ins {
	color: var(--wbo-sale);
	text-decoration: none;
}

body.wbo-ui div.product .wbo-price small.woocommerce-price-suffix {
	order: 3;
	font-size: 14px !important;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--wbo-muted) !important;
}

.wbo-price__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 8px 0 0 !important;
}

/* inline-block (not flex) so the space before the £ amount is kept */
.wbo-price__save {
	display: inline-block;
	padding: 5px 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
	background: var(--wbo-sale);
	border-radius: 999px;
}

.wbo-price__ppl {
	display: inline;
	font-size: 15px;
	font-weight: 600;
	color: var(--wbo-muted);
}

.wbo-price__save .woocommerce-Price-amount,
.wbo-price__ppl .woocommerce-Price-amount {
	color: inherit !important;
	font-weight: inherit;
}

.wbo-countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--wbo-sale);
}

.wbo-countdown strong {
	font-variant-numeric: tabular-nums;
}

/* Sizes */
.wbo-sizes {
	margin: 0 0 16px;
}

.wbo-sizes__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--wbo-text);
}

.wbo-sizes__head strong {
	color: var(--wbo-navy);
}

.wbo-sizes__head .wbo-link {
	font-size: 14px;
}

.wbo-sizes__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wbo-sizes__list li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wbo-sizes__list li::before {
	display: none !important;
}

/* Variation table → label above pills */
body.wbo-ui div.product form.cart .variations {
	width: 100%;
	margin: 0 0 12px !important;
	border: 0;
}

body.wbo-ui div.product form.cart .variations tr {
	display: block;
	margin: 0 0 10px;
}

body.wbo-ui div.product form.cart .variations td,
body.wbo-ui div.product form.cart .variations th {
	display: block;
	padding: 0 !important;
	line-height: 1.4;
	text-align: left;
	border: 0;
}

body.wbo-ui div.product form.cart .variations label {
	display: block;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--wbo-navy);
}

body.wbo-ui div.product form.cart .variations select {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	font-size: 16px;
	border: 1.5px solid var(--wbo-line-strong);
	border-radius: var(--wbo-r);
}

.wbo-vpills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.wbo-ui div.product form.cart .reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 14px;
}

body.wbo-ui div.product .single_variation_wrap .woocommerce-variation-price .price {
	font-size: 22px !important;
	font-weight: 800;
	color: var(--wbo-navy) !important;
}

/* CTA stack */
body.wbo-ui div.product form.cart {
	margin: 0 0 16px !important;
	padding: 0;
}

body.wbo-ui div.product form.cart.wbo-flash {
	animation: wbo-flash 1.2s ease;
}

@keyframes wbo-flash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(92, 155, 70, 0); }
	30% { box-shadow: 0 0 0 6px rgba(92, 155, 70, .35); }
}

.wbo-cta {
	display: grid;
	gap: 12px;
}

body.wbo-ui div.product form.cart.wbo-cta::before,
body.wbo-ui div.product form.cart.wbo-cta::after {
	display: none;
}

.wbo-cta__qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 0 6px 0 16px;
	background: #fff;
	border: 1.5px solid var(--wbo-line-strong);
	border-radius: var(--wbo-r);
}

.wbo-cta__qty-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--wbo-navy);
}

body.wbo-ui div.product form.cart .wbo-cta__qty div.quantity {
	display: flex;
	align-items: center;
	float: none !important;
	margin: 0 !important;
}

body.wbo-ui div.product form.cart .wbo-cta__qty .qty {
	width: 48px !important;
	height: 40px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 17px;
	font-weight: 700;
	color: var(--wbo-navy);
	text-align: center;
	background: transparent;
	border: 0 !important;
	-moz-appearance: textfield;
}

body.wbo-ui div.product form.cart .wbo-cta__qty .qty::-webkit-outer-spin-button,
body.wbo-ui div.product form.cart .wbo-cta__qty .qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.wbo-ui div.product form.cart .wbo-cta__qty button.minus,
body.wbo-ui div.product form.cart .wbo-cta__qty button.plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	color: var(--wbo-navy) !important;
	background: var(--wbo-surface) !important;
	border: 0 !important;
	border-radius: 50% !important;
	cursor: pointer;
}

body.wbo-ui div.product form.cart .wbo-cta__qty button.minus:hover,
body.wbo-ui div.product form.cart .wbo-cta__qty button.plus:hover {
	background: var(--wbo-teal-soft) !important;
}

.wbo-cta__buttons {
	display: grid;
	gap: 10px;
}

body.wbo-ui div.product form.cart .wbo-cta__buttons .wbo-btn,
body.wbo-ui div.product form.cart .wbo-cta__buttons button.single_add_to_cart_button {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 54px;
	margin: 0 !important;
	padding: 0 20px !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
}

body.wbo-ui div.product form.cart .single_add_to_cart_button.disabled,
body.wbo-ui div.product form.cart .single_add_to_cart_button.wc-variation-selection-needed {
	opacity: .6 !important;
}

/* Express pay buttons from payment plugins sit under the CTAs */
body.wbo-ui div.product form.cart #wc-stripe-express-checkout-element,
body.wbo-ui div.product form.cart #wc-stripe-payment-request-wrapper,
body.wbo-ui div.product form.cart .wcpay-express-checkout-wrapper,
body.wbo-ui div.product form.cart .ppc-button-wrapper,
body.wbo-ui div.product #wc-stripe-express-checkout-element,
body.wbo-ui div.product .wcpay-express-checkout-wrapper {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: both;
}

body.wbo-ui div.product #wc-stripe-express-checkout-button-separator,
body.wbo-ui div.product #wc-stripe-payment-request-button-separator,
body.wbo-ui div.product #wcpay-express-checkout-button-separator {
	margin: 4px 0 !important;
	font-size: 13px;
	color: var(--wbo-muted);
	text-align: center;
}

body.wbo-ui div.product p.stock {
	margin: 0 0 10px !important;
	font-size: 15px;
	font-weight: 700;
}

body.wbo-ui div.product p.stock.in-stock {
	color: var(--wbo-green) !important;
}

/* Reassurance */
.wbo-assure {
	display: grid;
	gap: 0;
	margin: 0 0 18px !important;
	padding: 4px 16px !important;
	list-style: none;
	background: #fff;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-r);
}

.wbo-assure li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 !important;
	padding: 12px 0 !important;
	list-style: none;
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-assure li:last-child {
	border-bottom: 0;
}

.wbo-assure li::before {
	display: none !important;
}

.wbo-assure .wbo-i {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--wbo-teal);
}

.wbo-assure div {
	display: flex;
	flex-direction: column;
	gap: 1px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--wbo-text);
}

.wbo-assure strong {
	font-size: 15px;
	color: var(--wbo-navy);
}

.wbo-assure div > span strong {
	font-size: inherit;
}

.wbo-assure a {
	font-weight: 600;
}

body.wbo-ui div.product .woocommerce-product-details__short-description {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
}

body.wbo-ui div.product .pdt-dimensions {
	margin: 0 0 14px;
	padding: 10px 14px;
	font-size: 14px;
	color: var(--wbo-navy);
	background: var(--wbo-surface);
	border-radius: var(--wbo-r-sm);
}

body.wbo-ui div.product .product_meta {
	font-size: 13px;
	color: var(--wbo-muted);
}

/* Frequently bought together (WPC) — "Complete your setup" card */
body.wbo-ui div.product .woobt-wrap {
	margin: 0 0 18px !important;
	padding: 16px !important;
	background: #fff;
	border: 1px solid var(--wbo-line) !important;
	border-radius: var(--wbo-r);
}

body.wbo-ui div.product .woobt-wrap .woobt-text,
body.wbo-ui div.product .woobt-wrap .woobt-before-text {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--wbo-navy);
}

body.wbo-ui div.product .woobt-products .woobt-product {
	padding: 10px 0 !important;
	border-color: var(--wbo-line) !important;
}

body.wbo-ui .woobt-checkbox:checked {
	background-color: var(--wbo-green);
}

/* Info: notes + accordion */
.wbo-info {
	margin: 0 0 32px;
}

.wbo-acc {
	margin-top: 8px;
	border-top: 1px solid var(--wbo-line);
}

.wbo-acc__item {
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-acc__head {
	min-height: 60px;
	font-size: 18px;
}

.wbo-acc__body {
	padding: 0 0 20px;
	font-size: 15px;
	line-height: 1.65;
}

.wbo-acc__body > h2:first-child {
	display: none;
}

.wbo-acc__body table.shop_attributes {
	width: 100%;
	border: 0 !important;
	border-collapse: collapse;
}

.wbo-acc__body table.shop_attributes th,
.wbo-acc__body table.shop_attributes td {
	padding: 10px 12px !important;
	font-size: 14px;
	text-align: left;
	border: 0 !important;
	border-bottom: 1px solid var(--wbo-line) !important;
	background: transparent !important;
}

.wbo-acc__body table.shop_attributes th {
	width: 40%;
	font-weight: 600;
	color: var(--wbo-navy);
}

.wbo-acc__body table.shop_attributes tr:nth-child(odd) th,
.wbo-acc__body table.shop_attributes tr:nth-child(odd) td {
	background: var(--wbo-surface) !important;
}

.wbo-acc__body table.shop_attributes td p {
	margin: 0;
	padding: 0;
}

.wbo-list {
	margin: 0 0 12px !important;
	padding-left: 20px !important;
}

.wbo-list li {
	margin: 0 0 6px;
}

.wbo-ask {
	padding: 16px;
	background: var(--wbo-surface);
	border-radius: var(--wbo-r);
}

.wbo-ask p {
	margin: 0 0 10px;
}

.wbo-ask__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
}

/* Compare sizes (Simba-style, scrolls sideways on phones) */
.wbo-compare {
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-r);
	-webkit-overflow-scrolling: touch;
}

.wbo-compare table {
	width: 100%;
	min-width: max-content;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
}

.wbo-compare th,
.wbo-compare td {
	min-width: 96px;
	padding: 10px 12px !important;
	font-size: 14px;
	text-align: center;
	vertical-align: middle;
	background: #fff;
	border: 0 !important;
	border-bottom: 1px solid var(--wbo-line) !important;
}

.wbo-compare tbody tr:last-child th,
.wbo-compare tbody tr:last-child td {
	border-bottom: 0 !important;
}

.wbo-compare tbody th,
.wbo-compare thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 92px;
	font-weight: 600;
	color: var(--wbo-navy);
	text-align: left;
	background: var(--wbo-surface);
	box-shadow: 1px 0 0 var(--wbo-line);
}

.wbo-compare thead th {
	font-size: 15px;
	font-weight: 800;
	color: var(--wbo-navy);
}

.wbo-compare thead th img {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 6px;
	object-fit: contain;
}

.wbo-compare .is-current {
	background: var(--wbo-teal-soft);
}

.wbo-compare__go {
	font-weight: 700;
}

.wbo-compare__here {
	font-size: 13px;
	font-weight: 700;
	color: var(--wbo-teal);
	color: #3f7a30;
}

/* Reviews inside the accordion */
body.wbo-ui .wbo-acc #reviews #comments h2,
body.wbo-ui .wbo-acc #reviews .woocommerce-Reviews-title {
	font-size: 18px;
}

body.wbo-ui .wbo-acc #reviews ol.commentlist {
	padding: 0;
}

body.wbo-ui .wbo-acc #reviews ol.commentlist li .comment-text {
	border-color: var(--wbo-line) !important;
	border-radius: var(--wbo-r) !important;
}

/* Up-sells / related */
body.wbo-ui div.product section.up-sells > h2,
body.wbo-ui div.product section.related > h2 {
	margin: 8px 0 14px;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 800;
	text-align: left;
}

@media (min-width: 900px) {
	body.wbo-ui div.product.type-product {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		column-gap: clamp(28px, 4vw, 56px);
		align-items: start;
	}

	body.wbo-ui div.product.type-product > * {
		grid-column: 1 / -1;
	}

	body.wbo-ui div.product.type-product > div.images.wbo-gallery {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px);
		grid-column: 1;
		grid-row: 1;
	}

	body.wbo-ui div.product.type-product > div.summary {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	body.wbo-ui div.product.type-product > .wbo-info {
		grid-column: 1;
		grid-row: 2;
	}

	body.wbo-ui .wbo-gallery__track {
		border: 1px solid var(--wbo-line);
		border-radius: var(--wbo-r-lg);
	}

	body.wbo-ui .wbo-gallery__track > .woocommerce-product-gallery__image,
	body.wbo-ui .wbo-gallery__track > .woocommerce-product-gallery__image--placeholder {
		max-height: none;
	}

	.wbo-gallery__arrow {
		display: inline-flex;
	}

	.wbo-gallery__dots {
		display: none !important;
	}

	.wbo-gallery__thumbs {
		display: flex;
		gap: 8px;
		padding-top: 12px;
		overflow-x: auto;
	}

	/* Side by side only when there's more than one button */
	.wbo-cta__buttons {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	}
}

/* 8  Sticky add-to-basket ================================================= */

.wbo-sticky {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	padding: 10px var(--wbo-gutter) calc(10px + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--wbo-line);
	box-shadow: 0 -8px 24px rgba(31, 58, 38, .1);
	transform: translateY(110%);
	transition: transform .25s var(--wbo-ease);
}

.wbo-sticky.is-visible {
	transform: none;
}

.wbo-sticky__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: var(--wbo-max);
	margin: 0 auto;
}

.wbo-sticky__img {
	display: none;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	object-fit: contain;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-r-sm);
}

.wbo-sticky__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.wbo-sticky__name {
	display: none;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	color: var(--wbo-navy);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.wbo-sticky__price {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--wbo-navy);
}

.wbo-sticky__price del {
	font-size: 13px;
	font-weight: 500;
	color: var(--wbo-muted);
}

.wbo-sticky__price ins {
	color: var(--wbo-sale);
	text-decoration: none;
}

.wbo-sticky__price small {
	font-size: 12px;
	font-weight: 500;
	color: var(--wbo-muted);
}

.wbo-sticky__btn {
	flex: 0 0 auto;
	min-height: 50px;
	padding: 0 26px;
	font-size: 17px;
}

body.wbo-sticky-on {
	padding-bottom: 84px;
}

body.wbo-sticky-on .button-top {
	bottom: 100px !important;
}

@media (min-width: 600px) {
	.wbo-sticky__img,
	.wbo-sticky__name {
		display: block;
	}

	.wbo-sticky__price {
		font-size: 17px;
	}

	.wbo-sticky__btn {
		min-width: 220px;
	}
}

/* 9  WooCommerce odds and ends, footer ==================================== */

body.wbo-ui .woocommerce-message,
body.wbo-ui .woocommerce-info,
body.wbo-ui .woocommerce-error {
	padding: 14px 16px 14px 48px !important;
	font-size: 15px;
	line-height: 1.45;
	background: #fff !important;
	border: 1px solid var(--wbo-line) !important;
	border-left: 4px solid var(--wbo-teal) !important;
	border-radius: var(--wbo-r) !important;
}

body.wbo-ui .woocommerce-error {
	border-left-color: var(--wbo-sale) !important;
}

body.wbo-ui .woocommerce-message::before,
body.wbo-ui .woocommerce-info::before {
	top: 14px !important;
	left: 16px !important;
	color: var(--wbo-teal) !important;
}

body.wbo-ui .woocommerce-message .button,
body.wbo-ui .woocommerce-info .button {
	border-radius: 999px !important;
}

body.wbo-ui .star-rating {
	color: var(--wbo-star) !important;
}

body.wbo-ui .footinfop a {
	margin-right: 10px;
}

/* Garden Tech family cards: keep the white button text */
body.wbo-ui .gt-family__button,
body.wbo-ui .gt-family__button:hover,
body.wbo-ui .gt-family__button:focus {
	color: #fff;
}

/* 10 Utilities + motion =================================================== */

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

.wbo-i {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
	.wbo-drawer__panel,
	.wbo-drawer__scrim,
	.wbo-sheet__panel,
	.wbo-sheet__scrim,
	.wbo-sticky,
	.wbo-usps__item,
	.wbo-tile img,
	.wbo-gallery__track {
		transition: none !important;
		scroll-behavior: auto;
	}

	body.wbo-ui div.product form.cart.wbo-flash {
		animation: none;
	}
}

/* Fixes from visual QA ===================================================== */

body.wbo-ui .custom-savings-badge {
	position: absolute !important;
	z-index: 4;
	width: auto !important;
	color: #fff !important;
}

body.wbo-ui ul.products li.product {
	position: relative;
}

body.wbo-ui ins {
	background: transparent !important;
}

/* The legacy " In Stock" suffix stays on the product page, but cards don't need it */
body.wbo-ui ul.products li.product small.woocommerce-price-suffix::after,
.wbo-sticky small.woocommerce-price-suffix::after {
	content: none !important;
}

body.wbo-ui div.product .wbo-price small.woocommerce-price-suffix::after {
	margin-left: 6px;
	font-weight: 700;
	color: var(--wbo-green);
}

/* Live search in use: the field and its results sit above the dim, and above
   the sticky desktop menu bar (z-index 900). */
body.wbo-search-active .wbo-head .wbo-search {
	position: relative;
	z-index: 1001;
}

/* ...and the sticky basket bar drops below the dim while searching */
body.wbo-search-active .wbo-sticky {
	z-index: 999;
}

/* Frequently bought together: hide the card when it has nothing in it.
   :empty catches a bare wrapper; :has() catches a wrapper with no add-on
   products (the "this item" row alone doesn't count). JS adds .wbo-is-empty
   as a fallback and re-checks when the plugin updates the box. */
body.wbo-ui div.product .woobt-wrap:empty,
body.wbo-ui div.product .woobt-wrap.wbo-is-empty,
body.wbo-ui div.product .woobt-wrap:not(:has(.woobt-product:not(.woobt-product-this))) {
	display: none !important;
}


/* ==========================================================================
   Site container — 1440px max, same gutters everywhere, so the masthead,
   menu, USP strip, page content and shop grids share left/right edges.
   ========================================================================== */

body.wbo-ui .wbo-head__inner,
body.wbo-ui .wbo-usps__list,
body.wbo-ui .wbo-archive,
body.wbo-ui main#main > *:not(.alignfull),
body.wbo-ui main#primary .grid,
body.wbo-ui .logosc .grid {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wbo-max) !important;
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--wbo-gutter) !important;
	padding-left: var(--wbo-gutter) !important;
}

/* WooCommerce wrapper children: the legacy rule gave each one 90% width and 36px margins */
body.wbo-ui main#main > *:not(.alignfull) {
	margin-top: 0;
	margin-bottom: 0;
}

body.wbo-ui main#main > nav.woocommerce-breadcrumb {
	padding-top: 14px !important;
	padding-bottom: 6px !important;
}

body.wbo-ui main#main > .woocommerce-notices-wrapper:not(:empty) {
	padding-top: 12px !important;
}

body.wbo-ui main#main > div.product {
	padding-bottom: 40px !important;
}

/* .wbo-archive already has the container — don't double the gutter when nested */
body.wbo-ui main#main > .wbo-archive .wbo-archive {
	padding: 0 !important;
}

/* Product page wrappers are no longer the cap — the children are */
body.wbo-ui.single-product .site-main,
body.wbo-ui.single-product #primary {
	max-width: none;
}

body.wbo-ui main#primary .grid .grid {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Optical alignment: first menu label lines up with the logo, sticky bar
   content lines up with the page content. */
@media (min-width: 1000px) {
	.main-navigation.wbo-nav ul.wbo-menu {
		padding-left: calc(var(--wbo-gutter) - 12px) !important;
	}
}

@media (min-width: 1000px) and (max-width: 1180px) {
	.main-navigation.wbo-nav ul.wbo-menu {
		padding-left: calc(var(--wbo-gutter) - 8px) !important;
	}
}

.wbo-sticky__inner {
	max-width: calc(var(--wbo-max) - 2 * var(--wbo-gutter));
}

/* ==========================================================================
   Light text on dark/image boxes
   1) Homepage "Your essential guide to composting" box: the headings and copy
      that sit alongside the guide button are white.
   2) Reusable: add the class "wbo-light-text" to any block
      (Block → Advanced → Additional CSS class) to make its text white.
   ========================================================================== */

body.wbo-ui :is(h1, h2, h3, h4, h5, h6, p):has(~ :is(.wp-block-buttons, .wp-block-button, [class*="button"], [class*="btn"]) a[href*="guide-to-composting"]),
body.wbo-ui :is(h1, h2, h3, h4, h5, h6, p):has(~ a[href*="guide-to-composting"]),
body.wbo-ui .wbo-light-text,
body.wbo-ui .wbo-light-text :is(h1, h2, h3, h4, h5, h6, p, li, span, strong, em) {
	color: #fff !important;
}

body.wbo-ui .wbo-light-text a:not(.wp-block-button__link):not([class*="button"]):not([class*="btn"]) {
	color: #fff !important;
	text-decoration: underline;
}

/* ==========================================================================
   YITH Badge Management (e.g. "Trending") on the product page gallery:
   centre it horizontally on the main image, keep its vertical position.
   ========================================================================== */

body.wbo-ui .wbo-gallery .container-image-and-badge {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body.wbo-ui .wbo-gallery .yith-wcbm-badge {
	right: auto !important;
	left: 50% !important;
	z-index: 4;
	max-width: calc(100% - 24px);
	margin: 0 !important;
	transform: translateX(-50%) !important;
	pointer-events: none;
}

body.wbo-ui .wbo-gallery .yith-wcbm-badge .yith-wcbm-badge-text {
	text-align: center;
	white-space: nowrap;
}
