/* =========================================================================
   Mynlox — design tokens
   ========================================================================= */
:root {
	--mlx-primary: #f5821f;
	--mlx-primary-dark: #dd6d0c;
	--mlx-primary-soft: #fff2e6;
	--mlx-ink: #1b2434;
	--mlx-ink-soft: #57616f;
	--mlx-muted: #8a94a3;
	--mlx-line: #e7e9ee;
	--mlx-bg: #ffffff;
	--mlx-bg-warm: #fbf7f3;
	--mlx-bg-soft: #f5f7fa;
	--mlx-dark: #141a24;
	--mlx-dark-soft: #1f2733;

	--mlx-radius: 10px;
	--mlx-radius-lg: 16px;
	--mlx-shadow: 0 2px 8px rgb(27 36 52 / 6%);
	--mlx-shadow-lg: 0 18px 44px rgb(27 36 52 / 12%);

	--mlx-container: 1280px;
	--mlx-gutter: 28px;

	/* Section rhythm. Every band on the site breathes off these two values, so
	   the whole page can be loosened or tightened from one place. */
	--mlx-section-y: clamp(68px, 7vw, 108px);
	--mlx-section-y-tight: clamp(46px, 5vw, 72px);
	--mlx-head-gap: clamp(38px, 4vw, 60px);

	--mlx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

	--mlx-header-h: 76px;
}

/* A phone has no width to spare: the wide desktop gutter would eat into the
   line length that makes body copy readable. */
@media (max-width: 620px) {
	:root { --mlx-gutter: 20px; }
}

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

html { scroll-behavior: smooth; }

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

body {
	margin: 0;
	font-family: var(--mlx-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--mlx-ink-soft);
	background: var(--mlx-bg);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: var(--mlx-ink);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Display sizes run large and tight: the extra weight up top is what keeps a
   section from reading as a wall of same-sized text. */
h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.15rem); line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.5vw, 3.05rem); line-height: 1.12; letter-spacing: -0.024em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.28; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--mlx-primary); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--mlx-primary-dark); }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--mlx-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

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

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

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--mlx-primary);
	color: #fff;
	border-radius: 0 0 var(--mlx-radius) var(--mlx-radius);
	transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

.icon { width: 1em; height: 1em; flex: none; }

.media-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--mlx-bg-soft);
	color: var(--mlx-muted);
}
.media-placeholder .icon { width: 32px; height: 32px; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn .icon { width: 18px; height: 18px; }

.btn--primary { background: var(--mlx-primary); color: #fff; }
.btn--primary:hover { background: var(--mlx-primary-dark); color: #fff; }

.btn--ghost {
	background: transparent;
	color: var(--mlx-ink);
	border-color: var(--mlx-line);
}
.btn--ghost:hover { border-color: var(--mlx-primary); color: var(--mlx-primary); }

.btn--white { background: #fff; color: var(--mlx-ink); }
.btn--white:hover { background: var(--mlx-primary); color: #fff; }

.btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgb(255 255 255 / 45%);
}
.btn--outline-light:hover { background: #fff; color: var(--mlx-ink); }

.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* Circular arrow badge inside a pill button, as in the reference design. */
.btn__dot {
	display: grid;
	place-items: center;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: rgb(255 255 255 / 25%);
}
.btn__dot .icon { width: 13px; height: 13px; }

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--mlx-primary);
}
.link-more .icon { width: 15px; height: 15px; transition: transform 0.18s ease; }
.link-more:hover .icon { transform: translateX(3px); }

/* =========================================================================
   Top bar
   ========================================================================= */
.topbar {
	/* Above the sticky header (z-index 90): the header creates its own stacking
	   context, and without this the language dropdown paints underneath it and
	   swallows the click. */
	position: relative;
	z-index: 95;
	background: var(--mlx-bg-warm);
	border-bottom: 1px solid var(--mlx-line);
	font-size: 0.8125rem;
	color: var(--mlx-ink-soft);
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	flex-wrap: wrap;
}
.topbar__text { display: inline-flex; align-items: center; gap: 7px; }
.topbar__text .icon { width: 15px; height: 15px; color: var(--mlx-primary); }
.topbar__meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__badge { display: inline-flex; align-items: center; gap: 7px; }
.topbar__badge .icon { width: 15px; height: 15px; color: var(--mlx-primary); }
.topbar__lang { display: inline-flex; align-items: center; gap: 7px; color: var(--mlx-ink-soft); }
.topbar__lang:hover { color: var(--mlx-primary); }
.topbar__lang .icon { width: 15px; height: 15px; }

/* Language switcher — the theme's own element. The translation plugin's
   floating button is switched off in its settings, so this is the only entry
   point and it has to carry the design. */
.lang-switch { position: relative; }
.lang-switch__toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 6px;
	margin: 0 -6px;
	border: 0;
	border-radius: 6px;
	background: none;
	font: inherit;
	color: var(--mlx-ink-soft);
	cursor: pointer;
	transition: color 0.18s ease, background-color 0.18s ease;
}
.lang-switch__toggle:hover { color: var(--mlx-primary); }
.lang-switch__toggle .icon { width: 15px; height: 15px; }
.lang-switch__toggle .icon:last-child { width: 13px; height: 13px; transition: transform 0.18s ease; }
.lang-switch__toggle[aria-expanded="true"] .icon:last-child { transform: rotate(180deg); }

.lang-switch__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 90;
	display: grid;
	gap: 2px;
	min-width: 160px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius);
	box-shadow: var(--mlx-shadow-lg);
}
.lang-switch__menu[hidden] { display: none; }

/* With the script blocked the menu is never collapsible, so it drops out of
   the overlay and sits inline instead of floating over the page forever. */
