/* ==========================================================================
   CraftsBo Configurator
   Original stylesheet. Layout proportions and motion timings were derived
   from frame-by-frame measurement of the reference recording; no third-party
   code, imagery, fonts or copy are used.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Animatable colour variables.

   A plain custom property is a string, so changing --cb-ink from white to
   near-black switches instantly — the copy would snap to dark while the
   background was still mid-fade, which on a black-to-white product change
   reads as a flash of unreadable text. Registering them as <color> makes the
   browser interpolate them, so the whole room changes as one movement.

   Unsupported browsers simply get the old instant switch.
   -------------------------------------------------------------------------- */

@property --cb-ink {
	syntax: "<color>";
	inherits: true;
	initial-value: #f7f9fc;
}
@property --cb-ink-soft {
	syntax: "<color>";
	inherits: true;
	initial-value: rgba(247, 249, 252, .68);
}
@property --cb-line {
	syntax: "<color>";
	inherits: true;
	initial-value: rgba(247, 249, 252, .18);
}
@property --cb-chip {
	syntax: "<color>";
	inherits: true;
	initial-value: rgba(247, 249, 252, .10);
}
@property --cb-chip-line {
	syntax: "<color>";
	inherits: true;
	initial-value: rgba(247, 249, 252, .24);
}
@property --cb-accent {
	syntax: "<color>";
	inherits: true;
	initial-value: #ffffff;
}
@property --cb-on-accent {
	syntax: "<color>";
	inherits: true;
	initial-value: #10233f;
}
@property --cb-vignette {
	syntax: "<color>";
	inherits: true;
	initial-value: rgba(0, 0, 0, .16);
}

.cb-root {
	--cb-height: 88vh;
	--cb-min-height: 640px;
	--cb-max-width: 1440px;
	--cb-pad-x: clamp(20px, 4.2vw, 68px);
	--cb-pad-y: clamp(18px, 2.6vw, 34px);

	/* Palette — anchored to CraftsBo blue, then tinted lightly at runtime
	   toward the active product colour. The identity never leaves blue. */
	--cb-brand: #1f4fa8;
	--cb-bg-a: #6284c2;
	--cb-bg-b: #315daf;
	--cb-bg-c: #0e244c;
	--cb-ink: #f7f9fc;
	--cb-ink-soft: rgba(247, 249, 252, .68);
	--cb-line: rgba(247, 249, 252, .18);
	--cb-chip: rgba(247, 249, 252, .10);
	--cb-chip-line: rgba(247, 249, 252, .24);
	--cb-accent: #ffffff;
	--cb-on-accent: #10233f;
	--cb-vignette: rgba(0, 0, 0, .16);

	/* Motion — measured off the reference at 30fps. */
	--cb-ease-hero: cubic-bezier(.22, 1, .36, 1);   /* overshoot-free settle   */
	--cb-ease-exit: cubic-bezier(.55, 0, .78, .28); /* accelerating fly-out    */
	--cb-ease-ui: cubic-bezier(.4, 0, .2, 1);
	--cb-t-hero: 620ms;
	--cb-t-exit: 520ms;
	--cb-t-veil-out: 180ms;
	--cb-t-veil-in: 280ms;
	/* Background and ink move together, inside the 300-600ms band. */
	--cb-t-bg: 560ms;
	--cb-t-ink: 560ms;
	/* The pill glides slightly slower than the hero and with a touch of
	   overshoot, so it reads as a physical object settling into place. */
	--cb-t-pill: 520ms;
	--cb-ease-pill: cubic-bezier(.34, 1.32, .48, 1);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: var(--cb-min-height);
	height: var(--cb-height);
	color: var(--cb-ink);
	font-family: var(--cb-font-body, ui-sans-serif, -apple-system, "Segoe UI", Inter, Helvetica, Arial, sans-serif);
	-webkit-font-smoothing: antialiased;
	contain: layout paint;

	/* Every colour in the interface eases to its new value in step with the
	   background, so the room recolours as one gesture. */
	transition:
		--cb-ink var(--cb-t-ink) var(--cb-ease-ui),
		--cb-ink-soft var(--cb-t-ink) var(--cb-ease-ui),
		--cb-line var(--cb-t-ink) var(--cb-ease-ui),
		--cb-chip var(--cb-t-ink) var(--cb-ease-ui),
		--cb-chip-line var(--cb-t-ink) var(--cb-ease-ui),
		--cb-accent var(--cb-t-ink) var(--cb-ease-ui),
		--cb-on-accent var(--cb-t-ink) var(--cb-ease-ui);
}

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

/* ---------- Elementor Theme Builder header ------------------------------ */

.cb-site-head {
	position: relative;
	z-index: 120;
	display: grid;
	grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
	align-items: center;
	gap: 24px;
	padding: 18px clamp(20px, 4.2vw, 68px);
	color: #f7f9fc;
	background: #173d7f;
	font-family: var(--cb-font-body, ui-sans-serif, -apple-system, "Segoe UI", Inter, Helvetica, Arial, sans-serif);
}
.cb-site-brand { color: inherit; text-decoration: none; justify-self: start; }
.cb-site-nav { display: flex; align-items: center; gap: 8px; }
.cb-site-nav > a,
.cb-site-nav-group > a {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	font-size: 13px;
	white-space: nowrap;
}
.cb-site-nav > a:hover,
.cb-site-nav-group:hover > a { background: rgba(255,255,255,.14); }
.cb-site-nav-group { position: relative; }
.cb-site-menu {
	position: absolute;
	top: calc(100% + 7px);
	left: 50%;
	min-width: 190px;
	padding: 8px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 15px;
	background: rgba(16,35,63,.98);
	box-shadow: 0 18px 45px rgba(0,0,0,.3);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -5px);
	transition: opacity 180ms ease, transform 240ms ease, visibility 180ms;
}
.cb-site-nav-group:hover .cb-site-menu,
.cb-site-nav-group:focus-within .cb-site-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
.cb-site-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	font-size: 13px;
}
.cb-site-menu a:hover { background: rgba(255,255,255,.12); }
.cb-site-tools {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 13px;
}
.cb-site-tools a { color: inherit; text-decoration: none; font-size: 12px; }
.cb-site-count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	margin-left: 4px;
	padding: 0 4px;
	border-radius: 999px;
	background: #fff;
	color: #10233f;
	font-size: 10px;
}

@media (max-width: 1000px) {
	.cb-site-head { grid-template-columns: auto 1fr auto; }
	.cb-site-nav { justify-content: flex-start; overflow-x: auto; }
}
@media (max-width: 760px) {
	.cb-site-head { grid-template-columns: 1fr auto; gap: 14px; }
	.cb-site-nav { grid-column: 1 / -1; grid-row: 2; }
	.cb-site-tools a:first-child { display: none; }
}

/* ---------- Background ---------------------------------------------------- */

.cb-bg { position: absolute; inset: 0; z-index: 0; }

.cb-bg-layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	background: radial-gradient(120% 118% at 50% 14%, var(--cb-bg-a) 0%, var(--cb-bg-b) 46%, var(--cb-bg-c) 100%);
	transition: opacity var(--cb-t-bg) var(--cb-ease-ui);
	will-change: opacity;
}
.cb-bg-layer.is-active { opacity: 1; }

.cb-bg-grain {
	position: absolute;
	inset: -50%;
	opacity: .035;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
	mix-blend-mode: overlay;
}

/* The vignette doubles as a readability overlay: on a pale garment it deepens
   so the copy in the side columns keeps its footing. Strength is set at
   runtime from the measured contrast. */
