/* KWB Harbour: styles beyond theme.json. Colours come from the theme.json palette. */

:root {
	--kwb-primary: var(--wp--preset--color--primary);
	--kwb-deep: var(--wp--preset--color--primary-deep);
	--kwb-accent: var(--wp--preset--color--accent);
	--kwb-charcoal: var(--wp--preset--color--charcoal);
	--kwb-muted: var(--wp--preset--color--muted);
	--kwb-cream: var(--wp--preset--color--cream);
	--kwb-line: var(--wp--preset--color--line);
	--kwb-serif: var(--wp--preset--font-family--fraunces);
	--kwb-script: var(--wp--preset--font-family--caveat);
	--kwb-radius: 16px;
	--kwb-pill: 999px;
	--kwb-stripe: linear-gradient(90deg,
		var(--wp--preset--color--groceries) 0 25%,
		var(--wp--preset--color--bulk) 25% 50%,
		var(--wp--preset--color--feed) 50% 75%,
		var(--wp--preset--color--industrial) 75% 100%);
	--dept: var(--kwb-primary);
	--dept-ink: #fff;
}

/* Department colours: one variable per department, used by tiles, badges, cards and headers. */
.kwb-dept-groceries { --dept: var(--wp--preset--color--groceries); --dept-ink: #fff; }
.kwb-dept-bulk { --dept: var(--wp--preset--color--bulk); --dept-ink: var(--wp--preset--color--charcoal); }
.kwb-dept-feed { --dept: var(--wp--preset--color--feed); --dept-ink: #fff; }
.kwb-dept-industrial { --dept: var(--wp--preset--color--industrial); --dept-ink: #fff; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--kwb-accent);
	outline-offset: 2px;
}

.wp-site-blocks > * { margin-block-start: 0 !important; } /* header, main and footer sit flush */
.kwb-main { margin-block-start: 0; }
.kwb-sub { color: var(--kwb-muted); max-width: 62ch; margin-block-start: 0.4rem; font-size: 1.075rem; }
.kwb-sub.has-text-align-center { margin-inline: auto !important; }

/* Handwritten accent line (hero, intro). Used sparingly. */
.kwb-script {
	font-family: var(--kwb-script);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 600;
	line-height: 1;
	color: var(--kwb-primary);
	margin-block-end: 0.35rem !important;
}

/* Narrow text blocks inside wide sections line up with the left edge of the 1240px grid
   (the constrained layout would otherwise centre them). */
.is-layout-constrained > :is(.kwb-hero__content, .kwb-sub:not(.has-text-align-center), .kwb-archive-head__desc) {
	margin-left: max(0px, calc((100% - 1240px) / 2)) !important;
	margin-right: auto !important;
}

/* ---------- Buttons: pills ---------- */
.wp-element-button, .wp-block-button__link { border-radius: var(--kwb-pill); }
.kwb-btn-accent > .wp-block-button__link { background: var(--kwb-accent); color: var(--kwb-charcoal); }
.kwb-btn-accent > .wp-block-button__link:hover { background: #f0b000; color: var(--kwb-charcoal); }
.kwb-btn-light > .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85); }
.kwb-btn-light > .wp-block-button__link:hover { background: #fff; color: var(--kwb-charcoal); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--kwb-primary);
	color: var(--kwb-primary);
	background: transparent;
	padding: calc(0.9rem - 2px) calc(1.6rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--kwb-primary); color: #fff; }

/* ---------- Top bar ---------- */
.kwb-announce { position: relative; z-index: 70; background: var(--kwb-charcoal); color: #d6dcd8; font-size: 0.875rem; padding-block: 0.4rem; } /* above the sticky header so the language list can open over it */
.kwb-announce__row { align-items: center; }
.kwb-announce__left { gap: 0.9rem; }
.kwb-announce__left > p { white-space: nowrap; }
.kwb-announce .gtranslate_wrapper { display: flex; align-items: center; line-height: 1; }
.kwb-announce p { margin: 0; }
.kwb-announce a { color: #fff; text-decoration: none; }
.kwb-announce a:hover { color: var(--kwb-accent); }
.kwb-announce__contact a + a { margin-inline-start: 1.25rem; }

/* ---------- Header ---------- */
/* The whole header template part (top bar + main bar) sticks to the top while scrolling, on every screen size.
   No transform, filter or backdrop-filter here: they would trap the fixed mobile menu inside the header. */
.wp-site-blocks > .wp-block-template-part:first-child {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 80;
	transition: top 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* assets/js/header-scroll.js: slides away while scrolling down, drops back in when scrolling up */
.wp-site-blocks > .wp-block-template-part.kwb-sticky.is-hidden { top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--kwb-header-h, 220px) - 12px); }
.kwb-sticky .kwb-header__row { transition: padding 0.3s ease; }
.kwb-sticky .kwb-logo img { transition: height 0.3s ease; }
.kwb-sticky .kwb-header { transition: box-shadow 0.3s ease; }
.kwb-sticky.is-scrolled .kwb-header { box-shadow: 0 1px 0 var(--kwb-line), 0 14px 34px rgba(27, 31, 29, 0.16); }
.kwb-sticky.is-scrolled .kwb-header__row { padding-block: 0.4rem; }
.kwb-sticky.is-scrolled .kwb-logo img { height: 44px; }
.kwb-header {
	position: relative;
	z-index: 50;
	background: #fff;
	box-shadow: 0 1px 0 var(--kwb-line), 0 8px 24px rgba(27, 31, 29, 0.06);
}
.kwb-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--kwb-stripe); }
.kwb-header__row { gap: 1rem 1.75rem; padding-block: 0.7rem; align-items: center; }
.kwb-logo { margin: 0 !important; }
.kwb-logo img { display: block; height: 52px; width: auto; }
.kwb-nav { flex: 1 1 auto; }
.kwb-nav .wp-block-navigation-item__content { padding-block: 0.5rem; color: var(--kwb-charcoal); }
.kwb-nav .wp-block-navigation-item__content:hover { color: var(--kwb-primary); }
.kwb-nav .current-menu-item > a,
.kwb-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--kwb-accent); }
.kwb-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--kwb-line) !important;
	border-radius: 14px;
	padding: 0.45rem !important;
	min-width: 240px !important;
	box-shadow: 0 16px 40px rgba(27, 31, 29, 0.12);
}
.kwb-nav .wp-block-navigation__submenu-container a { padding: 0.6rem 0.8rem !important; border-radius: 10px; }
.kwb-nav .wp-block-navigation__submenu-container a:hover { background: var(--kwb-cream); }
.kwb-nav [class*="kwb-dept-"] > a::before {
	content: "";
	display: inline-block;
	width: 0.65em;
	height: 0.65em;
	margin-inline-end: 0.6em;
	border-radius: 50%;
	background: var(--dept);
}
.kwb-header-search { flex: 0 1 300px; min-width: 200px; }

