/* ==========================================================================
   BrickJoy: site styles. Tokens and rules are documented in /DESIGN.md.
   Warm paper canvas, one brick-red accent, chunky radii, Outfit display.
   Brick colours (yellow/blue/green) are category identity only: never on
   buttons, links or body text.
   ========================================================================== */

:root {
	--canvas: #fbf8f3;
	--surface: #ffffff;
	--surface-2: #f3ece1;
	--ink: #191a1f;
	--ink-2: #45464e;
	--muted: #6a6560;
	--line: #e7dfd2;
	--accent: #e23d2e;
	--accent-hover: #c22d20;
	--accent-soft: #fdeae7;
	--on-accent: #ffffff;

	--brick-yellow: #f5b72c;
	--brick-blue: #2d6fe0;
	--brick-green: #2fa35c;

	--font: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
	--container: 1280px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
	--header-h: 76px;

	--r-btn: 999px;
	--r-card: 28px;
	--r-img: 24px;
	--r-input: 16px;

	--ease: cubic-bezier(0.2, 0.9, 0.3, 1);
	--lift: 0 22px 44px -26px rgb(40 26 16 / 0.45);
	--lift-strong: 0 30px 60px -28px rgb(40 26 16 / 0.55);

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--canvas: #15140f;
		--surface: #1e1c16;
		--surface-2: #262319;
		--ink: #f7f2e8;
		--ink-2: #ddd6c8;
		--muted: #a79e8e;
		--line: #343024;
		--accent: #ff6a55;
		--accent-hover: #ff8a78;
		--accent-soft: #3a211b;
		--on-accent: #15140f;
		--lift: 0 22px 44px -26px rgb(0 0 0 / 0.7);
		--lift-strong: 0 30px 60px -28px rgb(0 0 0 / 0.8);
		color-scheme: dark;
	}
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

h2 {
	font-size: clamp(1.875rem, 1.35rem + 2vw, 3rem);
}

h3 {
	font-size: 1.3125rem;
	line-height: 1.35;
}

p {
	text-wrap: pretty;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--accent-hover);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--brick-yellow);
	color: #191a1f;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--surface);
	border-radius: var(--r-btn);
	box-shadow: var(--lift);
}

/* Layout primitives ------------------------------------------------------- */

.bj-wrap {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.bj-wrap--narrow {
	max-width: calc(780px + 2 * var(--gutter));
}

.bj-section {
	padding-block: var(--section);
}

.bj-section--tint {
	background: var(--surface-2);
}

/* Stud pattern: the brand motif, used sparingly on tinted bands. */
.bj-section--studs {
	background-color: var(--surface-2);
	background-image: radial-gradient(circle at center, rgb(25 26 31 / 0.07) 22%, transparent 23%);
	background-size: 26px 26px;
	background-position: -13px -13px;
}

@media (prefers-color-scheme: dark) {
	.bj-section--studs {
		background-image: radial-gradient(circle at center, rgb(255 255 255 / 0.05) 22%, transparent 23%);
	}
}

.bj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.9rem;
	border-radius: var(--r-btn);
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
}

.bj-lead {
	color: var(--ink-2);
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	line-height: 1.7;
	max-width: 34em;
}

.bj-head {
	display: grid;
	gap: 0.75rem;
	max-width: 44rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

.bj-head p {
	color: var(--ink-2);
	font-size: 1.0625rem;
}

.bj-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	max-width: none;
}

.bj-head__text {
	display: grid;
	gap: 0.75rem;
	max-width: 44rem;
}

.bj-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
}

.bj-more a::after {
	content: "";
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	transition: transform 0.3s var(--ease);
}

.bj-more a:hover::after {
	transform: translateX(4px);
}

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

.bj-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.wp-block-button > .wp-block-button__link,
.bj-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0.9rem 1.75rem;
	border: 2px solid transparent;
	border-radius: var(--r-btn);
	background: var(--accent);
	color: var(--on-accent);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.25s var(--ease);
}

.wp-block-button > .wp-block-button__link:hover,
.bj-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:hover {
	background: var(--accent-hover);
	color: var(--on-accent);
	transform: translateY(-2px);
	box-shadow: var(--lift);
}

.wp-block-button > .wp-block-button__link:active,
.bj-btn:active,
.woocommerce button.button:active {
	transform: translateY(0) scale(0.98);
	box-shadow: none;
}

.bj-btn--ghost,
.bj-btn-secondary > .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}

.bj-btn--ghost:hover,
.bj-btn-secondary > .wp-block-button__link:hover {
	background: var(--ink);
	color: var(--canvas);
	border-color: var(--ink);
}

