/* ==========================================================================
   MIRZAX CO theme
   Design: Brand chrome with Product behaviour | Vibe: tailor's workshop
   Color: Committed (loom green + thread gold) | Signature: running-stitch seams
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--mx-ink: #102019;          /* loom green, main dark surface */
	--mx-ink-deep: #0b1712;     /* top bar */
	--mx-ink-raised: #172a22;   /* search panel, hovers */
	--mx-ink-hover: #1f372c;
	--mx-gold: #f2cf85;         /* thread gold, sampled from the logo */
	--mx-gold-soft: #f7dda6;
	--mx-gold-deep: #c99a45;
	--mx-cotton: #eef0ea;       /* panels on dark */
	--mx-paper: #f6f7f2;        /* page background */
	--mx-thread: #e7e6dc;       /* text on dark */
	--mx-muted: #a6b1a8;        /* secondary text on dark */
	--mx-text: #17221d;         /* text on light */
	--mx-text-muted: #4b5850;
	--mx-line-dark: rgba(242, 207, 133, 0.16);
	--mx-line-light: rgba(16, 32, 25, 0.12);
	--mx-stitch: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 17px);

	--mx-font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mx-ease: cubic-bezier(0.32, 0.72, 0, 1);
	--mx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	--mx-header-h: 84px;
	--mx-radius: 12px;
	--mx-nav-bp: 1200px; /* reference only; media queries below use the literal value */
}

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

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

body {
	margin: 0;
	background: var(--mx-paper);
	color: var(--mx-text);
	font-family: var(--mx-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
	outline: 2px solid var(--mx-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--mx-gold);
	color: var(--mx-ink);
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
}

.mx-container {
	width: 100%;
	max-width: 1360px;
	margin-inline: auto;
	padding-inline: clamp(16px, 3.4vw, 40px);
}

.mx-site-content { outline: none; }
.mx-main { padding-block: 64px 96px; }

/* ---------- Buttons ---------- */
.mx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font: 600 15px/1 var(--mx-font);
	letter-spacing: 0.005em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.25s var(--mx-ease),
		border-color 0.25s var(--mx-ease),
		color 0.25s var(--mx-ease),
		transform 0.2s var(--mx-ease);
}
.mx-btn:active { transform: scale(0.98); }
.mx-btn .mx-icon { flex: none; }

.mx-btn--gold { background: var(--mx-gold); color: var(--mx-ink); }
.mx-btn--gold:hover { background: var(--mx-gold-soft); }

.mx-btn--ghost { border-color: rgba(242, 207, 133, 0.45); color: var(--mx-thread); }
.mx-btn--ghost:hover { border-color: var(--mx-gold); color: var(--mx-gold); }

.mx-btn--ink { background: var(--mx-ink); color: var(--mx-gold); }
.mx-btn--ink:hover { background: var(--mx-ink-hover); }

.mx-btn--ink-outline { border-color: rgba(16, 32, 25, 0.55); color: var(--mx-ink); }
.mx-btn--ink-outline:hover { background: rgba(16, 32, 25, 0.08); border-color: var(--mx-ink); }

.mx-btn--block { width: 100%; }

.mx-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--mx-thread);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s var(--mx-ease), color 0.2s var(--mx-ease);
}
.mx-icon-btn:hover { background: rgba(242, 207, 133, 0.1); color: var(--mx-gold); }
.mx-icon-btn[aria-expanded="true"] { color: var(--mx-gold); }

/* ---------- Top bar ---------- */
.mx-topbar {
	background: var(--mx-ink-deep);
	color: var(--mx-muted);
	font-size: 13.5px;
	line-height: 1.3;
}
.mx-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}
.mx-topbar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.mx-topbar .mx-icon { color: var(--mx-gold); flex: none; }
.mx-topbar__contact {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-topbar__contact a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	color: var(--mx-thread);
	text-decoration: none;
}
.mx-topbar__contact a:hover span {
	text-decoration: underline dashed var(--mx-gold);
	text-underline-offset: 4px;
}

@media (max-width: 1023px) {
	.mx-topbar__item--center { display: none; }
}
@media (max-width: 639px) {
	.mx-topbar__email { display: none; }
	.mx-topbar__inner { gap: 12px; }
}
@media (max-width: 419px) {
	.mx-topbar__item:first-child { display: none; }
	.mx-topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.mx-header-sentinel { height: 1px; margin-bottom: -1px; }

.mx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--mx-ink);
	color: var(--mx-thread);
	transition: box-shadow 0.35s var(--mx-ease);
}
.admin-bar .mx-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .mx-header { top: 0; }
}
.mx-header.is-stuck { box-shadow: 0 14px 34px -18px rgba(3, 9, 6, 0.75); }

.mx-header__bar {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--mx-header-h);
}

.mx-header__brand { flex: none; }
.mx-logo,
.custom-logo-link { display: block; }
.mx-header__brand img {
	width: auto;
	height: 50px;
	transform-origin: left center;
	transition: transform 0.4s var(--mx-ease);
}
.mx-header.is-stuck .mx-header__brand img { transform: scale(0.9); }

.mx-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}
.mx-header__cta { margin-left: 10px; }

.mx-quote-link .mx-quote-count {
	position: absolute;
	top: 5px;
	right: 3px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--mx-gold);
	color: var(--mx-ink);
	font: 700 11px/18px var(--mx-font);
	text-align: center;
}
.mx-quote-count.is-empty { display: none; }
.mx-nav__account .mx-quote-count {
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--mx-gold);
	color: var(--mx-ink);
	font: 700 11.5px/20px var(--mx-font);
	text-align: center;
}

/* The seam: a running stitch along the bottom of the header. */
.mx-seam {
	height: 2px;
	color: rgba(242, 207, 133, 0.7);
	background: var(--mx-stitch);
	transform-origin: left center;
}
.mx-intro .mx-seam { animation: mx-sew 1.4s var(--mx-ease-out) 0.35s both; }
@keyframes mx-sew {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

/* Search panel: see "Search box" section near the end of this file */

/* Overlay behind the mobile drawer */
.mx-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: rgba(4, 10, 7, 0.6);
	animation: mx-fade 0.3s var(--mx-ease) both;
}
@keyframes mx-fade { from { opacity: 0; } }

/* ---------- Navigation: shared ---------- */
.mx-menu,
.mx-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-menu a { text-decoration: none; }

.mx-subnav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mx-muted);
	cursor: pointer;
}
.mx-subnav-toggle .mx-icon { transition: transform 0.3s var(--mx-ease); }
.mx-subnav-toggle[aria-expanded="true"] .mx-icon { transform: rotate(180deg); }