html:not(.mlx-js) .lang-switch__toggle { display: none; }
html:not(.mlx-js) .lang-switch__menu {
	position: static;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
html:not(.mlx-js) .lang-switch__option { padding: 4px 8px; }
.lang-switch__option {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	color: var(--mlx-ink-soft);
	font-size: 0.875rem;
	white-space: nowrap;
}
.lang-switch__option:hover { background: var(--mlx-bg-soft); color: var(--mlx-ink); }
.lang-switch__option.is-current { background: var(--mlx-primary-soft); color: var(--mlx-primary); font-weight: 600; }

/* Inside the mobile drawer there is room to show every language at once, so
   the dropdown collapses to a plain row of chips. */
.lang-switch--drawer { display: grid; gap: 10px; padding-top: 4px; }
.lang-switch__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mlx-muted);
}
.lang-switch__row { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-switch__chip {
	padding: 8px 14px;
	border: 1px solid var(--mlx-line);
	border-radius: 999px;
	color: var(--mlx-ink-soft);
	font-size: 0.875rem;
}
.lang-switch__chip.is-current {
	border-color: var(--mlx-primary);
	background: var(--mlx-primary-soft);
	color: var(--mlx-primary);
	font-weight: 600;
}

@media (max-width: 860px) {
	.topbar__text { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__meta { gap: 16px; }
}

/* On phones the announcement bar must not eat the top of the screen: the
   certification labels are repeated in the hero, so only the language entry
   stays. */
@media (max-width: 640px) {
	.topbar { font-size: 0.75rem; }
	.topbar__badge { display: none; }
	.topbar__inner { min-height: 34px; }
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--mlx-line);
	z-index: 90;
}
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: var(--mlx-shadow); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--mlx-header-h);
}

.site-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.site-brand img { max-height: 48px; width: auto; }
.site-brand__text { display: flex; flex-direction: column; }
.site-brand__name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--mlx-primary);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.site-brand__tagline {
	font-size: 0.6875rem;
	color: var(--mlx-muted);
	line-height: 1.3;
}

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav > ul > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 14px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--mlx-ink);
	white-space: nowrap;
}
.primary-nav > ul > li > a .icon { width: 14px; height: 14px; color: var(--mlx-muted); transition: transform 0.18s ease; }
.primary-nav > ul > li:hover > a,
.primary-nav > ul > li:focus-within > a { color: var(--mlx-primary); }
.primary-nav > ul > li:hover > a .icon { transform: rotate(90deg); }

.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-parent > a,
.primary-nav > ul > li.current-menu-ancestor > a {
	color: var(--mlx-primary);
	position: relative;
}
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current-menu-parent > a::after,
.primary-nav > ul > li.current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: -1px;
	height: 2px;
	background: var(--mlx-primary);
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 232px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius);
	box-shadow: var(--mlx-shadow-lg);
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.primary-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 0.9rem;
	color: var(--mlx-ink);
}
.primary-nav .sub-menu a:hover { background: var(--mlx-primary-soft); color: var(--mlx-primary); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--mlx-line);
	border-radius: 8px;
	color: var(--mlx-ink);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1024px) {
	.primary-nav, .header__actions .btn { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__inner { justify-content: space-between; }
	.header__actions { margin-left: auto; }
}

/* Mobile drawer */
.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
}
.mobile-nav.is-open { visibility: visible; }

.mobile-nav__overlay {
	position: absolute;
	inset: 0;
	background: rgb(20 26 36 / 55%);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }

.mobile-nav__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(360px, 88vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--mlx-line);
}
.mobile-nav__close {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	background: transparent;
	border: 1px solid var(--mlx-line);
	border-radius: 8px;
	color: var(--mlx-ink);
	cursor: pointer;
}
.mobile-nav__close .icon { width: 20px; height: 20px; }

.mobile-nav__body { padding: 12px 20px 24px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--mlx-line);
}
.mobile-nav__row a {
	flex: 1;
	padding: 14px 0;
	font-size: 1rem;
	font-weight: 500;
	color: var(--mlx-ink);
}
.mobile-nav__toggle {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	background: transparent;
	border: 0;
	color: var(--mlx-muted);
	cursor: pointer;
}
.mobile-nav__toggle .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.mobile-nav__sub { padding-left: 14px; }
.mobile-nav__sub a { font-size: 0.9375rem; color: var(--mlx-ink-soft); font-weight: 400; }

.mobile-nav__foot { margin-top: 22px; display: grid; gap: 12px; }
.mobile-nav__contact { display: grid; gap: 8px; font-size: 0.9rem; }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--mlx-ink-soft); }
.mobile-nav__contact .icon { width: 16px; height: 16px; color: var(--mlx-primary); }

body.mobile-nav-open { overflow: hidden; }

/* =========================================================================
   Homepage banner carousel
   ========================================================================= */
