/* ==========================================================================
   Site components, styled to the LUMIX PROCUT Design System (Header,
   SectionHeading, ServiceCard, CTABand, Footer, Input, Button) and extended
   for the theme's navigation, hero, product and listing pages.
   Depends on tokens.css and base.css. Breakpoints: 48em, 64em, 75em.
   ========================================================================== */

.icon { width: 20px; height: 20px; flex: none; }
.icon--flip { transform: scaleX(-1); }

/* ==========================================================================
   Header: logo, primary navigation, search, phone, Enquire
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow var(--dur) var(--ease);
}
.site-header[data-scrolled] { box-shadow: var(--shadow-sm); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; gap: var(--space-4); height: var(--header-height); }

.site-logo { flex: none; display: block; line-height: 0; text-decoration: none; }
.site-logo img { width: auto; height: 40px; }
@media (min-width: 64em) { .site-logo img { height: 48px; } }

.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.header-enquire { display: none; }
@media (min-width: 48em) { .header-enquire { display: inline-flex; } }
@media (max-width: 29.99em) { .header-search-btn { display: none; } } /* search moves into the menu */

/* Phone link with the green disc (lx-phone) */
.lx-phone {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: var(--phone-size);
	line-height: var(--phone-line);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	white-space: nowrap;
}
.lx-phone:hover { text-decoration: underline; text-decoration-color: var(--lumix-green); }
.lx-phone i {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-full);
	background: var(--lumix-green);
	color: var(--on-brand);
	font-style: normal;
}
.lx-phone i svg { width: 16px; height: 16px; }
.lx-phone__label { display: block; color: var(--text-muted); font-size: 12px; line-height: 14px; font-weight: 700; }
.lx-phone__number { display: block; }
/* Header: the number stays the link's accessible name but shows only on wide screens */
.lx-phone__text--compact { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 85em) {
	.lx-phone__text--compact { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.header-phone { min-height: 44px; padding-inline: var(--space-1); border-radius: var(--radius-md); }

.menu-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
	padding: 0 var(--space-3);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--nav-size);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn:hover { border-color: var(--ink); }

/* ---------- Primary navigation: UPPERCASE labels, 26 x 3px green active bar ---------- */
.primary-nav { display: none; }
@media (min-width: 75em) {
	.menu-btn { display: none; }
	.primary-nav { display: block; align-self: stretch; margin-left: var(--space-6); }
	.primary-nav .menu-item-home { display: none; } /* the logo links home; Home stays in the drawer */
}
.nav-list { display: flex; align-items: stretch; gap: var(--space-4); height: 100%; margin: 0; padding: 0; list-style: none; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-link {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 var(--space-1);
	color: var(--ink-nav);
	font-family: var(--font-display);
	font-size: var(--nav-size);
	line-height: var(--nav-line);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.nav-link::after {
	content: "";
	position: absolute;
	left: var(--space-1);
	bottom: 20px;
	width: 26px;
	height: 3px;
	border-radius: var(--radius-full);
	background: var(--lumix-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--ink-nav); text-decoration: none; }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-item.is-current-section > .nav-link::after,
.nav-item.is-open > .nav-link::after { transform: scaleX(1); }

.nav-toggle {
	display: grid;
	place-items: center;
	width: 28px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--ink);
}
.nav-toggle svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Mega menu ---------- */
.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: var(--z-dropdown);
	max-height: calc(100dvh - var(--header-height));
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--surface);
	border-top: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mega.is-entering { opacity: 0; transform: translateY(-6px); }
.mega__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-12); padding-block: var(--space-8) var(--space-12); }
.mega__aside {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	align-self: start;
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	background: var(--surface-alt);
}
.mega__title { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: var(--heading-2-size); line-height: var(--heading-2-line); font-weight: 600; }
.mega__desc { margin: 0; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.mega__feature {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	padding: var(--space-3);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.mega__feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.mega__feature svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: var(--radius-full); background: var(--lumix-green); color: var(--on-brand); }
.mega__label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--eyebrow-size);
	line-height: var(--eyebrow-line);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.mega__label::before { content: ""; width: 26px; height: 3px; border-radius: var(--radius-full); background: var(--lumix-green); }