/* ---------- Navigation: desktop ---------- */
@media (min-width: 1200px) {
	.mx-nav {
		flex: 1;
		min-width: 0;
		display: flex;
		justify-content: center;
		align-self: stretch;
	}
	.mx-nav__head,
	.mx-nav__foot,
	.mx-nav__tabs,
	.mx-header__burger { display: none; }

	.mx-menu {
		display: flex;
		align-items: stretch;
		gap: 2px;
	}
	.mx-menu > li {
		position: relative;
		display: flex;
		align-items: center;
	}
	.mx-menu > li.is-mega { position: static; }

	.mx-menu > li > a {
		position: relative;
		display: block;
		padding: 10px 10px;
		color: var(--mx-thread);
		font-size: 15px;
		font-weight: 500;
		font-stretch: 92%;
		letter-spacing: 0.01em;
		white-space: nowrap;
		transition: color 0.25s var(--mx-ease);
	}
	.mx-menu > li.menu-item-has-children > a { padding-right: 4px; }

	/* Stitch underline that sews in on hover */
	.mx-menu > li > a::after {
		content: "";
		position: absolute;
		left: 10px;
		right: 4px;
		bottom: 3px;
		height: 2px;
		color: var(--mx-gold);
		background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.45s var(--mx-ease);
	}
	.mx-menu > li:not(.menu-item-has-children) > a::after { right: 10px; }

	.mx-menu > li.current-menu-item > a,
	.mx-menu > li.current-menu-ancestor > a,
	.mx-menu > li.is-open > a { color: var(--mx-gold); }

	.mx-menu > li.current-menu-item > a::after,
	.mx-menu > li.current-menu-ancestor > a::after,
	.mx-menu > li.is-open > a::after { transform: scaleX(1); }

	.mx-subnav-toggle {
		width: 22px;
		height: 32px;
		margin-right: 4px;
		border-radius: 6px;
	}
	.mx-subnav-toggle:hover { color: var(--mx-gold); }

	/* Panels: hidden state */
	.mx-dropdown,
	.mx-mega {
		visibility: hidden;
		opacity: 0;
		transform: translateY(8px);
		transition:
			opacity 0.2s var(--mx-ease),
			transform 0.3s var(--mx-ease),
			visibility 0s 0.3s;
	}
	/* Panels: open state */
	.mx-menu > li.is-open > .mx-dropdown,
	.mx-menu > li.is-open > .mx-mega {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition:
			opacity 0.25s var(--mx-ease),
			transform 0.4s var(--mx-ease),
			visibility 0s;
	}

	@media (hover: hover) {
		.mx-menu > li > a:hover { color: var(--mx-gold); }
		.mx-menu > li:hover > a::after { transform: scaleX(1); }
		.mx-menu > li:hover > .mx-dropdown,
		.mx-menu > li:hover > .mx-mega {
			visibility: visible;
			opacity: 1;
			transform: none;
			transition:
				opacity 0.25s var(--mx-ease) 0.06s,
				transform 0.4s var(--mx-ease) 0.06s,
				visibility 0s;
		}
	}

	/* Compact dropdown */
	.mx-dropdown {
		position: absolute;
		top: calc(100% - 12px);
		left: 0;
		z-index: 5;
		min-width: 250px;
		padding: 10px;
		border-radius: var(--mx-radius);
		background: var(--mx-cotton);
		color: var(--mx-text);
		box-shadow: 0 24px 50px -18px rgba(3, 9, 6, 0.55);
	}
	.mx-dropdown a {
		display: block;
		padding: 9px 12px;
		border-radius: 7px;
		color: var(--mx-text);
		font-size: 15px;
		transition: background-color 0.2s var(--mx-ease);
	}
	.mx-dropdown a:hover,
	.mx-dropdown .current-menu-item > a { background: rgba(16, 32, 25, 0.07); }

	/* Dropdowns with a description line under each item */
	.mx-dropdown:has(.has-desc) { min-width: 330px; padding: 12px; }
	.mx-dropdown .has-desc > a {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 10px 14px;
	}
	.mx-menu-title { font-weight: 600; color: var(--mx-ink); }
	.mx-menu-desc {
		color: var(--mx-text-muted);
		font-size: 13.5px;
		line-height: 1.4;
	}
	.mx-dropdown .current-menu-item .mx-menu-title { text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 4px; }

	/* Mega panel */
	.mx-mega {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 5;
		background: var(--mx-cotton);
		color: var(--mx-text);
		box-shadow: 0 40px 70px -30px rgba(3, 9, 6, 0.6);
	}
	.mx-mega__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 56px;
		padding-block: 36px 44px;
		max-height: calc(100dvh - var(--mx-header-h) - 60px);
		overflow-y: auto;
	}
	.mx-mega__cols {
		columns: 4 170px;
		column-gap: 36px;
	}
	.mx-mega__cols > li,
	.mx-tab__panel > li {
		break-inside: avoid;
		padding-bottom: 18px;
	}
	.mx-mega__cols > li > a,
	.mx-tab__panel > li > a {
		display: inline-block;
		padding: 3px 0;
		color: var(--mx-ink);
		font-size: 15px;
		font-weight: 650;
	}
	.mx-mega .mx-sub-2,
	.mx-mega .mx-sub-3 {
		margin: 6px 0 2px;
		padding-left: 14px;
		border-left: 1px dashed rgba(16, 32, 25, 0.3);
	}
	.mx-mega .mx-sub-2 a,
	.mx-mega .mx-sub-3 a {
		display: block;
		padding: 4px 0;
		color: var(--mx-text-muted);
		font-size: 14.5px;
	}
	.mx-mega a:hover,
	.mx-mega .current-menu-item > a {
		color: var(--mx-ink);
		text-decoration: underline dashed var(--mx-gold-deep);
		text-underline-offset: 5px;
	}
	.mx-mega :focus-visible,
	.mx-dropdown :focus-visible { outline-color: var(--mx-ink); }

	/* Tabbed mega menu (Products): categories left, sub-categories right */
	.mx-tabs {
		display: grid;
		grid-template-columns: 230px minmax(0, 1fr);
		grid-template-rows: repeat(16, min-content) 1fr;
		align-content: start;
	}
	.mx-tab { display: contents; }
	.mx-tab__toggle { display: none; }
	.mx-tab > a {
		grid-column: 1;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-right: 24px;
		margin-bottom: 2px;
		padding: 11px 14px;
		border-radius: 9px;
		color: var(--mx-ink);
		font-size: 16px;
		font-weight: 600;
		transition: background-color 0.2s var(--mx-ease), color 0.2s var(--mx-ease);
	}
	.mx-tab > a::after {
		content: "";
		width: 7px;
		height: 7px;
		border-top: 1.6px solid currentColor;
		border-right: 1.6px solid currentColor;
		transform: rotate(45deg);
		opacity: 0;
		transition: opacity 0.2s var(--mx-ease), transform 0.3s var(--mx-ease);
	}
	.mx-mega .mx-tab > a:hover { background: rgba(16, 32, 25, 0.07); text-decoration: none; }
	.mx-mega .mx-tab.is-active > a {
		background: var(--mx-ink);
		color: var(--mx-gold);
		text-decoration: none;
	}
	.mx-tab.is-active > a::after { opacity: 1; }
	.mx-mega .mx-tab.is-active > a:focus-visible { outline-color: var(--mx-gold-deep); }

	.mx-tabs .mx-tab__panel {
		grid-column: 2;
		grid-row: 1 / -1;
		display: none;
		align-self: start;
		min-height: 100%;
		padding: 4px 0 0 36px;
		border-left: 1px dashed rgba(16, 32, 25, 0.28);
		columns: 3 170px;
		column-gap: 32px;
	}
	.mx-tab.is-active > .mx-tab__panel {
		display: block;
		animation: mx-fade 0.25s var(--mx-ease);
	}
	.mx-tab__panel > li.mx-tab__all { break-before: avoid; }
	.mx-mega .mx-tab__panel > li:not(.menu-item-has-children):not(.mx-tab__all) > a { font-weight: 500; }
	.mx-mega .mx-tab__all a {
		display: inline-block;
		padding: 3px 0;
		color: var(--mx-ink);
		font-size: 14.5px;
		font-weight: 600;
		text-decoration: underline dashed var(--mx-gold-deep);
		text-underline-offset: 5px;
	}

	.mx-mega__feature {
		position: relative;
		align-self: start;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 30px 28px;
		border-radius: 16px;
		background: var(--mx-ink);
		color: var(--mx-muted);
	}
	.mx-mega__feature::before {
		content: "";
		position: absolute;
		inset: 8px;
		border: 1px dashed rgba(242, 207, 133, 0.4);
		border-radius: 10px;
		pointer-events: none;
	}
	.mx-mega__heading {
		margin: 0;
		color: var(--mx-gold);
		font-size: 22px;
		font-weight: 700;
		font-stretch: 90%;
		line-height: 1.15;
	}
	.mx-mega__text { margin: 0 0 4px; font-size: 14.5px; line-height: 1.6; }
	.mx-mega__feature .mx-btn { position: relative; }
	.mx-mega a.mx-mega__all {
		position: relative;
		color: var(--mx-thread);
		font-size: 14px;
		text-decoration: underline dashed rgba(242, 207, 133, 0.6);
		text-underline-offset: 5px;
	}
	.mx-mega a.mx-mega__all:hover { color: var(--mx-gold); }
	.mx-mega__feature :focus-visible { outline-color: var(--mx-gold); }
}

/* Squeeze a little between 1200 and 1360 so eight items + actions fit */
@media (min-width: 1200px) and (max-width: 1359px) {
	.mx-menu > li > a { padding-inline: 8px; }
	.mx-header__brand img { height: 46px; }
}

/* Wide screens: a little more room */
@media (min-width: 1600px) {
	.mx-container { max-width: 1480px; }
	:root { --mx-header-h: 92px; }
	.mx-header__brand img { height: 54px; }
	.mx-menu > li > a { font-size: 15.5px; padding-inline: 13px; }
}

/* ---------- Navigation: drawer (below 1200px) ---------- */
@media (max-width: 1199px) {
	.mx-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		width: min(420px, 90vw);
		height: 100dvh;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--mx-ink);
		box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.6);
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.45s var(--mx-ease), visibility 0s 0.45s;
	}
	.mx-nav-open .mx-nav {
		visibility: visible;
		transform: none;
		transition: transform 0.5s var(--mx-ease), visibility 0s;
	}
	.mx-nav-open { overflow: hidden; }
	.mx-nav { padding-top: env(safe-area-inset-top, 0px); }
	.mx-nav__foot { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }

	.mx-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px 14px 22px;
		border-bottom: 1px dashed rgba(242, 207, 133, 0.35);
	}
	.mx-nav__head img { width: auto; height: 42px; }

	/* Two tabs in the drawer: Menu (pages) and Categories (products) */
	.mx-nav__tabs { display: none; }
	.mx-nav--tabbed .mx-nav__tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px;
		margin: 16px 22px 4px;
		padding: 4px;
		border-radius: 12px;
		background: var(--mx-ink-raised);
		border: 1px solid var(--mx-line-dark);
	}
	.mx-nav__tab {
		min-height: 44px;
		border: 0;
		border-radius: 9px;
		background: transparent;
		color: var(--mx-muted);
		font: 600 15.5px/1 var(--mx-font);
		cursor: pointer;
		transition: background-color 0.25s var(--mx-ease), color 0.25s var(--mx-ease);
	}
	.mx-nav__tab:hover { color: var(--mx-thread); }
	.mx-nav__tab[aria-pressed="true"] { background: var(--mx-gold); color: var(--mx-ink); }

	.mx-nav--tabbed[data-mx-section="menu"] .mx-menu > li.is-tabs,
	.mx-nav--tabbed[data-mx-section="categories"] .mx-menu > li:not(.is-tabs),
	.mx-nav--tabbed[data-mx-section="categories"] .mx-menu > li.is-tabs > a { display: none; }

	/* Categories tab: categories become the top level */
	.mx-nav--tabbed[data-mx-section="categories"] .mx-menu > li.is-tabs { border-bottom: 0; }
	.mx-nav--tabbed[data-mx-section="categories"] .mx-menu > li.is-tabs > .mx-mega { padding-top: 4px; }
	.mx-nav--tabbed .mx-tab { border-bottom: 1px solid var(--mx-line-dark); }
	.mx-nav--tabbed .mx-tab + .mx-tab { border-top: 0; }
	.mx-nav--tabbed .mx-tab > a {
		padding: 15px 0;
		font-size: 18px;
		font-weight: 550;
	}
	.mx-nav--tabbed .mx-tab__toggle { color: var(--mx-thread); }
	.mx-nav--tabbed .mx-tabs .mx-tab__panel { margin: 0 0 14px 2px; }

	.mx-menu { flex: 1; padding: 6px 22px 18px; }
	.mx-menu > li {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		border-bottom: 1px solid var(--mx-line-dark);
	}
	.mx-menu > li > a {
		display: block;
		padding: 15px 0;
		color: var(--mx-thread);
		font-size: 18px;
		font-weight: 550;
	}
	.mx-menu > li.current-menu-item > a,
	.mx-menu > li.current-menu-ancestor > a { color: var(--mx-gold); }

	.mx-subnav-toggle {
		width: 44px;
		height: 44px;
		margin-right: -10px;
		border-radius: 10px;
		color: var(--mx-thread);
	}

	.mx-dropdown,
	.mx-mega {
		grid-column: 1 / -1;
		display: none;
		padding-bottom: 14px;
	}
	.mx-menu > li.is-open > .mx-dropdown,
	.mx-menu > li.is-open > .mx-mega { display: block; }

	.mx-mega__inner { padding: 0; }
	.mx-mega__feature { display: none; }

	.mx-dropdown a,
	.mx-mega__cols > li > a {
		display: block;
		padding: 9px 0 9px 14px;
		color: var(--mx-thread);
		font-size: 16px;
	}
	.mx-mega__cols > li > a { font-weight: 600; }
	.mx-mega--tabs .mx-sub-3 { margin-left: 0; }
	.mx-mega .mx-sub-2,
	.mx-mega .mx-sub-3 {
		margin: 0 0 6px 14px;
		padding-left: 14px;
		border-left: 1px dashed rgba(242, 207, 133, 0.35);
	}
	.mx-mega .mx-sub-2 a,
	.mx-mega .mx-sub-3 a {
		display: block;
		padding: 7px 0;
		color: var(--mx-muted);
		font-size: 15px;
	}
	.mx-dropdown .current-menu-item > a,
	.mx-mega .current-menu-item > a { color: var(--mx-gold); }
	.mx-menu-desc { display: none; }

	/* Products (tabbed mega) in the drawer: always expanded, categories are accordions */
	.mx-menu > li.is-tabs > .mx-subnav-toggle { display: none; }
	.mx-menu > li.is-tabs > a {
		grid-column: 1 / -1;
		padding-bottom: 6px;
		color: var(--mx-gold);
	}
	.mx-menu > li.is-tabs > .mx-mega { display: block; padding-bottom: 8px; }
	.mx-tab {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
	.mx-tab + .mx-tab { border-top: 1px dashed rgba(242, 207, 133, 0.18); }
	.mx-tab > a {
		display: block;
		padding: 12px 0 12px 14px;
		color: var(--mx-thread);
		font-size: 16.5px;
		font-weight: 550;
	}
	.mx-tab__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-right: -10px;
		padding: 0;
		border: 0;
		border-radius: 10px;
		background: transparent;
		color: var(--mx-muted);
		cursor: pointer;
	}
	.mx-tab__toggle .mx-icon { transition: transform 0.3s var(--mx-ease); }
	.mx-tab__toggle[aria-expanded="true"] .mx-icon { transform: rotate(180deg); }
	.mx-tabs .mx-tab__panel {
		grid-column: 1 / -1;
		display: none;
		margin: 0 0 10px 14px;
		padding-left: 14px;
		border-left: 1px dashed rgba(242, 207, 133, 0.35);
	}
	.mx-tab.is-open > .mx-tab__panel { display: block; }
	.mx-tab__panel > li > a {
		display: block;
		padding: 8px 0;
		color: var(--mx-thread);
		font-size: 15.5px;
	}
	.mx-tab__all a { color: var(--mx-gold) !important; font-weight: 600; }

	.mx-nav__foot {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 20px 22px 28px;
		border-top: 1px dashed rgba(242, 207, 133, 0.35);
	}
	.mx-nav__account {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 44px;
		color: var(--mx-muted);
		text-decoration: none;
	}
	.mx-nav__account:hover { color: var(--mx-gold); }
}