@media (min-width: 600px) and (max-width: 1023px) {
	.kwb-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.kwb-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1023px) {
	.kwb-nav { flex: 0 0 auto; order: 3; }
	.kwb-header__cta { order: 2; margin-inline-start: auto; }
	.kwb-header-search { order: 4; flex: 1 1 100%; }
}
@media (min-width: 1024px) {
	.kwb-nav .kwb-nav-order { display: none; } /* the header button does this job on desktop */
}
@media (max-width: 600px) {
	.wp-site-blocks > .wp-block-template-part:first-child { top: 0; } /* the admin bar scrolls away on phones */
	.wp-site-blocks > .wp-block-template-part.kwb-sticky.is-hidden { top: calc(0px - var(--kwb-header-h, 220px) - 12px); }
	.kwb-sticky.is-scrolled .kwb-logo img { height: 38px; }
}
@media (max-width: 599px) {
	.kwb-header .wp-block-buttons.kwb-header__cta { display: none; }
	.kwb-logo { flex: 1 1 auto; }
	.kwb-logo img { height: 44px; }
	.kwb-nav { order: 2; margin-inline-start: auto; }
	.kwb-header__row { gap: 0.6rem 1rem; }
	.kwb-announce__welcome { display: none; } /* phones: keep the language switcher and phone number on one line */
	.kwb-announce__row { flex-wrap: nowrap !important; gap: 0.75rem; }
	.kwb-announce__contact a[href^="mailto:"] { display: none; }
	.kwb-announce__contact { margin: 0; white-space: nowrap; }
}
.kwb-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--kwb-charcoal) !important; color: #fff !important; padding: 1.5rem; }
.kwb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; color: #fff; font-family: var(--kwb-serif); }
.kwb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; background: transparent !important; box-shadow: none; }
.kwb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a:hover { background: rgba(255, 255, 255, 0.08); }
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }

/* ---------- Search (header, hero, pages) ---------- */
.kwb-live-search { position: relative; }
.kwb-live-search .wp-block-search__inside-wrapper {
	border: 1.5px solid var(--kwb-line);
	border-radius: var(--kwb-pill);
	background: var(--kwb-cream);
	padding: 4px;
	overflow: hidden;
}
.kwb-live-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--kwb-primary); background: #fff; box-shadow: 0 0 0 3px var(--kwb-accent); }
.kwb-live-search .wp-block-search__input { border: 0; background: transparent; padding: 0 1rem; min-height: 42px; font-size: 1rem; }
.kwb-live-search .wp-block-search__input:focus { outline: none; }
.kwb-live-search .wp-block-search__button { margin: 0; border-radius: var(--kwb-pill); min-width: 44px; min-height: 42px; padding-inline: 1.1rem; }
.kwb-hero__search { max-width: 600px; }
.kwb-hero__search .wp-block-search__inside-wrapper { background: #fff; border-color: #fff; padding: 6px; }
.kwb-hero__search .wp-block-search__input { min-height: 52px; font-size: 1.1rem; }
.kwb-hero__search .wp-block-search__button { padding-inline: 1.75rem; background: var(--kwb-accent); color: var(--kwb-charcoal); }

.kwb-ls-panel {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 8px);
	z-index: 60;
	background: #fff;
	border: 1px solid var(--kwb-line);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(27, 31, 29, 0.18);
	padding: 0.4rem;
	margin: 0;
	list-style: none;
	max-height: min(70vh, 480px);
	overflow-y: auto;
	text-align: left;
}
.kwb-ls-panel[hidden] { display: none; }
.kwb-ls-item a {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.4rem;
	border-radius: 10px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	min-height: 44px;
}
.kwb-ls-item img { width: 48px; height: 48px; object-fit: contain; background: var(--kwb-cream); border-radius: 8px; mix-blend-mode: multiply; }
.kwb-ls-item b { display: block; font-weight: 700; line-height: 1.3; }
.kwb-ls-item small { color: var(--kwb-muted); }
.kwb-ls-item[aria-selected="true"] a,
.kwb-ls-item a:hover { background: var(--kwb-cream); }
.kwb-ls-empty, .kwb-ls-all { padding: 0.6rem; font-size: 0.95rem; color: var(--kwb-muted); }
.kwb-ls-all a { font-weight: 700; }