.cb-bg-vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(90% 80% at 50% 42%, transparent 46%, var(--cb-vignette) 100%);
	transition: background var(--cb-t-ink) var(--cb-ease-ui);
}

/* ---------- Shell / grid -------------------------------------------------- */

.cb-shell {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	height: 100%;
	max-width: var(--cb-max-width);
	margin: 0 auto;
	padding: var(--cb-pad-y) var(--cb-pad-x);
}

/* The "veil": on every transition the surrounding UI briefly blurs and dims
   while the product itself stays sharp — this is the signature move. */
.cb-veil {
	transition:
		opacity var(--cb-t-veil-in) var(--cb-ease-ui),
		filter var(--cb-t-veil-in) var(--cb-ease-ui),
		transform var(--cb-t-veil-in) var(--cb-ease-ui);
}
.cb-root.is-veiled .cb-veil {
	opacity: .18;
	filter: blur(9px);
	transform: scale(.992);
	transition-duration: var(--cb-t-veil-out);
}

@media (prefers-reduced-motion: reduce) {
	.cb-root * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
	.cb-root.is-veiled .cb-veil { filter: none; opacity: 1; }
}

/* ---------- Top bar ------------------------------------------------------- */

.cb-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
}

.cb-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: inherit;
	text-decoration: none;
	justify-self: start;
}
.cb-brand-mark { width: 30px; height: 23px; }
.cb-brand-name {
	font-family: var(--cb-font-display, "Playfair Display", Georgia, "Times New Roman", serif);
	font-size: clamp(15px, 1.35vw, 19px);
	letter-spacing: .16em;
	text-transform: uppercase;
	font-weight: 600;
}

/* ---------- Collection navigation ---------------------------------------
   Geometry measured from the reference: ~16.5px semibold labels, ~42px
   between items, a fully rounded white pill ~35px tall with ~13px of
   horizontal padding. The pill is one element that slides; it is not a
   background on each link, which is what makes the movement possible. */

.cb-nav-wrap {
	justify-self: center;
	min-width: 0;
	max-width: 100%;
}

.cb-nav-wrap { position: relative; }

.cb-nav {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 100%;
	/* Visible on desktop so the dropdown is not clipped. Only the mobile
	   breakpoint turns this into a scroller, where the collections move into
	   the sub-bar instead. */
	overflow: visible;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
}
.cb-nav::-webkit-scrollbar { display: none; }

.cb-nav-items {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.9vw, 42px);
	padding: 3px 2px;
	margin: 0 auto;
}

.cb-nav-pill {
	position: absolute;
	top: 50%;
	left: 0;
	height: 35px;
	width: 0;
	border-radius: 999px;
	background: var(--cb-accent);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45);
	transform: translate3d(0, -50%, 0);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transition:
		transform var(--cb-t-pill) var(--cb-ease-pill),
		width var(--cb-t-pill) var(--cb-ease-pill),
		opacity 220ms var(--cb-ease-ui);
	will-change: transform, width;
}
.cb-nav-pill.is-on { opacity: 1; }

.cb-nav-link {
	position: relative;
	z-index: 1;
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--cb-ink);
	font: inherit;
	font-size: clamp(13px, 1.15vw, 16.5px);
	font-weight: 600;
	letter-spacing: .005em;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	padding: 10px 13px;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	transition:
		color 300ms var(--cb-ease-ui),
		opacity 240ms var(--cb-ease-ui),
		transform 300ms var(--cb-ease-hero);
}
/* Inactive links stay fully legible — dimmed only slightly, never greyed out. */
.cb-nav-link { opacity: .86; }
.cb-nav-link:hover { opacity: 1; transform: translateY(-1px); }
.cb-nav-link:focus-visible { outline: 2px solid var(--cb-ink); outline-offset: 3px; }
.cb-nav-link.is-active {
	color: var(--cb-on-accent);
	opacity: 1;
	transform: none;
	cursor: default;
}
/* While the pill is travelling, hold the label colour so it does not flash. */
.cb-nav.is-moving .cb-nav-link { transition-duration: var(--cb-t-pill); }

/* ---------- Dropdown -----------------------------------------------------
   Same white material as the active pill, so the menu reads as the pill
   opening rather than as a separate widget. Absolutely positioned, so opening
   it never moves the page. */

.cb-nav-group { position: relative; display: inline-flex; }

.cb-nav-caret {
	width: 9px;
	height: 9px;
	margin-left: 7px;
	flex: none;
	transition: transform 320ms var(--cb-ease-hero), opacity 240ms var(--cb-ease-ui);
	opacity: .7;
}
.cb-nav-group.is-open .cb-nav-caret { transform: rotate(180deg); opacity: 1; }

.cb-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 30;
	min-width: 216px;
	padding: 7px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .95);
	backdrop-filter: blur(22px) saturate(150%);
	-webkit-backdrop-filter: blur(22px) saturate(150%);
	box-shadow:
		0 26px 60px -26px rgba(0, 0, 0, .6),
		0 2px 6px -2px rgba(0, 0, 0, .18),
		inset 0 0 0 1px rgba(255, 255, 255, .7);
	color: #10233f;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(-50%, -8px, 0) scale(.97);
	transform-origin: 50% 0;
	transition:
		opacity 220ms var(--cb-ease-ui),
		transform 340ms var(--cb-ease-hero),
		visibility 0s linear 340ms;
}
.cb-nav-group.is-open .cb-menu {
	opacity: 1;
	visibility: visible;
	transform: translate3d(-50%, 0, 0) scale(1);
	transition-delay: 0s, 0s, 0s;
}

/* Bridge the gap between the label and the panel so travelling diagonally
   with the mouse cannot close the menu mid-move. */
.cb-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}

/* Small pointer, tying the panel to its label. */
.cb-menu::after {
	content: "";
	position: absolute;
	top: -5px;
	left: 50%;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-radius: 3px 0 0 0;
	background: rgba(255, 255, 255, .95);
	transform: rotate(45deg);
}