@media (max-width: 719px) {
	.mx-header__cta,
	.mx-header__account { display: none; }
	.mx-header__bar { gap: 12px; }
	:root { --mx-header-h: 70px; }
	.mx-header__brand img { height: 40px; }
	.mx-header__actions { gap: 0; margin-right: -8px; }
}
@media (max-width: 359px) {
	.mx-header__brand img { height: 34px; }
}

/* ---------- Enquiry band (sits across the content/footer line) ---------- */
.mx-enquiry {
	position: relative;
	margin-top: clamp(48px, 6vw, 96px);
	background: linear-gradient(to bottom, transparent 50%, var(--mx-ink) 50%);
}
.mx-enquiry__label {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px 48px;
	padding: clamp(32px, 4.4vw, 56px) clamp(26px, 5vw, 68px);
	border-radius: 18px;
	background: var(--mx-gold);
	color: var(--mx-ink);
	box-shadow: 0 30px 60px -36px rgba(3, 9, 6, 0.65);
}
.mx-enquiry__label::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1.5px dashed rgba(16, 32, 25, 0.42);
	border-radius: 11px;
	pointer-events: none;
}
.mx-enquiry__copy,
.mx-enquiry__actions { position: relative; }
.mx-enquiry__title {
	max-width: 24ch;
	margin: 0 0 12px;
	font-size: clamp(26px, 3.1vw, 40px);
	font-weight: 750;
	font-stretch: 88%;
	line-height: 1.08;
	letter-spacing: -0.012em;
}
.mx-enquiry__text {
	max-width: 54ch;
	margin: 0;
	color: rgba(16, 32, 25, 0.82);
	font-size: 16.5px;
	line-height: 1.6;
}
.mx-enquiry__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.mx-enquiry :focus-visible { outline-color: var(--mx-ink); }

@media (max-width: 879px) {
	.mx-enquiry__label { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
	.mx-enquiry__actions .mx-btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.mx-footer {
	padding-top: clamp(56px, 7vw, 92px);
	background: var(--mx-ink);
	color: var(--mx-muted);
	font-size: 15px;
	line-height: 1.6;
}
.mx-enquiry + .mx-footer { padding-top: clamp(56px, 6vw, 80px); }

.mx-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(240px, 1.25fr);
	gap: 48px;
}

.mx-footer__brand .mx-logo img { width: 176px; height: auto; }
.mx-footer__about {
	max-width: 38ch;
	margin: 24px 0 22px;
	line-height: 1.65;
}

.mx-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--mx-line-dark);
	border-radius: 50%;
	color: var(--mx-thread);
	transition: color 0.25s var(--mx-ease), border-color 0.25s var(--mx-ease), background-color 0.25s var(--mx-ease);
}
.mx-social a:hover {
	border-color: var(--mx-gold);
	background: rgba(242, 207, 133, 0.08);
	color: var(--mx-gold);
}

.mx-footer__heading {
	margin: 6px 0 18px;
	color: var(--mx-gold);
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0.01em;
}

.mx-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-footer__links li + li { margin-top: 4px; }
.mx-footer__links a {
	display: inline-block;
	padding: 4px 0;
	color: var(--mx-thread);
	text-decoration: none;
}
.mx-footer__links a:hover,
.mx-footer__contact a:hover {
	color: var(--mx-gold);
	text-decoration: underline dashed rgba(242, 207, 133, 0.7);
	text-underline-offset: 5px;
}

.mx-footer__contact-list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-footer__contact-list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}
.mx-footer__contact-list .mx-icon { margin-top: 2px; color: var(--mx-gold); }
.mx-footer__contact-list address { font-style: normal; }
.mx-footer__contact a {
	color: var(--mx-thread);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.mx-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 28px;
	margin-top: clamp(48px, 6vw, 72px);
	padding-block: 24px 28px;
	font-size: 13.5px;
}
.mx-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: clamp(16px, 3.4vw, 40px);
	right: clamp(16px, 3.4vw, 40px);
	height: 1px;
	color: rgba(242, 207, 133, 0.35);
	background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 14px);
}
.mx-footer__bottom p { margin: 0; }
.mx-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-footer__legal a { color: var(--mx-muted); text-decoration: none; }
.mx-footer__legal a:hover { color: var(--mx-gold); }
.mx-footer__origin { color: var(--mx-thread); }

@media (max-width: 1099px) {
	.mx-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }
	.mx-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 40px; align-items: center; }
	.mx-footer__brand .mx-logo { grid-row: span 2; }
	.mx-footer__about { margin: 0; }
}
@media (max-width: 719px) {
	.mx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mx-footer__brand { display: block; }
	.mx-footer__about { margin: 22px 0; }
	.mx-footer__contact { grid-column: 1 / -1; }
	.mx-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Floating WhatsApp ---------- */
.mx-wa-float {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 80;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--mx-ink);
	color: var(--mx-gold);
	box-shadow: 0 14px 30px -10px rgba(3, 9, 6, 0.6);
	transition: transform 0.3s var(--mx-ease), background-color 0.3s var(--mx-ease);
}
.mx-wa-float::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px dashed rgba(242, 207, 133, 0.55);
	border-radius: 50%;
}
.mx-wa-float:hover { background: var(--mx-ink-hover); transform: translateY(-2px); }
.mx-nav-open .mx-wa-float { display: none; }

/* ---------- Page basics (until full templates exist) ---------- */
.mx-entry__title {
	margin: 0 0 14px;
	font-size: clamp(32px, 4.4vw, 52px);
	font-weight: 750;
	font-stretch: 88%;
	line-height: 1.05;
	letter-spacing: -0.015em;
}
.mx-entry > p:first-of-type { max-width: 66ch; color: var(--mx-text-muted); font-size: 17px; }

/* ---------- Buttons: extra sizes and quote states ---------- */
.mx-btn--lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.mx-quote-add.is-added { background: transparent; border-color: currentColor; color: var(--mx-ink); }
.mx-quote-add.is-added .mx-icon { color: var(--mx-gold-deep); }
.mx-btn--gold.mx-quote-add.is-added { border-color: var(--mx-ink); }

/* Single product quote box */
.mx-quote-box {
	position: relative;
	margin: 24px 0;
	padding: 24px 26px;
	border-radius: 14px;
	background: var(--mx-cotton);
	color: var(--mx-text);
}
.mx-quote-box::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px dashed rgba(16, 32, 25, 0.25);
	border-radius: 9px;
	pointer-events: none;
}
.mx-quote-box__title { position: relative; margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.mx-quote-box__text { position: relative; margin: 0 0 18px; color: var(--mx-text-muted); font-size: 15px; }
.mx-quote-box__actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }

/* Toast after "Add to quote" */
.mx-toast {
	position: fixed;
	left: 50%;
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: min(92vw, 520px);
	padding: 14px 16px 14px 20px;
	border-radius: 14px;
	background: var(--mx-ink);
	color: var(--mx-thread);
	font-size: 15px;
	box-shadow: 0 20px 40px -16px rgba(3, 9, 6, 0.7);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 12px);
	transition: opacity 0.25s var(--mx-ease), transform 0.35s var(--mx-ease), visibility 0s 0.35s;
}
.mx-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity 0.25s var(--mx-ease), transform 0.35s var(--mx-ease), visibility 0s;
}
.mx-toast a {
	flex: none;
	color: var(--mx-gold);
	font-weight: 600;
	text-decoration: underline dashed;
	text-underline-offset: 4px;
}

/* ---------- Quote page ---------- */
.mx-quote { margin-top: 32px; }
.mx-quote__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}
.mx-quote__main { display: grid; gap: 22px; }
.mx-quote__section {
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--mx-line-light);
	border-radius: 18px;
	background: #fcfcf9;
}
.mx-quote__section h2 {
	margin: 0 0 18px;
	font-size: 21px;
	font-weight: 700;
	font-stretch: 92%;
}
.mx-quote__section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.mx-quote__count { color: var(--mx-text-muted); font-size: 14px; }
.mx-quote__empty { margin: 0; color: var(--mx-text-muted); }
.mx-quote__empty a { color: var(--mx-ink); font-weight: 600; text-underline-offset: 4px; }