.bj-btn--sm,
.woocommerce .bj-btn--sm {
	min-height: 42px;
	padding: 0.5rem 1.2rem;
	font-size: 0.9375rem;
}

.bj-phone-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink);
	font-weight: 600;
}

.bj-phone-cta .bj-svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--accent);
}

.bj-svg {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}

/* Header ------------------------------------------------------------------ */

.bj-header-slot {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .bj-header-slot {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .bj-header-slot {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .bj-header-slot {
		top: 0;
	}
}

.bj-header {
	position: relative;
	background: color-mix(in srgb, var(--canvas) 88%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 2px solid transparent;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.bj-header.is-scrolled {
	border-bottom-color: var(--line);
}

.bj-header.is-open {
	background: var(--canvas);
	border-bottom-color: var(--line);
}

.bj-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Wordmark: text plus a two-stud brick mark built from the dot pattern. */
.bj-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	flex: none;
	color: var(--ink);
}

.bj-logo:hover {
	color: var(--ink);
}

.bj-logo__mark {
	position: relative;
	width: 34px;
	height: 24px;
	border-radius: 7px;
	background: var(--accent);
}

.bj-logo__mark::before,
.bj-logo__mark::after {
	content: "";
	position: absolute;
	top: -5px;
	width: 11px;
	height: 7px;
	border-radius: 4px 4px 2px 2px;
	background: inherit;
}

.bj-logo__mark::before {
	left: 4px;
}

.bj-logo__mark::after {
	right: 4px;
}

.bj-logo__text {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
}

.bj-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.bj-nav__list {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bj-nav__list a {
	position: relative;
	display: block;
	padding: 0.5rem 0.875rem;
	border-radius: var(--r-btn);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.bj-nav__list a:hover {
	background: var(--surface-2);
	color: var(--ink);
}

.bj-nav__list .current-menu-item > a,
.bj-nav__list .current_page_item > a {
	color: var(--accent);
	font-weight: 600;
}

.bj-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}

.bj-iconbtn {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s var(--ease);
}

.bj-iconbtn:hover {
	background: var(--surface-2);
	color: var(--ink);
}

.bj-iconbtn .bj-svg {
	width: 1.375rem;
	height: 1.375rem;
}

.bj-cart__count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--on-accent);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.bj-cart__count.is-filled {
	opacity: 1;
	transform: none;
}

.bj-menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.bj-menu-toggle__bars,
.bj-menu-toggle__bars::before,
.bj-menu-toggle__bars::after {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.bj-menu-toggle__bars {
	top: 21px;
}

.bj-menu-toggle__bars::before,
.bj-menu-toggle__bars::after {
	content: "";
	left: 0;
}

.bj-menu-toggle__bars::before {
	transform: translateY(-6px);
}

.bj-menu-toggle__bars::after {
	transform: translateY(6px);
}

.bj-menu-toggle[aria-expanded="true"] .bj-menu-toggle__bars {
	background: transparent;
}

.bj-menu-toggle[aria-expanded="true"] .bj-menu-toggle__bars::before {
	background: var(--ink);
	transform: rotate(45deg);
}

.bj-menu-toggle[aria-expanded="true"] .bj-menu-toggle__bars::after {
	background: var(--ink);
	transform: rotate(-45deg);
}

/* Search bar and mobile drawer */
.bj-search {
	border-top: 1px solid var(--line);
	background: var(--canvas);
}

.bj-search[hidden],
.bj-drawer[hidden] {
	display: none;
}

.bj-search__form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: 1rem var(--gutter);
}

.bj-search__form .bj-svg {
	color: var(--muted);
}

.bj-search__form input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 0.65rem 1rem;
	border: 2px solid var(--line);
	border-radius: var(--r-input);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}

.bj-search__form input[type="search"]:focus {
	outline: none;
	border-color: var(--accent);
}

.bj-drawer {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	padding: 1rem var(--gutter) 2rem;
	background: var(--canvas);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

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

.bj-drawer__list li {
	border-bottom: 1px solid var(--line);
}

.bj-drawer__list a {
	display: block;
	padding: 1rem 0.25rem;
	color: var(--ink);
	font-size: 1.3125rem;
	font-weight: 600;
}

.bj-drawer__list .current-menu-item > a {
	color: var(--accent);
}

.bj-drawer__foot {
	display: grid;
	gap: 1rem;
	justify-items: start;
}

.bj-drawer__foot .bj-btn {
	width: 100%;
}

@media (max-width: 1099px) {
	.bj-nav {
		display: none;
	}

	.bj-menu-toggle {
		display: block;
	}

	.bj-header__cta {
		display: none;
	}
}

@media (min-width: 1100px) {
	.bj-drawer {
		display: none !important;
	}
}

body.bj-lock {
	overflow: hidden;
}

/* Hero -------------------------------------------------------------------- */

.bj-hero {
	position: relative;
	padding-top: clamp(2rem, 1rem + 3vw, 3.5rem);
	padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
	overflow: hidden;
}

.bj-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
}

.bj-hero__text {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.bj-hero__title {
	font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	max-width: 10em;
}

.bj-hero__title em {
	font-style: normal;
	color: var(--accent);
}

.bj-hero__text .bj-actions {
	margin-top: 0.5rem;
}

.bj-hero__media {
	position: relative;
	padding-bottom: 2rem;
}

.bj-hero__media figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--surface-2);
}

.bj-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bj-hero__img-a {
	aspect-ratio: 4 / 3;
	box-shadow: var(--lift-strong);
}

.bj-hero__img-b {
	position: absolute;
	left: -0.5rem;
	bottom: 0;
	width: 42%;
	aspect-ratio: 1 / 1;
	border: 8px solid var(--canvas);
	box-shadow: var(--lift);
	rotate: -4deg;
}

/* Brick plate behind the hero image */
.bj-hero__media::before {
	content: "";
	position: absolute;
	right: -6%;
	top: -8%;
	width: 62%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brick-yellow) 65%, transparent), transparent 70%);
	filter: blur(6px);
	z-index: -1;
}