.hero-carousel {
	position: relative;
	color: #fff;
	background: var(--mlx-dark);
	overflow: hidden;
}
.hero-carousel__viewport { position: relative; height: clamp(600px, 47vw, 712px); }
.hero-slide {
	position: relative;
	display: grid;
	height: 100%;
	overflow: hidden;
}
.mlx-js .hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.65s ease, visibility 0.65s ease;
}
.mlx-js .hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(14 20 29 / 92%) 0%, rgb(14 20 29 / 78%) 37%, rgb(14 20 29 / 24%) 74%, rgb(14 20 29 / 18%) 100%),
		linear-gradient(0deg, rgb(14 20 29 / 28%), transparent 46%);
}
.hero-slide__inner { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding-block: 84px 118px; }
.hero-slide__body {
	--hero-title-size: clamp(2.45rem, 1.7rem + 2.55vw, 4.35rem);
	display: grid;
	grid-template-rows: 32px calc(var(--hero-title-size) * 2.16) 4.2em 48px;
	align-content: center;
	gap: 18px;
	width: min(720px, 57vw);
	height: 412px;
}
.hero-slide__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	margin: 0;
	padding: 6px 13px;
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 999px;
	background: rgb(255 255 255 / 10%);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.hero-slide__title { align-self: center; margin: 0; color: #fff; font-size: var(--hero-title-size); line-height: 1.08; }
.hero-slide__title span { display: block; }
.hero-slide__title .accent { color: var(--mlx-primary); }
.hero-slide__text { align-self: start; max-width: 38em; margin: 0; color: rgb(255 255 255 / 82%); font-size: clamp(1rem, 0.92rem + 0.28vw, 1.16rem); }
.hero-slide__actions { display: flex; align-items: center; align-self: end; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-carousel__controls {
	position: absolute;
	left: 50%;
	bottom: 88px;
	z-index: 5;
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	transform: translateX(-50%);
	pointer-events: none;
}
.mlx-js .hero-carousel__controls { display: flex; }
.hero-carousel__arrows, .hero-carousel__dots { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.hero-carousel__arrow {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 34%);
	border-radius: 50%;
	background: rgb(10 16 24 / 32%);
	color: #fff;
	cursor: pointer;
}
.hero-carousel__arrow:hover { border-color: var(--mlx-primary); background: var(--mlx-primary); }
.hero-carousel__arrow .icon { width: 18px; height: 18px; }
.hero-carousel__dot {
	width: 11px;
	height: 11px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 65%);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease;
}
.hero-carousel__dot.is-active { width: 30px; border-color: var(--mlx-primary); background: var(--mlx-primary); }

@media (max-width: 760px) {
	.hero-carousel__viewport { height: 640px; }
	.hero-slide__media::after { background: linear-gradient(90deg, rgb(14 20 29 / 92%) 0%, rgb(14 20 29 / 70%) 78%, rgb(14 20 29 / 48%) 100%); }
	.hero-slide__inner { align-items: flex-end; padding-block: 62px 105px; }
	.hero-slide__body { --hero-title-size: clamp(1.75rem, 7.8vw, 2.65rem); grid-template-rows: 32px calc(var(--hero-title-size) * 2.16) 5.3em 136px; gap: 14px; width: 100%; height: 380px; }
	.hero-slide__actions { align-items: stretch; }
	.hero-slide__actions .btn { flex: 1 1 100%; height: 62px; padding-block: 8px; }
	.hero-carousel__controls { bottom: 62px; }
	.hero-carousel__arrows { display: none; }
	.hero-carousel__controls { justify-content: center; }
}

/* =========================================================================
   Product category cards — one raised white panel straddling the hero edge,
   with the four product lines laid out inside it (as in the reference).
   ========================================================================= */
.cat-strip { position: relative; margin-top: -72px; z-index: 5; }
.cat-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 14px;
	background: #fff;
	border-radius: var(--mlx-radius-lg);
	box-shadow: 0 20px 50px rgb(27 36 52 / 14%);
}
.cat-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 20px;
	border-radius: var(--mlx-radius);
	transition: background-color 0.2s ease;
}
.cat-card + .cat-card { box-shadow: inset 1px 0 0 var(--mlx-line); }
.cat-card:hover { background: var(--mlx-bg-warm); }
.cat-card__media {
	flex: none;
	width: 76px;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.cat-card__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.cat-card__body { min-width: 0; }
.cat-card__title { font-size: 0.9375rem; line-height: 1.35; margin-bottom: 6px; }
.cat-card__title a { color: var(--mlx-ink); }
.cat-card:hover .cat-card__title a { color: var(--mlx-primary); }
.cat-card__text {
	margin-bottom: 10px;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--mlx-ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.cat-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-card:nth-child(odd) { box-shadow: none; }
	.cat-card:nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--mlx-line); }
	.cat-card:nth-child(4) { box-shadow: inset 1px 0 0 var(--mlx-line), inset 0 1px 0 var(--mlx-line); }
}
@media (max-width: 620px) {
	.cat-strip { margin-top: 0; padding-top: 36px; }
	.cat-strip__grid { grid-template-columns: 1fr; box-shadow: var(--mlx-shadow); }
	.cat-card { box-shadow: none !important; }
	.cat-card + .cat-card { box-shadow: inset 0 1px 0 var(--mlx-line) !important; }
}

/* =========================================================================
   Section shell
   ========================================================================= */
.section { padding-block: var(--mlx-section-y); }
.section--soft { background: var(--mlx-bg-soft); }
.section--warm { background: var(--mlx-bg-warm); }
.section--tight { padding-block: var(--mlx-section-y-tight); }

/* Two adjacent plain sections would otherwise stack their full padding into
   one oversized gap. Collapse the seam between them. */
.section + .section:not(.section--soft):not(.section--warm) { padding-top: 0; }
.section--tight + .section { padding-top: var(--mlx-section-y-tight); }

.section__head { max-width: 760px; margin-bottom: var(--mlx-head-gap); }
.section__head--center { margin-inline: auto; text-align: center; }

/* Headline left, supporting copy right on its own baseline. Splitting the two
   stops a long paragraph from stacking under the title and squeezing the
   content below it. */
.section__head--split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: end;
	gap: 24px clamp(40px, 6vw, 96px);
	max-width: none;
}
.section__head--split .section__eyebrow { grid-column: 1 / -1; }
.section__head--split .section__title { margin-bottom: 0; max-width: 15ch; }
.section__head--split .section__text { margin-bottom: 0; }
@media (max-width: 860px) {
	.section__head--split { grid-template-columns: 1fr; align-items: start; gap: 18px; }
	.section__head--split .section__title { max-width: none; }
}
.section__eyebrow {
	display: block;
	margin-bottom: 14px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mlx-primary);
}
.section__title { margin-bottom: 18px; }
.section__title .accent { color: var(--mlx-primary); }
.section__text { font-size: 1.0625rem; }

/* =========================================================================
   Buyer solution paths
   ========================================================================= */
.solution-paths__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
.solution-path {
	display: flex;
	flex-direction: column;
	min-height: 316px;
	padding: 38px 34px;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius-lg);
	background: #fff;
	box-shadow: var(--mlx-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.solution-path:hover { transform: translateY(-4px); border-color: rgb(245 130 31 / 45%); box-shadow: var(--mlx-shadow-lg); }
.solution-path__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 28px;
	border-radius: 14px;
	background: var(--mlx-primary-soft);
	color: var(--mlx-primary);
}
.solution-path__icon .icon { width: 26px; height: 26px; }
.solution-path__title { margin-bottom: 12px; }
.solution-path__text { margin-bottom: 26px; font-size: 0.9375rem; }
.solution-path .link-more { margin-top: auto; }

@media (max-width: 860px) { .solution-paths__grid { grid-template-columns: 1fr; } .solution-path { min-height: 0; } }