.mx-quote__items { margin: 0; padding: 0; list-style: none; }
.mx-quote-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1.2fr) 120px minmax(0, 1.4fr) 44px;
	align-items: end;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px dashed var(--mx-line-light);
}
.mx-quote-item:first-child { border-top: 0; padding-top: 0; }
.mx-quote-item__img {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: #e3e7de;
	color: #8a998f;
}
.mx-quote-item__img img { width: 100%; height: 100%; object-fit: cover; }
.mx-quote-item__info { align-self: center; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mx-quote-item__name { color: var(--mx-ink); font-weight: 650; text-decoration: none; line-height: 1.35; }
.mx-quote-item__name:hover { text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 4px; }
.mx-quote-item__cat { color: var(--mx-text-muted); font-size: 13.5px; }
.mx-quote-item label span { display: block; margin-bottom: 6px; color: var(--mx-text-muted); font-size: 13px; font-weight: 600; }
.mx-quote-item__remove { align-self: center; color: var(--mx-text-muted); }
.mx-quote-item__remove:hover { background: rgba(16, 32, 25, 0.07); color: var(--mx-ink); }

/* Fields */
.mx-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
.mx-field { display: flex; flex-direction: column; min-width: 0; }
.mx-field--full { grid-column: 1 / -1; }
.mx-field > label,
.mx-field__label,
.mx-checks legend {
	margin-bottom: 7px;
	color: var(--mx-ink);
	font-size: 14.5px;
	font-weight: 600;
}
.mx-field__opt { color: var(--mx-text-muted); font-weight: 400; }

.mx-quote input[type="text"],
.mx-quote input[type="email"],
.mx-quote input[type="tel"],
.mx-quote input[type="number"],
.mx-quote input[type="date"],
.mx-quote select,
.mx-quote textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid rgba(16, 32, 25, 0.22);
	border-radius: 10px;
	background: #fff;
	color: var(--mx-text);
	font: 400 16px/1.4 var(--mx-font);
	transition: border-color 0.2s var(--mx-ease), box-shadow 0.2s var(--mx-ease);
}
.mx-quote textarea { min-height: 130px; resize: vertical; }
.mx-quote select {
	padding-right: 38px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23102019' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
	-webkit-appearance: none;
	appearance: none;
}
.mx-quote input::placeholder,
.mx-quote textarea::placeholder { color: #8a948d; }
.mx-quote input:focus,
.mx-quote select:focus,
.mx-quote textarea:focus {
	outline: none;
	border-color: var(--mx-ink);
	box-shadow: 0 0 0 3px rgba(242, 207, 133, 0.6);
}
.mx-field.has-error input,
.mx-field.has-error textarea { border-color: #b42318; }
.mx-field__error { margin: 6px 0 0; color: #b42318; font-size: 14px; font-weight: 500; }

.mx-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}
.mx-checks { flex-direction: row; }
.mx-checks > .mx-check { margin: 0; font-weight: 500; }
.mx-checks legend { width: 100%; padding: 0; }
.mx-field > .mx-drop { margin: 0; color: var(--mx-text-muted); font-size: 15px; font-weight: 400; }
.mx-check { position: relative; cursor: pointer; }
.mx-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mx-check span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px dashed rgba(16, 32, 25, 0.35);
	border-radius: 999px;
	background: #fff;
	font-size: 14.5px;
	transition: background-color 0.2s var(--mx-ease), border-color 0.2s var(--mx-ease), color 0.2s var(--mx-ease);
}
.mx-check span::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 1.5px solid currentColor;
	border-radius: 4px;
	opacity: 0.6;
}
.mx-check input:checked + span {
	border-style: solid;
	border-color: var(--mx-ink);
	background: var(--mx-ink);
	color: var(--mx-gold);
}
.mx-check input:checked + span::before {
	opacity: 1;
	background: var(--mx-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%23102019' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 5.2 2 2 4-4.4'/%3E%3C/svg%3E") no-repeat center;
	border-color: var(--mx-gold);
}
.mx-check input:focus-visible + span { outline: 2px solid var(--mx-ink); outline-offset: 2px; }

/* File drop */
.mx-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 26px 20px;
	border: 1.5px dashed rgba(16, 32, 25, 0.35);
	border-radius: 14px;
	background: #fff;
	color: var(--mx-text-muted);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s var(--mx-ease), background-color 0.2s var(--mx-ease);
}
.mx-drop .mx-icon { color: var(--mx-gold-deep); }
.mx-drop:hover,
.mx-drop.is-over { border-color: var(--mx-ink); background: #fbf7ec; }
.mx-drop__text { color: var(--mx-text); }
.mx-drop__text strong { text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 4px; }
.mx-drop__hint { font-size: 13px; }
.mx-drop__list { color: var(--mx-ink); font-weight: 600; font-size: 14px; }
.mx-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mx-drop__input:focus-visible + .mx-field__error,
.mx-field:has(.mx-drop__input:focus-visible) .mx-drop { outline: 2px solid var(--mx-ink); outline-offset: 2px; }

.mx-quote__submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px dashed var(--mx-line-light);
}
.mx-quote__submit p { margin: 0; color: var(--mx-text-muted); font-size: 14.5px; }

/* Aside */
.mx-quote__aside { position: sticky; top: calc(var(--mx-header-h) + 24px); display: grid; gap: 14px; }
.mx-quote__next {
	position: relative;
	padding: 26px 24px;
	border-radius: 18px;
	background: var(--mx-ink);
	color: var(--mx-muted);
}
.mx-quote__next::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px dashed rgba(242, 207, 133, 0.4);
	border-radius: 11px;
	pointer-events: none;
}
.mx-quote__next-title { position: relative; margin: 0 0 16px; color: var(--mx-gold); font-size: 19px; font-weight: 700; }
.mx-quote__next ol { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.mx-quote__next li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 0 0 18px 40px;
	counter-increment: step;
	font-size: 14.5px;
	line-height: 1.5;
}
.mx-quote__next li:last-child { padding-bottom: 0; }
.mx-quote__next li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--mx-gold);
	color: var(--mx-ink);
	font-size: 13px;
	font-weight: 700;
}
.mx-quote__next li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 12.5px;
	top: 28px;
	bottom: 4px;
	border-left: 1px dashed rgba(242, 207, 133, 0.45);
}
.mx-quote__next strong { color: var(--mx-thread); }
.mx-quote__wa {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--mx-line-light);
	border-radius: 14px;
	background: #fcfcf9;
	color: var(--mx-text);
	font-size: 14.5px;
	text-decoration: none;
}
.mx-quote__wa .mx-icon { flex: none; color: var(--mx-ink); }
.mx-quote__wa:hover { border-color: var(--mx-ink); }