/* ---------- Hero slideshow ---------- */
.kwb-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 640px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(4rem, 9vw, 7rem) clamp(5.5rem, 9vw, 7.5rem) !important;
	margin-block-start: 0 !important;
	background: var(--kwb-deep);
}
.kwb-hero__slides { position: absolute; inset: 0; z-index: -2; margin: 0 !important; max-width: none !important; width: auto !important; }
.kwb-hero__slide { position: absolute; inset: 0; margin: 0 !important; opacity: 0; transition: opacity 1.1s ease; }
.kwb-hero__slide:first-child { opacity: 1; } /* before the script runs */
.kwb-hero.is-slider .kwb-hero__slide { opacity: 0; }
.kwb-hero.is-slider .kwb-hero__slide.is-active { opacity: 1; }
.kwb-hero__slide img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transform-origin: 60% 50%; }
.kwb-hero__slide.zoom-in img { animation: kwb-zoom-in 6s ease-out forwards; }
.kwb-hero__slide.zoom-out img { animation: kwb-zoom-out 6s ease-out forwards; }
@keyframes kwb-zoom-in { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes kwb-zoom-out { from { transform: scale(1.12); } to { transform: scale(1); } }
.kwb-hero::before { /* green overlay keeps the text readable on every photo */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(6, 63, 37, 0.93) 0%, rgba(6, 63, 37, 0.82) 38%, rgba(6, 63, 37, 0.35) 75%, rgba(6, 63, 37, 0.15) 100%);
	pointer-events: none;
}
.kwb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--kwb-stripe); z-index: 2; }
.kwb-hero__content { position: relative; max-width: 640px; }
.kwb-hero__content > * + * { margin-block-start: 1.25rem; }
.kwb-hero__kicker { color: var(--kwb-accent); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.kwb-hero__title { color: #fff !important; font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; margin-block-start: 0.3rem !important; }
.kwb-hero__lede { color: rgba(255, 255, 255, 0.9); font-size: 1.2rem; max-width: 52ch; }
.kwb-hero__buttons { margin-block-start: 1.5rem !important; gap: 0.75rem; }

/* Arrows: outlined circles at the sides, like the reference; at the bottom corner on smaller screens */
.kwb-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	background: rgba(27, 31, 29, 0.12);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.kwb-hero__arrow:hover { background: #fff; border-color: #fff; color: var(--kwb-charcoal); }
.kwb-hero__arrow--prev { left: max(20px, calc((100% - 1240px) / 2 - 92px)); }
.kwb-hero__arrow--next { right: max(20px, calc((100% - 1240px) / 2 - 92px)); }
.kwb-hero__controls {
	position: absolute;
	z-index: 3;
	left: max(20px, calc((100% - 1240px) / 2));
	bottom: 26px;
	display: flex;
	align-items: center;
	gap: 0.15rem;
}
.kwb-hero__dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.kwb-hero__dot::before { content: ""; width: 10px; height: 10px; border-radius: var(--kwb-pill); background: rgba(255, 255, 255, 0.55); transition: width 0.3s ease, background-color 0.3s ease; }
.kwb-hero__dot:hover::before { background: #fff; }
.kwb-hero__dot[aria-current="true"] { width: 40px; }
.kwb-hero__dot[aria-current="true"]::before { width: 28px; background: var(--kwb-accent); }
@media (max-width: 1399px) {
	.kwb-hero__arrow { top: auto; bottom: 18px; width: 48px; height: 48px; transform: none; }
	.kwb-hero__arrow--next { right: 20px; }
	.kwb-hero__arrow--prev { left: auto; right: 80px; }
}
@media (max-width: 781px) {
	.kwb-hero { min-height: 600px !important; }
	.kwb-hero::before { background: linear-gradient(180deg, rgba(6, 63, 37, 0.84) 0%, rgba(6, 63, 37, 0.93) 100%); }
	.kwb-hero__buttons .wp-block-button { flex: 1 1 100%; }
	.kwb-hero__buttons .wp-block-button__link { width: 100%; }
	.kwb-hero__kicker { font-size: 1.55rem; }
	.kwb-hero__arrow { width: 44px; height: 44px; }
	.kwb-hero__arrow--prev { right: 72px; }
}

/* ---------- Section bands ---------- */
.kwb-band { padding-block: clamp(3rem, 7vw, 5rem); margin-block-start: 0 !important; }
.kwb-band.is-cream { background: var(--kwb-cream); }
.kwb-band > .wp-block-heading { margin-block-end: 0; }
.kwb-band:not(.is-cream) + .kwb-band:not(.is-cream) { border-top: 1px solid var(--kwb-line); } /* separate two white sections */

/* ---------- Department containers ---------- */
.kwb-yard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-block-start: clamp(2rem, 4vw, 3rem) !important;
}
.kwb-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 400px;
	margin: 0 !important;
	padding: 0 0 1.35rem;
	border-radius: 20px;
	overflow: hidden;
	background: var(--dept);
	color: var(--dept-ink);
	transition: box-shadow 0.2s ease;
}
.kwb-tile:hover { box-shadow: 0 18px 40px rgba(27, 31, 29, 0.2); }
.kwb-tile::before { /* corrugated container wall */
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 3px, transparent 3px 22px);
	pointer-events: none;
}
.kwb-tile > * { position: relative; margin-inline: 1.25rem; }
.kwb-tile > .kwb-tile__img { margin: 0 0 1.1rem; }
.kwb-tile__img img { display: block; width: 100%; height: 180px; object-fit: cover; }
.kwb-tile__title { margin-block: 0 0.75rem; font-size: 2rem; color: inherit !important; }
.kwb-tile__title a { color: inherit; text-decoration: none; }
.kwb-tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole tile is the link */
.kwb-tile__list { list-style: none; padding: 0; margin-block: 0 1.1rem; font-size: 0.95rem; }
.kwb-tile__list li { padding-block: 0.25rem; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.kwb-tile__go {
	margin-block: auto 0 !important;
	align-self: flex-start;
	font-weight: 800;
	font-size: 0.95rem;
	padding: 0.55rem 1.1rem;
	border-radius: var(--kwb-pill);
	background: color-mix(in srgb, currentColor 14%, transparent);
}
.kwb-tile:hover .kwb-tile__go { background: color-mix(in srgb, currentColor 24%, transparent); }
.kwb-tile:focus-within { outline: 3px solid var(--kwb-accent); outline-offset: 3px; }
.kwb-tile__title a:focus-visible { outline: none; }

/* ---------- Introduction ---------- */
.kwb-intro__cols { gap: clamp(2rem, 6vw, 5rem); }
.kwb-intro__photo { position: relative; margin: 0 1.25rem 1.25rem 0; }
.kwb-intro__photo::before { /* sunflower block behind the photo */
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	background: var(--kwb-accent);
	border-radius: 22px;
}
.kwb-intro__photo img { position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
.kwb-checks { list-style: none; padding: 0; margin-block: 1.25rem 1.75rem; }
.kwb-checks li { position: relative; padding: 0.35rem 0 0.35rem 2.1rem; font-weight: 700; }
.kwb-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--kwb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFC20E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- How ordering works ---------- */
.kwb-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	counter-reset: kwb-step;
	margin-block-start: 2rem !important;
}
.kwb-step {
	counter-increment: kwb-step;
	margin: 0 !important;
	padding: 1.75rem;
	border: 1px solid var(--kwb-line);
	border-radius: var(--kwb-radius);
	background: #fff;
}
.kwb-step::before {
	content: counter(kwb-step);
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--kwb-accent);
	color: var(--kwb-charcoal);
	font-family: var(--kwb-serif);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}
.kwb-step h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.kwb-step p { margin: 0; color: var(--kwb-muted); }

/* ---------- Product cards (every grid) ---------- */
.kwb-products { margin-block-start: 1.75rem !important; }
.kwb-products .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.kwb-products .wc-block-product-template > li {
	position: relative;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	background: #fff;
	border: 1px solid var(--kwb-line);
	border-radius: var(--kwb-radius);
	overflow: hidden;
	text-align: left;
	padding-bottom: 1rem;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.kwb-products .wc-block-product-template > li:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(27, 31, 29, 0.12); }
.kwb-card__img { margin: 0 0 0.75rem !important; background: var(--kwb-cream); }
.kwb-card__img img { box-sizing: border-box; width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain !important; padding: 16px; mix-blend-mode: multiply; }
/* Category badge on the image, in the department colour */
.kwb-card__cat { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0 !important; max-width: calc(100% - 24px); }
.kwb-card__cat a {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	border-radius: var(--kwb-pill);
	background: var(--dept);
	color: var(--dept-ink);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.3;
}
.kwb-card__cat .wp-block-post-terms__separator { display: none; }
.kwb-card__title, .kwb-card__btn { padding-inline: 1rem; margin: 0 !important; }
.kwb-card__title { font-family: var(--wp--preset--font-family--manrope) !important; font-size: 1.02rem !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: 0 !important; color: var(--wp--preset--color--ink); }
.kwb-card__title a { color: inherit; text-decoration: none; }
.kwb-card__title a:hover { color: var(--kwb-primary); text-decoration: underline; }
.wc-block-product > .kwb-order-now,
.kwb-card__btn .wp-block-button__link {
	box-sizing: border-box;
	margin: auto 1rem 0 !important;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	padding: 0.6rem 1rem;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: var(--kwb-pill);
}
.kwb-more { margin-block-start: 2rem !important; }

/* ---------- What we supply ---------- */
.kwb-directory {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin-block-start: 1.75rem !important;
}
.kwb-directory__col { margin: 0 !important; }
.kwb-directory__col h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; margin: 0 0 0.6rem; }
.kwb-directory__col h3::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--dept); flex: none; }
.kwb-directory__col h3 a { color: var(--kwb-charcoal); text-decoration: none; }
.kwb-directory__list { list-style: none; padding: 0; margin: 0; }
.kwb-directory__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--kwb-line);
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
}
.kwb-directory__list a::after { content: "\2192"; color: var(--dept); font-weight: 700; }
.kwb-directory__list a:hover { color: var(--kwb-primary); }
.kwb-directory__list .is-all a { font-weight: 800; color: var(--kwb-primary); border-bottom: 0; }