/* =========================================================================
   Manufacturing capacity
   ========================================================================= */
.capacity {
	position: relative;
	background: var(--mlx-dark);
	color: #fff;
	overflow: hidden;
}
.capacity__bg { position: absolute; inset: 0; }
.capacity__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
/* Keeps the headline readable over any photograph the client uploads. */
.capacity__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgb(20 26 36 / 88%) 0%, rgb(20 26 36 / 62%) 48%, rgb(20 26 36 / 30%) 100%);
}
.capacity__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 56px;
	padding-block: clamp(66px, 7vw, 104px);
}
/* Without verified statistics the band would leave half its width empty. */
.capacity__inner--solo { grid-template-columns: minmax(0, 1fr); }
.capacity__inner--solo .capacity__title { max-width: 16em; }

.capacity__title { color: #fff; max-width: 12em; }
.capacity__text { color: rgb(255 255 255 / 78%); max-width: 34em; }
.capacity__actions { margin-top: 32px; }

.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 24px;
	padding: 42px 38px;
	background: rgb(255 255 255 / 96%);
	border-radius: var(--mlx-radius-lg);
	box-shadow: var(--mlx-shadow-lg);
}
.stat__value {
	font-size: clamp(1.45rem, 1.1rem + 0.95vw, 1.9rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--mlx-primary);
	text-wrap: balance;
}
.stat__label { margin-top: 4px; font-size: 0.8125rem; color: var(--mlx-ink-soft); }

@media (max-width: 900px) {
	.capacity__inner { grid-template-columns: 1fr; gap: 32px; }
	.stats { padding: 32px 26px; }
}
@media (max-width: 560px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================================
   OEM / ODM
   ========================================================================= */
.oem__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 64px;
}
.oem__features {
	display: grid;
	/* Two columns, not four: inside a half-width block four tracks leave each
	   feature about 120px of prose, which is the tightest thing on the page. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 40px;
	margin-top: 44px;
}
.oem-feature__icon {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin-bottom: 10px;
	border-radius: 9px;
	background: var(--mlx-primary-soft);
	color: var(--mlx-primary);
}
.oem-feature__icon .icon { width: 20px; height: 20px; }
.oem-feature__title {
	font-size: 1rem;
	margin-bottom: 6px;
}
.oem-feature__text { font-size: 0.875rem; line-height: 1.62; }

.oem__media img { border-radius: var(--mlx-radius-lg); width: 100%; }

@media (max-width: 900px) {
	.oem__inner { grid-template-columns: 1fr; gap: 32px; }
	.oem__media { order: -1; }
}

/* =========================================================================
   Collaboration process
   ========================================================================= */
.process-section { background: #fff; }
.process-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.process-step {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	padding: 36px 30px;
	border-top: 1px solid var(--mlx-line);
	border-bottom: 1px solid var(--mlx-line);
}
.process-step + .process-step { border-left: 1px solid var(--mlx-line); }
.process-step__number {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--mlx-primary-soft);
	color: var(--mlx-primary-dark);
	font-size: 0.8125rem;
	font-weight: 800;
}
.process-step__title { margin: 3px 0 10px; font-size: 1.05rem; }
.process-step__text { font-size: 0.875rem; line-height: 1.6; }

@media (max-width: 1020px) {
	.process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.process-step:nth-child(3) { border-left: 0; }
}
@media (max-width: 620px) {
	.process-list { grid-template-columns: 1fr; }
	.process-step + .process-step { border-left: 0; border-top: 0; }
}

/* =========================================================================
   Wholesale banner
   ========================================================================= */
.wholesale {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 30px 34px;
	background: var(--mlx-primary);
	border-radius: var(--mlx-radius);
	color: #fff;
}
.wholesale__icon {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	flex: none;
	border-radius: 10px;
	background: rgb(255 255 255 / 20%);
}
.wholesale__icon .icon { width: 24px; height: 24px; }
.wholesale__body { flex: 1 1 320px; }
.wholesale__title { color: #fff; font-size: 1.125rem; margin-bottom: 2px; }
.wholesale__text { font-size: 0.9rem; color: rgb(255 255 255 / 88%); }

/* =========================================================================
   Inquiry block
   ========================================================================= */
.inquiry {
	position: relative;
	background: var(--mlx-bg-warm);
	border-radius: var(--mlx-radius-lg);
	overflow: hidden;
}
.inquiry__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 56px;
	padding: clamp(34px, 4.4vw, 64px);
}
.inquiry__title { margin-bottom: 14px; }
.inquiry__contacts { margin-top: 32px; display: grid; gap: 16px; }
.inquiry__contact { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; }
.inquiry__contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--mlx-primary); flex: none; }
.inquiry__contact a { color: var(--mlx-ink-soft); }
.inquiry__contact a:hover { color: var(--mlx-primary); }

.inquiry__media { position: absolute; right: 0; bottom: 0; width: 240px; pointer-events: none; }
.inquiry__media img { border-radius: var(--mlx-radius-lg) 0 0 0; }

@media (max-width: 1100px) { .inquiry__media { display: none; } }
@media (max-width: 900px) { .inquiry__inner { grid-template-columns: 1fr; gap: 34px; } }

/* Form */
.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.form-field--full { grid-column: 1 / -1; }
.form-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--mlx-ink);
}
.form-field .required { color: var(--mlx-primary); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
select,
textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--mlx-ink);
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: 6px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input::placeholder, textarea::placeholder { color: var(--mlx-muted); }
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--mlx-primary);
	box-shadow: 0 0 0 3px rgb(245 130 31 / 15%);
}
textarea { min-height: 120px; resize: vertical; }

.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.8125rem;
	color: var(--mlx-ink-soft);
}
.form-consent input { margin-top: 3px; flex: none; }