.mx-quote__sent,
.mx-quote__errors {
	display: flex;
	gap: 14px;
	margin-bottom: 22px;
	padding: 18px 20px;
	border-radius: 14px;
}
.mx-quote__sent { background: #e6f2e9; color: #12391f; }
.mx-quote__sent .mx-icon { flex: none; color: #1a7f37; }
.mx-quote__sent p { margin: 0; }
.mx-quote__sent-title { font-weight: 700; font-size: 17px; margin-bottom: 4px !important; }
.mx-quote__errors { display: block; background: #fdecea; color: #7a1a12; outline: none; }
.mx-quote__errors p { margin: 0; }
.mx-quote__errors p + p { margin-top: 4px; }

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

@media (max-width: 1023px) {
	.mx-quote__form { grid-template-columns: 1fr; }
	.mx-quote__aside { position: static; }
	.mx-quote__next { padding: 22px 20px; }
}
@media (max-width: 719px) {
	.mx-fields { grid-template-columns: 1fr; }
	.mx-quote-item {
		grid-template-columns: 64px minmax(0, 1fr) 44px;
		align-items: center;
		gap: 10px 14px;
	}
	.mx-quote-item__img { width: 64px; height: 64px; }
	.mx-quote-item__qty { grid-column: 1 / -1; grid-row: 2; max-width: 180px; }
	.mx-quote-item__note { grid-column: 1 / -1; grid-row: 3; }
	.mx-quote-item__remove { grid-column: 3; grid-row: 1; }
	.mx-quote-item__qty input { padding-inline: 10px; }
	.mx-quote__submit .mx-btn { width: 100%; }
}

/* ==========================================================================
   Products mega menu layouts (Customize > Header > Products menu layout)
   One markup, four looks: classic, tiles, cards, featured. inc/mega.php
   ========================================================================== */
.mx-tab__media,
.mx-sub__media,
.mx-tab__products,
.mx-mega__footer { display: none; }
.mx-menu-label { min-width: 0; }

@media (min-width: 1200px) {
	.mx-mega__footer {
		grid-column: 1 / -1;
		align-items: center;
		gap: 12px 20px;
		margin-top: 8px;
		padding-top: 20px;
		border-top: 1px dashed rgba(16, 32, 25, 0.18);
	}
	.mx-mega__footer p { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0; color: var(--mx-text-muted); font-size: 14.5px; }
	.mx-mega__footer .mx-icon { color: var(--mx-gold-deep); flex: none; }
	.mx-mega a.mx-mega__footer-all { color: var(--mx-ink); font-weight: 600; font-size: 14.5px; text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 5px; }

	/* ---------- Tiles: thumbnails on tabs, sub-categories as picture tiles ---------- */
	.mx-mega--tiles .mx-tabs { grid-template-columns: 250px minmax(0, 1fr); }
	.mx-mega--tiles .mx-tab > a { gap: 12px; padding: 7px 12px 7px 7px; }
	.mx-mega--tiles .mx-tab__media {
		display: block;
		flex: none;
		width: 40px;
		height: 40px;
		overflow: hidden;
		border-radius: 10px;
		background: #dfe3da;
	}
	.mx-mega--tiles .mx-tab__media img,
	.mx-mega--tiles .mx-sub__media img,
	.mx-mega--cards .mx-tab__media img { width: 100%; height: 100%; object-fit: cover; }
	.mx-mega--tiles .mx-tab > a .mx-menu-label { flex: 1; }
	.mx-mega--tiles .mx-tabs .mx-tab__panel {
		grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
		gap: 16px 12px;
		align-content: start;
		columns: auto;
		padding-left: 32px;
	}
	.mx-mega--tiles .mx-tab.is-active > .mx-tab__panel { display: grid; }
	.mx-mega--tiles .mx-tab__panel > li { padding: 0; }
	.mx-mega--tiles .mx-tab__panel > li > a {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 0;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.3;
		text-decoration: none;
	}
	.mx-mega--tiles .mx-sub__media {
		position: relative;
		display: block;
		aspect-ratio: 1;
		overflow: hidden;
		border-radius: 14px;
		background: #e3e7de;
	}
	.mx-mega--tiles .mx-sub__media img { transition: transform 0.6s var(--mx-ease-out); }
	.mx-mega--tiles .mx-sub__media::after {
		content: "";
		position: absolute;
		inset: 6px;
		border: 1.5px dashed rgba(16, 32, 25, 0.3);
		border-radius: 10px;
		opacity: 0;
		transition: opacity 0.25s var(--mx-ease);
	}
	.mx-mega--tiles .mx-tab__panel > li > a:hover .mx-sub__media img { transform: scale(1.06); }
	.mx-mega--tiles .is-empty,
	.mx-mega--cards .is-empty { display: grid; place-items: center; color: var(--mx-gold-deep); }
	.mx-mega--tiles .is-empty .mx-icon { opacity: 0.7; }
	.mx-mega--tiles .mx-tab__panel > li > a:hover .mx-sub__media::after { opacity: 1; }
	.mx-mega--tiles .mx-tab__panel > li > a:hover .mx-menu-label { text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 4px; }
	.mx-mega--tiles .mx-tab__panel > li.mx-tab__all > a {
		display: grid;
		place-items: center;
		aspect-ratio: 1;
		padding: 12px;
		border: 1.5px dashed rgba(201, 154, 69, 0.8);
		border-radius: 14px;
		background: #fbf7ec;
		text-align: center;
		text-decoration: none;
	}
	.mx-mega--tiles .mx-tab__all { break-before: auto; }

	/* ---------- Cards: every category visible, no tabs ---------- */
	.mx-mega--cards .mx-mega__inner,
	.mx-mega--featured .mx-mega__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.mx-mega--cards .mx-mega__footer,
	.mx-mega--featured .mx-mega__footer { display: flex; }
	.mx-mega--cards .mx-mega__feature,
	.mx-mega--featured .mx-mega__feature { display: none; }
	.mx-mega--cards .mx-tabs {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		grid-template-rows: none;
		gap: 26px clamp(14px, 1.6vw, 22px);
	}
	.mx-mega--cards .mx-tab { display: flex; flex-direction: column; min-width: 0; }
	.mx-mega--cards .mx-tabs > .mx-tab > a,
	.mx-mega .mx-mega--cards .mx-tab.is-active > a,
	.mx-mega--cards .mx-tab.is-active > a {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin: 0;
		padding: 0;
		border-radius: 0;
		background: none;
		color: var(--mx-ink);
		font-size: 17px;
		font-weight: 700;
	}
	.mx-mega--cards .mx-tab > a::after { display: none; }
	.mx-mega--cards .mx-tab__media {
		display: block;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		border-radius: 14px;
		background: #e3e7de;
	}
	.mx-mega--cards .mx-tab__media img { transition: transform 0.6s var(--mx-ease-out); }
	.mx-mega--cards .mx-tab > a:hover .mx-tab__media img { transform: scale(1.05); }
	.mx-mega--cards .mx-tab > a:hover .mx-menu-label { text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 5px; }
	.mx-mega--cards .mx-tabs .mx-tab__panel {
		display: block;
		grid-column: auto;
		grid-row: auto;
		min-height: 0;
		margin-top: 6px;
		padding: 0;
		border: 0;
		columns: auto;
		animation: none;
	}
	.mx-mega--cards .mx-tab__panel > li { padding: 0; animation: none !important; }
	.mx-mega--cards .mx-tab__panel > li:nth-child(n+7):not(.mx-tab__all) { display: none; }
	.mx-mega--cards .mx-tab__panel > li > a {
		display: block;
		padding: 4px 0;
		color: var(--mx-text-muted);
		font-size: 14px;
		font-weight: 500;
	}
	.mx-mega--cards .mx-tab__panel > li > a:hover { color: var(--mx-ink); }
	.mx-mega--cards .mx-tab__panel > li.mx-tab__all > a { margin-top: 4px; color: var(--mx-ink); font-weight: 600; }

	/* ---------- Featured: tabs, sub-category list, popular products ---------- */
	.mx-mega--featured .mx-tabs { grid-template-columns: 230px minmax(0, 0.9fr) minmax(0, 1.1fr); }
	.mx-mega--featured .mx-tabs .mx-tab__panel { columns: 2 150px; column-gap: 24px; }
	.mx-mega--featured .mx-tab__products {
		grid-column: 3;
		grid-row: 1 / -1;
		align-self: start;
		margin-left: 28px;
		padding-left: 28px;
		border-left: 1px dashed rgba(16, 32, 25, 0.28);
	}
	.mx-mega--featured .mx-tab.is-active > .mx-tab__products { display: block; animation: mx-fade 0.3s var(--mx-ease); }
	.mx-tab__products-title { margin: 4px 0 14px; color: var(--mx-text-muted); font-size: 13.5px; font-weight: 600; }
	.mx-tab__products ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.mx-tab__products li { animation: mx-rise 0.45s var(--mx-ease-out) backwards; animation-delay: calc(var(--n, 0) * 0.06s); }
	.mx-tab__products li:nth-child(2) { --n: 1; }
	.mx-tab__products li:nth-child(3) { --n: 2; }
	.mx-mega a.mx-mp { display: flex; flex-direction: column; gap: 8px; color: var(--mx-ink); text-decoration: none; }
	.mx-mp__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: #e3e7de; }
	.mx-mp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--mx-ease-out); }
	.mx-mp:hover .mx-mp__img img { transform: scale(1.05); }
	.mx-mp__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
	.mx-mp:hover .mx-mp__name { text-decoration: underline dashed var(--mx-gold-deep); text-underline-offset: 4px; }

	/* Light header style: card media sit on white */
	.mx-chrome-light .mx-mega__footer { border-top-color: var(--mxl-line); }
}

@media (prefers-reduced-motion: reduce) {
	.mx-tab__products li,
	.mx-mega--featured .mx-tab.is-active > .mx-tab__products { animation: none; }
	.mx-mega--tiles .mx-tab__panel > li > a:hover .mx-sub__media img,
	.mx-mega--cards .mx-tab > a:hover .mx-tab__media img,
	.mx-mp:hover .mx-mp__img img { transform: none; }
}

/* ==========================================================================
   Light header & footer (Customize > MIRZAX CO settings > Header > style)
   ========================================================================== */
.mx-chrome-light {
	--mxl-bar: #fbfbf7;
	--mxl-top: #eef0ea;
	--mxl-foot: #eaede5;
	--mxl-raised: #f2f4ee;
	--mxl-text: #102019;
	--mxl-muted: #4b5850;
	--mxl-line: rgba(16, 32, 25, 0.12);
	--mxl-bronze: #8a6420;        /* gold that reads on light backgrounds */
	--mxl-bronze-line: rgba(138, 100, 32, 0.45);
}

/* Top bar */
.mx-chrome-light .mx-topbar { background: var(--mxl-top); color: var(--mxl-muted); border-bottom: 1px solid var(--mxl-line); }
.mx-chrome-light .mx-topbar .mx-icon { color: var(--mxl-bronze); }
.mx-chrome-light .mx-topbar__contact a { color: var(--mxl-text); }
.mx-chrome-light .mx-topbar__contact a:hover span { text-decoration-color: var(--mxl-bronze); }

/* Bar */
.mx-chrome-light .mx-header { background: var(--mxl-bar); color: var(--mxl-text); }
.mx-chrome-light .mx-header.is-stuck { box-shadow: 0 12px 30px -20px rgba(16, 32, 25, 0.35); }
.mx-chrome-light .mx-seam { color: var(--mxl-bronze-line); }
.mx-chrome-light .mx-icon-btn { color: var(--mxl-text); }
.mx-chrome-light .mx-icon-btn:hover,
.mx-chrome-light .mx-icon-btn[aria-expanded="true"] { background: rgba(16, 32, 25, 0.06); color: var(--mxl-bronze); }
.mx-chrome-light .mx-subnav-toggle { color: var(--mxl-muted); }
.mx-chrome-light .mx-topbar :focus-visible,
.mx-chrome-light .mx-header :focus-visible,
.mx-chrome-light .mx-footer :focus-visible { outline-color: var(--mxl-bronze); }
.mx-chrome-light .mx-btn--ghost { border-color: rgba(16, 32, 25, 0.3); color: var(--mxl-text); }
.mx-chrome-light .mx-btn--ghost:hover { border-color: var(--mxl-text); color: var(--mxl-text); background: rgba(16, 32, 25, 0.04); }

@media (min-width: 1200px) {
	.mx-chrome-light .mx-menu > li > a { color: var(--mxl-text); }
	.mx-chrome-light .mx-menu > li > a::after { color: var(--mxl-bronze); }
	.mx-chrome-light .mx-menu > li.current-menu-item > a,
	.mx-chrome-light .mx-menu > li.current-menu-ancestor > a,
	.mx-chrome-light .mx-menu > li.is-open > a { color: var(--mxl-bronze); }
	.mx-chrome-light .mx-subnav-toggle:hover { color: var(--mxl-bronze); }
	.mx-chrome-light .mx-dropdown,
	.mx-chrome-light .mx-mega { background: #fff; border: 1px solid var(--mxl-line); }
	.mx-chrome-light .mx-mega { border-width: 1px 0; box-shadow: 0 40px 70px -40px rgba(16, 32, 25, 0.4); }
	.mx-chrome-light .mx-dropdown { box-shadow: 0 24px 50px -24px rgba(16, 32, 25, 0.35); }
	.mx-chrome-light .mx-mega__feature { background: var(--mxl-top); color: var(--mxl-muted); }
	.mx-chrome-light .mx-mega__feature::before { border-color: var(--mxl-bronze-line); }
	.mx-chrome-light .mx-mega__heading { color: var(--mxl-bronze); }
	.mx-chrome-light .mx-mega a.mx-mega__all { color: var(--mxl-text); text-decoration-color: var(--mxl-bronze-line); }
	.mx-chrome-light .mx-mega__feature :focus-visible { outline-color: var(--mxl-bronze); }
	.mx-chrome-light .mx-mega .mx-tab.is-active > a { background: var(--mxl-text); color: #f2cf85; }
}
@media (hover: hover) and (min-width: 1200px) {
	.mx-chrome-light .mx-menu > li > a:hover { color: var(--mxl-bronze); }
}

/* Drawer */
@media (max-width: 1199px) {
	.mx-chrome-light .mx-nav { background: var(--mxl-bar); box-shadow: -30px 0 60px -30px rgba(16, 32, 25, 0.35); }
	.mx-chrome-light .mx-nav__head,
	.mx-chrome-light .mx-nav__foot { border-color: var(--mxl-bronze-line); }
	.mx-chrome-light .mx-menu > li,
	.mx-chrome-light .mx-nav--tabbed .mx-tab { border-color: var(--mxl-line); }
	.mx-chrome-light .mx-tab + .mx-tab { border-color: var(--mxl-line); }
	.mx-chrome-light .mx-menu > li > a,
	.mx-chrome-light .mx-tab > a,
	.mx-chrome-light .mx-dropdown a,
	.mx-chrome-light .mx-mega__cols > li > a,
	.mx-chrome-light .mx-tab__panel > li > a { color: var(--mxl-text); }
	.mx-chrome-light .mx-mega .mx-sub-2 a,
	.mx-chrome-light .mx-mega .mx-sub-3 a { color: var(--mxl-muted); }
	.mx-chrome-light .mx-mega .mx-sub-2,
	.mx-chrome-light .mx-mega .mx-sub-3,
	.mx-chrome-light .mx-tabs .mx-tab__panel { border-color: var(--mxl-bronze-line); }
	.mx-chrome-light .mx-subnav-toggle,
	.mx-chrome-light .mx-tab__toggle,
	.mx-chrome-light .mx-nav--tabbed .mx-tab__toggle { color: var(--mxl-text); }
	.mx-chrome-light .mx-menu > li.current-menu-item > a,
	.mx-chrome-light .mx-menu > li.current-menu-ancestor > a,
	.mx-chrome-light .mx-menu > li.is-tabs > a,
	.mx-chrome-light .mx-dropdown .current-menu-item > a,
	.mx-chrome-light .mx-mega .current-menu-item > a,
	.mx-chrome-light .mx-tab__all a { color: var(--mxl-bronze) !important; }
	.mx-chrome-light .mx-nav--tabbed .mx-nav__tabs { background: var(--mxl-raised); border-color: var(--mxl-line); }
	.mx-chrome-light .mx-nav__tab { color: var(--mxl-muted); }
	.mx-chrome-light .mx-nav__tab:hover { color: var(--mxl-text); }
	.mx-chrome-light .mx-nav__tab[aria-pressed="true"] { background: var(--mxl-text); color: #f2cf85; }
	.mx-chrome-light .mx-nav__account { color: var(--mxl-muted); }
	.mx-chrome-light .mx-nav__account:hover { color: var(--mxl-bronze); }
	.mx-chrome-light .mx-nav-overlay { background: rgba(16, 32, 25, 0.35); }
}

/* Footer */
.mx-chrome-light .mx-enquiry { background: linear-gradient(to bottom, transparent 50%, var(--mxl-foot) 50%); }
.mx-chrome-light .mx-enquiry__label { box-shadow: 0 30px 60px -40px rgba(16, 32, 25, 0.5); }
.mx-chrome-light .mx-footer { background: var(--mxl-foot); color: var(--mxl-muted); }
.mx-chrome-light .mx-footer__heading { color: var(--mxl-bronze); }
.mx-chrome-light .mx-footer__links a,
.mx-chrome-light .mx-footer__contact a,
.mx-chrome-light .mx-footer__origin { color: var(--mxl-text); }
.mx-chrome-light .mx-footer__links a:hover,
.mx-chrome-light .mx-footer__contact a:hover { color: var(--mxl-bronze); text-decoration-color: var(--mxl-bronze-line); }
.mx-chrome-light .mx-footer__contact-list .mx-icon { color: var(--mxl-bronze); }
.mx-chrome-light .mx-social a { border-color: rgba(16, 32, 25, 0.18); color: var(--mxl-text); }
.mx-chrome-light .mx-social a:hover { border-color: var(--mxl-bronze); background: rgba(138, 100, 32, 0.08); color: var(--mxl-bronze); }
.mx-chrome-light .mx-footer__bottom::before { color: var(--mxl-bronze-line); }
.mx-chrome-light .mx-footer__legal a { color: var(--mxl-muted); }
.mx-chrome-light .mx-footer__legal a:hover { color: var(--mxl-bronze); }

/* ==========================================================================
   Motion (CSS only, Tier 1). Every effect has a reduced-motion fallback below.
   Stagger indexes (--i) are set by navigation.js.
   ========================================================================== */
@keyframes mx-rise {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}
@keyframes mx-drop {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: none; }
}
@keyframes mx-slide-in {
	from { opacity: 0; transform: translateX(18px); }
	to   { opacity: 1; transform: none; }
}
@keyframes mx-pop {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.28); }
	100% { transform: scale(1); }
}
@keyframes mx-stitch {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}

/* 1. Header entrance: once per session (html.mx-intro) */
.mx-intro .mx-topbar__inner > * { animation: mx-drop 0.6s var(--mx-ease-out) backwards; }
.mx-intro .mx-topbar__inner > :nth-child(2) { animation-delay: 0.05s; }
.mx-intro .mx-topbar__inner > :nth-child(3) { animation-delay: 0.1s; }
.mx-intro .mx-header__brand { animation: mx-drop 0.7s var(--mx-ease-out) 0.05s backwards; }
.mx-intro .mx-header__actions > * { animation: mx-drop 0.6s var(--mx-ease-out) backwards; animation-delay: calc(0.25s + var(--n, 0) * 0.05s); }
.mx-intro .mx-header__actions > :nth-child(2) { --n: 1; }
.mx-intro .mx-header__actions > :nth-child(3) { --n: 2; }
.mx-intro .mx-header__actions > :nth-child(4) { --n: 3; }
@media (min-width: 1200px) {
	.mx-intro .mx-menu > li { animation: mx-drop 0.6s var(--mx-ease-out) backwards; animation-delay: calc(0.12s + min(var(--i, 0), 8) * 0.045s); }
}

/* 2. Desktop panels: contents follow the panel in, one after another */
@media (min-width: 1200px) {
	.mx-dropdown > li,
	.mx-mega__cols > li,
	.mx-tabs > .mx-tab > a,
	.mx-mega__feature {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.15s var(--mx-ease), transform 0.15s var(--mx-ease);
	}
	.mx-menu > li.is-open > .mx-dropdown > li,
	.mx-menu > li.is-open .mx-mega__cols > li,
	.mx-menu > li.is-open .mx-tabs > .mx-tab > a,
	.mx-menu > li.is-open .mx-mega__feature {
		opacity: 1;
		transform: none;
		transition: opacity 0.35s var(--mx-ease-out), transform 0.45s var(--mx-ease-out);
		transition-delay: calc(0.05s + min(var(--i, 0), 12) * 0.025s);
	}
	.mx-menu > li.is-open .mx-mega__feature { transition-delay: 0.14s; }
	@media (hover: hover) {
		.mx-menu > li:hover > .mx-dropdown > li,
		.mx-menu > li:hover .mx-mega__cols > li,
		.mx-menu > li:hover .mx-tabs > .mx-tab > a,
		.mx-menu > li:hover .mx-mega__feature {
			opacity: 1;
			transform: none;
			transition: opacity 0.35s var(--mx-ease-out), transform 0.45s var(--mx-ease-out);
			transition-delay: calc(0.08s + min(var(--i, 0), 12) * 0.025s);
		}
		.mx-menu > li:hover .mx-mega__feature { transition-delay: 0.16s; }
	}
	/* Switching category tabs: the new sub-category list rises in */
	.mx-tab.is-active > .mx-tab__panel > li { animation: mx-rise 0.4s var(--mx-ease-out) backwards; animation-delay: calc(min(var(--i, 0), 12) * 0.018s); }
	/* Active tab arrow nudges forward */
	.mx-tab > a::after { transform: rotate(45deg) translate(-3px, 3px); }
	.mx-tab.is-active > a::after { transform: rotate(45deg); }
	.mx-tab > a::after { transition: opacity 0.2s var(--mx-ease), transform 0.35s var(--mx-ease-out); }
	/* Chevron turns while a panel is open by hover */
	@media (hover: hover) {
		.mx-menu > li:hover > .mx-subnav-toggle .mx-icon { transform: rotate(180deg); }
	}
}

/* 3. Mobile drawer: rows slide in after the panel */
@media (max-width: 1199px) {
	.mx-nav-open .mx-nav__tabs,
	.mx-nav-open .mx-menu > li,
	.mx-nav-open .mx-nav--tabbed[data-mx-section="categories"] .mx-tabs > .mx-tab,
	.mx-nav-open .mx-nav__foot > * {
		animation: mx-slide-in 0.45s var(--mx-ease-out) backwards;
		animation-delay: calc(0.12s + min(var(--i, 0), 10) * 0.035s);
	}
	.mx-nav-open .mx-nav__tabs { animation-delay: 0.08s; }
	.mx-nav-open .mx-nav__foot > * { animation-delay: 0.3s; }
	.mx-nav-open .mx-nav__foot > :nth-child(2) { animation-delay: 0.34s; }
	.mx-nav-open .mx-nav__foot > :nth-child(3) { animation-delay: 0.38s; }
	/* Opening an accordion */
	.mx-menu > li.is-open > .mx-dropdown,
	.mx-menu > li.is-open > .mx-mega,
	.mx-tab.is-open > .mx-tab__panel { animation: mx-drop 0.35s var(--mx-ease-out) backwards; }
}

/* 4. Search: see "Search box" section */

/* 5. Quote list badge pops when something is added */
.mx-quote-count.is-bump { animation: mx-pop 0.45s var(--mx-ease-out); }

/* 6. Buttons and icons: small, quick feedback */
.mx-btn .mx-icon { transition: transform 0.3s var(--mx-ease-out); }
.mx-btn:hover .mx-icon { transform: translateY(-1px) scale(1.06); }
.mx-social a { transition: color 0.25s var(--mx-ease), border-color 0.25s var(--mx-ease), background-color 0.25s var(--mx-ease), transform 0.3s var(--mx-ease-out); }
.mx-social a:hover { transform: translateY(-2px); }
.mx-icon-btn:active,
.mx-btn:active { transform: scale(0.96); }

/* 7. Footer: enquiry label sews its border, columns rise in */
.mx-js .mx-enquiry:not(.is-inview) .mx-enquiry__label { opacity: 0; transform: translateY(24px); }
.mx-js .mx-enquiry .mx-enquiry__label { transition: opacity 0.7s var(--mx-ease-out), transform 0.9s var(--mx-ease-out); }
.mx-js .mx-enquiry.is-inview .mx-enquiry__label::before { animation: mx-stitch 1.1s var(--mx-ease-out) 0.25s both; }
.mx-js .mx-footer:not(.is-inview) .mx-footer__grid > * { opacity: 0; transform: translateY(18px); }
.mx-js .mx-footer .mx-footer__grid > * {
	transition: opacity 0.6s var(--mx-ease-out), transform 0.8s var(--mx-ease-out);
	transition-delay: calc(min(var(--i, 0), 4) * 0.08s);
}
.mx-js .mx-footer.is-inview .mx-footer__bottom::before { animation: mx-sew 1.2s var(--mx-ease-out) 0.3s both; transform-origin: left center; }

/* 8. Floating WhatsApp button arrives after the page settles */
.mx-wa-float { animation: mx-rise 0.6s var(--mx-ease-out) 1s backwards; }

/* ---------- Footer accordions (phones) and back to top ---------- */
.mx-footer__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.mx-footer__toggle .mx-icon { transition: transform 0.3s var(--mx-ease-out); }
.mx-footer__toggle[aria-expanded="true"] .mx-icon { transform: rotate(180deg); }
.mx-footer__col--fold.is-folded .mx-footer__fold { display: none; }
.mx-footer__col--fold:not(.is-folded) .mx-footer__fold { animation: mx-drop 0.3s var(--mx-ease-out); }

.mx-totop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px 0 16px;
	border: 1px solid var(--mx-line-dark);
	border-radius: 999px;
	color: var(--mx-thread);
	font-size: 13.5px;
	text-decoration: none;
	transition: border-color 0.25s var(--mx-ease), color 0.25s var(--mx-ease);
}
.mx-totop .mx-icon { transform: rotate(180deg); transition: transform 0.3s var(--mx-ease-out); }
.mx-totop:hover { border-color: var(--mx-gold); color: var(--mx-gold); }
.mx-totop:hover .mx-icon { transform: rotate(180deg) translateY(2px); }
.mx-chrome-light .mx-totop { border-color: rgba(16, 32, 25, 0.18); color: var(--mxl-text); }
.mx-chrome-light .mx-totop:hover { border-color: var(--mxl-bronze); color: var(--mxl-bronze); }

