:root {
	--wbb-brand-ink: #292644;
	--wbb-brand-text: #4d4b57;
	--wbb-brand-muted: #777482;
	--wbb-brand-orange: #fe8c5a;
	--wbb-brand-purple: #3020aa;
	--wbb-brand-border: #e8e5ee;
	--wbb-brand-soft: #f8f7fb;
	--wbb-brand-white: #fff;
	--wbb-brand-danger: #a33636;
}

.wbb-brand-page {
	background: var(--wbb-brand-white);
	color: var(--wbb-brand-text);
	font-family: Barlow, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 0 0 64px;
}

.wbb-brand-shell {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
}

.wbb-brand-breadcrumb {
	margin: 18px 0 20px !important;
	font-size: 13px;
	color: var(--wbb-brand-muted);
}

.wbb-brand-header {
	max-width: 760px;
	margin: 0 0 26px;
}

.wbb-brand-kicker {
	margin: 0 0 7px;
	color: var(--wbb-brand-orange);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.wbb-brand-header h1 {
	margin: 0;
	color: var(--wbb-brand-ink);
	font-size: clamp(36px, 4.2vw, 56px);
	line-height: 1.02;
	letter-spacing: -.025em;
}

.wbb-brand-header p:last-child {
	max-width: 680px;
	margin: 12px 0 0;
	font-size: 17px;
	line-height: 1.55;
}

.wbb-brand-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 0;
	border-top: 1px solid var(--wbb-brand-border);
	border-bottom: 1px solid var(--wbb-brand-border);
	margin-bottom: 22px;
}

.wbb-brand-controls__summary,
.wbb-brand-controls__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wbb-brand-controls__summary strong {
	color: var(--wbb-brand-ink);
	font-size: 15px;
}

.wbb-brand-controls__summary a,
.wbb-brand-clear {
	color: var(--wbb-brand-purple);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.wbb-brand-ordering .woocommerce-ordering {
	float: none;
	margin: 0;
}

.wbb-brand-ordering select,
.wbb-brand-field select {
	min-height: 44px;
	border: 1px solid #d6d2df;
	border-radius: 8px;
	background: #fff;
	color: var(--wbb-brand-ink);
	padding: 0 38px 0 12px;
	font: inherit;
}

.wbb-brand-filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #d6d2df;
	border-radius: 8px;
	background: #fff;
	color: var(--wbb-brand-ink);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.wbb-brand-filter-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--wbb-brand-orange);
	color: #241f1b;
	font-size: 12px;
}

.wbb-brand-layout {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.wbb-brand-filter-panel {
	position: sticky;
	top: 18px;
	border: 1px solid var(--wbb-brand-border);
	border-radius: 12px;
	background: #fff;
	padding: 17px;
}

.wbb-brand-filter-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--wbb-brand-ink);
	font-size: 16px;
}

.wbb-brand-filter-close {
	display: none;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--wbb-brand-soft);
	color: var(--wbb-brand-ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.wbb-brand-filter-form {
	display: grid;
	gap: 18px;
}

.wbb-brand-field {
	display: grid;
	gap: 7px;
}

.wbb-brand-field > span {
	color: var(--wbb-brand-ink);
	font-size: 13px;
	font-weight: 800;
}

.wbb-brand-field select {
	width: 100%;
}

.wbb-brand-check {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 9px;
	align-items: start;
	font-size: 14px;
	line-height: 1.35;
	cursor: pointer;
}

.wbb-brand-check input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--wbb-brand-purple);
}

.wbb-brand-filter-form__actions {
	display: grid;
	gap: 10px;
}

.wbb-brand-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--wbb-brand-orange);
	color: #231f1d;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.wbb-brand-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.wbb-brand-card {
	min-width: 0;
	border: 1px solid var(--wbb-brand-border);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.wbb-brand-card:nth-child(n+7) {
	content-visibility: auto;
	contain-intrinsic-size: 360px;
}

.wbb-brand-card:hover {
	transform: translateY(-2px);
	border-color: #d8d3e2;
	box-shadow: 0 9px 28px rgba(41, 38, 68, .08);
}

.wbb-brand-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.wbb-brand-card__link:focus-visible,
.wbb-brand-filter-toggle:focus-visible,
.wbb-brand-filter-close:focus-visible,
.wbb-brand-button:focus-visible,
.wbb-brand-clear:focus-visible,
.wbb-brand-ordering select:focus-visible,
.wbb-brand-field select:focus-visible {
	outline: 3px solid rgba(48, 32, 170, .28);
	outline-offset: 2px;
}