.cb-menu-item {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .004em;
	text-align: left;
	padding: 11px 14px;
	border-radius: 12px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 200ms var(--cb-ease-ui), color 200ms var(--cb-ease-ui);
}
.cb-menu-item:hover { background: rgba(16, 35, 63, .07); }
.cb-menu-item:focus-visible { outline: 2px solid #10233f; outline-offset: -2px; }
.cb-menu-item.is-active { background: #10233f; color: #fff; }
.cb-menu-item.is-active .cb-menu-count { opacity: .7; }

.cb-menu-count {
	font-size: 11.5px;
	font-variant-numeric: tabular-nums;
	opacity: .42;
}

.cb-menu-sep {
	height: 1px;
	margin: 6px 10px;
	background: rgba(16, 35, 63, .1);
}

/* ---------- Mobile sub-bar ------------------------------------------------
   On touch screens the dropdown is replaced by an inline row under the nav,
   so nothing can be clipped by the horizontally scrolling tabs. */

.cb-subbar {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition:
		max-height 380ms var(--cb-ease-hero),
		opacity 240ms var(--cb-ease-ui),
		margin-top 380ms var(--cb-ease-hero);
	margin-top: 0;
}
.cb-subbar.is-open { max-height: 64px; opacity: 1; margin-top: 10px; }
.cb-subbar[hidden] { display: none; }

.cb-subbar-inner {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 2px 0;
	margin: 0 calc(var(--cb-pad-x) * -1);
	padding-left: var(--cb-pad-x);
	padding-right: var(--cb-pad-x);
}
.cb-subbar-inner::-webkit-scrollbar { display: none; }

.cb-sub-item {
	appearance: none;
	flex: none;
	border: 0;
	background: var(--cb-chip);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
	color: var(--cb-ink);
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1;
	padding: 9px 14px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 220ms var(--cb-ease-ui), color 220ms var(--cb-ease-ui), transform 260ms var(--cb-ease-hero);
}
.cb-sub-item:active { transform: scale(.95); }
.cb-sub-item.is-active {
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	box-shadow: none;
}

.cb-tools { display: inline-flex; align-items: center; gap: 14px; justify-self: end; }
.cb-tool {
	position: relative;
	display: inline-flex;
	color: inherit;
	text-decoration: none;
	opacity: .82;
	transition: opacity 200ms var(--cb-ease-ui), transform 200ms var(--cb-ease-ui);
}
.cb-tool:hover { opacity: 1; transform: translateY(-1px); }
.cb-tool svg { width: 22px; height: 22px; }
.cb-cart-count {
	position: absolute;
	top: -4px;
	right: -6px;
	min-width: 15px;
	height: 15px;
	padding: 0 4px;
	border-radius: 999px;
	background: #d1233f;
	color: #fff;
	font-size: 9.5px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	transform: scale(0);
	transition: transform 320ms var(--cb-ease-hero);
}
.cb-cart-count.is-on { transform: scale(1); }

/* ---------- Views: hero and grid share one cell --------------------------
   Both are stacked in the same grid area so switching between them is a
   cross-fade in place, not a rebuild. The hero stays mounted underneath,
   which is why coming back from the grid is instant. */

.cb-views {
	position: relative;
	display: grid;
	grid-template-areas: "view";
	min-height: 0;
}
.cb-views > * { grid-area: view; min-height: 0; }

/* Whichever view is not showing is taken out of flow, so the row is sized by
   the visible one. Without this the hero would keep reserving its full height
   behind a shorter grid on a phone, leaving dead space below. */
.cb-root:not(.is-grid) .cb-grid,
.cb-root.is-grid .cb-main {
	position: absolute;
	inset: 0;
}

.cb-main,
.cb-grid {
	transition:
		opacity 420ms var(--cb-ease-ui),
		transform 560ms var(--cb-ease-hero),
		filter 420ms var(--cb-ease-ui);
}

/* Hero visible, grid waiting just behind it. */
.cb-grid {
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(.985);
	pointer-events: none;
}
.cb-root.is-grid .cb-main {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px) scale(.99);
	filter: blur(6px);
	pointer-events: none;
}
.cb-root.is-grid .cb-grid {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
}
.cb-main { transition-property: opacity, transform, filter, visibility; }
.cb-grid { transition-property: opacity, transform, filter, visibility; }

/* ---------- Collection grid ---------------------------------------------- */

.cb-grid {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: clamp(14px, 2vw, 24px);
	padding-top: clamp(8px, 1.4vw, 18px);
}

.cb-grid-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.cb-grid-title {
	margin: 0;
	font-family: var(--cb-font-display, "Playfair Display", Georgia, serif);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 44px);
	line-height: 1.05;
	letter-spacing: -.012em;
}

.cb-grid-count {
	margin: 8px 0 0;
	font-size: clamp(11px, .85vw, 13px);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
}

.cb-grid-tools { display: inline-flex; align-items: center; gap: 12px; }

.cb-sort { display: inline-flex; align-items: center; gap: 8px; }
.cb-sort-label {
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
}
.cb-sort select {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: var(--cb-chip);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
	color: var(--cb-ink);
	font: inherit;
	font-size: 12.5px;
	padding: 9px 30px 9px 14px;
	cursor: pointer;
	background-image:
		linear-gradient(45deg, transparent 50%, currentColor 50%),
		linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	transition: background-color 220ms var(--cb-ease-ui);
}
.cb-sort select option { color: #10233f; background: #fff; }

.cb-grid-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	border-radius: 999px;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	padding: 10px 18px 10px 14px;
	cursor: pointer;
	transition: transform 300ms var(--cb-ease-hero), box-shadow 260ms var(--cb-ease-ui);
	box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5);
}
.cb-grid-back svg { width: 14px; height: 14px; }
.cb-grid-back:hover { transform: translateX(-2px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }

/* The list scrolls inside the hero, so the page itself never grows. */
.cb-grid-items {
	display: grid;
	grid-template-columns: repeat(var(--cb-cols, 4), minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 22px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 2px 4px calc(var(--cb-pad-y) + 4px) 2px;
	margin-right: -4px;
	scrollbar-width: thin;
	scrollbar-color: var(--cb-chip-line) transparent;
}
.cb-grid-items::-webkit-scrollbar { width: 8px; }
.cb-grid-items::-webkit-scrollbar-thumb {
	background: var(--cb-chip-line);
	border-radius: 999px;
}

/* Four columns at most, so cards never become postage stamps. */
@media (min-width: 1180px) {
	.cb-grid-items { grid-template-columns: repeat(var(--cb-cols, 4), minmax(0, 1fr)); }
}

.cb-grid-empty {
	margin: 0;
	align-self: start;
	color: var(--cb-ink-soft);
	font-size: 14px;
}
.cb-grid-empty[hidden] { display: none; }

/* ---------- Card --------------------------------------------------------- */

.cb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: var(--cb-chip);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--cb-ink);
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px);
	animation: cb-card-in 520ms var(--cb-ease-hero) forwards;
	animation-delay: calc(var(--cb-i, 0) * 38ms);
	transition:
		transform 380ms var(--cb-ease-hero),
		box-shadow 320ms var(--cb-ease-ui),
		background-color 320ms var(--cb-ease-ui);
}
@keyframes cb-card-in { to { opacity: 1; transform: none; } }

.cb-card:hover {
	transform: translateY(-5px);
	background: color-mix(in srgb, var(--cb-chip) 100%, #fff 6%);
	box-shadow:
		inset 0 0 0 1px var(--cb-chip-line),
		0 22px 44px -22px rgba(0, 0, 0, .65);
}
.cb-card:focus-visible { outline: 2px solid var(--cb-ink); outline-offset: 3px; }

.cb-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	padding: 14px;
	overflow: hidden;
}
.cb-card-media::before {
	content: "";
	position: absolute;
	inset: 12%;
	border-radius: 50%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .14) 0%, transparent 72%);
}
.cb-card img {
	position: relative;
	max-width: 84%;
	max-height: 84%;
	object-fit: contain;
	filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .28));
	transition: transform 520ms var(--cb-ease-hero);
}
.cb-card:hover img { transform: scale(1.06) translateY(-3px); }

.cb-card-body {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 0 16px 16px;
}

.cb-card-name {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: .002em;
	/* two lines maximum, so cards stay the same height */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cb-card-prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cb-card-price { font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
.cb-card-was { font-size: 12.5px; color: var(--cb-ink-soft); text-decoration: line-through; }

.cb-card-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: var(--cb-ink-soft);
}
.cb-card-stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 1.5px; }
.cb-card-stars::before { content: "★★★★★"; opacity: .28; }
.cb-card-stars span {
	position: absolute;
	inset: 0;
	overflow: hidden;
	white-space: nowrap;
}
.cb-card-stars span::before { content: "★★★★★"; }