.mega__aside .mega__label { margin-top: var(--space-2); }
.mega__types { margin: 0; padding: 0; list-style: none; }
.mega__types a { display: block; padding: 2px 0; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); text-decoration: none; }
.mega__types a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lumix-green); }
.mega__head { margin-bottom: var(--space-6); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.mega__brands { columns: 4 12rem; column-gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.mega__group { break-inside: avoid; margin-bottom: var(--space-6); }
.mega__brand {
	display: inline-block;
	padding: 2px 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 15px;
	line-height: 22px;
	font-weight: 700;
	text-decoration: none;
}
.mega__brand:hover { text-decoration: underline; text-decoration-color: var(--lumix-green); }
.mega__sub { margin: var(--space-1) 0 0; padding: 0 0 0 var(--space-3); list-style: none; border-left: 2px solid var(--line); }
.mega__sub a { display: block; padding: 3px 0; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); text-decoration: none; }
.mega__sub a:hover, .mega__sub a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lumix-green); }

/* Simple dropdown for items with children but no mega panel */
.has-dropdown { position: relative; }
.dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: var(--z-dropdown);
	min-width: 240px;
	margin: 0;
	padding: var(--space-2) 0;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.dropdown a { display: block; padding: var(--space-2) var(--space-4); color: var(--text); font-size: var(--body-sm-size); text-decoration: none; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--surface-alt); color: var(--ink); }

/* ---------- Search panel ---------- */
.search-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: var(--z-dropdown);
	background: var(--surface);
	border-top: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
}
.search-panel__inner { padding-block: var(--space-6); }

/* ==========================================================================
   Mobile drawer (native dialog)
   ========================================================================== */
.drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(26rem, 100%);
	max-width: 100%;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--surface);
	color: var(--text);
	box-shadow: var(--shadow-lg);
	transition: transform var(--dur-slow) var(--ease), overlay var(--dur-slow) allow-discrete, display var(--dur-slow) allow-discrete;
}
.drawer[open] { transform: translateX(0); }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: #231f2066; }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-height); padding: 0 var(--space-4); border-bottom: 1px solid var(--line); }
.drawer__logo { display: block; line-height: 0; }
.drawer__logo img { width: auto; height: 36px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4); }
.drawer__body .lx-search { max-width: none; }
.drawer__foot { display: grid; gap: var(--space-2); padding: var(--space-4); border-top: 1px solid var(--line); background: var(--surface-alt); }
.drawer__foot address { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); font-style: normal; }
.drawer__foot address + address { margin-top: var(--space-3); }
.drawer__foot address strong { color: var(--ink); }

.drawer-nav { margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.drawer-nav ul { margin: 0; padding: 0; list-style: none; }
.drawer-nav li { border-bottom: 1px solid var(--line); }
.drawer-nav ul li { border-bottom: 0; }
.drawer-nav__row { display: flex; align-items: stretch; }
.drawer-nav a {
	flex: 1;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: var(--space-2) 0;
	color: var(--ink-nav);
	font-family: var(--font-display);
	font-size: var(--nav-size);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}
.drawer-nav a[aria-current="page"]::before { content: ""; width: 3px; height: 1.25em; margin-right: var(--space-2); border-radius: var(--radius-full); background: var(--lumix-green); }
.drawer-nav .drawer-sub { padding: 0 0 var(--space-2) var(--space-4); background: var(--surface-alt); }
.drawer-nav .drawer-sub a { min-height: 44px; color: var(--ink); font-family: var(--font-text); font-size: var(--body-size); font-weight: 400; letter-spacing: 0; text-transform: none; }
.drawer-nav .drawer-sub .drawer-sub a { min-height: 40px; color: var(--text); font-size: var(--body-sm-size); }
.drawer-nav__toggle { flex: none; display: grid; place-items: center; width: 48px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); }
.drawer-nav__toggle svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.drawer-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ==========================================================================
   Breadcrumbs (Yoast, NavXT or theme markup inside .breadcrumbs)
   ========================================================================== */
.breadcrumbs { margin-bottom: var(--space-4); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-1) 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--text-muted); }
.breadcrumbs li + li::before {
	content: "";
	width: 6px;
	height: 6px;
	margin: 0 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}
