/*
Theme Name: TruAxis
Theme URI: https://example.com/truaxis
Author: Studio
Author URI: https://example.com
Description: Bearings and power-transmission lead-generation theme for industrial component suppliers. Cold-white and axle-steel palette with a restrained chrome-yellow accent, ball-race ring orbits and gear-pitch tooth motifs, custom product catalog with generic spec tables and reusable presets, inquiry-first product pages, configurable homepage sections, floating contact rail with QR modals. All copy and imagery managed from the admin, so the theme fits any industry.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truaxis
Tags: custom-menu, custom-logo, featured-images, translation-ready

Fonts: Oxanium (headings) & Work Sans (body), both licensed under the
SIL Open Font License 1.1 — loaded from Google Fonts.
(https://fonts.google.com/specimen/Oxanium, https://fonts.google.com/specimen/Work+Sans)

Backgrounds: no grid/mesh fills and no linear/radial/conic gradients
as area backgrounds anywhere in this file. Decorative bearing-ring and
gear-tooth motifs are solid-stroke SVG shapes drawn in markup, not
CSS gradients or repeating tiles. The one hard-edge two-tone rack
strip below (--teeth) is a single-direction, zero-blend solid stripe,
used once on the footer trim.
*/

:root {
	--bg: #f6f7f7;
	--surface: #ffffff;
	--tint: #eef0f2;
	--mist: #e2e5e8;
	--ink: #24272b;
	--ink-soft: #363b41;
	--muted: #656c74;
	--deep: #24272b;
	--deep-2: #1b1e22;
	--deep-edge: #131518;
	--deep-ink: #f3f5f6;
	--deep-muted: #9ba3ab;
	--accent: #3f454d;
	--accent-deep: #24272b;
	--accent-soft: rgba(36, 39, 43, 0.08);
	--gold: #d9b112;
	--gold-deep: #8a7009;
	--gold-soft: rgba(217, 177, 18, 0.16);
	--danger: #a83a2c;
	--line: rgba(36, 39, 43, 0.12);
	--line-strong: rgba(36, 39, 43, 0.26);
	--line-deep: rgba(243, 245, 246, 0.14);
	--radius: 4px;
	--radius-sm: 3px;
	--shadow: 0 22px 44px -26px rgba(19, 21, 24, 0.42);
	--shadow-soft: 0 12px 26px -18px rgba(19, 21, 24, 0.28);
	/* gear-pitch trim: two hard-edge solid tones, single 90deg direction, zero colour blend — not a texture wash */
	--teeth: repeating-linear-gradient(90deg, var(--gold) 0 10px, var(--deep-edge) 10px 22px);
	--font-display: "Oxanium", "Segoe UI", Helvetica, sans-serif;
	--font-body: "Work Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1260px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

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

/* clip, not hidden: hidden would break the sticky header */
html,
body {
	overflow-x: clip;
}

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

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

a {
	color: inherit;
}

::selection {
	background: var(--ink);
	color: #ffffff;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.16;
	margin: 0;
	color: var(--ink);
	letter-spacing: 0;
}

p {
	margin: 0;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.section-pad {
	padding-block: clamp(40px, 6vw, 72px);
}

.sec {
	padding-block: clamp(56px, 8vw, 96px);
}

.sec-tint {
	background: var(--tint);
}

.sec-navy {
	background: var(--deep);
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--deep);
	color: var(--deep-ink);
	border-radius: var(--radius);
	text-decoration: none;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
}

body.no-scroll {
	overflow: hidden;
}

/* Reveal animation: only when JS added html.fx, so content is never hidden without JS */
html.fx [data-rv] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.fx [data-rv].rv-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.fx [data-rv] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ================= Buttons: split-label ================= */
/* Every .btn label is bisected by a 1.5px vertical rule at its midpoint —
   left half one solid colour, right half another, border stays a single
   plain stroke. Hover swaps which half carries which colour. The label
   text is rendered twice (attr(data-label) on each half, real text kept
   transparent for accessible selection) and clipped to its own half via
   clip-path — no gradient, no text-fill trick. */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: var(--radius);
	border: 1.5px solid var(--line-strong);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-label {
	position: relative;
	display: inline-block;
	color: transparent;
}

.btn-label::before,
.btn-label::after {
	content: attr(data-label);
	position: absolute;
	inset: 0;
	white-space: nowrap;
	pointer-events: none;
}

.btn-label::before {
	clip-path: inset(0 50% 0 0);
	color: var(--ink);
}

.btn-label::after {
	clip-path: inset(0 0 0 50%);
	color: var(--gold-deep);
}

.btn-rule {
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 50%;
	width: 1.5px;
	background: var(--ink);
	transform: translateX(-50%);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
	border-color: var(--ink);
}

.btn:hover .btn-label::before {
	color: var(--gold-deep);
}

.btn:hover .btn-label::after {
	color: var(--ink);
}

.btn-primary {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--deep-ink);
}