.form-notice {
	padding: 13px 16px;
	margin-bottom: 18px;
	border-radius: 6px;
	font-size: 0.9rem;
	border: 1px solid transparent;
}
.form-notice--success { background: #eefaf1; border-color: #b7e4c4; color: #17603a; }
.form-notice--error { background: #fdeeee; border-color: #f3c2c2; color: #a12626; }

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

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Page shell / breadcrumbs
   ========================================================================= */
.page-hero {
	position: relative;
	padding-block: clamp(52px, 6vw, 88px);
	background: var(--mlx-bg-warm);
	overflow: hidden;
}
.page-hero__title {
	margin-bottom: 12px;
	font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
}
.page-hero__text { max-width: 46em; }

.breadcrumbs {
	background: #fff;
	border-bottom: 1px solid var(--mlx-line);
	font-size: 0.8125rem;
}
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 12px 0;
}
.breadcrumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--mlx-muted);
}
.breadcrumbs a { color: var(--mlx-ink-soft); }
.breadcrumbs a:hover { color: var(--mlx-primary); }
.breadcrumbs [aria-current] { color: var(--mlx-ink); font-weight: 500; }

/* =========================================================================
   Product grid + archive
   ========================================================================= */
.archive-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
@media (max-width: 900px) { .archive-layout { grid-template-columns: 1fr; gap: 28px; } }

.filter-card {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius);
}
.filter-card__title { font-size: 0.9375rem; margin-bottom: 12px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 0.9rem;
	color: var(--mlx-ink-soft);
}
.filter-list a:hover { background: var(--mlx-bg-soft); color: var(--mlx-primary); }
.filter-list .is-current a { background: var(--mlx-primary-soft); color: var(--mlx-primary); font-weight: 600; }
.filter-list .count { color: var(--mlx-muted); font-size: 0.8125rem; }

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mlx-shadow-lg);
	border-color: transparent;
}
.product-card__media {
	position: relative;
	background: var(--mlx-bg-soft);
	overflow: hidden;
}
.product-card__media img,
.product-card__media .media-placeholder {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__model {
	position: absolute;
	top: 12px; left: 12px;
	padding: 4px 10px;
	background: rgb(20 26 36 / 78%);
	color: #fff;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px 26px 24px;
}
.product-card__title { font-size: 1.125rem; margin-bottom: 10px; }
.product-card__title a { color: var(--mlx-ink); }
.product-card:hover .product-card__title a { color: var(--mlx-primary); }
.product-card__text {
	font-size: 0.875rem;
	line-height: 1.66;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Actions pinned to the bottom so buttons line up across a row. */
.product-card__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 22px;
}

/* =========================================================================
   Single product
   ========================================================================= */
.product-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	padding-block: clamp(40px, 5vw, 72px);
}
.product-gallery__main {
	background: var(--mlx-bg-soft);
	border-radius: var(--mlx-radius-lg);
	overflow: hidden;
}
.product-gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.product-meta__model {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 13px;
	background: var(--mlx-primary-soft);
	color: var(--mlx-primary-dark);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.product-meta__title {
	margin-bottom: 14px;
	font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.25rem);
}
.product-meta__summary { font-size: 1.0625rem; }

.highlights { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.highlights li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; }
.highlights .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--mlx-primary); flex: none; }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--mlx-line); }
.spec-table th { width: 42%; font-weight: 600; color: var(--mlx-ink); background: var(--mlx-bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table__wrap { overflow-x: auto; border: 1px solid var(--mlx-line); border-radius: var(--mlx-radius); }

.detail-stack { display: grid; gap: 0; max-width: 1000px; margin-inline: auto; }
.detail-stack img { width: 100%; }

.product-video { max-width: 1000px; margin-inline: auto; }
.product-video video, .product-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--mlx-radius);
	background: #000;
}

@media (max-width: 900px) {
	.product-hero__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================================
   Blog
   ========================================================================= */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }

.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--mlx-shadow-lg); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__date { font-size: 0.75rem; color: var(--mlx-muted); margin-bottom: 8px; }
.post-card__title { font-size: 1.125rem; margin-bottom: 10px; }
.post-card__title a { color: var(--mlx-ink); }
.post-card:hover .post-card__title a { color: var(--mlx-primary); }
.post-card__text { font-size: 0.875rem; }
.post-card__more { margin-top: auto; padding-top: 20px; }

.entry-content > * + * { margin-top: 1.1em; }
.entry-content img { border-radius: var(--mlx-radius); }
.entry-content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--mlx-primary);
	color: var(--mlx-ink);
	font-size: 1.0625rem;
}