@media (min-width: 960px) {
	.bj-hero__grid {
		grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
		gap: clamp(2.5rem, 5vw, 4.5rem);
	}

	.bj-hero__media .bj-hero__img-a {
		aspect-ratio: 5 / 4;
	}

	.bj-hero__img-b {
		width: 40%;
		left: -1.5rem;
	}
}

@media (max-width: 599px) {
	.bj-hero__img-b {
		width: 46%;
		left: -0.25rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.bj-hero__text > *,
	.bj-hero__media > * {
		animation: bj-pop 0.8s var(--ease) both;
	}

	.bj-hero__text > :nth-child(2) { animation-delay: 70ms; }
	.bj-hero__text > :nth-child(3) { animation-delay: 140ms; }
	.bj-hero__text > :nth-child(4) { animation-delay: 210ms; }
	.bj-hero__media > :nth-child(1) { animation-delay: 120ms; }
	.bj-hero__media > :nth-child(2) { animation-delay: 300ms; }
}

@keyframes bj-pop {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Promise marquee (once per page) ----------------------------------------- */

.bj-marquee {
	overflow: hidden;
	border-block: 2px solid var(--ink);
	background: var(--brick-yellow);
	color: #191a1f;
}

.bj-marquee__track {
	display: flex;
	width: max-content;
	gap: 3rem;
	padding-block: 0.85rem;
	font-weight: 600;
	font-size: 1.0625rem;
}

.bj-marquee__track span {
	display: inline-flex;
	align-items: center;
	gap: 3rem;
	white-space: nowrap;
}

.bj-marquee__track span::after {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #191a1f;
	opacity: 0.5;
}

@media (prefers-reduced-motion: no-preference) {
	.bj-marquee__track {
		animation: bj-scroll 32s linear infinite;
	}
}

@keyframes bj-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Category tiles ---------------------------------------------------------- */

.bj-cats {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.bj-cat {
	position: relative;
	isolation: isolate;
	display: grid;
	align-content: end;
	gap: 0.25rem;
	min-height: 240px;
	padding: 1.5rem;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--surface-2);
	color: #fff;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.bj-cat figure {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

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

.bj-cat::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgb(16 12 8 / 0.85) 0%, rgb(16 12 8 / 0.35) 55%, rgb(16 12 8 / 0.05) 100%);
}

.bj-cat h3 {
	font-size: 1.5rem;
	color: #fff;
}

.bj-cat h3 a {
	color: inherit;
}

.bj-cat h3 a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bj-cat p {
	color: rgb(255 255 255 / 0.85);
	font-size: 0.9375rem;
}

.bj-cat:hover {
	transform: translateY(-4px);
	box-shadow: var(--lift);
}

.bj-cat:hover img {
	transform: scale(1.05);
}

.bj-cat:focus-within {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

/* Colour chip that identifies the category (brand motif, not an accent). */
.bj-cat__chip {
	position: absolute;
	top: 1.25rem;
	left: 1.5rem;
	width: 34px;
	height: 24px;
	border-radius: 7px;
	background: var(--chip, var(--brick-yellow));
	z-index: 1;
}

.bj-cat__chip::before,
.bj-cat__chip::after {
	content: "";
	position: absolute;
	top: -5px;
	width: 11px;
	height: 7px;
	border-radius: 4px 4px 2px 2px;
	background: inherit;
}

.bj-cat__chip::before { left: 4px; }
.bj-cat__chip::after { right: 4px; }

.bj-cat--yellow { --chip: var(--brick-yellow); }
.bj-cat--blue { --chip: var(--brick-blue); }
.bj-cat--green { --chip: var(--brick-green); }
.bj-cat--red { --chip: var(--accent); }

@media (min-width: 640px) {
	.bj-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bj-cats {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-auto-rows: 260px;
		gap: 1.25rem;
	}

	.bj-cat:nth-child(1) { grid-column: span 3; }
	.bj-cat:nth-child(2) { grid-column: span 3; }
	.bj-cat:nth-child(3) { grid-column: span 2; }
	.bj-cat:nth-child(4) { grid-column: span 2; }
	.bj-cat:nth-child(5) { grid-column: span 2; }
	.bj-cat:nth-child(6) { grid-column: span 6; min-height: 220px; }
	.bj-cats--six .bj-cat:nth-child(6) { grid-column: span 6; }
}

/* Points ------------------------------------------------------------------ */

.bj-points {
	display: grid;
	gap: 2rem;
}

@media (min-width: 640px) {
	.bj-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bj-points--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.bj-point {
	display: grid;
	gap: 0.5rem;
	align-content: start;
	padding-top: 4rem;
	position: relative;
}

.bj-point::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 14px;
	background: var(--accent-soft);
}

.bj-point::after {
	content: "";
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	width: 1.5rem;
	height: 1.5rem;
	background: var(--accent);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}

.bj-point p {
	color: var(--ink-2);
}

.i-shield-check { --ico: url(../icons/shield-check.svg); }
.i-puzzle-piece { --ico: url(../icons/puzzle-piece.svg); }
.i-blueprint { --ico: url(../icons/blueprint.svg); }
.i-truck { --ico: url(../icons/truck.svg); }
.i-recycle { --ico: url(../icons/recycle.svg); }
.i-gift { --ico: url(../icons/gift.svg); }
.i-baby { --ico: url(../icons/baby.svg); }
.i-smiley { --ico: url(../icons/smiley.svg); }
.i-sparkle { --ico: url(../icons/sparkle.svg); }
.i-ruler { --ico: url(../icons/ruler.svg); }
.i-package { --ico: url(../icons/package.svg); }
.i-arrows-clockwise { --ico: url(../icons/arrows-clockwise.svg); }
.i-chats { --ico: url(../icons/chats.svg); }
.i-handshake { --ico: url(../icons/handshake.svg); }
.i-star { --ico: url(../icons/star.svg); }
.i-heart { --ico: url(../icons/heart.svg); }
.i-magnifying-glass { --ico: url(../icons/magnifying-glass.svg); }
.i-users { --ico: url(../icons/users.svg); }
.i-storefront { --ico: url(../icons/storefront.svg); }
.i-seal-check { --ico: url(../icons/seal-check.svg); }

/* Age cards --------------------------------------------------------------- */

.bj-ages {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
	.bj-ages {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.bj-age {
	display: grid;
	gap: 0.35rem;
	padding: 1.5rem 1.25rem;
	border: 2px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
	position: relative;
}

.bj-age strong {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.bj-age span {
	color: var(--muted);
	font-size: 0.9375rem;
}

.bj-age a::before {
	content: "";
	position: absolute;
	inset: 0;
}

.bj-age:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
	box-shadow: var(--lift);
}

/* Media split -------------------------------------------------------------- */

.bj-media {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.bj-media figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	aspect-ratio: 5 / 4;
	background: var(--surface-2);
}

.bj-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bj-media__body {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.bj-media__body > p {
	color: var(--ink-2);
	font-size: 1.0625rem;
	max-width: 32em;
}

@media (min-width: 960px) {
	.bj-media {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(3rem, 6vw, 5.5rem);
	}

	.bj-media--flip figure {
		order: 2;
	}
}

.bj-checks {
	display: grid;
	gap: 0.875rem;
	padding: 0;
	list-style: none;
}

.bj-checks li {
	position: relative;
	padding-left: 2.5rem;
	color: var(--ink);
}

.bj-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 1.625rem;
	height: 1.625rem;
	border-radius: 50%;
	background: var(--accent-soft);
}

.bj-checks li::after {
	content: "";
	position: absolute;
	left: 0.375rem;
	top: calc(0.25em + 0.375rem);
	width: 0.875rem;
	height: 0.875rem;
	background: var(--accent);
	-webkit-mask: url(../icons/check.svg) center / contain no-repeat;
	mask: url(../icons/check.svg) center / contain no-repeat;
}

/* Steps ------------------------------------------------------------------- */

.bj-steps {
	display: grid;
	gap: 2rem;
	counter-reset: step;
}

.bj-step {
	position: relative;
	display: grid;
	gap: 0.5rem;
	align-content: start;
	padding-top: 3.75rem;
}

.bj-step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: var(--ink);
	color: var(--canvas);
	font-weight: 700;
	font-size: 1.125rem;
}

.bj-step p {
	color: var(--ink-2);
}

@media (min-width: 900px) {
	.bj-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Full-bleed band --------------------------------------------------------- */

.bj-band {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(400px, 60vh, 600px);
	padding-block: clamp(3rem, 2rem + 4vw, 5rem);
	overflow: hidden;
	color: #fff;
}

.bj-band__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.bj-band__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bj-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to right, rgb(16 12 8 / 0.7) 0%, rgb(16 12 8 / 0) 70%),
		linear-gradient(to top, rgb(16 12 8 / 0.8) 0%, rgb(16 12 8 / 0.2) 60%);
}

.bj-band__body {
	display: grid;
	gap: 0.75rem;
	max-width: 44rem;
}

.bj-band__body h2 {
	color: #fff;
}

.bj-band__body p {
	color: rgb(255 255 255 / 0.9);
	font-size: 1.0625rem;
}

/* Closing CTA ------------------------------------------------------------- */

.bj-cta__box {
	display: grid;
	gap: 2rem;
	padding: clamp(2rem, 1.25rem + 3vw, 3.5rem);
	border-radius: var(--r-card);
	background: var(--ink);
	color: var(--canvas);
}

.bj-cta__box h2 {
	color: var(--canvas);
}

.bj-cta__box p {
	color: color-mix(in srgb, var(--canvas) 78%, transparent);
	font-size: 1.0625rem;
}

.bj-cta__text {
	display: grid;
	gap: 0.75rem;
}

.bj-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.bj-cta__box .bj-phone-cta {
	color: var(--canvas);
}

@media (min-width: 900px) {
	.bj-cta__box {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

/* Page hero + prose ------------------------------------------------------- */

.bj-pagehero {
	padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
	padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.bj-pagehero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.bj-pagehero__text {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.bj-pagehero__title {
	font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
	line-height: 1.12;
}

.bj-pagehero--text .bj-wrap {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.bj-pagehero__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	aspect-ratio: 16 / 11;
	background: var(--surface-2);
}

.bj-pagehero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 960px) {
	.bj-pagehero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(3rem, 6vw, 5rem);
	}
}

.bj-prose {
	max-width: 46rem;
	color: var(--ink-2);
	font-size: 1.0625rem;
}

.bj-prose > * + * {
	margin-top: 1.1em;
}

.bj-prose > h2,
.bj-prose > h3 {
	color: var(--ink);
	margin-top: 2em;
}

.bj-prose > h2 {
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.bj-prose ul,
.bj-prose ol {
	padding-left: 1.25em;
}

.bj-prose li + li {
	margin-top: 0.4em;
}

.bj-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* FAQ --------------------------------------------------------------------- */

.bj-faq {
	display: grid;
	gap: 2rem;
}

@media (min-width: 960px) {
	.bj-faq {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
	}
}

.bj-faq__list .wp-block-details {
	border: 2px solid var(--line);
	border-radius: var(--r-input);
	background: var(--surface);
	margin-bottom: 0.75rem;
	transition: border-color 0.25s var(--ease);
}

.bj-faq__list .wp-block-details[open] {
	border-color: var(--accent);
}

.bj-faq__list summary {
	position: relative;
	display: block;
	padding: 1.25rem 3.25rem 1.25rem 1.375rem;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.bj-faq__list summary::-webkit-details-marker {
	display: none;
}

.bj-faq__list summary::after {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: -0.625rem;
	background: var(--accent);
	-webkit-mask: url(../icons/plus.svg) center / contain no-repeat;
	mask: url(../icons/plus.svg) center / contain no-repeat;
	transition: transform 0.3s var(--ease);
}

.bj-faq__list details[open] summary::after {
	transform: rotate(45deg);
}

.bj-faq__list details > :not(summary) {
	padding: 0 3.25rem 1.375rem 1.375rem;
	color: var(--ink-2);
}

/* Contact + form ---------------------------------------------------------- */

.bj-contact {
	display: grid;
	gap: 3rem;
	align-items: start;
}

@media (min-width: 960px) {
	.bj-contact {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: clamp(3rem, 6vw, 5rem);
	}
}

.bj-contact__aside {
	display: grid;
	gap: 1.5rem;
}

.bj-contact__aside > p {
	color: var(--ink-2);
}

.bj-contact-list {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bj-contact-list__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.bj-contact-list__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 14px;
	background: var(--accent-soft);
	color: var(--accent);
}

.bj-contact-list__text {
	display: grid;
	line-height: 1.6;
}

.bj-contact-list__label {
	color: var(--muted);
	font-size: 0.875rem;
}

.bj-contact-list__value {
	color: var(--ink);
	font-weight: 600;
	word-break: break-word;
}

.bj-contact-list__value a {
	color: inherit;
}

.bj-contact-list__value a:hover {
	color: var(--accent);
}

.bj-contact-list--compact {
	gap: 0.6rem;
	margin-top: 1rem;
}

.bj-contact-list--compact .bj-contact-list__icon {
	width: auto;
	height: auto;
	background: none;
	color: var(--muted);
	padding-top: 0.2rem;
}

.bj-contact-list--compact .bj-svg {
	width: 1.125rem;
	height: 1.125rem;
}

.bj-contact-list--compact .bj-contact-list__label {
	display: none;
}

.bj-contact-list--compact .bj-contact-list__value {
	color: var(--ink-2);
	font-weight: 400;
	font-size: 0.9375rem;
}

.bj-admin-hint {
	padding: 0.75rem 1rem;
	border: 2px dashed var(--line);
	border-radius: var(--r-input);
	color: var(--muted);
	font-size: 0.875rem;
}

.bj-form-card {
	padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
	border: 2px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface);
	scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.bj-form-card > h2 {
	font-size: 1.625rem;
	margin-bottom: 1.5rem;
}

.bj-form {
	display: grid;
	gap: 1.75rem;
}

.bj-form__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.bj-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bj-field--full {
		grid-column: 1 / -1;
	}
}

.bj-field {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

.bj-field label {
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

.bj-req {
	color: var(--accent);
}

.bj-field input,
.bj-field select,
.bj-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 1rem;
	border: 2px solid var(--line);
	border-radius: var(--r-input);
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
	line-height: 1.5;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.bj-field textarea {
	min-height: 150px;
	resize: vertical;
}

.bj-field select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 1.25rem) 52%, calc(100% - 0.9rem) 52%;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
	background-repeat: no-repeat;
}

.bj-field input:focus,
.bj-field select:focus,
.bj-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background-color: var(--surface);
}

.bj-field.has-error input,
.bj-field.has-error textarea,
.bj-field.has-error select {
	border-color: #c42b2b;
}

.bj-field__help {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.bj-field__error {
	color: #c42b2b;
	font-size: 0.875rem;
}

@media (prefers-color-scheme: dark) {
	.bj-field__error { color: #ff8a80; }
	.bj-field.has-error input,
	.bj-field.has-error textarea,
	.bj-field.has-error select { border-color: #ff8a80; }
}

.bj-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bj-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.bj-form__note {
	color: var(--muted);
	font-size: 0.875rem;
	flex: 1 1 16rem;
}

.bj-form__note a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bj-form button[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.bj-form__status {
	padding: 1rem 1.25rem;
	border-radius: var(--r-input);
	font-size: 0.9375rem;
}

.bj-form__status.is-error {
	background: color-mix(in srgb, #c42b2b 12%, var(--surface));
}

.bj-form-done {
	display: grid;
	gap: 0.75rem;
	justify-items: start;
	padding-block: 1rem;
}

.bj-form-done::before {
	content: "";
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--accent-soft) url(../icons/check.svg) center / 1.6rem no-repeat;
}

.bj-form-done h3 {
	font-size: 1.5rem;
}

.bj-form-done p {
	color: var(--ink-2);
}

/* Footer ------------------------------------------------------------------ */

.bj-footer {
	background: var(--surface-2);
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.bj-footer__grid {
	display: grid;
	gap: 2.5rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: clamp(3rem, 2rem + 3vw, 4.5rem) var(--gutter) 2.5rem;
}

@media (min-width: 800px) {
	.bj-footer__grid {
		grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr));
		gap: 3rem;
	}
}

.bj-footer__brand {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.bj-footer__brand p {
	max-width: 24em;
	line-height: 1.7;
}

.bj-footer__title {
	margin-bottom: 1rem;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 700;
}

.bj-footer__links {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bj-footer__links a {
	color: var(--ink-2);
}

.bj-footer__links a:hover {
	color: var(--accent);
}

.bj-footer__links--plain li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.bj-footer__links--plain .bj-svg {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--muted);
	margin-top: 0.3rem;
}

.bj-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: 1.5rem var(--gutter) 2rem;
	color: var(--muted);
	font-size: 0.875rem;
}

.bj-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--line);
}

.bj-footer__legal {
	display: flex;
	gap: 1.5rem;
}

.bj-footer__legal a {
	color: var(--muted);
}

/* ==========================================================================
   Shop (WooCommerce)
   ========================================================================== */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.bj-shop-head {
	padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) 1.5rem;
}

.bj-crumbs {
	color: var(--muted);
	font-size: 0.875rem;
	margin-bottom: 0.75rem;
}

.bj-crumbs a {
	color: var(--muted);
}

.bj-crumbs a:hover {
	color: var(--accent);
}

.bj-crumb-sep {
	margin-inline: 0.5rem;
	opacity: 0.6;
}

.woocommerce .woocommerce-result-count {
	color: var(--muted);
	font-size: 0.9375rem;
	margin: 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
	min-height: 46px;
	padding: 0.5rem 1rem;
	border: 2px solid var(--line);
	border-radius: var(--r-btn);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}

.woocommerce .woocommerce-ordering {
	margin: 0;
}

.bj-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1.5rem;
}

/* Product grid */
.woocommerce ul.products,
.wc-block-grid__products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.woocommerce ul.products,
	.wc-block-grid__products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem 1.75rem;
	}

	.woocommerce ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: var(--ink);
	box-shadow: var(--lift);
}

.bj-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--surface-2);
}