.cb-card-swatches { display: flex; align-items: center; gap: 6px; margin-top: 2px; flex-wrap: wrap; }
.cb-card-swatch {
	width: 13px;
	height: 13px;
	border-radius: 999px;
	background: var(--cb-swatch, currentColor);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 1.5px var(--cb-chip-line);
}
.cb-card-swatch-more { font-size: 10.5px; color: var(--cb-ink-soft); margin-left: 2px; }

.cb-card-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	z-index: 2;
}
.cb-badge {
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .55);
}
.cb-badge-sale { background: #d1233f; color: #fff; }

.cb-card-out {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, .32);
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	backdrop-filter: blur(2px);
}

/* ---------- Main grid ----------------------------------------------------- */

.cb-main {
	display: grid;
	grid-template-columns: minmax(0, 25.5fr) minmax(0, 42fr) minmax(0, 25.5fr);
	align-items: center;
	gap: clamp(12px, 2vw, 34px);
	min-height: 0;
}

.cb-col { display: flex; flex-direction: column; min-width: 0; }
.cb-col-left { gap: clamp(14px, 1.8vw, 24px); align-items: flex-start; }
.cb-col-right { gap: clamp(16px, 2vw, 26px); align-items: flex-end; text-align: right; }

.cb-eyebrow {
	margin: 0 0 10px;
	font-size: clamp(9.5px, .78vw, 11.5px);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
}

.cb-title {
	margin: 0;
	font-family: var(--cb-font-display, "Playfair Display", Georgia, "Times New Roman", serif);
	font-weight: 500;
	font-size: clamp(30px, 3.55vw, 55px);
	line-height: 1.06;
	letter-spacing: -.012em;
	text-wrap: balance;
}

.cb-sub {
	margin: 16px 0 0;
	max-width: 30ch;
	font-size: clamp(12px, .95vw, 14px);
	line-height: 1.65;
	color: var(--cb-ink-soft);
}

.cb-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	font: inherit;
	font-size: clamp(11.5px, .9vw, 13px);
	font-weight: 500;
	letter-spacing: .01em;
	cursor: pointer;
	transition: transform 320ms var(--cb-ease-hero), box-shadow 320ms var(--cb-ease-ui), opacity 200ms linear;
	box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .55);
}
.cb-cta svg { width: 14px; height: 14px; transition: transform 320ms var(--cb-ease-hero); }
.cb-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .65); }
.cb-cta:hover svg { transform: translateX(3px); }
.cb-cta:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.cb-cta.is-busy { pointer-events: none; opacity: .7; }

.cb-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	width: 100%;
	max-width: 320px;
}

.cb-purchase-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}

.cb-back {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--cb-ink-soft);
	font: inherit;
	font-size: clamp(11.5px, .9vw, 13px);
	letter-spacing: .04em;
	padding: 6px 2px;
	cursor: pointer;
	transition: color 220ms var(--cb-ease-ui), transform 260ms var(--cb-ease-hero);
}
.cb-back:hover { color: var(--cb-ink); transform: translateX(-2px); }
.cb-back[hidden] { display: none; }

/* ---------- Price --------------------------------------------------------- */

.cb-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.15; }
.cb-price[hidden] { display: none; }
.cb-price-now { font-size: clamp(19px, 1.85vw, 27px); font-weight: 600; letter-spacing: -.01em; }
.cb-price-now del { display: none; }
.cb-price-now ins { text-decoration: none; }
.cb-price-was { font-size: clamp(13px, 1.2vw, 17px); color: var(--cb-ink-soft); text-decoration: line-through; }
.cb-price-was:empty { display: none; }

/* ---------- Choices ------------------------------------------------------- */

.cb-choice-label {
	margin: 0 0 11px;
	font-size: clamp(10px, .8vw, 12px);
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
}

.cb-choices {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	max-width: 320px;
	margin-left: auto;
}

/* Product detail keeps every WooCommerce attribute visible together. The
   groups remain generated from product data, so adding an attribute in
   WooCommerce automatically adds another editable selector here. */
.cb-choices.is-configuring {
	width: min(100%, 420px);
	max-width: 420px;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 14px;
}
.cb-config-group { width: 100%; }
.cb-config-label {
	margin: 0 0 8px;
	font-size: clamp(10px, .8vw, 12px);
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
}
.cb-config-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.cb-opt {
	appearance: none;
	border: 1px solid transparent;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	font: inherit;
	font-size: clamp(10.5px, .84vw, 12.5px);
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color 260ms var(--cb-ease-ui),
		color 260ms var(--cb-ease-ui),
		transform 340ms var(--cb-ease-hero),
		box-shadow 260ms var(--cb-ease-ui),
		opacity 200ms linear;
	/* staggered entrance */
	opacity: 0;
	transform: translateY(9px);
	animation: cb-opt-in 420ms var(--cb-ease-hero) forwards;
	animation-delay: calc(var(--cb-i, 0) * 42ms);
}
@keyframes cb-opt-in { to { opacity: 1; transform: none; } }

.cb-opt:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .6); }
.cb-opt.is-active { background: var(--cb-on-accent); color: var(--cb-accent); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); }
.cb-opt[disabled] { opacity: .26; cursor: not-allowed; text-decoration: line-through; transform: none; }

/* pill sizes / chips — the compact style used for size + short labels */
.cb-opt-pill { min-width: 40px; height: 32px; padding: 0 12px; border-radius: 999px; }

/* wider label chips — collections and product names */
.cb-opt-label { height: 34px; padding: 0 16px; border-radius: 999px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* colour swatch dots */
.cb-opt-swatch {
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 999px;
	background: var(--cb-swatch, #999);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), 0 2px 8px -4px rgba(0, 0, 0, .5);
	position: relative;
}
.cb-opt-swatch::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 999px;
	border: 1.5px solid currentColor;
	color: var(--cb-ink);
	opacity: 0;
	transform: scale(.82);
	transition: opacity 240ms var(--cb-ease-ui), transform 340ms var(--cb-ease-hero);
}
.cb-opt-swatch.is-active::after { opacity: 1; transform: scale(1); }
.cb-opt-swatch.is-active { background: var(--cb-swatch, #999); }

/* quantity stepper */
.cb-qty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: var(--cb-chip);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
}
.cb-qty button {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 999px;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	font: inherit;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: transform 260ms var(--cb-ease-hero), opacity 200ms linear;
}
.cb-qty button:hover { transform: scale(1.08); }
.cb-qty button:disabled { opacity: .3; cursor: not-allowed; transform: none; }
.cb-qty output {
	min-width: 44px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.cb-note {
	margin: 4px 0 0;
	font-size: 11.5px;
	letter-spacing: .04em;
	color: var(--cb-ink-soft);
	max-width: 30ch;
}

/* ---------- Stage --------------------------------------------------------- */

.cb-stage {
	position: relative;
	display: grid;
	place-items: center;
	height: 100%;
	min-height: 0;
	/* Gutters for the flanking arrows. The product sits inside them, so the
	   arrows never overlap the garment. */
	padding-inline: clamp(58px, 10.5%, 84px);
}

.cb-stage-inner {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	transform-style: preserve-3d;
}

.cb-hero,
.cb-hero-ghost {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	max-width: min(100%, 460px);
	max-height: 82%;
	object-fit: contain;
	transform: translate(-50%, -50%);
	transform-origin: 50% 50%;
	filter: drop-shadow(0 34px 42px rgba(0, 0, 0, .26));
	will-change: transform, opacity;
	pointer-events: none;
	backface-visibility: hidden;
}

.cb-hero.is-linked {
	pointer-events: auto;
	cursor: pointer;
	transition:
		transform var(--cb-t-hero) var(--cb-ease-hero),
		opacity 260ms var(--cb-ease-ui),
		filter 280ms var(--cb-ease-ui);
}
.cb-hero.is-linked:hover {
	filter:
		drop-shadow(0 34px 42px rgba(0, 0, 0, .26))
		drop-shadow(0 0 18px rgba(255, 255, 255, .16));
}
.cb-hero.is-linked:focus-visible {
	outline: 2px solid var(--cb-ink);
	outline-offset: 8px;
	border-radius: 12px;
}

/* soft contact shadow that scales with the hero */
.cb-stage-shadow {
	position: absolute;
	left: 50%;
	bottom: 11%;
	width: 40%;
	height: 26px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .34) 0%, transparent 72%);
	filter: blur(9px);
	opacity: .7;
	transition: opacity var(--cb-t-hero) var(--cb-ease-hero), transform var(--cb-t-hero) var(--cb-ease-hero);
	pointer-events: none;
}
.cb-root.is-swapping .cb-stage-shadow { opacity: .18; transform: translateX(-50%) scaleX(.72); }

.cb-stage-plate {
	position: absolute;
	width: 58%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .18) 0%, transparent 70%);
	pointer-events: none;
}