.widget { margin-bottom: 28px; padding: 22px; background: #fff; border: 1px solid var(--mlx-line); border-radius: var(--mlx-radius); }
.widget__title { font-size: 1rem; margin-bottom: 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.widget a { color: var(--mlx-ink-soft); }
.widget a:hover { color: var(--mlx-primary); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px; height: 42px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: 6px;
	color: var(--mlx-ink-soft);
	font-size: 0.9rem;
}
.pagination .page-numbers:hover { border-color: var(--mlx-primary); color: var(--mlx-primary); }
.pagination .page-numbers.current {
	background: var(--mlx-primary);
	border-color: var(--mlx-primary);
	color: #fff;
	font-weight: 600;
}

.empty-state { padding: 60px 24px; text-align: center; }
.empty-state .icon { width: 44px; height: 44px; color: var(--mlx-muted); margin: 0 auto 14px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--mlx-dark); color: rgb(255 255 255 / 72%); font-size: 0.9rem; }
.site-footer a { color: rgb(255 255 255 / 72%); }
.site-footer a:hover { color: var(--mlx-primary); }

/* A wide brand column followed by as many equal link columns as the assigned
   menus produce. auto-fit collapses tracks that have no column, so an
   unconfigured menu never reserves empty space. */
.footer__main {
	display: grid;
	grid-template-columns: minmax(230px, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
	gap: 48px 36px;
	padding-block: clamp(56px, 6vw, 84px);
}
.footer__col--contact { grid-column: span 2; }
.footer__brand-name { font-size: 1.5rem; font-weight: 700; color: var(--mlx-primary); line-height: 1.1; }
.footer__brand img { max-height: 46px; width: auto; }
.footer__tagline { margin-top: 6px; font-size: 0.75rem; color: rgb(255 255 255 / 50%); }
.footer__about { margin-top: 16px; max-width: 30em; }

.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials a {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	background: rgb(255 255 255 / 8%);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.18s ease;
}
.footer__socials a:hover { background: var(--mlx-primary); color: #fff; }
.footer__socials .icon { width: 17px; height: 17px; }

.footer__col-title { font-size: 0.9375rem; color: #fff; margin-bottom: 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.footer__contacts { display: grid; gap: 11px; margin-top: 4px; }
.footer__contact { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--mlx-primary); flex: none; }

.newsletter { margin-top: 22px; }

/* The subscription plugin's markup, restyled for the dark footer. Its own
   stylesheet draws a cream card, which cannot sit on a dark background. */
.newsletter .mcn-subscribe-form {
	margin-top: 12px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.newsletter .mcn-subscribe-grid { display: flex; gap: 8px; }
.newsletter .mcn-subscribe-grid input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	font: inherit;
	font-size: 0.9375rem;
	background: rgb(255 255 255 / 10%);
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: 6px;
	color: #fff;
}
.newsletter .mcn-subscribe-grid input[type="email"]::placeholder { color: rgb(255 255 255 / 45%); }
.newsletter .mcn-subscribe-grid input[type="email"]:focus {
	outline: none;
	border-color: var(--mlx-primary);
	box-shadow: 0 0 0 3px rgb(245 130 31 / 25%);
}
.newsletter .mcn-subscribe-grid button {
	flex: none;
	min-height: 46px;
	padding: 10px 22px;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	background: var(--mlx-primary);
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.18s ease;
}
.newsletter .mcn-subscribe-grid button:hover { background: var(--mlx-primary-dark); }
.newsletter .mcn-subscribe-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter .mcn-subscribe-message {
	margin-top: 10px;
	font-size: 0.8125rem;
	line-height: 1.5;
}
.newsletter .mcn-subscribe-message.success { color: #7fd8a0; }
.newsletter .mcn-subscribe-message.error { color: #f3a3a3; }

@media (max-width: 480px) {
	.newsletter .mcn-subscribe-grid { flex-wrap: wrap; }
	.newsletter .mcn-subscribe-grid button { width: 100%; }
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 20px;
	border-top: 1px solid rgb(255 255 255 / 10%);
	font-size: 0.8125rem;
	color: rgb(255 255 255 / 55%);
}
.footer__policies { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

@media (max-width: 1024px) {
	.footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.footer__brand, .footer__col--contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.footer__main { grid-template-columns: 1fr; }
	.footer__col--contact { grid-column: auto; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Floating contact rail
   ========================================================================= */
/* --mlx-consent-offset is set by JS while a cookie-consent banner is on
   screen, so the rail can never sit on top of the accept/refuse controls. */
.contact-rail {
	position: fixed;
	bottom: calc(max(24px, env(safe-area-inset-bottom)) + var(--mlx-consent-offset, 0px));
	z-index: 80;
	display: grid;
	gap: 8px;
	transition: bottom 0.25s ease;
}
.contact-rail[data-position="right"] { right: 16px; }
.contact-rail[data-position="left"] { left: 16px; }

.contact-rail__item {
	position: relative;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: 50%;
	box-shadow: var(--mlx-shadow-lg);
	color: var(--mlx-ink);
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}
.contact-rail__item:hover { background: var(--mlx-primary); border-color: var(--mlx-primary); color: #fff; }
.contact-rail__item .icon { width: 21px; height: 21px; }

.contact-rail__tip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 11px;
	background: var(--mlx-dark);
	color: #fff;
	border-radius: 6px;
	font-size: 0.75rem;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease;
	pointer-events: none;
}
.contact-rail[data-position="right"] .contact-rail__tip { right: calc(100% + 10px); }
.contact-rail[data-position="left"] .contact-rail__tip { left: calc(100% + 10px); }
.contact-rail__item:hover .contact-rail__tip,
.contact-rail__item:focus-visible .contact-rail__tip { opacity: 1; visibility: visible; }

#rail-top { opacity: 0; visibility: hidden; transition: opacity 0.2s ease; }
#rail-top.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 620px) {
	.contact-rail__item { width: 42px; height: 42px; }
	.contact-rail__tip { display: none; }
}

/* =========================================================================
   QR modal
   ========================================================================= */
.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 20px;
}
.qr-modal[hidden] { display: none; }
.qr-modal__overlay { position: absolute; inset: 0; background: rgb(20 26 36 / 60%); }
.qr-modal__panel {
	position: relative;
	width: min(340px, 100%);
	padding: 28px 26px 26px;
	background: #fff;
	border-radius: var(--mlx-radius-lg);
	box-shadow: var(--mlx-shadow-lg);
	text-align: center;
}
.qr-modal__close {
	position: absolute;
	top: 10px; right: 10px;
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--mlx-muted);
	cursor: pointer;
}
.qr-modal__close:hover { background: var(--mlx-bg-soft); color: var(--mlx-ink); }
.qr-modal__close .icon { width: 18px; height: 18px; }
.qr-modal__title { font-size: 1.125rem; margin-bottom: 6px; }
.qr-modal__text { font-size: 0.875rem; margin-bottom: 16px; }
.qr-modal__img { margin-inline: auto; max-width: 200px; border-radius: 8px; }
.qr-modal__action { margin-top: 18px; }

/* =========================================================================
   Scroll-reveal — content is visible by default and only animates when JS
   marks the document as ready, so a script failure can never hide content.
   ========================================================================= */
.js-reveal { opacity: 1; }

html.mlx-js .js-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}
html.mlx-js .js-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html.mlx-js .js-reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Utility widths
   ========================================================================= */
.entry-content--narrow { max-width: 820px; }
.spec-table__wrap--narrow { max-width: 820px; margin-inline: auto; }

/* =========================================================================
   ZC Inquiry System — the plugin ships neutral markup; these rules make its
   forms, notices and modal read as part of this theme. Selectors target the
   plugin's own class names, so no plugin file is modified.
   ========================================================================= */
.inquiry__form .zc-inquiry-block,
.zc-modal .zc-inquiry-block { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }

/* The section heading is already printed by the theme above the form. */
.inquiry__form .zc-inquiry-block__intro { display: none; }
.zc-modal .zc-inquiry-block__intro { margin-bottom: 18px; }
.zc-modal .zc-inquiry-block__intro h2 { font-size: 1.25rem; margin-bottom: 6px; }
.zc-modal .zc-inquiry-block__intro p { font-size: 0.9rem; color: var(--mlx-ink-soft); }

.zc-inquiry-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 620px) { .zc-inquiry-form__grid { grid-template-columns: 1fr; } }

/* Message, file and quantity fields read better full width. */
.zc-inquiry-field:has(textarea),
.zc-inquiry-field:has(.zc-file-input) { grid-column: 1 / -1; }

.zc-inquiry-field label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--mlx-ink);
}
.zc-required { color: var(--mlx-primary); }

.zc-inquiry-field input[type="text"],
.zc-inquiry-field input[type="email"],
.zc-inquiry-field input[type="tel"],
.zc-inquiry-field input[type="number"],
.zc-inquiry-field textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--mlx-ink);
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: 6px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.zc-inquiry-field textarea { min-height: 120px; resize: vertical; }
.zc-inquiry-field input:focus,
.zc-inquiry-field textarea:focus {
	outline: none;
	border-color: var(--mlx-primary);
	box-shadow: 0 0 0 3px rgb(245 130 31 / 15%);
}