/* ---------- About (address card, used on inner pages) ---------- */
.kwb-about { gap: clamp(1.5rem, 5vw, 3.5rem); }
.kwb-address { background: #fff; border: 1px solid var(--kwb-line); border-left: 6px solid var(--kwb-primary); border-radius: var(--kwb-radius); padding: 1.5rem; }
.kwb-address h3 { font-size: 1.35rem; margin-top: 0; }

/* ---------- FAQ ---------- */
.kwb-faq .wp-block-details {
	background: var(--kwb-cream);
	border-radius: var(--kwb-radius);
	padding: 0.4rem 1.4rem;
	margin-block: 0.75rem 0 !important;
}
.kwb-faq .wp-block-details summary {
	cursor: pointer;
	font-weight: 800;
	font-size: 1.1rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	min-height: 56px;
	align-items: center;
}
.kwb-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.kwb-faq .wp-block-details summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--kwb-primary);
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
}
.kwb-faq .wp-block-details[open] summary::after { content: "\2212"; }
.kwb-faq .wp-block-details p { color: var(--kwb-muted); max-width: 70ch; margin-block: 0 1rem; }
.kwb-faq > .wp-block-heading { margin-block-end: 1rem !important; }

/* ---------- Call to action ---------- */
.kwb-cta { position: relative; background: var(--kwb-primary); color: #fff; padding-block: clamp(3rem, 7vw, 4.5rem); margin-block-start: 0 !important; overflow: hidden; }
.kwb-cta::before { /* faint grain pattern */
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(rgba(255, 194, 14, 0.14) 2px, transparent 2.5px) 0 0 / 26px 26px;
	pointer-events: none;
}
.kwb-cta > * { position: relative; }
.kwb-cta h2 { color: #fff !important; margin: 0; max-width: 20ch; }

/* ---------- Key facts strip (under the hero) ---------- */
.kwb-facts { background: #fff; padding-block: clamp(1.75rem, 4vw, 2.5rem); margin-block-start: 0 !important; border-bottom: 1px solid var(--kwb-line); }
.kwb-facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.kwb-fact {
	position: relative;
	margin: 0 !important;
	padding-inline-start: 4rem;
	min-height: 3.2rem;
}
.kwb-fact::before { /* round emerald badge */
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--kwb-cream);
	box-shadow: inset 0 0 0 2px var(--kwb-line);
}
.kwb-fact::after { /* icon, drawn with a mask so it takes the theme colour */
	content: "";
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	width: 1.5rem;
	height: 1.5rem;
	background: var(--kwb-primary);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.kwb-fact--pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.kwb-fact--box { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5v8l9 5 9-5V8z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.kwb-fact--ship { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15l2 5h14l2-5H3z'/%3E%3Cpath d='M6 15V9h12v6M9 9V5h6v4'/%3E%3C/svg%3E"); }
.kwb-fact--mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.kwb-fact__title { font-family: var(--wp--preset--font-family--manrope) !important; font-size: 1.02rem !important; font-weight: 800 !important; letter-spacing: 0 !important; margin: 0 0 0.2rem; color: var(--kwb-charcoal); }
.kwb-fact__text { margin: 0; font-size: 0.93rem; line-height: 1.5; color: var(--kwb-muted); }

/* ---------- Forwarding and transport (dark green band) ---------- */
.kwb-logistics {
	position: relative;
	background: var(--kwb-deep);
	color: rgba(255, 255, 255, 0.88);
	padding-block: clamp(3.5rem, 8vw, 6rem);
	margin-block-start: 0 !important;
	overflow: hidden;
}
.kwb-logistics::before { /* faint sea-chart grid */
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 48px 48px;
	pointer-events: none;
}
.kwb-logistics::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--kwb-stripe); }
.kwb-logistics > * { position: relative; }
.kwb-logistics__cols { gap: clamp(2rem, 6vw, 5rem); }
.kwb-logistics .kwb-script { color: var(--kwb-accent); }
.kwb-logistics h2 { color: #fff !important; margin-block: 0 1rem; }
.kwb-logistics__intro p:not(.kwb-script) { font-size: 1.1rem; max-width: 46ch; }
.kwb-logistics__intro .wp-block-buttons { margin-block-start: 1.75rem; }
.kwb-route { position: relative; display: grid; gap: 1rem; }
.kwb-route::before { /* dashed shipping route linking the three stops */
	content: "";
	position: absolute;
	left: 2.05rem;
	top: 2rem;
	bottom: 2rem;
	border-left: 2px dashed rgba(255, 194, 14, 0.55);
}
.kwb-route__stop {
	position: relative;
	display: grid;
	grid-template-columns: 4.1rem 1fr;
	column-gap: 1.25rem;
	margin: 0 !important;
	padding: 1.35rem 1.5rem 1.35rem 0;
	border-radius: var(--kwb-radius);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.kwb-route__stop > * { grid-column: 2; margin: 0 !important; }
.kwb-route__num {
	grid-column: 1;
	grid-row: 1 / span 2;
	justify-self: center;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--kwb-accent);
	color: var(--kwb-charcoal);
	font-weight: 800;
	font-size: 0.95rem;
}
.kwb-route__stop h3 { color: #fff !important; font-size: 1.35rem; margin-block-end: 0.3rem !important; }
.kwb-route__stop p:not(.kwb-route__num) { color: rgba(255, 255, 255, 0.8); }

/* ---------- Who we work with ---------- */
.kwb-customers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-block-start: 2rem !important; }
.kwb-customer {
	position: relative;
	margin: 0 !important;
	padding: 1.6rem 1.5rem 1.5rem;
	background: #fff;
	border: 1px solid var(--kwb-line);
	border-top: 6px solid var(--dept);
	border-radius: var(--kwb-radius);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.kwb-customer:hover { box-shadow: 0 14px 34px rgba(27, 31, 29, 0.12); transform: translateY(-2px); }
.kwb-customer:focus-within { outline: 3px solid var(--kwb-accent); outline-offset: 3px; }
.kwb-customer h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.kwb-customer h3 a { color: var(--kwb-charcoal); text-decoration: none; }
.kwb-customer h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.kwb-customer h3 a:focus-visible { outline: none; }
.kwb-customer p { margin: 0; color: var(--kwb-muted); font-size: 0.97rem; }

/* ---------- Extra text in existing sections ---------- */
.kwb-tile__blurb { margin-block: 0 0.9rem !important; font-size: 0.98rem; line-height: 1.45; opacity: 0.95; }
.kwb-how { background: linear-gradient(180deg, #fff 0%, var(--kwb-cream) 100%); }
.kwb-cta__text { flex: 1 1 520px; }
.kwb-cta__text > * + * { margin-block-start: 0.85rem !important; }
.kwb-cta__lede { font-size: 1.15rem; max-width: 56ch; color: rgba(255, 255, 255, 0.9); }
.kwb-cta__contact { font-size: 0.98rem; color: rgba(255, 255, 255, 0.8); }
.kwb-cta__contact a { color: #fff; font-weight: 700; text-decoration-color: var(--kwb-accent); text-underline-offset: 3px; }
.kwb-cta__contact a:hover { color: var(--kwb-accent); }
.kwb-cta h2 { max-width: 24ch; }

/* ---------- Quantities and packing ---------- */
.kwb-packing__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-block-start: 2rem !important; }
.kwb-pack { position: relative; margin: 0 !important; padding: 5.2rem 1.5rem 1.5rem; background: #fff; border-radius: var(--kwb-radius); box-shadow: 0 1px 0 var(--kwb-line), 0 10px 30px rgba(27, 31, 29, 0.06); }
.kwb-pack::before { content: ""; position: absolute; left: 1.5rem; top: 1.5rem; width: 3rem; height: 3rem; border-radius: 14px; background: var(--kwb-accent); }
.kwb-pack::after { content: ""; position: absolute; left: 2.15rem; top: 2.15rem; width: 1.7rem; height: 1.7rem; background: var(--kwb-charcoal); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.kwb-pack--carton { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10M7.5 5l9 4'/%3E%3C/svg%3E"); }
.kwb-pack--pallet { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='10' rx='1'/%3E%3Cpath d='M2 17h20M4 17v3M12 17v3M20 17v3M2 20h20'/%3E%3C/svg%3E"); }
.kwb-pack--bag { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 5h10l2 4v10a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V9z'/%3E%3Cpath d='M5 9h14M9 3l1 2M15 3l-1 2M9 14h6'/%3E%3C/svg%3E"); }
.kwb-pack--container { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='1'/%3E%3Cpath d='M6 9v6M10 9v6M14 9v6M18 9v6'/%3E%3C/svg%3E"); }
.kwb-pack h3 { font-size: 1.3rem; margin: 0 0 0.4rem; }
.kwb-pack p { margin: 0; color: var(--kwb-muted); font-size: 0.97rem; }

/* ---------- What a quote includes ---------- */
.kwb-quote-includes { margin-block-start: 1.75rem !important; padding: 1.75rem 2rem; border-radius: var(--kwb-radius); background: #fff; border: 2px dashed color-mix(in srgb, var(--kwb-primary) 35%, transparent); }
.kwb-quote-includes h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.kwb-checks--2col { columns: 2 260px; column-gap: 2rem; margin-block: 0.5rem 0.75rem; }
.kwb-checks--2col li { break-inside: avoid; }
.kwb-quote-includes__note { margin: 0; color: var(--kwb-muted); font-size: 0.95rem; }

/* ---------- About page ---------- */
.kwb-about-depts { gap: 1.25rem; margin-block-start: 2rem !important; }
.kwb-about-depts > .wp-block-column { background: #fff; border-radius: var(--kwb-radius); padding: 1.5rem; border-top: 6px solid var(--dept); box-shadow: 0 10px 30px rgba(27, 31, 29, 0.06); }
.kwb-about-depts h3 { font-size: 1.4rem; margin: 0 0 0.5rem; }
.kwb-about-depts h3 a { color: var(--kwb-charcoal); text-decoration: none; }
.kwb-about-depts h3 a:hover { color: var(--kwb-primary); text-decoration: underline; }
.kwb-about-depts p { margin: 0; color: var(--kwb-muted); font-size: 0.97rem; }
.kwb-process { list-style: none; counter-reset: kwb-proc; padding: 0; margin-block-start: 2rem !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.kwb-process > li { counter-increment: kwb-proc; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.5rem; background: var(--kwb-cream); border-radius: var(--kwb-radius); }
.kwb-process > li::before { content: counter(kwb-proc); position: absolute; left: 1.25rem; top: 1.15rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--kwb-primary); color: #fff; font-family: var(--kwb-serif); font-weight: 700; font-size: 1.15rem; }

/* ---------- Contact page ---------- */
.kwb-contact { gap: 2rem; margin-block: 1.5rem 2rem !important; }

/* ---------- Legal pages: delivery, terms, privacy ---------- */
.kwb-page:has(.kwb-legal) { background: var(--kwb-cream); }
.kwb-legal > * + * { margin-block-start: 1.25rem !important; }
.kwb-legal-intro, .kwb-legal-card { background: #fff; border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 0 var(--kwb-line), 0 12px 32px rgba(27, 31, 29, 0.06); }
.kwb-legal-intro { border-top: 6px solid transparent; border-image: var(--kwb-stripe) 1; border-radius: 0 0 18px 18px; }
.kwb-legal-intro .kwb-sub { margin-block: 0 1.25rem; max-width: none; font-size: 1.1rem; color: var(--wp--preset--color--ink); }
.kwb-legal-toc__title { font-family: var(--wp--preset--font-family--manrope) !important; font-size: 0.85rem !important; font-weight: 800 !important; letter-spacing: 0.08em !important; text-transform: uppercase; color: var(--kwb-muted) !important; margin: 0 0 0.5rem !important; }
.kwb-legal-toc { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kwb-legal-toc a { display: inline-flex; align-items: center; min-height: 38px; padding: 0.3rem 0.9rem; border-radius: var(--kwb-pill); background: var(--kwb-cream); border: 1px solid var(--kwb-line); color: var(--kwb-charcoal); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.kwb-legal-toc a:hover { background: var(--kwb-primary); border-color: var(--kwb-primary); color: #fff; }
.kwb-legal-card { position: relative; border-left: 6px solid var(--kwb-primary); }
.kwb-legal-card:nth-child(4n + 3) { border-left-color: var(--kwb-accent); }
.kwb-legal-card > h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-block: 0 0.75rem; scroll-margin-top: 150px; }
.kwb-legal-card > :last-child { margin-block-end: 0; }
.kwb-legal-card ul, .kwb-legal-card ol { padding-inline-start: 1.25rem; }
.kwb-legal-card li + li { margin-top: 0.35rem; }

/* ---------- Content pages at full width (desktop) ---------- */
/* Pages use the same 1240px width as the homepage; intro lines run the full width too. */
body.page .kwb-sub, body.page .kwb-archive-head__desc { max-width: 1240px; }
.kwb-page .wp-block-post-content > .kwb-sub { font-size: 1.15rem; }
.kwb-quote-layout { gap: clamp(1.5rem, 4vw, 3rem); align-items: flex-start; }
.kwb-quote-form { background: #fff; border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 0 var(--kwb-line), 0 12px 32px rgba(27, 31, 29, 0.06); }
.kwb-quote-aside { position: sticky; top: 140px; background: var(--kwb-cream); border-radius: 18px; padding: clamp(1.25rem, 3vw, 1.75rem); border-top: 6px solid var(--kwb-accent); }
.kwb-quote-aside h2 { font-size: 1.35rem; margin: 0 0 0.6rem; }
.kwb-quote-aside h2 + * { margin-top: 0; }
.kwb-quote-aside * + h2 { margin-top: 1.5rem; }
.kwb-quote-aside li + li { margin-top: 0.4rem; }
.kwb-page:has(.kwb-quote-layout) { background: var(--kwb-cream); }
.kwb-page:has(.kwb-quote-layout) .kwb-quote-aside { background: #fff; }
@media (max-width: 781px) {
	.kwb-quote-aside { position: static; }
}

/* ---------- Footer ---------- */
.kwb-footer { background: var(--kwb-charcoal); color: #c9cfcb; padding-block-start: clamp(3rem, 7vw, 4.5rem); margin-block-start: 0 !important; }
.kwb-footer a { color: #c9cfcb; text-decoration: none; }
.kwb-footer a:hover { color: var(--kwb-accent); }
.kwb-footer .kwb-logo img { height: 60px; }
.kwb-footer__about { max-width: 34ch; margin-block: 1.25rem 1.5rem !important; }
.kwb-footer__title { color: #fff !important; font-size: 1.25rem; margin-bottom: 0.75rem; }
.kwb-footer__links, .kwb-footer__contact { list-style: none; padding: 0; margin: 0; }
.kwb-footer__links li, .kwb-footer__contact li { padding-block: 0.3rem; }
.kwb-footer__cols { gap: 2.5rem; padding-bottom: 2.5rem; }
.kwb-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.1rem; font-size: 0.875rem; margin-block-start: 0 !important; }
.kwb-footer__legal p { margin: 0; }

/* ---------- Shop and category pages ---------- */
.kwb-archive-head { position: relative; background: var(--dept); color: var(--dept-ink); padding-block: clamp(2rem, 5vw, 3.25rem); margin-block-start: 0 !important; }
.kwb-archive-head a { color: inherit; }
.kwb-archive-head__title { color: inherit !important; font-size: clamp(2.25rem, 5vw, 3.75rem); margin-block: 0.5rem 0.25rem; }
.kwb-archive-head__desc { max-width: 70ch; opacity: 0.92; }
.kwb-crumbs { font-size: 0.875rem; opacity: 0.85; }
.kwb-crumbs a { color: inherit; }
.kwb-subcats ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.1rem 0 0; }
.kwb-subcats a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.35rem 1rem;
	border-radius: var(--kwb-pill);
	border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
	background: color-mix(in srgb, currentColor 10%, transparent);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
}
.kwb-subcats a:hover { background: color-mix(in srgb, currentColor 22%, transparent); }
.kwb-subcats a[aria-current="page"] { background: #fff; color: var(--kwb-charcoal); border-color: #fff; }
.kwb-archive-body { padding-block-start: 1.75rem; }
.kwb-results { color: var(--kwb-muted); font-size: 0.95rem; }
.kwb-pagination { margin-block-start: 2.25rem !important; gap: 0.4rem; font-weight: 700; }
.kwb-pagination .page-numbers,
.kwb-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 0.8rem;
	border: 1px solid var(--kwb-line);
	border-radius: var(--kwb-pill);
	text-decoration: none;
}
.kwb-pagination .page-numbers.current { background: var(--kwb-primary); color: #fff; border-color: var(--kwb-primary); }

/* ---------- Product page ---------- */
.kwb-product { padding-block: 1.5rem clamp(2.5rem, 6vw, 4rem); }
.kwb-product__top { gap: clamp(1.5rem, 5vw, 3.5rem); margin-block-start: 1rem !important; }
.kwb-product__media .woocommerce-product-gallery {
	background: var(--kwb-cream);
	border-radius: 20px;
	box-shadow: inset 0 6px 0 var(--dept);
	padding: clamp(1rem, 3vw, 2rem);
	margin: 0;
	width: 100% !important;
	float: none !important;
}
.kwb-product__media .woocommerce-product-gallery img { mix-blend-mode: multiply; border-radius: 12px; }
.kwb-dept-tag a {
	display: inline-block;
	background: var(--dept);
	color: var(--dept-ink);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--kwb-pill);
	padding: 0.25rem 0.8rem;
}
.kwb-product__title { font-size: clamp(2.25rem, 4.5vw, 3.4rem) !important; margin-block: 0.6rem 0.75rem; }
.kwb-product__excerpt { font-size: 1.1rem; }
.kwb-order-box { background: var(--kwb-cream); border-radius: var(--kwb-radius); padding: 1.35rem; margin-block: 1.25rem; }
.kwb-order-box .kwb-order-now {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 56px;
	font-size: 1.1rem;
	text-decoration: none;
	border-radius: var(--kwb-pill);
	background: var(--kwb-accent);
	color: var(--kwb-charcoal);
}
.kwb-order-box .kwb-order-now:hover { background: #f0b000; }
.kwb-order-box p { margin: 0.7rem 0 0; font-size: 0.95rem; color: var(--kwb-muted); }
.kwb-product__sku { font-size: 0.875rem; color: var(--kwb-muted); }
.kwb-product__details { margin-block-start: clamp(2rem, 5vw, 3rem) !important; padding-top: 2rem; border-top: 1px solid var(--kwb-line); }
.kwb-product__details h2 { font-size: 2rem; }
.kwb-product__details h3 { font-size: 1.35rem; }
.kwb-specs { width: 100%; border-collapse: separate; border-spacing: 0; margin-block: 1rem; border: 1px solid var(--kwb-line); border-radius: 14px; overflow: hidden; }
.kwb-specs th, .kwb-specs td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--kwb-line); }
.kwb-specs tr:last-child th, .kwb-specs tr:last-child td { border-bottom: 0; }
.kwb-specs th { width: 38%; font-weight: 700; color: var(--kwb-primary); }
.kwb-specs tr:nth-child(odd) { background: var(--kwb-cream); }
.kwb-related { margin-block-start: clamp(2.5rem, 6vw, 4rem) !important; }
.kwb-related h2 { font-size: 2rem; }

/* ---------- Pages and the order form ---------- */
.kwb-page { padding-block: clamp(2rem, 5vw, 3.5rem); }
.kwb-page__title { margin-block-end: 1.25rem; }
.fluentform .ff-el-form-control {
	border: 1px solid #c9c3b5;
	border-radius: 12px;
	min-height: 50px;
	font-size: 1rem;
	padding: 0.65rem 0.9rem;
}
.fluentform .ff-el-form-control:focus { border-color: var(--kwb-primary); box-shadow: 0 0 0 3px rgba(255, 194, 14, 0.5); }
.fluentform .ff-el-input--label label { font-weight: 700; }
.fluentform .ff-btn-submit {
	background: var(--kwb-primary) !important;
	color: #fff !important;
	border-radius: var(--kwb-pill) !important;
	min-height: 54px;
	padding-inline: 2rem !important;
	font-weight: 700 !important;
}
.fluentform .ff-btn-submit:hover { background: var(--kwb-deep) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.kwb-facts__grid, .kwb-customers__grid, .kwb-packing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kwb-yard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kwb-products .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kwb-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.kwb-yard { gap: 12px; }
	.kwb-tile { min-height: 0; border-radius: 16px; }
	.kwb-tile__img img { height: 120px; }
	.kwb-tile__title { font-size: 1.5rem; }
	.kwb-tile__list { display: none; }
	.kwb-tile > * { margin-inline: 0.9rem; }
	.kwb-tile__go { font-size: 0.85rem; padding: 0.45rem 0.8rem; }
	.kwb-steps { grid-template-columns: 1fr; }
	.kwb-products .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.kwb-card__title, .kwb-card__btn { padding-inline: 0.7rem; }
	.wc-block-product > .kwb-order-now { margin-inline: 0.7rem !important; }
	.kwb-card__title { font-size: 0.95rem !important; }
	.kwb-card__cat a { font-size: 0.72rem; }
	.kwb-directory { grid-template-columns: 1fr; }
	.kwb-specs th { width: 45%; }
	.kwb-intro__photo { margin: 0 1rem 1rem 0; }
	.kwb-facts__grid, .kwb-customers__grid, .kwb-packing__grid, .kwb-process { grid-template-columns: 1fr; }
	.kwb-quote-includes { padding: 1.25rem; }
	.kwb-legal-toc { gap: 0.35rem; }
	.kwb-legal-toc a { font-size: 0.82rem; min-height: 32px; padding: 0.2rem 0.7rem; }
	.kwb-tile__blurb { display: none; }
	.kwb-route__stop { grid-template-columns: 3.4rem 1fr; column-gap: 0.75rem; padding-inline-end: 1.1rem; }
	.kwb-route::before { left: 1.7rem; }
}

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