.cb-stage-caption {
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-size: clamp(10px, .8vw, 12px);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
	white-space: nowrap;
}

/* ---------- Bottom bar ---------------------------------------------------- */

.cb-bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 16px;
}

/* ---------- Social ------------------------------------------------------- */

.cb-social,
.cb-social-empty {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	align-self: end;
}

.cb-social {
	display: flex;
	align-items: center;
	gap: clamp(16px, 1.7vw, 24px);
	margin: 0 0 4px;
	padding: 0;
	list-style: none;
}
.cb-social li { display: flex; }
.cb-social a {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	color: var(--cb-ink);
	opacity: .78;
	text-decoration: none;
	transition:
		opacity 240ms var(--cb-ease-ui),
		transform 360ms var(--cb-ease-hero);
}
.cb-social a svg { width: 100%; height: 100%; display: block; }
.cb-social a:hover { opacity: 1; transform: translateY(-3px); }
.cb-social a:focus-visible { outline: 2px solid var(--cb-ink); outline-offset: 5px; border-radius: 3px; }

.cb-tagline {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	text-align: center;
	font-family: var(--cb-font-display, "Playfair Display", Georgia, "Times New Roman", serif);
	font-size: clamp(14px, 1.35vw, 20px);
	line-height: 1.35;
	letter-spacing: .005em;
}

/* ---------- Carousel controls -------------------------------------------
   Squircles, not circles: a rounded square at roughly 30% radius,
   translucent over the blue, with a white chevron. Both stay visible.

   PLACEMENT: one either side of the product, around its lower middle. They
   are positioned against the stage rather than the hero image itself, so a
   tall hoodie and a short tee put the arrows in the same place — the
   controls stay still while the product changes. */

.cb-carousel {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: end;
	display: flex;
	align-items: center;
}

.cb-arrow {
	width: clamp(44px, 3.2vw, 48px);
	height: clamp(44px, 3.2vw, 48px);
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 30%;
	background: rgba(255, 255, 255, .16);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--cb-ink);
	cursor: pointer;
	transition:
		transform 300ms var(--cb-ease-hero),
		background-color 240ms var(--cb-ease-ui),
		box-shadow 240ms var(--cb-ease-ui),
		opacity 240ms linear;
}
.cb-arrow svg { width: 20px; height: 20px; }
.cb-arrow:hover {
	transform: scale(1.08);
	background: rgba(255, 255, 255, .3);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line), 0 10px 22px -12px rgba(0, 0, 0, .6);
}
.cb-arrow:active { transform: scale(.93); transition-duration: 90ms; }
.cb-arrow:focus-visible { outline: 2px solid var(--cb-ink); outline-offset: 3px; }
/* Only ever disabled when there is genuinely nothing to cycle to. */
.cb-arrow:disabled { opacity: .3; cursor: not-allowed; transform: none; }

/* Flanking positions. 68% down the stage puts them level with the lower
   third of the garment, which is where the reference sits them. */
.cb-stage > .cb-arrow {
	position: absolute;
	top: 68%;
	z-index: 3;
	transform: translateY(-50%);
}
.cb-stage > .cb-arrow-prev { left: 0; }
.cb-stage > .cb-arrow-next { right: 0; }

/* Re-declare the hover/press transforms, since the base rule's `scale()`
   would otherwise drop the vertical centring above. */
.cb-stage > .cb-arrow:hover { transform: translateY(-50%) scale(1.08); }
.cb-stage > .cb-arrow:active { transform: translateY(-50%) scale(.93); }
.cb-stage > .cb-arrow:disabled { transform: translateY(-50%); }

.cb-peek {
	width: clamp(56px, 5.4vw, 82px);
	height: clamp(56px, 5.4vw, 82px);
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 340ms var(--cb-ease-ui), transform 420ms var(--cb-ease-hero);
}
.cb-peek.is-on { opacity: 1; transform: none; }
.cb-peek img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .3));
	transition: transform 340ms var(--cb-ease-hero);
}
.cb-peek:hover img { transform: scale(1.09) translateY(-3px); }
.cb-peek.is-flying { opacity: 0; transition: opacity 90ms linear; }

/* ---------- Toast / loader ------------------------------------------------ */

.cb-toast {
	position: absolute;
	left: 50%;
	bottom: calc(var(--cb-pad-y) + 74px);
	transform: translate(-50%, 14px);
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	font-size: 12.5px;
	letter-spacing: .02em;
	opacity: 0;
	pointer-events: none;
	transition: opacity 260ms var(--cb-ease-ui), transform 420ms var(--cb-ease-hero);
	z-index: 5;
	white-space: nowrap;
	box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .7);
}
.cb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cb-toast a { color: inherit; text-underline-offset: 3px; margin-left: 10px; }

.cb-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	gap: 6px;
	z-index: 4;
}
.cb-root.is-loading .cb-loader { display: flex; }
.cb-loader span {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--cb-ink);
	opacity: .3;
	animation: cb-pulse 900ms var(--cb-ease-ui) infinite;
}
.cb-loader span:nth-child(2) { animation-delay: 140ms; }
.cb-loader span:nth-child(3) { animation-delay: 280ms; }
@keyframes cb-pulse { 0%, 100% { opacity: .22; transform: translateY(0); } 50% { opacity: .85; transform: translateY(-5px); } }

/* Booting state — fade the whole thing in once data has landed. */
.cb-root.is-booting .cb-shell { opacity: 0; }
.cb-shell { opacity: 1; transition: opacity 520ms var(--cb-ease-ui); }

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

/* Tablet — same hierarchy, tighter spacing. */
@media (max-width: 1180px) {
	.cb-nav-items { gap: clamp(10px, 2.2vw, 26px); }
	.cb-nav-link { padding: 9px 11px; font-size: clamp(12.5px, 1.5vw, 15px); }
	.cb-nav-pill { height: 32px; }
}

@media (max-width: 1080px) {
	.cb-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "left stage" "right stage"; align-items: center; }
	.cb-col-left { grid-area: left; }
	.cb-stage { grid-area: stage; }
	.cb-col-right { grid-area: right; align-items: flex-start; text-align: left; }
	.cb-choices { justify-content: flex-start; margin-left: 0; }
	.cb-config-options { justify-content: flex-start; }
	.cb-price { align-items: flex-start; }

	/* Nav drops to its own row so it keeps its full width and centring. */
	.cb-top {
		grid-template-columns: auto auto;
		grid-template-areas: "brand tools" "nav nav";
		row-gap: 14px;
	}
	.cb-brand { grid-area: brand; }
	.cb-tools { grid-area: tools; }
	.cb-nav-wrap { grid-area: nav; width: 100%; }
}