.zc-file-input {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	background: #fff;
	border: 1px dashed var(--mlx-line);
	border-radius: 6px;
	position: relative;
}
.zc-file-input__button {
	padding: 7px 14px;
	background: var(--mlx-primary-soft);
	color: var(--mlx-primary-dark);
	border-radius: 5px;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
}
.zc-file-input__name { font-size: 0.8125rem; color: var(--mlx-muted); overflow: hidden; text-overflow: ellipsis; }
.zc-file-input__native { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Submit button: reuse the theme's primary button, whatever markup the
   plugin emits. */
.zc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	margin-top: 16px;
	padding: 12px 26px;
	border: 1px solid transparent;
	border-radius: 6px;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}
.zc-btn-primary { background: var(--mlx-primary); color: #fff; }
.zc-btn-primary:hover { background: var(--mlx-primary-dark); color: #fff; }
.inquiry__form .zc-btn { width: 100%; }

/* When the theme passes its own classes to [zc_inquiry_button] the element is
   a <button>, so make sure the shared .btn rules win over the plugin's. */
button.btn { font: inherit; font-weight: 600; }
.product-actions .btn { margin-top: 0; }

.zc-inquiry-notice {
	padding: 13px 16px;
	margin-bottom: 18px;
	border-radius: 6px;
	font-size: 0.9rem;
	border: 1px solid transparent;
}
.zc-inquiry-notice.is-success { background: #eefaf1; border-color: #b7e4c4; color: #17603a; }
.zc-inquiry-notice.is-error { background: #fdeeee; border-color: #f3c2c2; color: #a12626; }

.zc-inquiry-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 320;
	max-width: min(520px, calc(100vw - 32px));
	padding: 14px 18px;
	background: var(--mlx-dark);
	color: #fff;
	border-radius: var(--mlx-radius);
	box-shadow: var(--mlx-shadow-lg);
	font-size: 0.9rem;
}
.zc-inquiry-toast__inner { display: flex; align-items: center; gap: 10px; }

/* Modal */
.zc-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 20px;
}
.zc-modal[hidden] { display: none; }
.zc-modal__backdrop { position: absolute; inset: 0; background: rgb(20 26 36 / 60%); }
.zc-modal__dialog {
	position: relative;
	width: min(620px, 100%);
	max-height: 88vh;
	overflow-y: auto;
	padding: 30px 28px;
	background: #fff;
	border-radius: var(--mlx-radius-lg);
	box-shadow: var(--mlx-shadow-lg);
}
.zc-modal__close {
	position: absolute;
	top: 12px; right: 12px;
	width: 34px; height: 34px;
	display: grid;
	place-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--mlx-muted);
	cursor: pointer;
}
.zc-modal__close:hover { background: var(--mlx-bg-soft); color: var(--mlx-ink); }
body.zc-modal-open { overflow: hidden; }

/* A short related-products row should sit centred rather than leaving two
   empty tracks on the right. */
.product-grid--few {
	grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
	justify-content: center;
}

/* =========================================================================
   WooCommerce product gallery
   The theme opts out of WooCommerce's stylesheet, so its FlexSlider markup is
   styled here: switchable main image, thumbnail row, visible arrows.
   ========================================================================= */
.woocommerce-product-gallery { position: relative; }

.woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: var(--mlx-radius-lg);
	overflow: hidden;
	background: var(--mlx-bg-soft);
}
.woocommerce-product-gallery__image { margin: 0; }
.woocommerce-product-gallery__image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}
/* Before FlexSlider initialises, every slide is in flow; keep only the first
   visible so the page never flashes a vertical stack of images. */
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:not(:first-child) { display: none; }

.woocommerce-product-gallery .flex-viewport {
	border-radius: var(--mlx-radius-lg);
	overflow: hidden;
	background: var(--mlx-bg-soft);
}

/* Zoom/lightbox trigger */
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px; right: 14px;
	z-index: 6;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	background: rgb(255 255 255 / 92%);
	border: 1px solid var(--mlx-line);
	border-radius: 50%;
	font-size: 1.05rem;
	line-height: 1;
	color: var(--mlx-ink);
	text-decoration: none;
	box-shadow: var(--mlx-shadow);
}
.woocommerce-product-gallery__trigger:hover { background: var(--mlx-primary); border-color: var(--mlx-primary); color: #fff; }

/* Thumbnail row */
.flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.flex-control-thumbs li { flex: 0 0 78px; margin: 0; }
.flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 2px solid transparent;
	border-radius: 8px;
	background: var(--mlx-bg-soft);
	cursor: pointer;
	opacity: 0.65;
	transition: opacity 0.18s ease, border-color 0.18s ease;
}
.flex-control-thumbs img:hover { opacity: 1; }
.flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--mlx-primary);
}