.btn-primary .btn-label::before {
	color: var(--deep-ink);
}

.btn-primary .btn-label::after {
	color: var(--gold);
}

.btn-primary .btn-rule {
	background: var(--deep-ink);
}

.btn-primary:hover {
	background: var(--deep-edge);
	border-color: var(--deep-edge);
}

.btn-primary:hover .btn-label::before {
	color: var(--gold);
}

.btn-primary:hover .btn-label::after {
	color: var(--deep-ink);
}

.btn-accent {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--deep-edge);
}

.btn-accent .btn-label::before {
	color: var(--deep-edge);
}

.btn-accent .btn-label::after {
	color: var(--ink);
}

.btn-accent .btn-rule {
	background: var(--deep-edge);
}

.btn-accent:hover {
	background: #c19c0b;
	border-color: #c19c0b;
	box-shadow: 0 16px 30px -14px rgba(138, 112, 9, 0.55);
}

.btn-accent:hover .btn-label::before {
	color: var(--ink);
}

.btn-accent:hover .btn-label::after {
	color: var(--deep-edge);
}

.btn-outline {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn-outline:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.btn-ghost {
	background: transparent;
	border-color: transparent;
	color: var(--ink-soft);
}

.btn-ghost .btn-rule {
	background: var(--ink-soft);
}

.btn-ghost:hover {
	box-shadow: none;
	border-color: transparent;
}

.btn-sm {
	padding: 9px 16px;
	font-size: 13px;
	border-radius: var(--radius-sm);
}

.btn-lg {
	padding: 17px 34px;
	font-size: 15.5px;
}

.btn .icon {
	flex: none;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ink);
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: gap 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
	gap: 11px;
	border-color: var(--gold);
}

/* Kicker: bearing-on-shaft glyph — a chrome-yellow race ring plus a shaft line */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink);
	font-family: var(--font-display);
}

/* race-ring + shaft-line glyph, single flat-fill SVG (no gradient) */
.kicker::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' viewBox='0 0 32 12'%3E%3Ccircle cx='6' cy='6' r='5' fill='none' stroke='%23d9b112' stroke-width='2'/%3E%3Crect x='15' y='5' width='17' height='2' fill='%23d9b112'/%3E%3C/svg%3E");
	flex: none;
	line-height: 0;
}

.sec-head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-title {
	font-size: clamp(26px, 3.3vw, 37px);
	font-weight: 700;
}

.sec-sub {
	margin-top: 12px;
	color: var(--muted);
	font-size: 16.5px;
	max-width: 60ch;
}

.sec-navy .sec-title {
	color: var(--deep-ink);
}

.sec-navy .sec-sub {
	color: var(--deep-muted);
}

.sec-navy .kicker {
	color: var(--deep-ink);
}

/* ================= Topbar ================= */
.topbar {
	background: var(--deep-edge);
	color: var(--deep-ink);
	font-size: 13px;
	border-bottom: 2px solid var(--gold);
}

.topbar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 40px;
}

.topbar-contacts {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--deep-ink);
	text-decoration: none;
	opacity: 0.92;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.topbar a:hover {
	opacity: 1;
	color: var(--gold);
}

.topbar-hours {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--deep-muted);
}