/* Phones: stacked footer, accordion columns */
@media (max-width: 719px) {
	.mx-footer__grid { grid-template-columns: 1fr; gap: 0; }
	.mx-footer__brand { padding-bottom: 28px; }
	.mx-footer__col--fold { border-top: 1px solid var(--mx-line-dark); }
	.mx-footer__col--fold .mx-footer__heading { margin: 0; }
	.mx-footer__col--fold .mx-footer__fold { padding-bottom: 16px; }
	.mx-footer__contact { grid-column: auto; padding-top: 22px; border-top: 1px solid var(--mx-line-dark); }
	.mx-chrome-light .mx-footer__col--fold,
	.mx-chrome-light .mx-footer__contact { border-color: var(--mxl-line); }
	.mx-footer__links { columns: 2; column-gap: 20px; }
	.mx-footer__links li { break-inside: avoid; }
	.mx-footer__bottom { align-items: flex-start; }
	.mx-totop { order: -1; align-self: stretch; justify-content: center; }
}

/* Very small phones */
@media (max-width: 359px) {
	.mx-container { padding-inline: 14px; }
	.mx-header__actions .mx-icon-btn { width: 40px; }
	.mx-topbar { font-size: 12.5px; }
}

/* Landscape phones: keep the drawer usable */
@media (max-height: 480px) and (max-width: 1199px) {
	.mx-nav__head { padding-block: 8px; }
	.mx-nav--tabbed .mx-nav__tabs { margin-top: 10px; }
	.mx-menu > li > a,
	.mx-nav--tabbed .mx-tab > a { padding-block: 11px; }
}