.bj-card__media img,
.woocommerce ul.products li.product a.bj-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0 !important;
	transition: transform 0.7s var(--ease);
}

li.product:hover .bj-card__media img {
	transform: scale(1.06);
}

.bj-card__badges {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	display: flex;
	gap: 0.4rem;
}

.bj-badge {
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.6;
	background: var(--accent);
	color: #fff;
}

.bj-badge--out {
	background: var(--ink);
	color: var(--canvas);
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	display: none;
}

.bj-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
	padding: 1.25rem 1.25rem 1.375rem;
}

.woocommerce ul.products li.product .bj-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	padding: 0;
	margin: 0;
}

.bj-card__title a {
	color: var(--ink);
}

.bj-card__title a:hover {
	color: var(--accent);
}

.bj-card__meta {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.bj-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.875rem;
}

.woocommerce ul.products li.product .bj-card__price .price,
.bj-card__price {
	color: var(--ink);
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0;
}

.bj-card__price del {
	color: var(--muted);
	font-weight: 400;
	font-size: 0.9375rem;
	margin-right: 0.35rem;
}

.bj-card__price ins {
	background: none;
	color: var(--accent);
	text-decoration: none;
}

.woocommerce ul.products li.product .button {
	margin: 0;
}

/* Two-column phone grid: price over a full-width button. */
@media (max-width: 639px) {
	.bj-card__foot {
		flex-direction: column;
		align-items: stretch;
		gap: 0.6rem;
	}

	.bj-card__foot .button {
		width: 100%;
	}

	.bj-card__body {
		padding: 1rem 1rem 1.125rem;
	}
}