.breadcrumbs ol > li > span { display: contents; }
.breadcrumbs a { color: var(--text); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lumix-green); }
.breadcrumbs [aria-current="page"], .breadcrumbs .breadcrumb_last { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   Page shell and page header
   ========================================================================== */
.site-main { display: block; }
.entry-content { padding-block: var(--space-12); }
.entry-content > .container > :last-child { margin-bottom: 0; }
.entry-media { margin: 0 0 var(--space-8); }
.entry-media img { width: 100%; border-radius: var(--radius-lg); }
.search-again { max-width: 480px; margin-bottom: var(--space-8); }

.page-header { padding-block: var(--space-12); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-header .page-title { margin-bottom: 0; overflow-wrap: anywhere; hyphens: auto; }
.page-header .lx-lead { margin-top: var(--space-4); }
.page-header__meta { margin: var(--space-3) 0 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }

/* With a featured image: title beside the photo, never over it */
.page-header__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 64em) { .page-header--image .page-header__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); } }
.page-header__media { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.page-header__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ==========================================================================
   Home hero carousel. White band like the design canvas hero; slides stack
   in one grid cell so the region keeps one height (carousel.js reserves the
   tallest). Split slides: copy left, photo right. Banner slides: the photo
   at full width. On desktop both are one height so nothing jumps.
   ========================================================================== */
.carousel { padding-block: var(--space-8) var(--space-12); background: var(--surface); }
@media (min-width: 64em) { .carousel { padding-block: var(--space-12) var(--space-18); } }
.carousel__slides { display: grid; }
.carousel__slide {
	grid-area: 1 / 1;
	display: grid;
	gap: var(--space-6);
	align-content: start;
	opacity: 0;
	transition: opacity var(--dur-slow) var(--ease);
}
.carousel__slide.is-active { opacity: 1; }
@media (min-width: 48em) {
	.carousel__slide.is-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-8); }
}
@media (min-width: 64em) { .carousel__slide.is-split { gap: var(--space-12); } }

.carousel__media { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.carousel__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 48em) {
	.carousel__media img { aspect-ratio: auto; height: 360px; }
	.is-split .carousel__media { order: 2; }
}
@media (min-width: 64em) { .carousel__media img { height: 440px; } }

.carousel__text > :last-child, .carousel__actions > :last-child { margin-bottom: 0; }
.carousel__text :is(h4, h5, h6) {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-4);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--eyebrow-size);
	line-height: var(--eyebrow-line);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.carousel__text :is(h4, h5, h6)::before { content: ""; flex: none; width: 26px; height: 3px; border-radius: var(--radius-full); background: var(--lumix-green); }
.carousel__text :is(h1, h2, h3) {
	margin: 0 0 var(--space-6);
	color: var(--ink);
	font-size: var(--heading-1-size);
	line-height: var(--heading-1-line);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
}
.carousel__text :is(h1, h2, h3)::first-letter { text-transform: uppercase; } /* headings are sentence case */
@media (max-width: 47.99em) { .carousel__text :is(h1, h2, h3) { margin-bottom: var(--space-4); font-size: 24px; line-height: 30px; } }
@media (min-width: 48em) { .carousel__text :is(h1, h2, h3) { font-size: var(--display-lg-size); line-height: var(--display-lg-line); } }
@media (min-width: 75em) { .carousel__text :is(h1, h2, h3) { font-size: var(--display-xl-size); line-height: var(--display-xl-line); } }
.carousel__text p { max-width: 56ch; color: var(--text); font-size: var(--body-lg-size); line-height: var(--body-lg-line); }
.carousel__text p:has(> a), .carousel__actions p:has(> a) { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.carousel__text p:has(> a):not(:first-child) { margin-top: var(--space-8); }

.carousel__controls { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-6); }
.carousel__status { min-width: 56px; margin: 0; color: var(--ink); font-family: var(--font-display); font-size: var(--body-sm-size); font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
.carousel__icon-pause { position: relative; width: 12px; height: 14px; }
.carousel__icon-pause::before, .carousel__icon-pause::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 1px; background: currentColor; }
.carousel__icon-pause::before { left: 0; }
.carousel__icon-pause::after { right: 0; }
.is-paused .carousel__icon-pause::before { width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.is-paused .carousel__icon-pause::after { display: none; }

/* ==========================================================================
   ServiceCard (lx-card) and the card grid
   ========================================================================== */
.lx-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-6); }
.lx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-8);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lx-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .lx-card:hover { transform: none; } }
.lx-card p { margin: 0; color: var(--text); }
.lx-card .lx-more { margin-top: auto; }
.lx-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--lumix-green); color: var(--on-brand); }
.lx-card__icon svg { width: 22px; height: 22px; }
.lx-card__media { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-alt); }
.lx-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; mix-blend-mode: multiply; }
.lx-card__link { color: inherit; text-decoration: none; }
.lx-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); } /* whole card clickable */
.lx-card__link:focus-visible { box-shadow: none; }
.lx-card:has(.lx-card__link:focus-visible) { box-shadow: var(--focus-ring); }