/* ==========================================================================
   Search box (template-parts/header/searchbox.php)
   Used in the search panel (all layouts) and inline (Marketplace header).
   ========================================================================== */
.mx-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 6;
	background: var(--mx-ink-raised);
	border-top: 1px solid var(--mx-line-dark);
	box-shadow: 0 40px 70px -30px rgba(3, 9, 6, 0.75);
	animation: mx-drop-in 0.35s var(--mx-ease) both;
}
@keyframes mx-drop-in { from { opacity: 0; transform: translateY(-6px); } }
.mx-search__inner {
	position: relative;
	padding-block: 28px 32px;
	max-height: calc(100dvh - var(--mx-header-h) - 40px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mx-search .mx-searchbox { max-width: 940px; margin-inline: auto; padding-right: 56px; }
.mx-search__close { position: absolute; top: 34px; right: clamp(16px, 3.4vw, 40px); }

.mx-searchbox {
	--sb-text: var(--mx-thread);
	--sb-muted: var(--mx-muted);
	--sb-field-bg: var(--mx-ink);
	--sb-field-border: rgba(242, 207, 133, 0.28);
	--sb-chip-border: rgba(242, 207, 133, 0.45);
	--sb-accent: var(--mx-gold);
	--sb-tile: rgba(242, 207, 133, 0.07);
	--sb-tile-hover: rgba(242, 207, 133, 0.14);
	position: relative;
}
/* Light surfaces: inline dropdown, light header style */
.mx-searchbox--inline .mx-searchbox__drop,
.mx-chrome-light .mx-searchbox {
	--sb-text: var(--mx-ink);
	--sb-muted: var(--mx-text-muted);
	--sb-chip-border: rgba(138, 100, 32, 0.45);
	--sb-accent: #8a6420;
	--sb-tile: #fff;
	--sb-tile-hover: #f3f1ea;
}
.mx-chrome-light .mx-searchbox { --sb-field-bg: #fff; --sb-field-border: rgba(16, 32, 25, 0.2); }

.mx-searchbox__form { display: flex; align-items: stretch; gap: 10px; }
.mx-searchbox__field {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 58px;
	padding: 0 8px 0 18px;
	border: 1px solid var(--sb-field-border);
	border-radius: 999px;
	background: var(--sb-field-bg);
	color: var(--sb-muted);
	transition: border-color 0.2s var(--mx-ease), box-shadow 0.2s var(--mx-ease), background-color 0.2s var(--mx-ease);
}
.mx-searchbox__field:focus-within { border-color: var(--sb-accent); box-shadow: 0 0 0 4px rgba(242, 207, 133, 0.18); }
.mx-chrome-light .mx-searchbox__field:focus-within { border-color: var(--mx-ink); box-shadow: 0 0 0 4px rgba(242, 207, 133, 0.55); }
.mx-searchbox__field > .mx-icon { flex: none; color: var(--sb-accent); }
.mx-searchbox__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 10px;
	border: 0;
	background: transparent;
	color: var(--sb-text);
	font: 400 17px var(--mx-font);
	-webkit-appearance: none;
	appearance: none;
}
.mx-searchbox__input::-webkit-search-cancel-button { display: none; }
.mx-searchbox__input::placeholder { color: var(--sb-muted); opacity: 1; }
.mx-searchbox__input:focus { outline: none; }
.mx-searchbox__spinner {
	display: none;
	flex: none;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	border: 2px solid var(--sb-accent);
	border-right-color: transparent;
	border-radius: 50%;
	animation: mx-spin-s 0.7s linear infinite;
}
@keyframes mx-spin-s { to { transform: rotate(360deg); } }
.mx-searchbox.is-loading .mx-searchbox__spinner { display: block; }
.mx-searchbox__clear {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(242, 207, 133, 0.12);
	color: var(--sb-text);
	cursor: pointer;
}
.mx-chrome-light .mx-searchbox__clear,
.mx-searchbox--inline .mx-searchbox__clear { background: rgba(127, 127, 127, 0.14); }
.mx-searchbox__kbd {
	display: none;
	flex: none;
	margin-right: 6px;
	padding: 2px 8px;
	border: 1px solid var(--sb-field-border);
	border-radius: 6px;
	color: var(--sb-muted);
	font: 600 12px/1.4 var(--mx-font);
}
@media (min-width: 1200px) and (hover: hover) {
	.mx-searchbox--inline:not(.has-value):not(:focus-within) .mx-searchbox__kbd { display: inline-block; }
}
.mx-searchbox__submit { min-height: 58px; padding: 0 26px; }
.mx-searchbox__submit .mx-icon { display: none; }

/* Drop area: suggestions before typing, results after */
.mx-searchbox__drop { margin-top: 22px; }
.mx-searchbox__suggest > * + * { margin-top: 24px; }
.mx-searchbox__label { margin: 0 0 10px; color: var(--sb-muted); font-size: 13px; font-weight: 600; }
.mx-searchbox__row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mx-searchbox__clear-recent {
	padding: 0;
	border: 0;
	background: none;
	color: var(--sb-muted);
	font: 500 13px var(--mx-font);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.mx-searchbox__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mx-searchbox__chips a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 15px 0 12px;
	border: 1px dashed var(--sb-chip-border);
	border-radius: 999px;
	color: var(--sb-text);
	font-size: 14px;
	text-decoration: none;
	transition: border-color 0.2s var(--mx-ease), color 0.2s var(--mx-ease), background-color 0.2s var(--mx-ease);
}
.mx-searchbox__chips a .mx-icon { color: var(--sb-accent); }
.mx-searchbox__chips a:hover,
.mx-searchbox__chips a.is-active { border-style: solid; border-color: var(--sb-accent); background: var(--sb-tile); }
.mx-searchbox__cats ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-searchbox__cats a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px 8px 8px;
	border-radius: 14px;
	background: var(--sb-tile);
	color: var(--sb-text);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s var(--mx-ease), transform 0.3s var(--mx-ease-out);
}
.mx-searchbox--inline .mx-searchbox__cats a { border: 1px solid var(--mx-line-light); }
.mx-searchbox__cats a:hover,
.mx-searchbox__cats a.is-active { background: var(--sb-tile-hover); transform: translateY(-2px); }
.mx-searchbox__cat-img {
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 10px;
	background: #e3e7de;
}
.mx-searchbox__cat-img img { width: 100%; height: 100%; object-fit: cover; }

/* Results */
.mx-searchbox__results {
	padding: 8px;
	border-radius: 18px;
	background: var(--mx-cotton);
	color: var(--mx-text);
}
.mx-chrome-light .mx-search .mx-searchbox__results { background: #fff; border: 1px solid var(--mx-line-light); }
.mx-searchbox--inline .mx-searchbox__results { padding: 0; background: none; border: 0; }
.mx-searchbox__results .mx-searchbox__label { color: var(--mx-text-muted); }
.mx-searchbox__group { padding: 10px 8px; }
.mx-searchbox__group + .mx-searchbox__group { border-top: 1px dashed var(--mx-line-light); }
.mx-searchbox__count { color: var(--mx-text-muted); font-size: 13px; }
.mx-searchbox__result-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mx-searchbox__result-cats a {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--mx-ink);
	color: var(--mx-gold);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}
.mx-searchbox__result-cats small { color: var(--mx-muted); font-size: 12.5px; font-weight: 500; }
.mx-searchbox__result-cats a:hover,
.mx-searchbox__result-cats a.is-active { background: var(--mx-ink-hover); outline: 2px solid var(--mx-gold); outline-offset: 2px; }
.mx-searchbox__result-cats mark { background: rgba(242, 207, 133, 0.35); color: inherit; }
.mx-searchbox__products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mx-searchbox--inline .mx-searchbox__products { grid-template-columns: 1fr; }
.mx-searchbox__product {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 12px;
	color: var(--mx-text);
	text-decoration: none;
	transition: background-color 0.15s var(--mx-ease);
}
.mx-searchbox__product:hover,
.mx-searchbox__product.is-active { background: rgba(16, 32, 25, 0.07); }
.mx-searchbox__product.is-active { box-shadow: inset 3px 0 0 var(--mx-gold-deep); }
.mx-searchbox__thumb {
	flex: none;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border-radius: 10px;
	background: #dfe3da url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2391a196' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M19.5 4.5 6 18l-1.5 1.5'/%3E%3Cpath d='M17 4.2a1.8 1.8 0 0 1 2.8 2.8'/%3E%3Cpath d='M3 13c3-1 5.5 1.5 4.5 4.5'/%3E%3C/svg%3E") no-repeat center;
}
.mx-searchbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mx-searchbox__product-text { display: flex; flex-direction: column; min-width: 0; }
.mx-searchbox__product-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.mx-searchbox__product-cat { color: var(--mx-text-muted); font-size: 13px; }
.mx-searchbox__results mark { padding: 0 1px; border-radius: 3px; background: rgba(242, 207, 133, 0.7); color: inherit; }
.mx-searchbox__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 18px;
	margin: 4px 8px 0;
	padding: 12px 2px 6px;
	border-top: 1px dashed var(--mx-line-light);
}
.mx-searchbox__all,
.mx-searchbox__custom { color: var(--mx-ink); font-size: 14.5px; font-weight: 600; text-underline-offset: 5px; }
.mx-searchbox__all { text-decoration: underline dashed var(--mx-gold-deep); }
.mx-searchbox__custom { color: var(--mx-text-muted); font-weight: 500; text-decoration: underline; }
.mx-searchbox__all.is-active,
.mx-searchbox__custom.is-active { outline: 2px solid var(--mx-ink); outline-offset: 3px; border-radius: 4px; }
.mx-searchbox__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 14px; }
.mx-searchbox__empty p { margin: 0; }
.mx-searchbox__empty-title { font-weight: 700; font-size: 16px; }
.mx-searchbox__empty-text { color: var(--mx-text-muted); margin-bottom: 8px !important; }
.mx-searchbox__status { margin: 0; padding: 14px 16px; color: var(--mx-text-muted); font-size: 15px; }

/* Motion */
.mx-searchbox__chips li,
.mx-searchbox__cats li,
.mx-searchbox__result-cats li,
.mx-searchbox__products li { animation: mx-rise 0.4s var(--mx-ease-out) backwards; animation-delay: calc(min(var(--i, 0), 8) * 0.03s); }
.mx-searchbox__results:not([hidden]) { animation: mx-fade 0.25s var(--mx-ease); }