.woocommerce ul.products li.product .added_to_cart {
	display: none;
}

/* Single product */
.bj-single {
	padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) var(--section);
}

.woocommerce div.product {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: clamp(2.5rem, 5vw, 4.5rem);
		align-items: start;
	}

	.woocommerce div.product .woocommerce-tabs,
	.woocommerce div.product .related,
	.woocommerce div.product .up-sells {
		grid-column: 1 / -1;
	}
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce div.product div.images img {
	border-radius: var(--r-card);
	background: var(--surface-2);
	width: 100%;
}

/* Woo renders the gallery at opacity 0 and reveals it with JS; make the
   image visible even if that script never runs. */
.woocommerce div.product div.images.woocommerce-product-gallery {
	opacity: 1 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
	display: block;
}

.woocommerce div.product .flex-control-thumbs {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .flex-control-thumbs li {
	width: 84px;
	float: none;
	margin: 0;
}

.woocommerce div.product .flex-control-thumbs img {
	border-radius: 14px;
	border: 2px solid transparent;
}

.woocommerce div.product .flex-control-thumbs img.flex-active {
	border-color: var(--accent);
}

.woocommerce div.product .product_title {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	margin-bottom: 0.75rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ink);
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.woocommerce div.product p.price del {
	color: var(--muted);
	font-size: 1.25rem;
	font-weight: 400;
}

.woocommerce div.product p.price ins {
	background: none;
	color: var(--accent);
	text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--ink-2);
	margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-bottom: 1.5rem;
}