/* ================= Header ================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
	box-shadow: 0 10px 28px -18px rgba(19, 21, 24, 0.38);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 78px;
}

.brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.brand img {
	display: block;
	max-height: 52px;
	width: auto;
}

.brand-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-decoration: none;
	color: var(--ink);
}

.brand-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	background: var(--deep);
	color: var(--gold);
}

.brand-mark::after {
	content: "";
	position: absolute;
	right: 3px;
	bottom: 3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 1.5px solid var(--gold);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: min(300px, 24vw);
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.nav-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 0;
	gap: 4px;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list > li {
	position: relative;
}

.nav-list > li > a {
	position: relative;
	display: inline-block;
	padding: 10px 11px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.nav-list > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
	color: var(--ink);
}

.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after,
.nav-list > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 8px;
	z-index: 95;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-list .sub-menu a {
	display: block;
	padding: 9px 12px;
	font-size: 14px;
	color: var(--ink-soft);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-list .sub-menu a:hover {
	background: var(--accent-soft);
	color: var(--ink);
}

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

.header-cta {
	white-space: nowrap;
}

.hbtn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hbtn:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.nav-toggle {
	display: none;
}

/* ================= Overlays: drawer / search / QR ================= */
.drawer,
.search-layer,
.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.drawer[hidden],
.search-layer[hidden],
.qr-modal[hidden] {
	display: none;
}

.drawer-scrim,
.search-scrim,
.qr-scrim {
	position: absolute;
	inset: 0;
	background: rgba(19, 21, 24, 0.62);
	opacity: 0;
	transition: opacity 0.24s ease;
}

.drawer.open .drawer-scrim,
.search-layer.open .search-scrim,
.qr-modal.open .qr-scrim {
	opacity: 1;
}

.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	background: var(--surface);
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px 28px;
	overflow-y: auto;
	transform: translateX(102%);
	transition: transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
	box-shadow: -18px 0 40px -24px rgba(19, 21, 24, 0.42);
	border-left: 3px solid var(--deep);
}

.drawer.open .drawer-panel {
	transform: translateX(0);
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.drawer-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--ink);
}

.drawer-nav {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.drawer-nav > li {
	border-bottom: 1px solid var(--line);
}

.drawer-nav a {
	display: block;
	padding: 13px 4px;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

.drawer-nav a:hover {
	color: var(--gold-deep);
}

.drawer-nav .sub-menu {
	list-style: none;
	margin: 0 0 10px;
	padding: 0 0 0 14px;
	border-left: 2px solid var(--gold-soft);
}

.drawer-nav .sub-menu a {
	padding: 8px 4px;
	font-size: 14.5px;
	font-weight: 400;
	color: var(--ink-soft);
}

.drawer-cta {
	margin-top: 16px;
}

.search-panel {
	position: absolute;
	top: 18vh;
	left: 50%;
	transform: translate(-50%, -14px);
	width: min(620px, 92vw);
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-layer.open .search-panel {
	opacity: 1;
	transform: translate(-50%, 0);
}

.search-layer .search-form {
	flex: 1;
}

.search-layer .hbtn {
	flex: none;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 6px 6px 6px 18px;
	box-shadow: var(--shadow-soft);
}

.search-field {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	padding: 8px 0;
	outline: none;
}

.search-field::placeholder {
	color: var(--muted);
}

.search-submit {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--deep);
	color: #ffffff;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.search-submit:hover {
	background: var(--deep-edge);
	color: var(--gold);
}

/* ================= Hero: split panel (reworked 2026-08-16) ================= */
/* Solid copy column on the left, one full-height real photo on the right, hard
   vertical seam between the two (design-charter fallback (a) — the previous
   five-node process rail is retired, see front-page.php for why). The single
   signature detail carried forward is the ball-bearing cross-section badge,
   anchored on the photo's top-left corner, never overlapping any text. */
.hero {
	position: relative;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.hero-in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: stretch;
	min-height: clamp(480px, 56vw, 620px);
}

.hero-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(40px, 6vw, 64px);
	padding-left: clamp(20px, 4vw, 48px);
	padding-right: clamp(28px, 4vw, 56px);
	max-width: 620px;
}

.hero-title {
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.12;
}

.hero-sub {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--muted);
	max-width: 50ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 34px;
	padding-top: 20px;
	max-width: 520px;
	border-top: 2px solid var(--gold);
}