/* Mobile — nav becomes a horizontal scroller. Each active link draws its own
   pill so horizontal scrolling can never separate the selected label from its
   highlight. The travelling pill remains unchanged on larger screens. */
@media (max-width: 900px) {
	.cb-root {
		--cb-height: auto;
		--cb-min-height: 0;
		height: auto;
		overflow-x: clip;
		overflow-y: visible;
		contain: layout;
	}
	.cb-shell {
		height: auto;
		min-height: 0;
		padding-bottom: calc(var(--cb-pad-y) + 18px);
		gap: 22px;
	}
	.cb-main {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "left" "stage" "right";
		gap: 20px;
		padding: 18px 0 8px;
	}
	.cb-col-left, .cb-col-right { align-items: flex-start; text-align: left; }
	.cb-col-right { padding-bottom: 4px; }
	.cb-actions {
		align-items: stretch;
		max-width: none;
		margin-top: 2px;
	}
	.cb-purchase-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
	}
	.cb-purchase-actions .cb-cta,
	.cb-purchase-actions .cb-buynow {
		justify-content: center;
		width: 100%;
		min-height: 48px;
		padding-inline: 18px;
	}
	.cb-back { align-self: flex-start; }
	.cb-error { width: 100%; max-width: none; margin-top: 0; }
	/* Tighter gutters on a phone, so the product keeps a useful size while
	   the arrows stay a comfortable 48px touch target. */
	.cb-stage { min-height: 46vh; padding-inline: 52px; }
	.cb-stage-caption { bottom: 0; }
	.cb-hero, .cb-hero-ghost { max-height: 100%; max-width: 100%; }
	.cb-choices { max-width: none; }
	.cb-choices.is-configuring { width: 100%; max-width: none; }
	.cb-toast { bottom: 16px; }

	.cb-nav {
		/* full-bleed so the first and last items can reach the screen edge */
		margin: 0 calc(var(--cb-pad-x) * -1);
		padding: 0 var(--cb-pad-x);
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
	}
	.cb-nav-items { margin: 0; gap: 6px; }
	.cb-nav-link {
		font-size: 13.5px;
		padding: 9px 14px;
		transition:
			color 300ms var(--cb-ease-ui),
			background-color 300ms var(--cb-ease-ui),
			box-shadow 300ms var(--cb-ease-ui),
			opacity 240ms var(--cb-ease-ui);
	}
	.cb-nav-link.is-active {
		background: var(--cb-accent);
		box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45);
	}
	.cb-nav-pill { display: none; }

	/* The absolute dropdown cannot survive a scrolling parent, so touch gets
	   the inline sub-bar instead. */
	.cb-menu { display: none; }
	.cb-nav-caret { opacity: .55; }

	/* Grid on a phone: two columns, comfortable targets, no page overflow. */
	.cb-grid-items {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
		gap: 12px;
	}
	.cb-grid { padding-top: 4px; }
	.cb-grid-head { align-items: flex-start; gap: 12px; }
	.cb-grid-tools { width: 100%; justify-content: space-between; }
	.cb-card-body { padding: 0 12px 13px; }
	.cb-card-name { font-size: 13px; }
	.cb-grid-back { padding: 12px 20px 12px 16px; }
	.cb-sort select { padding: 11px 30px 11px 14px; }

	.cb-bottom {
		grid-template-columns: auto 1fr;
		grid-template-areas: "social carousel";
		align-items: center;
	}
	.cb-tagline { display: none; }
	.cb-social, .cb-social-empty { grid-area: social; margin-bottom: 0; }
	.cb-social { gap: 18px; }
	.cb-social a { width: 18px; height: 18px; opacity: .7; }
	.cb-carousel { grid-area: carousel; }
	/* Comfortable touch targets. */
	.cb-arrow { width: 48px; height: 48px; }
	.cb-arrow svg { width: 21px; height: 21px; }
	.cb-peek { width: 54px; height: 54px; }
}

@media (min-width: 901px) and (max-width: 1179px) {
	.cb-grid-items { grid-template-columns: repeat(var(--cb-cols-tablet, 2), minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.cb-grid-items { grid-template-columns: repeat(var(--cb-cols-mobile, 1), minmax(0, 1fr)); }
}

@media (max-width: 420px) {
	.cb-peek { display: none; }
	.cb-carousel { justify-self: end; }
	.cb-purchase-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Above the touch breakpoint the sub-bar never shows. */
@media (min-width: 901px) {
	.cb-subbar { display: none; }
}

/* Never let the hero cause sideways scroll on the page.
   `clip` rather than `hidden` so the dropdown is not turned into a scroll
   container by an ancestor with overflow. */
.cb-root { max-width: 100%; overflow-x: clip; }

/* Elementor sometimes constrains children; make sure we can go full-bleed. */
.elementor-widget-shortcode .cb-root { width: 100%; }

/* ==========================================================================
   Mini-cart
   A confirmation panel, not a checkout. Same translucent material as the
   hero controls, sitting on the live background.
   ========================================================================== */

.cb-error {
	margin: 10px 0 0;
	padding: 9px 14px;
	border-radius: 12px;
	background: rgba(209, 35, 63, .16);
	box-shadow: inset 0 0 0 1px rgba(209, 35, 63, .42);
	color: var(--cb-ink);
	font-size: 12.5px;
	line-height: 1.45;
	max-width: 34ch;
}
.cb-error[hidden] { display: none; }

.cb-buynow {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--cb-chip-line);
	color: var(--cb-ink);
	font: inherit;
	font-size: clamp(11.5px, .9vw, 13px);
	font-weight: 500;
	padding: 11px 20px;
	cursor: pointer;
	transition: transform 300ms var(--cb-ease-hero), background-color 240ms var(--cb-ease-ui);
}
.cb-buynow:hover { transform: translateY(-2px); background: var(--cb-chip); }
.cb-buynow.is-busy { pointer-events: none; opacity: .7; }
.cb-buynow:disabled { cursor: not-allowed; opacity: .38; transform: none; }
.cb-buynow[hidden] { display: none; }

.cb-cart-scrim {
	position: absolute;
	inset: 0;
	z-index: 40;
	background: rgba(0, 0, 0, .42);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 320ms var(--cb-ease-ui);
}
.cb-cart-scrim[hidden] { display: none; }
.cb-root.is-cart-open .cb-cart-scrim { opacity: 1; }

.cb-cart {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 41;
	width: min(408px, 92%);
	display: flex;
	flex-direction: column;
	padding: clamp(18px, 2vw, 26px);
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 1px 0 0 var(--cb-chip-line), -30px 0 60px -30px rgba(0, 0, 0, .7);
	backdrop-filter: blur(26px) saturate(140%);
	-webkit-backdrop-filter: blur(26px) saturate(140%);
	color: var(--cb-ink);
	transform: translateX(100%);
	transition: transform 420ms var(--cb-ease-hero);
}
.cb-cart[hidden] { display: none; }
.cb-root.is-cart-open .cb-cart { transform: none; }

.cb-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cb-chip-line);
}
.cb-cart-title {
	margin: 0;
	font-family: var(--cb-font-display, "Playfair Display", Georgia, serif);
	font-size: clamp(18px, 1.7vw, 23px);
	font-weight: 500;
}
.cb-cart-close {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 30%;
	background: var(--cb-chip);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
	color: var(--cb-ink);
	cursor: pointer;
	transition: transform 260ms var(--cb-ease-hero), background-color 220ms var(--cb-ease-ui);
}
.cb-cart-close svg { width: 15px; height: 15px; }
.cb-cart-close:hover { transform: scale(1.07); background: rgba(255, 255, 255, .22); }