/* ==========================================================================
   Product, brand and article cards
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-6); }
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card:has(.card__title a:focus-visible) { box-shadow: var(--focus-ring); }
.card__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-2); padding: var(--space-6); }
.card__title { margin: 0; color: var(--ink); font-size: var(--heading-2-size); line-height: var(--heading-2-line); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { box-shadow: none; }
.card__text { margin: 0; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.card__meta { margin: 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.card .lx-more { margin-top: auto; padding-top: var(--space-3); }
.card .lx-eyebrow { margin: 0; }
.card:hover .lx-more::after { width: 30px; }

/* Product photo plate: white studio backgrounds blend into surface-alt */
.plate { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 8%; overflow: hidden; background: var(--surface-alt); }
.plate--wide { aspect-ratio: 4 / 3; }
.plate img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--dur-slow) var(--ease); }
@media (prefers-reduced-motion: no-preference) { .card:hover .plate img { transform: scale(1.04); } }
.plate__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line-strong); }
.plate__placeholder svg { width: 30%; height: 30%; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.spec-mini { display: grid; gap: var(--space-1); margin: var(--space-2) 0 0; font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.spec-mini div { display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-1); border-top: 1px solid var(--line); }
.spec-mini dt { color: var(--text-muted); }
.spec-mini dd { margin: 0; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* ==========================================================================
   Machine model page
   ========================================================================== */
.product-hero { padding-block: var(--space-6) var(--section-space); }
.product-hero .breadcrumbs { margin-bottom: var(--space-6); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "summary" "details"; gap: var(--space-8) var(--space-12); }
@media (min-width: 64em) {
	.product-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "media summary" "details summary"; align-items: start; }
}
.product-media { grid-area: media; }
.product-media .plate { border-radius: var(--radius-lg); }
.product-details { grid-area: details; }
.product-details > .lx-h2 { margin: var(--space-12) 0 var(--space-6); }
.product-details > :first-child { margin-top: 0; }
.product-details .table-scroll { margin-top: var(--space-12); }
.product-details .table-scroll > table { min-width: 0; }
.product-summary { grid-area: summary; align-self: start; }
@media (min-width: 64em) { .product-summary { position: sticky; top: calc(var(--header-height) + var(--space-6)); } }
.product-summary .lx-eyebrow a { color: inherit; text-decoration: none; }
.product-summary .lx-eyebrow a:hover { text-decoration: underline; text-decoration-color: var(--lumix-green); }
.product-summary .lx-h1 { margin: 0; }

.key-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: var(--space-6) 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--line);
}
.key-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-1); padding: var(--space-4); background: var(--surface); }
.key-facts dt { color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.key-facts dd { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }

.spec-table { font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.spec-table caption { padding-bottom: var(--space-4); color: var(--ink); font-family: var(--font-display); font-size: var(--heading-1-size); line-height: var(--heading-1-line); font-weight: 600; letter-spacing: -0.01em; text-align: left; }
.spec-table th { width: 45%; color: var(--text); font-family: var(--font-text); font-size: inherit; font-weight: 400; }
.spec-table td { color: var(--ink); font-weight: 700; }
.spec-table tr:nth-child(odd) :is(th, td) { background: var(--surface-alt); }
.spec-table tr:first-child :is(th, td) { border-top: 2px solid var(--ink); }

.enquiry-panel { padding: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-alt); }
.enquiry-panel h2 { margin-bottom: var(--space-3); font-size: var(--heading-2-size); line-height: var(--heading-2-line); }
.enquiry-panel p { margin-bottom: var(--space-6); }
.enquiry-panel .stack { --space: var(--space-3); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-6); }