/* Previous / next arrows */
.flex-direction-nav { margin: 0; padding: 0; list-style: none; }
.flex-direction-nav a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	background: rgb(255 255 255 / 94%);
	border: 1px solid var(--mlx-line);
	border-radius: 50%;
	box-shadow: var(--mlx-shadow);
	color: var(--mlx-ink);
	font-size: 0;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.2s ease, background-color 0.18s ease;
}
.woocommerce-product-gallery:hover .flex-direction-nav a,
.flex-direction-nav a:focus-visible { opacity: 1; }
.flex-direction-nav a:hover { background: var(--mlx-primary); border-color: var(--mlx-primary); color: #fff; }
.flex-direction-nav .flex-prev { left: 12px; }
.flex-direction-nav .flex-next { right: 12px; }
/* The theme draws the chevrons; FlexSlider's own text label stays hidden. */
.flex-direction-nav a::before {
	content: "";
	width: 10px; height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}
.flex-direction-nav .flex-prev::before { transform: rotate(-135deg); margin-left: 3px; }
.flex-direction-nav .flex-next::before { transform: rotate(45deg); margin-right: 3px; }
.flex-direction-nav .flex-disabled { opacity: 0 !important; pointer-events: none; }

/* Touch devices have no hover, so keep the arrows permanently visible. */
@media (hover: none) {
	.flex-direction-nav a { opacity: 1; }
}

/* PhotoSwipe lightbox chrome ships unstyled once WooCommerce's CSS is off. */
.pswp { z-index: 400; }

/* A product with a single image must not show a one-item thumbnail rail or
   arrows that lead nowhere. */
.flex-control-thumbs:not(:has(li:nth-child(2))) { display: none; }
.woocommerce-product-gallery:not(:has(.woocommerce-product-gallery__image:nth-child(2))) .flex-direction-nav { display: none; }

/* =========================================================================
   Interior pages
   Ordinary pages carry far less furniture than the homepage, so they need
   their own typographic system rather than inheriting the display scale.
   ========================================================================= */
.entry-content--narrow { max-width: 820px; margin-inline: auto; }

/* Headings inside editorial content must not use the hero display sizes. */
.entry-content h1 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.15rem); margin-top: 1.6em; }
.entry-content h2 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.65rem); margin-top: 1.7em; }
.entry-content h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); margin-top: 1.5em; }
.entry-content h4 { font-size: 1.0625rem; margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }

.entry-content p { line-height: 1.75; }
.entry-content ul,
.entry-content ol { padding-left: 1.35em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content li::marker { color: var(--mlx-primary); }

.entry-content hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--mlx-line);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}
.entry-content th,
.entry-content td {
	padding: 12px 14px;
	text-align: left;
	border: 1px solid var(--mlx-line);
}
.entry-content th { background: var(--mlx-bg-soft); color: var(--mlx-ink); font-weight: 600; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--mlx-muted); }

.entry-featured {
	width: 100%;
	border-radius: var(--mlx-radius-lg);
	margin-bottom: 28px;
}
.entry-comments { margin-top: 44px; }

/* Closing call to action so an ordinary page never dead-ends into the footer. */
.page-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	max-width: 820px;
	margin: clamp(40px, 5vw, 64px) auto 0;
	padding: 28px 32px;
	background: var(--mlx-bg-warm);
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius-lg);
}
.page-cta__title { font-size: 1.125rem; margin-bottom: 4px; }
.page-cta__text { font-size: 0.9375rem; }
.page-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 620px) {
	.page-cta { padding: 24px; }
	.page-cta__actions { width: 100%; }
	.page-cta__actions .btn { flex: 1 1 auto; }
}

/* =========================================================================
   Search form
   ========================================================================= */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-width: 0; }

.empty-state__search { max-width: 460px; margin: 24px auto 0; }
.empty-state__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* =========================================================================
   News sidebar
   WordPress 6.x renders widgets as blocks, so the classic before_title
   markup never applies. Style the block output directly instead.
   ========================================================================= */
.news-layout aside > * {
	margin-bottom: 24px;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--mlx-line);
	border-radius: var(--mlx-radius);
}
.news-layout aside > *:last-child { margin-bottom: 0; }

.news-layout aside :is(h1, h2, h3, h4, .wp-block-heading, .widget__title) {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 14px;
	color: var(--mlx-ink);
}

.news-layout aside ul,
.news-layout aside ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 0.9rem;
}
.news-layout aside li { margin: 0; }
.news-layout aside a { color: var(--mlx-ink-soft); }
.news-layout aside a:hover { color: var(--mlx-primary); }

/* Core search block inside the sidebar */
.news-layout aside .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.news-layout aside .wp-block-search__input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	font: inherit;
	font-size: 0.9rem;
	border: 1px solid var(--mlx-line);
	border-radius: 6px;
}
.news-layout aside .wp-block-search__button {
	flex: none;
	padding: 10px 16px;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	background: var(--mlx-primary);
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
}
.news-layout aside .wp-block-search__button:hover { background: var(--mlx-primary-dark); }
.news-layout aside .wp-block-search__label { display: block; font-size: 1rem; font-weight: 700; color: var(--mlx-ink); margin-bottom: 14px; }

.news-layout aside .wp-block-latest-posts__post-date,
.news-layout aside .wp-block-latest-comments__comment-date { font-size: 0.75rem; color: var(--mlx-muted); }

/* A single post must not sit in a half-width cell with an empty neighbour;
   centre it instead of packing it against the left edge. */
.post-grid--few {
	grid-template-columns: repeat(auto-fit, minmax(280px, 460px));
	justify-content: center;
}

/* Section-level trailing action, e.g. "View All Products". */
.section__actions { display: flex; justify-content: center; margin-top: 48px; }

/* Homepage news row: three across, matching the product grid rhythm. */
.post-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .post-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid--home { grid-template-columns: 1fr; } }

/* Declared last so a short row centres at every breakpoint instead of being
   re-columned by the responsive rules above. */
.post-grid--home.post-grid--few {
	grid-template-columns: repeat(auto-fit, minmax(280px, 460px));
	justify-content: center;
}