.cb-cart-body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 14px 4px 14px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	scrollbar-width: thin;
	scrollbar-color: var(--cb-chip-line) transparent;
}

.cb-cart-item {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 13px;
	padding: 10px;
	border-radius: 15px;
	background: var(--cb-chip);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
}
.cb-cart-item.is-new { animation: cb-cart-pop 620ms var(--cb-ease-hero); }
@keyframes cb-cart-pop {
	0%   { transform: scale(.96); box-shadow: inset 0 0 0 1px var(--cb-ink); }
	100% { transform: none; }
}

.cb-cart-thumb {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	overflow: hidden;
}
.cb-cart-thumb img { max-width: 88%; max-height: 88%; object-fit: contain; }

.cb-cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cb-cart-name { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.cb-cart-meta { margin: 0; font-size: 11.5px; color: var(--cb-ink-soft); }
.cb-cart-line { margin: 2px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cb-cart-qty { font-size: 12px; color: var(--cb-ink-soft); font-variant-numeric: tabular-nums; }
.cb-cart-price { font-size: 13.5px; font-weight: 600; }
.cb-cart-empty { margin: 0; color: var(--cb-ink-soft); font-size: 13.5px; }

.cb-cart-foot { padding-top: 14px; border-top: 1px solid var(--cb-chip-line); }
.cb-cart-subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 13.5px;
}
.cb-cart-subtotal strong { font-size: 18px; font-weight: 600; }
.cb-cart-note { margin: 5px 0 14px; font-size: 11.5px; color: var(--cb-ink-soft); }

.cb-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb-cart-view,
.cb-cart-checkout {
	display: grid;
	place-items: center;
	padding: 13px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	transition: transform 300ms var(--cb-ease-hero), box-shadow 260ms var(--cb-ease-ui);
}
.cb-cart-view {
	color: var(--cb-ink);
	box-shadow: inset 0 0 0 1.5px var(--cb-chip-line);
}
.cb-cart-checkout {
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .7);
}
.cb-cart-view:hover, .cb-cart-checkout:hover { transform: translateY(-2px); }