/* Phone call and quote bar, model pages on phones and tablets */
.sticky-enquiry {
	position: fixed;
	inset: auto 0 0;
	z-index: var(--z-sticky-bar);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2);
	padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom));
	background: var(--surface);
	border-top: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
}
.sticky-enquiry .lx-btn { padding-inline: var(--space-3); }
.has-sticky-enquiry { padding-bottom: 72px; } /* the bar never covers focused content (WCAG 2.4.11) */
@media (min-width: 64em) { .sticky-enquiry { display: none; } .has-sticky-enquiry { padding-bottom: 0; } }

/* ==========================================================================
   CTABand: green, boxed, once per page above the footer
   ========================================================================== */
.lx-cta-wrap { padding-block: var(--space-12) var(--section-space); background: var(--surface); }
.lx-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	padding: var(--space-12) var(--space-8);
	border-radius: var(--radius-lg);
	background: var(--lumix-green);
	color: var(--on-brand);
}
@media (max-width: 47.99em) { .lx-cta { padding: var(--space-8) var(--space-6); } }
.lx-cta h2 { max-width: 22ch; margin: 0; color: var(--on-brand); font-size: var(--heading-1-size); line-height: var(--heading-1-line); font-weight: 700; letter-spacing: -0.01em; }
.lx-cta p { margin: var(--space-3) 0 0; color: var(--on-brand); }
.lx-cta__actions { gap: var(--space-6); }
.lx-cta .lx-phone { color: var(--on-brand); font-size: 24px; line-height: 32px; }
.lx-cta .lx-phone i { width: 40px; height: 40px; background: var(--on-brand); color: var(--lumix-green); }
.lx-cta .lx-phone i svg { width: 18px; height: 18px; }
.lx-cta .lx-btn--primary { background: var(--on-brand); color: var(--surface); }
.lx-cta .lx-btn--primary:hover { background: #000000; color: var(--surface); }
.lx-cta :focus-visible { box-shadow: 0 0 0 2px var(--lumix-green), 0 0 0 4px var(--ink); }

/* ==========================================================================
   Footer: light grey band, eyebrow titles with the green bar
   ========================================================================== */
.lx-footer { padding-top: var(--space-18); background: var(--surface-sunken); color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.lx-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8) var(--space-12); }
@media (min-width: 37.5em) { .lx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .lx-footer__cols { grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; } }
.lx-footer__title {
	margin: 0 0 var(--space-4);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--eyebrow-size);
	line-height: var(--eyebrow-line);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lx-footer__title::after { content: ""; display: block; width: 26px; height: 3px; margin-top: var(--space-2); border-radius: var(--radius-full); background: var(--lumix-green); }
.lx-footer p { margin: 0 0 var(--space-4); color: var(--text); }
.lx-footer__list { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.lx-footer a { color: var(--text); text-decoration: none; }
.lx-footer a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lumix-green); }
.footer-logo { display: inline-block; margin-bottom: var(--space-4); line-height: 0; }
.footer-logo img { width: auto; height: 44px; }
.lx-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-2) var(--space-8);
	margin-top: var(--space-12);
	padding-block: var(--space-4) var(--space-6);
	border-top: 1px solid var(--line-strong);
}
.lx-footer__base p { margin: 0; }
.lx-footer__base ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: 0; padding: 0; list-style: none; }
.lx-footer__base a { text-decoration: underline; text-decoration-color: var(--lumix-green); }

.social-links { display: flex; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--surface); color: var(--ink); transition: background-color var(--dur-fast) var(--ease); }
.social-links a:hover { background: var(--lumix-green); color: var(--on-brand); text-decoration: none; }
.social-links svg { width: 20px; height: 20px; }

/* Contact block (NAP) */
.nap { margin: 0; font-style: normal; }
.nap__row { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-4); }
.nap__row > svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--ink); }
.nap__label { display: block; color: var(--ink); font-weight: 700; }
.nap__note { display: block; color: var(--text); }
.nap a { color: var(--ink); font-weight: 700; }
.nap__phone { font-size: var(--phone-size); line-height: var(--phone-line); }

/* Newsletter and other widgets in the last footer column */
.footer-widgets .widget { margin-bottom: var(--space-6); }
.footer-widgets .widgettitle {
	margin: 0 0 var(--space-4);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--eyebrow-size);
	line-height: var(--eyebrow-line);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.footer-widgets .widgettitle::after { content: ""; display: block; width: 26px; height: 3px; margin-top: var(--space-2); border-radius: var(--radius-full); background: var(--lumix-green); }