.woocommerce .quantity .qty {
	width: 92px;
	min-height: 52px;
	padding: 0.7rem;
	border: 2px solid var(--line);
	border-radius: var(--r-input);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-weight: 600;
	text-align: center;
}

.woocommerce div.product .product_meta {
	color: var(--muted);
	font-size: 0.875rem;
	border-top: 1px solid var(--line);
	padding-top: 1rem;
	margin-top: 1.5rem;
}

.woocommerce div.product .product_meta a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bj-trust {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 1.25rem;
	border-radius: var(--r-input);
	background: var(--surface-2);
	list-style: none;
}

.bj-trust li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9375rem;
}

.bj-trust .bj-svg {
	color: var(--accent);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	border-bottom: 2px solid var(--line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	content: none !important;
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.75rem 1.25rem;
	color: var(--muted);
	font-weight: 600;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
	color: var(--ink-2);
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 1.375rem;
	margin-bottom: 0.75rem;
}

.woocommerce table.shop_attributes {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-style: normal;
}

.woocommerce table.shop_attributes th {
	width: 40%;
	color: var(--ink);
	font-weight: 600;
}

.woocommerce div.product .related > h2,
.woocommerce div.product .up-sells > h2 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	margin-bottom: 1.5rem;
}

.woocommerce div.product .related,
.woocommerce div.product .up-sells {
	margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 0;
	border-left: 5px solid var(--accent);
	border-radius: var(--r-input);
	background: var(--surface-2);
	color: var(--ink);
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
}