.hero-stats .stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 2px;
}

.hero-stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 800;
	color: var(--ink);
	letter-spacing: 0.01em;
}

.hero-stats dt {
	font-size: 12px;
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--muted);
}

.hero-media {
	position: relative;
	overflow: hidden;
	border-left: 4px solid var(--gold);
}

.hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 20% 78%;
}

.hero-badge {
	position: absolute;
	top: 24px;
	left: 24px;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--surface);
	box-shadow: var(--shadow-soft);
}

.hero-badge svg {
	width: 52px;
	height: 52px;
}

/* ================= Perks ================= */
.perks {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.perks-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
	padding-block: clamp(36px, 5vw, 56px);
}

.perk {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 18px;
	border: 1px solid var(--line);
	border-bottom: 3px solid var(--mist);
	border-radius: var(--radius);
	background: var(--bg);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.perk:hover {
	border-color: var(--line-strong);
	border-bottom-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: var(--shadow-soft);
}

.perk-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	background: var(--deep);
	color: var(--gold);
}

.perk-title {
	font-size: 15.5px;
	font-weight: 700;
}

.perk-text {
	margin-top: 5px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}

/* ================= Category grid ================= */
.cats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover {
	border-color: var(--ink-soft);
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.cat-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--mist);
	overflow: hidden;
}

.cat-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cat-card:hover .cat-media img {
	transform: scale(1.045);
}

.cat-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 16px 58px 16px 18px;
	border-top: 2px solid var(--gold);
}

.cat-name {
	font-family: var(--font-display);
	font-size: 16.5px;
	font-weight: 700;
	color: var(--ink);
}

.cat-count {
	font-size: 13px;
	color: var(--muted);
}

.cat-arrow {
	position: absolute;
	right: 14px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	color: var(--ink-soft);
	background: var(--surface);
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover .cat-arrow,
.cat-card:focus-visible .cat-arrow {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--gold);
}

/* ================= Product cards ================= */
.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.prod-grid-archive {
	margin-top: 26px;
}

.prod-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.prod-card:hover {
	border-color: var(--ink-soft);
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.prod-media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--mist);
	overflow: hidden;
}

.prod-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.prod-card:hover .prod-media img {
	transform: scale(1.05);
}

.prod-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 20px;
	border-top: 1px solid var(--line);
}

.prod-cat {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-deep);
}

.prod-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.32;
}

.prod-name a {
	color: var(--ink);
	text-decoration: none;
}

.prod-name a:hover {
	color: var(--gold-deep);
}

.prod-excerpt {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}

.prod-btn {
	margin-top: 6px;
}

/* ================= Split sections ================= */
.split-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.split-media {
	position: relative;
}

.split-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	position: relative;
	z-index: 1;
}

/* offset backing panel: solid colour block, no texture fill */
.split-media::after {
	content: "";
	position: absolute;
	left: 26px;
	right: -20px;
	top: 26px;
	bottom: -20px;
	border-radius: var(--radius);
	background: var(--deep);
	z-index: 0;
}

.split-flip .split-media {
	order: 2;
}

.split-flip .split-media::after {
	left: -20px;
	right: 26px;
}

.split-body .sec-title {
	max-width: 22ch;
}

.split-text {
	margin: 16px 0 26px;
	font-size: 16.5px;
	color: var(--muted);
	max-width: 56ch;
}

/* ================= Steps (axle-steel panel) ================= */
.sec-navy.steps {
	position: relative;
	overflow: hidden;
}

.sec-navy.steps > .wrap {
	position: relative;
	z-index: 1;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}

.step {
	position: relative;
	padding: 26px 24px 28px;
	background: rgba(243, 245, 246, 0.05);
	border: 1px solid var(--line-deep);
	border-radius: var(--radius);
	transition: border-color 0.18s ease, background 0.18s ease;
}

.step:hover {
	border-color: rgba(217, 177, 18, 0.55);
	background: rgba(243, 245, 246, 0.08);
}

.step-num {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--gold);
	padding-bottom: 10px;
	margin-bottom: 16px;
	border-bottom: 2px solid rgba(217, 177, 18, 0.55);
}