.footer-widgets input:not([type="submit"]) { height: 44px; margin-bottom: var(--space-2); }

/* ==========================================================================
   Logo wall: one height, greyscale, colour on hover
   ========================================================================== */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.logo-wall li { display: grid; place-items: center; height: 88px; padding: 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.logo-wall img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter var(--dur) var(--ease); }
.logo-wall li:hover img { filter: none; }

/* ==========================================================================
   FAQ (details and summary)
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: 56px;
	padding: var(--space-4) 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--heading-2-size);
	line-height: var(--heading-2-line);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: var(--radius-full);
	background:
		linear-gradient(var(--on-brand), var(--on-brand)) center / 12px 2px no-repeat,
		linear-gradient(var(--on-brand), var(--on-brand)) center / 2px 12px no-repeat,
		var(--lumix-green);
	transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { max-width: var(--measure); padding-bottom: var(--space-6); }

/* ==========================================================================
   Video facade: YouTube loads only on click
   ========================================================================== */
.video-facade {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--surface-sunken);
	color: var(--ink);
	text-align: left;
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-full);
	background: var(--lumix-green);
	color: var(--on-brand);
	transform: translate(-50%, -50%);
	transition: transform var(--dur) var(--ease);
}
.video-facade__play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-facade__title {
	position: absolute;
	left: var(--space-3);
	right: var(--space-3);
	bottom: var(--space-3);
	width: fit-content;
	max-width: calc(100% - 2 * var(--space-3));
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--body-sm-size);
	line-height: var(--body-sm-line);
	font-weight: 600;
}
.video-facade:hover .video-facade__play { transform: translate(-50%, -50%) scale(1.06); }
.video-embed { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Notices (also Contact Form 7 responses): full border, icon and text
   ========================================================================== */
.notice,
.wpcf7 form .wpcf7-response-output {
	display: flex;
	gap: var(--space-3);
	margin: var(--space-6) 0;
	padding: var(--space-4) var(--space-6);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	background: var(--surface-alt);
	color: var(--ink);
	font-size: var(--body-sm-size);
	line-height: var(--body-sm-line);
}
.notice svg { flex: none; width: 20px; height: 20px; }
.notice > :last-child { margin-bottom: 0; }
.notice--success, .wpcf7 form.sent .wpcf7-response-output { border-color: var(--lumix-green-deep); }
.notice--error, .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output { border: 2px solid var(--error); background: var(--surface); }
.notice--error svg { color: var(--error); }

/* ==========================================================================
   Pagination (core the_posts_pagination and WP-PageNavi)
   ========================================================================== */
.pagination-nav .nav-links, .wp-pagenavi { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.pagination-nav .page-numbers, .wp-pagenavi :is(a, span) {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--space-3);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	text-decoration: none;
}
.pagination-nav a.page-numbers:hover, .wp-pagenavi a:hover { border-color: var(--ink); }
.pagination-nav .page-numbers.current, .wp-pagenavi .current { border-color: var(--lumix-green); background: var(--lumix-green); color: var(--on-brand); }
.pagination-nav .page-numbers.dots { border-color: transparent; background: none; }
.wp-pagenavi .pages { display: none; }

/* ==========================================================================
   Tags, testimonial, TODO marker
   ========================================================================== */
.lx-tag {
	display: inline-flex;
	align-items: center;
	padding: 2px var(--space-2);
	border-radius: var(--radius-sm);
	background: var(--surface-alt);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 12px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.lx-tag--brand { background: var(--lumix-green); color: var(--on-brand); }
.lx-tag--new { background: var(--lumix-yellow); color: var(--on-brand); }

.testimonial { margin: 0; padding: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.testimonial blockquote { margin: 0 0 var(--space-4); color: var(--ink); font-size: var(--body-lg-size); line-height: var(--body-lg-line); }
.testimonial figcaption { color: var(--text-muted); font-size: var(--body-sm-size); }
.testimonial figcaption strong { display: block; color: var(--ink); }

.todo { display: inline-block; padding: 0 var(--space-1); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--text); font-size: var(--body-sm-size); font-weight: 700; }