/* Cart, checkout, account: keep Woo structure, apply theme skin. */
.woocommerce table.shop_table {
	width: 100%;
	border: 2px solid var(--line);
	border-radius: var(--r-card);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--surface);
}

.woocommerce table.shop_table th {
	background: var(--surface-2);
	color: var(--ink);
	font-weight: 700;
	padding: 1rem;
	text-align: left;
}

.woocommerce table.shop_table td {
	padding: 1rem;
	border-top: 1px solid var(--line);
	vertical-align: middle;
}

.woocommerce table.cart img {
	width: 72px;
	border-radius: 12px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
	min-height: 48px;
	padding: 0.6rem 1rem;
	border: 2px solid var(--line);
	border-radius: var(--r-input);
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
	width: 12rem;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
	padding: 1.5rem;
	border: 2px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface);
}

.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 1rem;
	border: 2px solid var(--line);
	border-radius: var(--r-input);
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
}

.woocommerce form .form-row label {
	font-weight: 600;
	margin-bottom: 0.35rem;
	display: block;
}

.woocommerce-checkout #payment {
	background: var(--surface-2);
	border-radius: var(--r-card);
	padding: 1.25rem;
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid var(--line);
	padding: 0 0 1rem;
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--surface);
	border-radius: var(--r-input);
	color: var(--ink-2);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--surface);
}