.step-title {
	font-size: 16.5px;
	font-weight: 700;
	color: var(--deep-ink);
}

.step-text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--deep-muted);
}

/* ================= Quotes ================= */
.quotes-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.quote {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 26px 26px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--deep);
	border-radius: var(--radius);
	box-shadow: none;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.quote:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-soft);
}

.quote-mark {
	color: var(--gold);
}

.quote blockquote {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-soft);
}

.quote-name {
	display: block;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--ink);
}

.quote-role {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

/* ================= Post cards ================= */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.post-grid-archive {
	margin-top: 8px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
	border-color: var(--ink-soft);
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.post-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--mist);
	overflow: hidden;
}

.post-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-media img {
	transform: scale(1.045);
}

.post-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 18px 20px 22px;
}

.post-date {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold-deep);
}

.post-title {
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.34;
}

.post-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-title a:hover {
	color: var(--gold-deep);
}

.post-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
}

.post-card .text-link {
	margin-top: 4px;
}

/* ================= CTA band ================= */
.cta-band {
	position: relative;
	background: var(--deep-edge);
	overflow: hidden;
}

.cta-in {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: clamp(48px, 6vw, 72px);
}

.cta-title {
	font-size: clamp(24px, 3vw, 34px);
	color: var(--deep-ink);
}

.cta-text {
	margin-top: 10px;
	font-size: 16px;
	color: var(--deep-muted);
	max-width: 58ch;
}

.cta-band .btn-accent {
	flex: none;
}

.cta-band .btn-accent:hover {
	box-shadow: 0 18px 34px -14px rgba(217, 177, 18, 0.5);
}

/* ================= Page hero ================= */
.page-hero {
	position: relative;
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(44px, 6vw, 72px);
	overflow: hidden;
}

.page-hero .wrap {
	position: relative;
	z-index: 1;
}

.page-hero .kicker {
	margin-bottom: 10px;
}

.page-hero-title {
	font-size: clamp(30px, 3.9vw, 45px);
	font-weight: 800;
	letter-spacing: 0;
}

.page-hero-sub {
	margin-top: 12px;
	font-size: 16.5px;
	color: var(--muted);
	max-width: 68ch;
}

/* ================= Entry content ================= */
.entry-content {
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--ink-soft);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2 {
	font-size: clamp(22px, 2.6vw, 29px);
	margin-top: 1.8em;
}

.entry-content h3 {
	font-size: clamp(18px, 2.2vw, 22px);
	margin-top: 1.5em;
}

.entry-content a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--gold);
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-block: 0.35em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 16px 22px;
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--tint);
	color: var(--ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 11px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 0 20px;
}

.entry-content details + details {
	margin-top: 12px;
}

.entry-content summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 16px 36px 16px 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
}

.entry-content summary::-webkit-details-marker {
	display: none;
}

.entry-content summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 500;
	color: var(--gold-deep);
	transition: transform 0.18s ease;
}

.entry-content details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.entry-content details > *:not(summary) {
	margin-bottom: 16px;
}

.entry-content details > p:last-child {
	padding-bottom: 4px;
}

.entry-hero-img {
	margin: 0 0 30px;
}

.entry-hero-img img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.entry-single .entry-content,
.entry-single .entry-hero-img {
	max-width: 840px;
	margin-inline: auto;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 840px;
	margin: 44px auto 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 14.5px;
}

.post-nav a {
	color: var(--ink-soft);
	text-decoration: none;
}

.post-nav a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-nav-next {
	text-align: right;
}

/* ================= Contact cards ================= */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 1.6em 0;
}

.contact-card {
	padding: 24px 24px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--deep);
	border-radius: var(--radius);
	box-shadow: none;
}

.contact-card h3 {
	font-size: 16px;
	margin: 0 0 8px;
}

.contact-card p {
	margin: 0.2em 0;
	font-size: 14.5px;
	color: var(--muted);
}

.contact-card a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid var(--gold);
}

/* ================= Filter chips ================= */
.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink-soft);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.chip-on {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--deep-ink);
}

/* ================= Breadcrumbs ================= */
.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-block: 18px 4px;
	font-size: 13.5px;
	color: var(--muted);
}

.crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.crumbs-here {
	color: var(--ink);
	font-weight: 500;
}

/* ================= Product single ================= */
.product-single {
	padding-block: 18px clamp(48px, 6vw, 80px);
}

.product-top {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.product-photo {
	position: sticky;
	top: 96px;
	margin: 0;
}

.product-photo img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--mist);
	box-shadow: var(--shadow-soft);
}

/* ================= Product single: thumbnail gallery ================= */
.pdp-gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.pdp-thumb {
	display: block;
	width: 76px;
	height: 76px;
	padding: 0;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--mist);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.pdp-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
}

.pdp-thumb:hover {
	border-color: var(--muted);
}

.pdp-thumb.is-active {
	border-color: var(--gold);
}

.product-summary .prod-cat {
	display: inline-block;
	margin-bottom: 8px;
}

.product-title {
	font-size: clamp(26px, 3.3vw, 37px);
	font-weight: 800;
	letter-spacing: 0;
}

.product-intro {
	margin-top: 14px;
	font-size: 16.5px;
	color: var(--muted);
}

.product-highlights {
	list-style: none;
	margin: 24px 0 0;
	padding: 8px 0 0;
	border-top: 2px solid var(--gold);
}

.product-highlights li {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 11px 2px;
	border-bottom: 1px dashed var(--line-strong);
	font-size: 14.5px;
}

.product-highlights li:last-child {
	border-bottom: 0;
}

.hl-label {
	color: var(--muted);
}

.hl-value {
	color: var(--ink);
	font-weight: 600;
	text-align: right;
}

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

.product-note {
	margin-top: 14px;
	font-size: 13px;
	color: var(--muted);
}

/* ================= Spec table ================= */
.prod-specs {
	margin-top: clamp(40px, 5vw, 64px);
}

.prod-specs-title,
.product-desc h2,
.product-related h2,
.product-inquiry .zc-inquiry-block__intro h2 {
	font-size: clamp(21px, 2.6vw, 28px);
	margin-bottom: 18px;
}

/* Wide tables scroll inside their own container (grid min-width pitfall) */
.prod-specs-scroll {
	min-width: 0;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.prod-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.prod-specs-table th {
	width: 34%;
	padding: 13px 18px;
	text-align: left;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink);
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	white-space: nowrap;
}

.prod-specs-table td {
	padding: 13px 18px;
	color: var(--ink-soft);
	border-bottom: 1px solid var(--line);
}

.prod-specs-table tr:last-child th,
.prod-specs-table tr:last-child td {
	border-bottom: 0;
}

.product-desc,
.product-related,
.product-inquiry {
	margin-top: clamp(40px, 5vw, 64px);
}

.product-related .prod-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ================= Inquiry form (plugin markup) ================= */
.zc-inquiry-block {
	padding: clamp(26px, 3.4vw, 44px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.zc-inquiry-block__intro h2 {
	margin-bottom: 8px;
}

.zc-inquiry-block__intro p {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 24px;
}

.zc-inquiry-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

.zc-inquiry-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
}

.zc-required {
	color: var(--danger);
}

.zc-inquiry-field input[type="text"],
.zc-inquiry-field input[type="email"],
.zc-inquiry-field input[type="number"],
.zc-inquiry-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--bg);
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.zc-inquiry-field input:focus,
.zc-inquiry-field textarea:focus {
	outline: none;
	border-color: var(--ink);
	background: var(--surface);
	box-shadow: 0 0 0 3px var(--gold-soft);
}

.zc-inquiry-field:has(textarea) {
	grid-column: 1 / -1;
}

.zc-btn,
.zc-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 6px;
	padding: 14px 30px;
	border: 1px solid var(--deep);
	border-radius: var(--radius);
	background: var(--deep);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.zc-btn:hover,
.zc-btn-primary:hover {
	background: var(--deep-edge);
	border-color: var(--deep-edge);
	color: var(--gold);
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -14px rgba(19, 21, 24, 0.55);
}