@media (max-width: 760px) {
	.cb-cart { width: 100%; }
	.cb-cart-actions { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   Same colour family, type scale and rounded details as the hero. It is a
   continuation of the configurator, not a separate template.
   ========================================================================== */

.cb-foot {
	--cb-ink: #f7f9fc;
	--cb-ink-soft: rgba(247, 249, 252, .66);
	--cb-chip: rgba(247, 249, 252, .08);
	--cb-chip-line: rgba(247, 249, 252, .18);
	--cb-accent: #ffffff;
	--cb-on-accent: #10233f;
	--cb-brand: #1f4fa8;
	--cb-foot-entry: #2b374a;
	--cb-foot-navy: #101a2b;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--cb-ink);
	font-family: var(--cb-font-body, ui-sans-serif, -apple-system, "Segoe UI", Inter, Helvetica, Arial, sans-serif);
	-webkit-font-smoothing: antialiased;
}
.cb-foot *, .cb-foot *::before, .cb-foot *::after { box-sizing: border-box; }

/* A muted midnight gradient. It remains entirely in normal document flow:
   the first stop softens the seam without covering the configurator above. */
.cb-foot-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(110% 70% at 50% 0%, color-mix(in srgb, var(--cb-foot-entry) 40%, transparent) 0%, transparent 64%),
		linear-gradient(180deg,
			color-mix(in srgb, var(--cb-foot-entry) 48%, var(--cb-foot-navy) 52%) 0%,
			var(--cb-foot-navy) 48%,
			color-mix(in srgb, var(--cb-foot-navy) 78%, #050a13 22%) 100%);
}
.home .cb-foot {
	margin-top: 0;
	padding-top: 0;
}
.home .cb-foot-bg {
	background:
		radial-gradient(120% 78% at 50% 0%, color-mix(in srgb, var(--cb-foot-entry) 30%, transparent) 0%, transparent 66%),
		linear-gradient(180deg,
			color-mix(in srgb, var(--cb-foot-entry) 58%, var(--cb-foot-navy) 42%) 0%,
			color-mix(in srgb, var(--cb-foot-entry) 40%, var(--cb-foot-navy) 60%) 20%,
			color-mix(in srgb, var(--cb-foot-entry) 24%, var(--cb-foot-navy) 76%) 44%,
			var(--cb-foot-navy) 68%,
			color-mix(in srgb, var(--cb-foot-navy) 78%, #050a13 22%) 100%);
}
.cb-foot-grain {
	position: absolute;
	inset: -50%;
	opacity: .025;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
}

.cb-foot-inner {
	position: relative;
	z-index: 1;
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(28px, 3.4vw, 48px) clamp(20px, 4.2vw, 68px) clamp(20px, 2.2vw, 28px);
}

/* ---------- Newsletter --------------------------------------------------- */

.cb-news {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	align-items: center;
	gap: clamp(18px, 3vw, 44px);
	padding: clamp(20px, 2.4vw, 30px);
	margin-bottom: clamp(26px, 3vw, 40px);
	border-radius: 20px;
	background: rgba(247, 249, 252, .06);
	box-shadow:
		inset 0 0 0 1px rgba(247, 249, 252, .14),
		0 24px 60px -44px rgba(0, 0, 0, .72);
}
.cb-news-title {
	margin: 0;
	font-family: var(--cb-font-display, "Playfair Display", Georgia, serif);
	font-weight: 500;
	font-size: clamp(21px, 2.2vw, 32px);
	line-height: 1.1;
}
.cb-news-blurb { margin: 8px 0 0; font-size: 13.5px; color: var(--cb-ink-soft); max-width: 46ch; }

.cb-news-form { display: flex; gap: 10px; }
.cb-news-field { flex: 1; min-width: 0; }
.cb-news-field input {
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 0 0 1px var(--cb-chip-line);
	color: var(--cb-ink);
	font: inherit;
	font-size: 14px;
	padding: 14px 20px;
	transition: box-shadow 220ms ease, background-color 220ms ease;
}
.cb-news-field input::placeholder { color: rgba(247, 249, 252, .42); }
.cb-news-field input:focus {
	outline: none;
	background: rgba(255, 255, 255, .16);
	box-shadow: inset 0 0 0 1.5px var(--cb-ink);
}
.cb-news-submit {
	flex: none;
	border: 0;
	border-radius: 999px;
	background: var(--cb-accent);
	color: var(--cb-on-accent);
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	padding: 14px 26px;
	cursor: pointer;
	transition: transform 300ms var(--cb-ease-hero, cubic-bezier(.22,1,.36,1)), opacity 200ms linear;
}
.cb-news-submit:hover { transform: translateY(-2px); }
.cb-news-submit:disabled { opacity: .6; cursor: default; transform: none; }

.cb-news-msg { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12.5px; color: var(--cb-ink-soft); }
.cb-news-msg.is-error { color: #ff9db0; }
.cb-news-msg[hidden] { display: none; }

.cb-sr {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

/* ---------- Columns ------------------------------------------------------ */

.cb-foot-cols {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.8vw, 44px);
	padding-bottom: clamp(22px, 2.6vw, 34px);
}

.cb-foot-brand { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 9px; }
.cb-foot-about {
	margin: 16px 0 20px;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--cb-ink-soft);
	max-width: 38ch;
}
.cb-foot-social { margin: 0; padding: 0; list-style: none; display: flex; gap: 20px; }
.cb-foot-social a { display: grid; place-items: center; width: 20px; height: 20px; color: var(--cb-ink); opacity: .78; transition: opacity 240ms ease, transform 360ms var(--cb-ease-hero, ease); }
.cb-foot-social a svg { width: 100%; height: 100%; }
.cb-foot-social a:hover { opacity: 1; transform: translateY(-3px); }

.cb-foot-col { min-width: 0; }
.cb-foot-title {
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
	margin-bottom: 16px;
	list-style: none;
	cursor: default;
}
.cb-foot-title::-webkit-details-marker { display: none; }

.cb-foot-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.cb-foot-links a {
	color: var(--cb-ink);
	opacity: .84;
	text-decoration: none;
	font-size: 13.5px;
	transition: opacity 200ms ease, transform 260ms var(--cb-ease-hero, ease);
	display: inline-block;
}
.cb-foot-links a:hover { opacity: 1; transform: translateX(3px); }

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

.cb-foot-base {
	display: grid;
	align-items: center;
	justify-items: center;
	gap: 16px;
	padding-top: clamp(16px, 1.8vw, 22px);
	border-top: 1px solid var(--cb-chip-line);
}
.cb-foot-copy { margin: 0; font-size: 12px; color: var(--cb-ink-soft); text-align: center; }

/* Payment methods: lightweight local wordmarks in equal white badges. */
.cb-pay-wrap {
	display: grid;
	justify-items: center;
	gap: 10px;
	width: 100%;
}
.cb-pay-title {
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cb-ink-soft);
}
.cb-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1vw, 12px);
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.cb-pay-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 36px;
	padding: 5px 8px;
	border: 1px solid rgba(12, 25, 45, .1);
	border-radius: 7px;
	background: linear-gradient(180deg, #ffffff 0%, #f1f4f8 100%);
	box-shadow: 0 8px 24px -17px rgba(0, 0, 0, .95);
	line-height: 1;
	color: #111827;
	transition:
		transform 320ms var(--cb-ease-hero),
		box-shadow 220ms var(--cb-ease-ui);
}
.cb-pay-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 13px 28px -17px rgba(0, 0, 0, .95);
}

.cb-pay-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	height: 100%;
	white-space: nowrap;
}
.cb-pay-word {
	line-height: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}
.cb-pay-word-visa {
	color: #183b8f;
	font-size: 17px;
	font-style: italic;
	letter-spacing: -.08em;
}
.cb-pay-mastercard-symbol {
	position: relative;
	display: inline-block;
	width: 23px;
	height: 15px;
	flex: none;
}
.cb-pay-mastercard-symbol i {
	position: absolute;
	top: 1px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #eb001b;
}
.cb-pay-mastercard-symbol i:first-child { left: 0; }
.cb-pay-mastercard-symbol i:last-child { right: 0; background: #f79e1b; mix-blend-mode: multiply; }
.cb-pay-word-mastercard { font-size: 8px; letter-spacing: -.04em; color: #171717; }
.cb-pay-paypal-symbol {
	color: #147bd1;
	font: italic 800 18px/1 Arial, sans-serif;
	text-shadow: -2px 0 0 #123f85;
}
.cb-pay-word-paypal { color: #123f85; font-size: 13px; letter-spacing: -.04em; }
.cb-pay-word-amex {
	display: inline-block;
	padding: 2px 5px;
	border-radius: 2px;
	background: #1478bd;
	color: #fff;
	font-size: 8px;
	line-height: .92;
	letter-spacing: .03em;
	text-align: center;
}
.cb-pay-apple-symbol {
	position: relative;
	width: 13px;
	height: 15px;
	border-radius: 48% 46% 45% 48% / 55% 52% 48% 44%;
	background: #111;
	transform: rotate(-4deg);
}
.cb-pay-apple-symbol::before {
	content: "";
	position: absolute;
	width: 6px;
	height: 4px;
	top: -4px;
	left: 6px;
	border-radius: 90% 10% 90% 10%;
	background: #111;
	transform: rotate(-35deg);
}
.cb-pay-apple-symbol::after {
	content: "";
	position: absolute;
	width: 5px;
	height: 6px;
	right: -2px;
	top: 3px;
	border-radius: 50%;
	background: #f8fafc;
}
.cb-pay-word-apple { color: #111; font-size: 16px; letter-spacing: -.05em; }
.cb-pay-google-symbol {
	font: 700 17px/1 Arial, sans-serif;
	color: #4285f4;
}
.cb-pay-word-google {
	color: #5f6368;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -.05em;
}

@media (max-width: 560px) {
	.cb-pay { width: 100%; gap: 8px; }
	.cb-pay-item { width: 76px; height: 34px; padding-inline: 6px; }
}

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

@media (max-width: 1000px) {
	.cb-news { grid-template-columns: minmax(0, 1fr); }
	.cb-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cb-foot-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
	.cb-foot-cols { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.cb-foot-brand-col { margin-bottom: 22px; }

	/* Columns collapse into accordions on a phone. */
	.cb-foot-col:not(.cb-foot-brand-col) {
		border-top: 1px solid var(--cb-chip-line);
		padding: 4px 0;
	}
	.cb-foot-title {
		margin: 0;
		padding: 15px 0;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.cb-foot-title::after {
		content: "";
		width: 8px; height: 8px;
		border-right: 1.6px solid currentColor;
		border-bottom: 1.6px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform 280ms var(--cb-ease-hero, ease);
	}
	details[open] > .cb-foot-title::after { transform: rotate(-135deg) translateY(-2px); }
	.cb-foot-links { padding: 2px 0 16px; }
	.cb-foot-links a { padding: 3px 0; }

	.cb-news-form { flex-direction: column; }
	.cb-news-submit { width: 100%; padding: 15px 26px; }
	.cb-foot-base { gap: 14px; }
	.home .cb-foot { margin-top: 0; padding-top: 0; }
	.cb-foot-inner { padding-top: 22px; padding-bottom: 18px; }
	.cb-news { padding: 18px; margin-bottom: 24px; border-radius: 18px; }
	.cb-foot-cols { padding-bottom: 20px; }
}

/* Desktop always shows the lists, regardless of the details state. */
@media (min-width: 621px) {
	.cb-foot-col > .cb-foot-links { display: flex !important; }
}

/* ==========================================================================
   Administrator notice, shown in place of the hero when CraftsBo Core is
   inactive. Visitors never see this — the template returns early for them.
   ========================================================================== */

.cb-notice {
	max-width: 46em;
	margin: clamp(40px, 8vw, 110px) auto;
	padding: clamp(26px, 4vw, 44px);
	border-radius: 20px;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(247, 249, 252, .18);
	color: #f7f9fc;
	text-align: center;
}
.cb-notice h2 {
	margin: 0 0 12px;
	font-family: var(--cb-font-display, Georgia, serif);
	font-weight: 500;
	font-size: clamp(22px, 3vw, 32px);
}
.cb-notice p { margin: 0 0 16px; color: rgba(247, 249, 252, .7); }
.cb-notice-foot { font-size: 12px; opacity: .55; margin-bottom: 0 !important; }