/* Block-based cart / checkout (Woo 8+) */
.wc-block-components-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
	border-radius: var(--r-btn) !important;
}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-select__container {
	border-radius: var(--r-input) !important;
}

.wc-block-cart-items__row img,
.wc-block-components-order-summary-item__image img {
	border-radius: 12px;
}

/* Empty states */
.cart-empty,
.wc-block-cart__empty-cart__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ink);
}

.bj-empty {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding: clamp(2rem, 1.5rem + 2vw, 3rem);
	border: 2px dashed var(--line);
	border-radius: var(--r-card);
	color: var(--muted);
}

/* Posts (news) ------------------------------------------------------------ */

.bj-posts__grid {
	display: grid;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.bj-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bj-posts__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.bj-post-card {
	display: grid;
	gap: 0.6rem;
	align-content: start;
}

.bj-post-card__image {
	margin: 0 0 0.5rem;
	overflow: hidden;
	border-radius: var(--r-img);
}

.bj-post-card__date,
.bj-article__date {
	color: var(--muted);
	font-size: 0.875rem;
}

.bj-post-card__title {
	font-size: 1.25rem;
}

.bj-post-card__title a {
	color: var(--ink);
}

.bj-post-card__title a:hover {
	color: var(--accent);
}

.bj-article .bj-wrap {
	display: grid;
	gap: 1.25rem;
}

.bj-article__title {
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.bj-article__image {
	margin: 1rem 0;
	overflow: hidden;
	border-radius: var(--r-card);
}

/* 404 */
.bj-notfound .bj-wrap {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
	min-height: 50vh;
	align-content: center;
}

.bj-notfound__code {
	font-size: clamp(3rem, 2rem + 6vw, 6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--accent);
	letter-spacing: -0.04em;
}

/* Scroll reveal ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.bj-js .bj-rv {
		opacity: 0;
		transform: translateY(20px);
		transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
		transition-delay: calc(var(--rv-i, 0) * 70ms);
	}

	.bj-js .bj-rv.is-in {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Editor ------------------------------------------------------------------ */

.editor-styles-wrapper .bj-cat {
	min-height: 240px;
}

.editor-styles-wrapper .bj-js .bj-rv {
	opacity: 1;
	transform: none;
}