.zc-inquiry-notice {
	margin-top: 16px;
	padding: 13px 16px;
	border-radius: var(--radius-sm);
	background: var(--gold-soft);
	border: 1px solid rgba(138, 112, 9, 0.4);
	color: var(--gold-deep);
	font-size: 14.5px;
}

.zc-inquiry-notice.is-error {
	background: rgba(168, 58, 44, 0.08);
	border-color: rgba(168, 58, 44, 0.35);
	color: var(--danger);
}

.inquiry-fallback {
	padding: 22px 26px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 15.5px;
}

/* ================= Footer (axle steel, gear-pitch trim) ================= */
.site-footer {
	position: relative;
	background: var(--deep-edge);
	color: var(--deep-muted);
	overflow: hidden;
}

/* gear-pitch trim: the one hard-edge two-tone solid stripe on the site, single 90deg direction, zero blend */
.site-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: var(--teeth);
}

.footer-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 2fr 1fr 1.4fr;
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 44px);
}

.f-brand .brand-text {
	color: var(--deep-ink);
}

.f-brand .brand-mark {
	background: rgba(243, 245, 246, 0.08);
	border: 1px solid var(--line-deep);
}

.f-about {
	margin-top: 16px;
	font-size: 14.5px;
	line-height: 1.7;
	max-width: 44ch;
	color: var(--deep-muted);
}

.f-title {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--deep-ink);
	margin: 4px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(217, 177, 18, 0.6);
	max-width: 72px;
	white-space: nowrap;
}

.f-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.f-menu li {
	margin-bottom: 9px;
}

.f-menu a {
	color: var(--deep-muted);
	text-decoration: none;
	font-size: 14.5px;
	transition: color 0.15s ease;
}

.f-menu a:hover {
	color: var(--gold);
}

.f-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.f-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14.5px;
	line-height: 1.55;
}

.f-contact-list .icon {
	flex: none;
	margin-top: 3px;
	color: var(--gold);
}

.f-contact-list a {
	color: var(--deep-muted);
	text-decoration: none;
}

.f-contact-list a:hover {
	color: var(--gold);
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.social-link {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--line-deep);
	border-radius: var(--radius);
	background: transparent;
	color: var(--deep-ink);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--deep-edge);
	transform: translateY(-2px);
}

.footer-bottom {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--line-deep);
}

.footer-bottom-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-block: 20px;
	font-size: 13px;
}

.copyright {
	color: var(--deep-muted);
}