.wbb-brand-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--wbb-brand-soft);
	overflow: hidden;
}

.wbb-brand-card__image,
.wbb-brand-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
}

.wbb-brand-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 9px;
	border-radius: 999px;
	background: var(--wbb-brand-orange);
	color: #271f1c;
	font-size: 12px;
	font-weight: 900;
}

.wbb-brand-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 13px 13px 14px;
}

.wbb-brand-card__brand {
	margin-bottom: 5px;
	color: var(--wbb-brand-orange);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.wbb-brand-card__title {
	margin: 0;
	color: var(--wbb-brand-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.wbb-brand-card__price {
	margin-top: 9px;
	color: var(--wbb-brand-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.wbb-brand-card__price del {
	margin-right: 5px;
	color: #8b8793;
	font-size: .88em;
	font-weight: 500;
}

.wbb-brand-card__price ins {
	background: transparent;
	color: var(--wbb-brand-danger);
	text-decoration: none;
}

.wbb-brand-card__stock {
	margin-top: 7px;
	font-size: 12px;
	font-weight: 700;
}

.wbb-brand-card__stock.is-out {
	color: var(--wbb-brand-danger);
}

.wbb-brand-card__stock.is-backorder {
	color: #7b5f00;
}

.wbb-brand-card__cta {
	margin-top: auto;
	padding-top: 12px;
	color: var(--wbb-brand-purple);
	font-size: 13px;
	font-weight: 800;
}

.wbb-brand-pagination {
	margin-top: 30px;
	text-align: center;
}

.wbb-brand-pagination__fallback .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.wbb-brand-pagination__fallback .page-numbers li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.wbb-brand-pagination__fallback a.page-numbers,
.wbb-brand-pagination__fallback span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--wbb-brand-border);
	border-radius: 8px;
	background: var(--wbb-brand-white);
	color: var(--wbb-brand-ink);
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
}

.wbb-brand-pagination__fallback span.current {
	border-color: var(--wbb-brand-orange);
	background: var(--wbb-brand-orange);
	color: #1f1d2c;
}

.wbb-brand-pagination__fallback a.page-numbers:hover,
.wbb-brand-pagination__fallback a.page-numbers:focus-visible {
	border-color: var(--wbb-brand-orange);
	outline: none;
}

.wbb-brand-load-more {
	min-width: min(100%, 280px);
	min-height: 50px;
	padding: 13px 24px;
	border: 0;
	border-radius: 9px;
	background: var(--wbb-brand-orange);
	color: #1f1d2c;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}

.wbb-brand-load-more:hover {
	transform: translateY(-1px);
}

.wbb-brand-load-more:focus-visible {
	outline: 3px solid rgba(48, 32, 170, .25);
	outline-offset: 3px;
}

.wbb-brand-load-more:disabled,
.wbb-brand-load-more.is-loading {
	opacity: .65;
	cursor: wait;
	transform: none;
}

.wbb-brand-load-status {
	min-height: 1.5em;
	margin: 10px 0 0;
	color: var(--wbb-brand-muted);
	font-size: 13px;
}

body.wbb-brand-js .wbb-brand-pagination__fallback {
	display: none;
}

.wbb-brand-empty {
	padding: 44px 22px;
	border: 1px solid var(--wbb-brand-border);
	border-radius: 12px;
	background: var(--wbb-brand-soft);
	text-align: center;
}

.wbb-brand-empty h2 {
	margin: 0 0 8px;
	color: var(--wbb-brand-ink);
	font-size: 25px;
}

.wbb-brand-empty p {
	margin: 0 0 18px;
}

.wbb-brand-seo {
	max-width: 800px;
	margin: 58px auto 0;
	padding-top: 30px;
	border-top: 1px solid var(--wbb-brand-border);
	line-height: 1.65;
}

.wbb-brand-seo h2 {
	margin: 0 0 12px;
	color: var(--wbb-brand-ink);
	font-size: 28px;
}

.wbb-brand-filter-backdrop {
	display: none;
}

@media (max-width: 1099px) {
	.wbb-brand-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.wbb-brand-shell {
		width: min(100% - 24px, 1240px);
	}

	.wbb-brand-header {
		margin-bottom: 20px;
	}

	.wbb-brand-header h1 {
		font-size: 38px;
	}

	.wbb-brand-header p:last-child {
		font-size: 15px;
	}

	.wbb-brand-controls {
		align-items: flex-end;
	}

	.wbb-brand-controls__actions {
		gap: 8px;
	}

	.wbb-brand-filter-toggle {
		display: inline-flex;
	}

	.wbb-brand-layout {
		display: block;
	}

	body.wbb-brand-js .wbb-brand-filter-panel {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100002;
		width: min(88vw, 360px);
		height: 100dvh;
		border: 0;
		border-radius: 0 14px 14px 0;
		padding: 18px;
		overflow-y: auto;
		transform: translateX(-105%);
		transition: transform .2s ease;
		box-shadow: 15px 0 40px rgba(27, 24, 42, .18);
	}

	body.wbb-brand-js .wbb-brand-filter-panel.is-open {
		transform: translateX(0);
	}

	body.wbb-brand-js .wbb-brand-filter-close {
		display: inline-grid;
		place-items: center;
	}

	body.wbb-brand-js .wbb-brand-filter-backdrop:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 100001;
		display: block;
		background: rgba(27, 24, 42, .42);
	}
}

@media (max-width: 699px) {
	.wbb-brand-page {
		padding-bottom: 46px;
	}

	.wbb-brand-breadcrumb {
		margin: 12px 0 14px !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.wbb-brand-kicker {
		font-size: 10px;
	}

	.wbb-brand-header h1 {
		font-size: 34px;
	}

	.wbb-brand-header p:last-child {
		margin-top: 9px;
		font-size: 14px;
		line-height: 1.45;
	}

	.wbb-brand-controls {
		gap: 10px;
		padding: 10px 0;
		margin-bottom: 14px;
	}

	.wbb-brand-controls__summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.wbb-brand-controls__summary strong {
		font-size: 13px;
	}

	.wbb-brand-controls__summary a {
		font-size: 12px;
	}

	.wbb-brand-controls__actions {
		align-items: stretch;
	}

	.wbb-brand-filter-toggle,
	.wbb-brand-ordering select {
		min-height: 42px;
		font-size: 13px;
	}

	.wbb-brand-ordering select {
		max-width: 142px;
		padding-left: 9px;
		padding-right: 26px;
	}

	.wbb-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.wbb-brand-card {
		border-radius: 9px;
	}

	.wbb-brand-card:hover {
		transform: none;
		box-shadow: none;
	}

	.wbb-brand-card__media {
		aspect-ratio: 1 / 1;
	}

	.wbb-brand-card__image,
	.wbb-brand-card__media img {
		padding: 5px;
	}

	.wbb-brand-card__badge {
		top: 7px;
		left: 7px;
		min-height: 24px;
		padding: 0 7px;
		font-size: 10px;
	}

	.wbb-brand-card__body {
		padding: 10px 10px 11px;
	}

	.wbb-brand-card__brand {
		font-size: 9px;
	}

	.wbb-brand-card__title {
		font-size: 14px;
		line-height: 1.22;
	}

	.wbb-brand-card__price {
		margin-top: 7px;
		font-size: 14px;
	}

	.wbb-brand-card__cta {
		padding-top: 9px;
		font-size: 12px;
	}

	.wbb-brand-seo {
		margin-top: 42px;
		padding-top: 24px;
		font-size: 14px;
	}

	.wbb-brand-seo h2 {
		font-size: 23px;
	}
}

@media (max-width: 340px) {
	.wbb-brand-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wbb-brand-card,
	body.wbb-brand-js .wbb-brand-filter-panel {
		transition: none;
	}
}

/* Brand-only additions */
.wbb-brand-featured {margin:20px 0 34px}
.wbb-brand-featured h2,.wbb-brand-results-heading {color:#292644;font-size:clamp(22px,2.4vw,30px);margin:0 0 16px}
.wbb-brand-featured .wbb-brand-grid {margin-bottom:0}
.wbb-brand-header {margin-top:18px}
.wbb-brand-card__badge {background:#fe8c5a}
.wbb-brand-card__title {font-size:clamp(15px,1.3vw,18px)}

/* Shoptimizer's separate "Below Category Content" WYSIWYG field. */
.wbb-brand-below-category-content {
    margin-block: 32px 48px;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.wbb-brand-below-category-content img { max-width: 100%; height: auto; }