/* Inline variant (Marketplace header) */
.mx-searchbox--inline .mx-searchbox__field { height: 48px; padding-left: 16px; }
.mx-searchbox--inline .mx-searchbox__input { font-size: 15.5px; }
.mx-searchbox--inline .mx-searchbox__submit { min-height: 48px; width: 48px; padding: 0; }
.mx-searchbox--inline .mx-searchbox__submit .mx-icon { display: block; }
.mx-searchbox--inline .mx-searchbox__submit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mx-searchbox--inline .mx-searchbox__drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: min(72vh, 640px);
	margin: 0;
	padding: 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 20px;
	background: var(--mx-cotton);
	color: var(--mx-text);
	box-shadow: 0 30px 60px -24px rgba(3, 9, 6, 0.6);
	animation: mx-drop 0.25s var(--mx-ease-out);
}
.mx-chrome-light .mx-searchbox--inline .mx-searchbox__drop { background: #fff; border: 1px solid var(--mx-line-light); }
.mx-searchbox--inline .mx-searchbox__drop :focus-visible { outline-color: var(--mx-ink); }

/* Phones: the search panel takes the whole screen */
@media (max-width: 719px) {
	.mx-search {
		position: fixed;
		inset: 0;
		z-index: 150;
		overflow-y: auto;
		overscroll-behavior: contain;
		border: 0;
	}
	.mx-search__inner { max-height: none; min-height: 100%; padding-block: max(16px, env(safe-area-inset-top)) 32px; }
	.mx-search .mx-searchbox { padding-right: 50px; }
	.mx-search__close { top: max(18px, env(safe-area-inset-top)); right: 8px; }
	html.mx-search-open { overflow: hidden; }
	.mx-searchbox__field { height: 52px; padding-left: 14px; }
	.mx-searchbox__input { font-size: 16px; padding: 0 8px; }
	.mx-searchbox__submit { min-height: 52px; width: 52px; padding: 0; }
	.mx-searchbox__submit .mx-icon { display: block; }
	.mx-searchbox__submit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mx-searchbox__products { grid-template-columns: 1fr; }
	.mx-searchbox__cats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mx-searchbox--inline .mx-searchbox__field,
	.mx-searchbox--inline .mx-searchbox__submit { height: 46px; min-height: 46px; }
	.mx-searchbox--inline .mx-searchbox__drop { max-height: 65dvh; padding: 16px; }
}

/* ==========================================================================
   Header layouts (Customize > Header > Header layout). inc/header-layout.php
   ========================================================================== */
.mx-header__contact,
.mx-header__search { display: none; }
.mx-hl-centered .mx-topbar,
.mx-hl-floating .mx-topbar { display: none; }
.mx-header { transition: box-shadow 0.35s var(--mx-ease), transform 0.45s var(--mx-ease); }
.mx-header.is-hidden { transform: translateY(calc(-100% - 24px)); }

/* ---------- Centered ---------- */
@media (min-width: 1200px) {
	.mx-hl-centered .mx-header__bar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		grid-template-areas: "contact brand actions" "nav nav nav";
		align-items: center;
		height: auto;
		column-gap: 24px;
	}
	.mx-hl-centered .mx-header__contact {
		grid-area: contact;
		display: flex;
		flex-wrap: wrap;
		gap: 4px 20px;
		margin: 0;
		padding: 0;
		list-style: none;
		font-size: 14px;
	}
	.mx-hl-centered .mx-header__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--mx-thread); text-decoration: none; }
	.mx-hl-centered .mx-header__contact .mx-icon { color: var(--mx-gold); }
	.mx-hl-centered .mx-header__contact a:hover span { text-decoration: underline dashed var(--mx-gold); text-underline-offset: 4px; }
	.mx-hl-centered .mx-header__brand { grid-area: brand; padding-block: 20px 16px; }
	.mx-hl-centered .mx-header__brand img { height: 60px; transform-origin: center; }
	.mx-hl-centered .mx-header__actions { grid-area: actions; justify-self: end; margin-left: 0; }
	.mx-hl-centered .mx-nav {
		grid-area: nav;
		justify-content: center;
		height: 56px;
		border-top: 1px dashed rgba(242, 207, 133, 0.28);
	}
	.mx-hl-centered .mx-menu { gap: 10px; }
	.mx-chrome-light.mx-hl-centered .mx-header__contact a { color: var(--mxl-text); }
	.mx-chrome-light.mx-hl-centered .mx-header__contact .mx-icon { color: var(--mxl-bronze); }
	.mx-chrome-light.mx-hl-centered .mx-nav { border-top-color: var(--mxl-bronze-line); }
}
@media (min-width: 1200px) and (max-width: 1359px) {
	.mx-hl-centered .mx-header__contact-email { display: none; }
}

/* ---------- Marketplace ---------- */
@media (min-width: 1200px) {
	.mx-hl-marketplace .mx-header__bar {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "brand search actions" "nav nav nav";
		align-items: center;
		column-gap: clamp(24px, 3vw, 48px);
		height: auto;
	}
	.mx-hl-marketplace .mx-header__brand { grid-area: brand; padding-block: 16px; }
	.mx-hl-marketplace .mx-header__search { grid-area: search; display: block; width: 100%; max-width: 760px; justify-self: center; }
	.mx-hl-marketplace .mx-header__actions { grid-area: actions; margin-left: 0; }
	.mx-hl-marketplace [data-mx-search-toggle] { display: none; }
	.mx-hl-marketplace .mx-nav {
		grid-area: nav;
		justify-content: flex-start;
		height: 52px;
		background: var(--mx-ink-raised);
		box-shadow: 0 0 0 100vmax var(--mx-ink-raised);
		clip-path: inset(0 -100vmax);
	}
	.mx-hl-marketplace .mx-menu > li:first-child > a { padding-left: 0; }
	.mx-hl-marketplace .mx-menu > li:first-child > a::after { left: 0; }
	.mx-chrome-light.mx-hl-marketplace .mx-nav { background: #f1f3ec; box-shadow: 0 0 0 100vmax #f1f3ec; }
}
@media (max-width: 1199px) {
	.mx-hl-marketplace .mx-header__bar { flex-wrap: wrap; height: auto; padding-block: 10px 12px; row-gap: 10px; }
	.mx-hl-marketplace .mx-header__search { display: block; order: 3; flex: 1 1 100%; }
	.mx-hl-marketplace [data-mx-search-toggle] { display: none; }
	.mx-hl-centered .mx-header__contact { display: none; }
}

/* ---------- Floating ---------- */
.mx-hl-floating { --mx-header-h: 72px; }
.mx-hl-floating .mx-header {
	top: 12px;
	width: min(100% - 24px, 1400px);
	margin: 12px auto calc(-1 * (var(--mx-header-h) + 12px));
	border-radius: 20px;
	background: transparent;
}
.mx-hl-floating .mx-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border: 1px solid rgba(242, 207, 133, 0.2);
	border-radius: inherit;
	background: rgba(16, 32, 25, 0.8);
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
	box-shadow: 0 18px 40px -20px rgba(3, 9, 6, 0.6);
}
.mx-hl-floating .mx-header.is-stuck { box-shadow: none; }
.mx-hl-floating .mx-header__bar { max-width: none; padding-inline: 22px 14px; }
.mx-hl-floating .mx-seam { display: none; }
.mx-hl-floating .mx-header__brand img { height: 42px; }
.mx-hl-floating .mx-mega,
.mx-hl-floating .mx-search { top: calc(100% + 10px); border-radius: 20px; overflow: hidden; }
.mx-hl-floating .mx-mega::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}
.mx-hl-floating .mx-mega { overflow: visible; }
.mx-hl-floating .mx-mega__inner { border-radius: 20px; }
/* The bar floats over the top of each page, so the first block makes room for it */
.mx-hl-floating .mx-hero,
.mx-hl-floating .mx-home-hero,
.mx-hl-floating .mx-article__header,
.mx-hl-floating .mx-404 { padding-top: calc(var(--mx-header-h) + 12px); }
.mx-hl-floating .mx-product,
.mx-hl-floating .mx-main { padding-top: calc(var(--mx-header-h) + 40px); }
.mx-chrome-light.mx-hl-floating .mx-header::before { border-color: rgba(16, 32, 25, 0.1); background: rgba(251, 251, 247, 0.82); box-shadow: 0 18px 40px -24px rgba(16, 32, 25, 0.35); }
@media (max-width: 719px) {
	.mx-hl-floating { --mx-header-h: 62px; }
	.mx-hl-floating .mx-header { top: 8px; width: calc(100% - 16px); margin-top: 8px; border-radius: 16px; }
	.mx-hl-floating .mx-header__bar { padding-inline: 14px 6px; }
	.mx-hl-floating .mx-header__brand img { height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.mx-header { transition: box-shadow 0.2s linear; }
	.mx-searchbox__chips li,
	.mx-searchbox__cats li,
	.mx-searchbox__result-cats li,
	.mx-searchbox__products li,
	.mx-searchbox--inline .mx-searchbox__drop,
	.mx-search { animation: none; }
	.mx-searchbox__cats a:hover { transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.mx-seam,
	.mx-search,
	.mx-tab.is-active > .mx-tab__panel { animation: none; }
	.mx-toast,
	.mx-toast.is-visible { transform: translate(-50%, 0); }
	.mx-nav-overlay { animation-duration: 0.01ms; }
	.mx-nav,
	.mx-nav-open .mx-nav { transition: visibility 0s; }
	.mx-dropdown,
	.mx-mega,
	.mx-menu > li.is-open > .mx-dropdown,
	.mx-menu > li.is-open > .mx-mega { transform: none !important; transition-duration: 0.15s, 0s, 0s !important; }
	.mx-menu > li > a::after,
	.mx-header__brand img,
	.mx-subnav-toggle .mx-icon,
	.mx-btn,
	.mx-wa-float { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
	.mx-intro .mx-topbar__inner > *,
	.mx-intro .mx-header__brand,
	.mx-intro .mx-header__actions > *,
	.mx-intro .mx-menu > li,
	.mx-tab.is-active > .mx-tab__panel > li,
	.mx-nav-open .mx-nav__tabs,
	.mx-nav-open .mx-menu > li,
	.mx-nav-open .mx-tabs > .mx-tab,
	.mx-nav-open .mx-nav__foot > *,
	.mx-menu > li.is-open > .mx-dropdown,
	.mx-menu > li.is-open > .mx-mega,
	.mx-tab.is-open > .mx-tab__panel,
	.mx-quote-count.is-bump,
	.mx-footer__col--fold:not(.is-folded) .mx-footer__fold,
	.mx-js .mx-enquiry.is-inview .mx-enquiry__label::before,
	.mx-js .mx-footer.is-inview .mx-footer__bottom::before,
	.mx-wa-float { animation: none !important; }

	/* Reveals become a short cross-fade with no movement */
	.mx-dropdown > li,
	.mx-mega__cols > li,
	.mx-tabs > .mx-tab > a,
	.mx-mega__feature,
	.mx-js .mx-enquiry .mx-enquiry__label,
	.mx-js .mx-footer .mx-footer__grid > * { transform: none !important; transition: opacity 0.15s linear !important; transition-delay: 0s !important; }

	.mx-btn:hover .mx-icon,
	.mx-social a:hover,
	.mx-icon-btn:active,
	.mx-btn:active { transform: none; }
}