.policy-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.policy-menu a {
	color: var(--deep-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.policy-menu a:hover {
	color: var(--gold);
}

/* ================= Contact rail ================= */
.contact-rail {
	position: fixed;
	bottom: 28px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-rail.rail-right {
	right: 22px;
}

.contact-rail.rail-left {
	left: 22px;
}

.rail-btn {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: var(--deep);
	color: var(--deep-ink);
	cursor: pointer;
	box-shadow: 0 14px 28px -12px rgba(19, 21, 24, 0.55);
	transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.rail-btn:hover {
	background: var(--gold);
	color: var(--deep-edge);
	transform: translateY(-3px);
}

/* ================= QR modal ================= */
.qr-modal {
	display: grid;
	place-items: center;
}

.qr-modal[hidden] {
	display: none;
}

.qr-panel {
	position: relative;
	z-index: 1;
	width: min(360px, 92vw);
	padding: 30px 28px 28px;
	background: var(--surface);
	border-top: 3px solid var(--gold);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.qr-modal.open .qr-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.qr-close {
	position: absolute;
	top: 12px;
	right: 12px;
}

.qr-title {
	font-size: 19px;
	margin-bottom: 16px;
}

.qr-img {
	display: block;
	width: 210px;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.qr-text {
	margin-top: 14px;
	font-size: 14px;
	color: var(--muted);
}

.qr-btn {
	margin-top: 16px;
}

/* ================= Pagination ================= */
.pagination-nav {
	display: flex;
	justify-content: center;
	margin-top: clamp(32px, 4vw, 48px);
}

.pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0 3px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink-soft);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pagination-nav .page-numbers.current {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--deep-ink);
}

.pagination-nav a.page-numbers:hover {
	border-color: var(--ink);
	color: var(--ink);
}

/* ================= Search results ================= */
.search-again {
	max-width: 560px;
	margin-bottom: 34px;
}

.result-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.result-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.result-card:hover {
	border-color: var(--ink-soft);
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.result-media {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--mist);
}

.result-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-body {
	flex: 1;
	min-width: 0;
}

.badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: var(--radius);
	background: var(--gold-soft);
	color: var(--gold-deep);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.result-title {
	font-size: 17px;
	font-weight: 700;
}

.result-title a {
	color: var(--ink);
	text-decoration: none;
}

.result-title a:hover {
	color: var(--gold-deep);
}

.result-excerpt,
.result-price {
	margin-top: 4px;
	font-size: 14px;
	color: var(--muted);
}

.result-arrow {
	flex: none;
	color: var(--muted);
}

/* ================= Empty state ================= */
.empty-state {
	max-width: 560px;
	margin: clamp(24px, 4vw, 48px) auto;
	padding: clamp(32px, 5vw, 52px);
	text-align: center;
	background: var(--surface);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
}

.empty-state h2 {
	font-size: 22px;
	margin-bottom: 10px;
}

.empty-state p {
	color: var(--muted);
	margin-bottom: 20px;
}

.empty-search {
	max-width: 420px;
	margin: 0 auto 20px;
}

.empty-search .search-form {
	box-shadow: none;
}

.empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
	.prod-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1500px) {
	/* 2026-08-17: hiding the whole desktop nav below 1500px was wrong -- 1440 is one of the
	   most common desktop widths and visitors lost the menu entirely. Instead the nav is
	   tightened (smaller tracking/padding) so the 10-item menu still fits on one row, and the
	   hamburger only takes over at genuine tablet widths (see the 1100px block below). */
	.nav-list > li > a {
		padding: 10px 7px;
		font-size: 13.5px;
	}
}

@media (max-width: 1180px) {
	.nav-list > li > a {
		padding: 10px 5px;
		font-size: 12.8px;
	}
}

@media (max-width: 1100px) {
	.main-nav {
		display: none;
	}
	.nav-toggle {
		display: grid;
	}
}

@media (max-width: 1024px) {
	.header-cta {
		display: none;
	}
	.cats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.perks-grid,
	.steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.prod-grid,
	.prod-grid-archive,
	.product-related .prod-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hero-in {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		min-height: clamp(440px, 58vw, 560px);
	}
	.hero-copy {
		max-width: none;
	}
	.product-top {
		grid-template-columns: 1fr;
	}
	.product-photo {
		position: static;
		max-width: 560px;
	}
}

@media (max-width: 900px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.quotes-grid {
		grid-template-columns: 1fr;
	}
	.split-in {
		grid-template-columns: 1fr;
	}
	.split-flip .split-media {
		order: 0;
	}
	.contact-cards {
		grid-template-columns: 1fr;
	}
	.zc-inquiry-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	.topbar-hours {
		display: none;
	}
	.cta-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.contact-rail {
		bottom: 16px;
	}
	.contact-rail.rail-right {
		right: 12px;
	}
	.contact-rail.rail-left {
		left: 12px;
	}
	.rail-btn {
		width: 46px;
		height: 46px;
	}
	.rail-no-mobile {
		display: none;
	}
	.split-media::after {
		right: -10px;
		bottom: -10px;
	}
	.split-flip .split-media::after {
		left: -10px;
	}
	.hero-in {
		grid-template-columns: 1fr;
	}
	.hero-copy {
		padding-block: 34px 30px;
	}
	.hero-media {
		order: -1;
		min-height: 260px;
		border-left: none;
		border-bottom: 4px solid var(--gold);
	}
	.hero-media img {
		object-position: 30% 70%;
	}
	.hero-badge {
		width: 60px;
		height: 60px;
		top: 16px;
		left: 16px;
	}
	.hero-badge svg {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 560px) {
	.perks-grid,
	.steps-grid,
	.cats-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-bottom-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.product-actions .btn {
		width: 100%;
	}
	.topbar-contacts {
		gap: 14px;
	}
	.hero-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 430px) {
	.prod-grid,
	.prod-grid-archive,
	.product-related .prod-grid {
		grid-template-columns: 1fr;
	}
}
