/* Lilliput UK - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');
@import 'variables.css';
@import 'components.css';
@import 'mega-menu.css';

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Product page: account for sticky header + product nav when scrolling to anchors */
html:has(body.page-product) {
  scroll-padding-top: calc(var(--header-height) + var(--product-nav-height));
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* Header - base (mega menu has additional styles) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--color-bg);
}

.site-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  display: inline-block;
}

.site-logo img {
  display: block;
  height: 2.25rem;
  width: auto;
}

/* Mobile search – shown only in mobile nav drawer */
.mobile-search {
  display: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
}

/* Home page gradient – sharp angular lines + gentle pastel blobs (darker for legibility) */
.page-home main {
  position: relative;
  /* overflow: hidden removed – was clipping hero carousel; home-bg-lines has its own overflow */
  background:
    radial-gradient(circle at 7% 23%, rgba(191, 219, 254, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 91% 71%, rgba(147, 197, 253, 0.5) 0%, transparent 35%),
    radial-gradient(circle at 63% 14%, rgba(96, 165, 250, 0.45) 0%, transparent 38%),
    radial-gradient(circle at 28% 82%, rgba(186, 230, 253, 0.5) 0%, transparent 45%),
    radial-gradient(circle at 78% 48%, rgba(125, 211, 252, 0.48) 0%, transparent 32%),
    radial-gradient(circle at 42% 55%, rgba(148, 163, 184, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 15% 62%, rgba(100, 116, 139, 0.4) 0%, transparent 36%),
    radial-gradient(circle at 86% 35%, rgba(13, 92, 140, 0.25) 0%, transparent 34%),
    radial-gradient(circle at 55% 88%, rgba(71, 85, 105, 0.35) 0%, transparent 30%),
    radial-gradient(circle at 72% 26%, rgba(148, 163, 184, 0.42) 0%, transparent 33%),
    radial-gradient(circle at 19% 44%, rgba(125, 211, 252, 0.4) 0%, transparent 35%),
    radial-gradient(circle at 95% 92%, rgba(186, 230, 253, 0.48) 0%, transparent 38%),
    radial-gradient(circle at 38% 8%, rgba(96, 165, 250, 0.4) 0%, transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(241, 245, 249, 0.97) 50%, #ffffff 68%),
    #e2e8f0;
}

/* Geometric lines – layered, varying orbits, bold colours */
.home-bg-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-bg-lines__layer {
  position: absolute;
  inset: -50%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Shared mask: shape boundaries (opaque where shapes have color) – larger coverage for more visibility */
.home-bg-lines__layer--1 {
  --mask-1:
    linear-gradient(135deg, black 0%, black 48%, transparent 48%),
    linear-gradient(200deg, black 0%, black 36%, transparent 36%),
    linear-gradient(320deg, black 0%, black 42%, transparent 42%),
    linear-gradient(55deg, black 0%, black 32%, transparent 32%),
    linear-gradient(175deg, black 0%, black 34%, transparent 34%);
}
.home-bg-lines__layer--2 {
  --mask-2:
    linear-gradient(260deg, black 0%, black 32%, transparent 32%),
    linear-gradient(70deg, black 0%, black 40%, transparent 40%),
    linear-gradient(150deg, black 0%, black 24%, transparent 24%),
    linear-gradient(290deg, black 0%, black 34%, transparent 34%),
    linear-gradient(115deg, black 0%, black 26%, transparent 26%);
}
.home-bg-lines__layer--3 {
  --mask-3:
    linear-gradient(25deg, black 0%, black 30%, transparent 30%),
    linear-gradient(235deg, black 0%, black 28%, transparent 28%),
    linear-gradient(340deg, black 0%, black 26%, transparent 26%),
    linear-gradient(100deg, black 0%, black 38%, transparent 38%);
}
.home-bg-lines__layer--4 {
  --mask-4:
    linear-gradient(45deg, black 0%, black 32%, transparent 32%),
    linear-gradient(120deg, black 0%, black 28%, transparent 28%),
    linear-gradient(190deg, black 0%, black 24%, transparent 24%),
    linear-gradient(240deg, black 0%, black 30%, transparent 30%),
    linear-gradient(300deg, black 0%, black 26%, transparent 26%),
    linear-gradient(350deg, black 0%, black 22%, transparent 22%);
}

/* Layer 1 – slow clockwise (720s), neon green + indigo/cyan */
.home-bg-lines__layer--1 {
  background-image:
    linear-gradient(135deg, #0d1a2a 0%, #0f2438 48%, transparent 48%),
    linear-gradient(200deg, #3730a3 0%, #4338ca 36%, transparent 36%),
    linear-gradient(320deg, #0c4a6e 0%, #075985 42%, transparent 42%),
    linear-gradient(55deg, #312e81 0%, #3730a3 32%, transparent 32%),
    linear-gradient(175deg, #0d5c8c 0%, #0369a1 34%, transparent 34%);
  animation: home-lines-orbit-1 720s linear infinite;
}
.home-bg-lines__layer--1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 20%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    transparent 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 95s linear infinite;
  mask-image: var(--mask-1);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-1);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.18) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 95s linear 2s infinite;
  mask-image: var(--mask-1);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-1);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--1::before,
.home-bg-lines__layer--1::after {
  pointer-events: none;
}

/* Layer 2 – slower counter-clockwise (900s) */
.home-bg-lines__layer--2 {
  background-image:
    linear-gradient(260deg, #1e3a8a 0%, #1e40af 32%, transparent 32%),
    linear-gradient(70deg, #4338ca 0%, #4f46e5 40%, transparent 40%),
    linear-gradient(150deg, #0f172a 0%, #1e293b 24%, transparent 24%),
    linear-gradient(290deg, #5b21b6 0%, #7c3aed 34%, transparent 34%),
    linear-gradient(115deg, #0c4a6e 0%, #155e75 26%, transparent 26%);
  animation: home-lines-orbit-2 900s linear infinite;
}
.home-bg-lines__layer--2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 18%,
    rgba(255, 255, 255, 0.14) 38%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.14) 62%,
    transparent 82%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 110s linear 5s infinite;
  mask-image: var(--mask-2);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-2);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.2) 47%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 53%,
    transparent 62%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 110s linear 8s infinite;
  mask-image: var(--mask-2);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-2);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--2::before,
.home-bg-lines__layer--2::after {
  pointer-events: none;
}

/* Layer 3 – medium speed clockwise (540s) */
.home-bg-lines__layer--3 {
  background-image:
    linear-gradient(25deg, #1e3a8a 0%, #2563eb 30%, transparent 30%),
    linear-gradient(235deg, #0369a1 0%, #0ea5e9 28%, transparent 28%),
    linear-gradient(340deg, #0f172a 0%, #334155 26%, transparent 26%),
    linear-gradient(100deg, #3730a3 0%, #4338ca 38%, transparent 38%);
  animation: home-lines-orbit-3 540s linear infinite;
}
.home-bg-lines__layer--3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 22%,
    rgba(255, 255, 255, 0.15) 42%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.15) 58%,
    transparent 78%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 85s linear 3s infinite;
  mask-image: var(--mask-3);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-3);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 48%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 52%,
    transparent 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 85s linear 6s infinite;
  mask-image: var(--mask-3);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-3);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--3::before,
.home-bg-lines__layer--3::after {
  pointer-events: none;
}

/* Layer 4 – extra shapes, brighter indigo/cyan/violet (480s) */
.home-bg-lines__layer--4 {
  background-image:
    linear-gradient(45deg, #4338ca 0%, #6366f1 32%, transparent 32%),
    linear-gradient(120deg, #0ea5e9 0%, #06b6d4 28%, transparent 28%),
    linear-gradient(190deg, #4f46e5 0%, #6366f1 24%, transparent 24%),
    linear-gradient(240deg, #7c3aed 0%, #8b5cf6 30%, transparent 30%),
    linear-gradient(300deg, #0284c7 0%, #0ea5e9 26%, transparent 26%),
    linear-gradient(350deg, #3730a3 0%, #4f46e5 22%, transparent 22%);
  animation: home-lines-orbit-4 480s linear infinite;
}
.home-bg-lines__layer--4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 255, 255, 0.16) 42%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.16) 58%,
    transparent 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 100s linear 4s infinite;
  mask-image: var(--mask-4);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-4);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--4::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.22) 52%,
    transparent 58%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: home-shimmer-sweep 100s linear 10s infinite;
  mask-image: var(--mask-4);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: var(--mask-4);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.home-bg-lines__layer--4::before,
.home-bg-lines__layer--4::after {
  pointer-events: none;
}

@keyframes home-lines-orbit-1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes home-lines-orbit-2 {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes home-lines-orbit-3 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes home-lines-orbit-4 {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Shimmer – subtle light gradient cascades across shapes (85–110s per sweep) */
@keyframes home-shimmer-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

/* Ensure content sits above the animated background layers */
.page-home main > *:not(.home-bg-lines) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-bg-lines__layer,
  .home-bg-lines__layer::before,
  .home-bg-lines__layer::after {
    animation: none !important;
  }
}

/* Page header: fallback background when reduced motion (shapes static but visible) */
@media (prefers-reduced-motion: reduce) {
  .section-page-header {
    background: #0f172a;
  }
}

/* Hero */
.hero {
  padding: var(--space-16) 0;
  background: transparent;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Prevent grid overflow from content min-width (fixes carousel cut-off at some viewports) */
.hero-content,
.hero-visual {
  min-width: 0;
}

.page-home .hero-visual {
  position: relative;
  /* Isolate photo from page background compositing (avoids stray tint from decorative layers). */
  isolation: isolate;
  mix-blend-mode: normal;
}

/* Flat mat behind the photo only (same radius as img) — blocks home-page gradients at edges. */
.page-home .hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: #0f172a;
  z-index: 0;
  pointer-events: none;
}

/*
 * Hero product shots used to use mix-blend-mode: multiply + a violet ::before underlay to “eat”
 * white studio backgrounds. That blended the *entire* bitmap with purple → visible cast and
 * muddy blacks. Keep normal blending only; neutral rim + shadow.
 */
.page-home .hero-visual .hero-image {
  position: relative;
  z-index: 1;
  display: block;
  mix-blend-mode: normal;
  filter: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.28);
}

.page-home .hero-visual .hero-image-placeholder {
  position: relative;
  z-index: 1;
  mix-blend-mode: normal;
  filter: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.28);
}

.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: #ffffff;
  line-height: var(--line-tight);
  margin: 0 0 var(--space-4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-relaxed);
  margin: 0 0 var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
}

.hero-actions .btn-primary {
  background: #ffffff;
  color: var(--color-primary);
}

.hero-actions .btn-primary:hover {
  background: #f0f9ff;
  color: var(--color-primary-dark);
}

.hero-actions .btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-image-placeholder {
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
}

.hero-carousel-inner {
  position: relative;
  min-height: 360px;
}

.hero-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.hero-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-carousel-dot.is-active {
  background: #ffffff;
}

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section-values {
  background: var(--color-bg-alt);
}


/* Content box – core branding theme (glass + neon glow) */
.content-box {
  position: relative;
  background: var(--content-box-bg);
  backdrop-filter: blur(var(--content-box-blur));
  -webkit-backdrop-filter: blur(var(--content-box-blur));
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  border: 1px solid var(--content-box-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Enable smooth interpolation of gradient position */
@property --gx {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --gy {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

/* Neon glow – traces inner perimeter clockwise */
.content-box::before {
  content: '';
  position: absolute;
  inset: 0;
  --gx: 0%;
  --gy: 0%;
  background: radial-gradient(
    circle at var(--gx) var(--gy),
    var(--glow-burst-white) 0%,
    var(--glow-burst-fade) 4%,
    var(--glow-neon-green) 8%,
    var(--glow-neon-yellow) 14%,
    transparent 28%
  );
  pointer-events: none;
  z-index: -1;
  animation: glow-trace var(--glow-duration) linear infinite;
}

/* Neon glow – traces inner perimeter counter-clockwise */
.content-box::after {
  content: '';
  position: absolute;
  inset: 0;
  --gx: 100%;
  --gy: 100%;
  background: radial-gradient(
    circle at var(--gx) var(--gy),
    var(--glow-burst-white) 0%,
    var(--glow-burst-fade) 4%,
    var(--glow-neon-orange) 8%,
    var(--glow-neon-yellow) 14%,
    transparent 28%
  );
  pointer-events: none;
  z-index: -1;
  animation: glow-trace-ccw var(--glow-duration) linear infinite;
}

/* Left glow – vertical only: top to bottom and back */
@keyframes glow-trace {
  0%, 100% { --gx: -8%; --gy: -8%; }
  50% { --gx: -8%; --gy: 108%; }
}

/* Right glow – vertical only: top to bottom and back */
@keyframes glow-trace-ccw {
  0%, 100% { --gx: 108%; --gy: -8%; }
  50% { --gx: 108%; --gy: 108%; }
}

@media (prefers-reduced-motion: reduce) {
  .content-box::before,
  .content-box::after {
    animation: none;
  }
}

.content-box--left {
  text-align: left;
}

.content-box--right {
  text-align: right;
}

.content-box--right .section-header,
.content-box--right .category-grid,
.content-box--right .section-cta {
  margin-left: auto;
  margin-right: 0;
}

/* 50/50 split: links left (first in DOM), text right (second in DOM) */
.content-box--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: start;
}

.products-split__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

/* Accordion – vertical category links */
.products-split__links .accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

.accordion-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.accordion-item.is-open .accordion-trigger {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.accordion-icon {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(-135deg);
}

.accordion-panel {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.accordion-content {
  padding: var(--space-4);
  background: var(--color-bg);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.accordion-image-wrap {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.accordion-category-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--color-bg-alt);
}

.accordion-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 6rem;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border));
}

.accordion-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-body p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
}

.accordion-body .btn-sm {
  align-self: flex-start;
}

@media (max-width: 480px) {
  .accordion-content {
    grid-template-columns: 1fr;
  }
}

.products-split__text {
  text-align: right;
}

.products-split__text h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
}

.products-split__text p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .content-box--split {
    grid-template-columns: 1fr;
  }
  .products-split__text {
    text-align: left;
  }
}

.content-box--left .section-header {
  margin-left: 0;
  margin-right: 0;
}

.section-header--left {
  text-align: left;
  margin: 0 0 var(--space-12);
  max-width: none;
}

.section-header--right {
  text-align: right;
  margin: 0 0 var(--space-12) auto;
  max-width: none;
}

.section-cta--right {
  text-align: right;
  margin-top: var(--space-10);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.intro-content h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-4);
}

.section-intro-lead {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--line-relaxed);
  color: var(--color-text-muted);
}

.intro-image-placeholder {
  aspect-ratio: 16/10;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.intro-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.value-card {
  padding: var(--space-8);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.value-icon {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.value-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.value-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
}

/* Trusted By – scrolling logo carousel */
.section-trusted-by {
  padding: var(--space-12) 0;
  background: var(--color-bg-alt);
}

.trusted-by {
  width: 100%;
  overflow: hidden;
  padding-inline: var(--space-8);
  box-sizing: border-box;
}

.trusted-by-heading {
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-8);
}

/* One wide row (logos × 2); shift by exactly half after layout — see trusted-by-marquee.js */
.trusted-by-track {
  display: inline-flex;
  width: max-content;
  max-width: none;
  backface-visibility: hidden;
  animation: trusted-by-scroll 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .trusted-by {
    overflow: visible;
  }
  .trusted-by-track {
    animation: none;
    margin: 0 auto;
  }
  .trusted-by-logo--repeat {
    display: none !important;
  }
}

/* Pixel shift from JS when set; -50% matches one full logo sequence before first paint */
@keyframes trusted-by-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(var(--trusted-marquee-shift, -50%), 0, 0); }
}

.trusted-by-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-12);
  flex-shrink: 0;
}

.trusted-by-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex-shrink: 0;
}

.trusted-by-logo img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter var(--transition-fast);
}

.trusted-by-logo:hover img {
  filter: grayscale(100%) opacity(1);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Category grid – thumbnails for product categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
}

.category-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.category-card-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.category-card-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-align: center;
  padding: var(--space-4);
}

.category-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0;
  padding: var(--space-4);
  color: var(--color-text);
  text-wrap: balance;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* Product page – final CTA (branding theme) */
.section-product-cta {
  padding: var(--space-12) 0;
}

.product-cta-split {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .product-cta-split:has(.product-cta-col--expert) {
    grid-template-columns: 1fr 1fr;
  }
}

.product-cta-col {
  min-width: 0;
}

.product-cta-block {
  text-align: center;
  padding: var(--space-12) var(--space-10);
}

.product-cta-split:has(.product-cta-col--expert) .product-cta-block--order {
  text-align: left;
}

.product-cta-split:has(.product-cta-col--expert) .product-cta-block--order .product-cta-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 36em;
}

.product-cta-split:has(.product-cta-col--expert) .product-cta-block--order .product-cta-actions {
  justify-content: flex-start;
}

.product-cta-headline--expert {
  margin-bottom: var(--space-3);
}

.product-cta-expert-lead {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
  line-height: var(--line-relaxed);
  text-wrap: balance;
}

.industry-expert-panel--product-cta {
  margin: var(--space-4) auto 0;
  max-width: 22rem;
}

.industry-expert-panel--product-cta .industry-expert-contact {
  align-items: flex-start;
}

.industry-expert-panel--product-cta .industry-expert-phone {
  white-space: normal;
}

.product-cta-expert-industry-link {
  margin: var(--space-5) 0 0;
  font-size: var(--text-sm);
}

.product-cta-expert-industry-link a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.product-cta-expert-industry-link a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.product-cta-headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.product-cta-lead {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 var(--space-6);
  line-height: var(--line-relaxed);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.product-cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Industry grid */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.industry-card {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.industry-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.industry-name {
  font-weight: 600;
  color: var(--color-text);
}

/* CTA block */
.section-cta-block {
  padding: var(--space-16) 0;
}

.cta-block {
  background: var(--color-primary);
  color: white;
  padding: var(--space-16);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-block h2 {
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-3);
}

.cta-block p {
  margin: 0 0 var(--space-6);
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

.cta-block .btn-primary {
  background: white;
  color: var(--color-primary);
}

.cta-block .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.cta-block .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Main content */
main {
  min-height: calc(100vh - var(--header-height) - 200px);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
  margin-top: var(--space-3);
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-contact {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-1);
  line-height: var(--line-tight);
}

.footer-contact a {
  color: var(--color-text-muted);
}

.footer-contact a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-8) auto 0;
  padding: var(--space-6) var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-disclaimer {
  margin: 0;
  font-size: var(--text-xs);
  line-height: var(--line-relaxed);
  color: var(--color-text-muted);
  max-width: 52rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.cookie-banner p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-3);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Page headers – animated geometric shapes (same theme as home-bg-lines) */
.section-page-header {
  position: relative;
  overflow: hidden;
  padding: var(--space-12) 0 var(--space-4) 0;
  background: #0f172a;
}

.section-page-header .container {
  position: relative;
  z-index: 1;
}

.section-page-header h1 {
  font-size: var(--text-3xl);
  margin: 0 0 var(--space-2);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-page-header .page-lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.section-page-header .breadcrumb,
.section-page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.section-page-header .breadcrumb a:hover {
  color: #ffffff;
}

.page-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-end;
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

/* Product category page – 30% filters left, 70% product list right */
.product-category-section {
  padding: var(--space-4) 0 var(--space-8);
}

.product-category-layout {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}

.product-category-filters {
  flex: 0 0 30%;
  max-width: 30%;
  min-width: 0;
}

.product-category-list {
  flex: 1;
  min-width: 0;
}

.product-category-list .product-count {
  margin-bottom: var(--space-2);
}

/* Filters in sidebar: vertical stack instead of horizontal scroll */
.product-category-filters .filter-bar.product-filters {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: var(--space-4);
  overflow: visible;
  padding-bottom: 0;
}

.product-category-filters .filter-group--multiselect {
  width: 100%;
  min-width: 0;
}

/* Space between stacked filter blocks inside a spec group (sidebar) */
.product-category-filters .filter-spec-group-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-4) var(--space-5);
}

.product-category-filters .filter-spec-group-body > .filter-group--multiselect,
.product-category-filters .filter-spec-group-body > .filter-group--range,
.product-category-filters .filter-spec-group-body > .filter-group--category-radios {
  margin: 0;
  width: 100%;
  max-width: none;
}

.product-category-filters .filter-group--category-radios {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-category-filters .filter-group--category-radios .filter-label {
  display: block;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 700;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.product-category-filters .filter-options--stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-2) 0;
}

.product-category-filters .filter-option--radio {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-2) var(--space-4);
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.product-category-filters .filter-option--radio:last-child {
  border-bottom: none;
}

.product-category-filters .filter-option--radio:hover {
  background: rgba(26, 43, 60, 0.04);
}

/* Static product-category.html filter bar in sidebar */
.product-category-filters .filter-bar:not(.product-filters) {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-category-filters .filter-search {
  flex: none;
}

/* Tighter spacing: page header to filters, and filters to product list */
.section-filters {
  padding: var(--space-4) 0;
}

.section-product-list {
  padding-top: var(--space-4);
}

.filter-bar.product-filters {
  margin-bottom: var(--space-2);
}

.section-product-list .product-count {
  margin-bottom: var(--space-2);
}

.filter-search {
  flex: 1;
  min-width: 200px;
}

.filter-group {
  min-width: 140px;
}

.filter-group .form-label {
  margin-bottom: var(--space-1);
}

/* Filter panel – collapsible */
.filter-panel-wrapper {
  position: relative;
}

.filter-panel-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.filter-panel-toggle:hover {
  border-color: var(--color-primary);
  background: rgba(26, 43, 60, 0.04);
}

.filter-panel-toggle-icon {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15em;
  transition: transform var(--transition-fast);
}

.filter-panel-wrapper.is-collapsed .filter-panel-toggle-icon {
  transform: rotate(-135deg);
  margin-top: 0.2em;
}

.filter-panel-wrapper.is-collapsed .filter-bar.product-filters {
  display: none;
}

/* Multi-select filter groups – clustered in boxes, spec-group style. Side-scroll on overflow. */
.filter-bar.product-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-4);
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-2);
}

.filter-bar.product-filters::-webkit-scrollbar {
  height: 6px;
}

.filter-bar.product-filters::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 3px;
}

.filter-bar.product-filters::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.filter-bar.product-filters::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

.filter-group--multiselect {
  flex-shrink: 0;
}

.filter-group--multiselect {
  width: 250px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: start;
}

.filter-group--multiselect .filter-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.filter-group--multiselect .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.filter-group--multiselect .filter-option {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
  background: transparent;
}

.filter-group--multiselect .filter-option:last-child,
.filter-group--multiselect .filter-option:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.filter-group--multiselect .filter-option:nth-child(odd):not(:last-child) {
  border-right: 1px solid var(--color-border);
}


.filter-option {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.filter-option:hover {
  border-color: var(--color-primary);
}

.filter-option input:checked + span {
  font-weight: 500;
}

.filter-option:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(26, 43, 60, 0.06);
}

.filter-option input {
  margin: 0;
}

.filter-reset {
  align-self: flex-end;
}

/* Range slider filter group */
.filter-group--range {
  flex-shrink: 0;
  width: 220px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: visible;
  align-self: start;
}

.filter-group--range .filter-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.filter-range-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.filter-range-values {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.filter-range-sep {
  color: var(--color-text-muted);
}

.filter-range-track {
  position: relative;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 0 0 var(--space-2);
}

.filter-range-fill {
  position: absolute;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Two overlapping range inputs layered on top of each other */
.filter-range-inputs {
  position: relative;
  height: 20px;
}

.filter-range-input {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
  outline: none;
}

.filter-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
  transition: box-shadow var(--transition-fast);
}

.filter-range-input::-webkit-slider-thumb:hover,
.filter-range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.15);
}

.filter-range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
}

.product-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  font-variant-numeric: tabular-nums;
}

/* Products listing – toolbar, applied-filter chips */
.product-category-toolbar {
  margin-bottom: var(--space-2);
}

.product-category-toolbar .product-count {
  margin: 0;
}

.product-active-filters {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.06));
}

.product-active-filters-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.product-active-filters-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.product-filter-clear-all {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}

.product-filter-clear-all:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  min-width: 0;
}

.product-filter-chip-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-filter-chip-item::marker {
  content: none;
}

.product-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  min-height: 2.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.product-filter-chip:hover {
  border-color: var(--color-primary);
  background: rgba(26, 43, 60, 0.05);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.product-filter-chip-text {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: calc(-1 * var(--space-1));
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1;
  font-size: var(--text-lg);
  opacity: 0.55;
  transition: opacity var(--transition-fast), background var(--transition-fast);
}

.product-filter-chip:hover .product-filter-chip-remove {
  opacity: 0.9;
}

.filter-spec-group {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  background: var(--color-bg-alt);
  overflow: hidden;
}

.filter-spec-group:last-child {
  margin-bottom: 0;
}

/* Non-collapsible spec sections on /products/ */
.filter-spec-group-heading {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-bg-alt);
  margin: 0;
}

.filter-spec-group-summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-bg-alt);
  user-select: none;
}

.filter-spec-group-summary::-webkit-details-marker {
  display: none;
}

.filter-spec-group-summary::before {
  content: '';
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-right: var(--space-2);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  vertical-align: 0.1em;
  transition: transform var(--transition-fast);
}

.filter-spec-group[open] .filter-spec-group-summary::before {
  transform: rotate(45deg);
  vertical-align: -0.05em;
}

.filter-spec-group-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.filter-spec-group-body > .filter-group--multiselect,
.filter-spec-group-body > .filter-group--range {
  margin: 0;
}

.product-list-empty-block {
  padding: var(--space-8) var(--space-4);
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.product-list-empty-note {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.product-list-empty-actions {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
}

.product-list-empty-actions a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.product-list-empty-actions a:hover {
  text-decoration: underline;
}

.product-list-empty-sep {
  margin: 0 var(--space-2);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .product-category-layout {
    flex-direction: column;
    gap: var(--space-4);
  }

  .product-category-filters {
    flex: none;
    max-width: none;
    width: 100%;
  }
}

/* Product list – row-based layout */
.product-list--rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-row:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.product-row-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  overflow: hidden;
}

.product-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.product-row-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-row-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
  text-wrap: balance;
}

.product-row-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.product-row-msrp {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.product-row-features {
  margin: var(--space-2) 0 0;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
}

.product-row-features li {
  margin-bottom: var(--space-1);
}

.product-list-empty,
.product-list-error {
  padding: var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
}

/* Product detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.product-gallery-main {
  display: flex;
  justify-content: flex-start;
}

.product-gallery-main .product-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: var(--space-4);
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.product-gallery-main img {
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
}

.product-thumb {
  width: 60px;
  height: 45px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--color-text-light);
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb.active {
  border-color: var(--color-primary);
}

.breadcrumb {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb span {
  margin: 0 var(--space-1);
}

.product-info h1 {
  font-size: var(--text-3xl);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

.product-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
  margin: 0 0 var(--space-6);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Brochure layout – full-width image sequence (replaces classic top section) */
.product-top-section:has(.product-brochure) {
  padding-top: 0;
}

.product-brochure {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-brochure-image {
  width: 100%;
  display: block;
  vertical-align: top;
}

/* Product Navigation Menu - sticky bar below header with quicklinks and purchasing info */
.product-navigation-menu {
  background: rgb(15 23 42);
  color: #fff;
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

.product-navigation-menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
}

.product-navigation-menu-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.product-navigation-menu-name {
  font-weight: 700;
  font-size: var(--text-base);
  margin-right: var(--space-2);
}

.product-navigation-menu-link {
  color: #fff;
  text-decoration: none;
  font-size: var(--text-sm);
  opacity: 0.9;
  transition: text-decoration var(--transition-fast);
}

.product-navigation-menu-link:hover {
  color: #fff;
  text-decoration: underline;
}

.product-navigation-menu-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.product-navigation-menu-msrp {
  font-weight: 700;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}

.product-navigation-menu-action {
  color: #fff;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  opacity: 0.9;
  transition: text-decoration var(--transition-fast);
}

.product-navigation-menu-action:hover {
  color: #fff;
  text-decoration: underline;
}

.product-navigation-menu-action--btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
  min-height: unset;
  vertical-align: baseline;
}

/* Specs */
.section-product-specs {
  background: #fff;
}

.section-product-specs h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
}

.spec-table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-8);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  font-weight: 500;
  color: var(--color-text-muted);
  width: 40%;
}

.product-documents h3 {
  font-size: var(--text-base);
  margin: 0 0 var(--space-2);
}

.product-documents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-documents li {
  margin-bottom: var(--space-1);
}

/* Features + Enquiry – two separate boxes, side by side */
.section-features-enquiry {
  padding: var(--space-16) 0;
}

.features-enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.features-enquiry-grid:not(:has(.features-enquiry-box--features)) .features-enquiry-box--enquiry {
  grid-column: 1 / -1;
}

.features-enquiry-box:not(.content-box) {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.features-enquiry-box h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
}

.product-features-video {
  margin-bottom: var(--space-6);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt);
}

.product-features-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.features-enquiry-box--features .product-features-list {
  margin: 0;
  padding-left: var(--space-6);
  line-height: var(--line-relaxed);
}

.features-enquiry-box--features .product-features-list li {
  margin-bottom: var(--space-2);
}

.features-enquiry-box--enquiry .enquiry-form-header {
  margin-bottom: var(--space-6);
}

.features-enquiry-box--enquiry .enquiry-form-header p {
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .features-enquiry-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Features (legacy - kept for product-features-list) */
.section-product-downloads h2,
.section-compatible-products,
.section-similar-products {
  background: var(--color-bg-alt);
}

.section-compatible-products h2,
.section-similar-products h2,
.section-compare-products h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
}

.product-features-list {
  margin: 0;
  padding-left: var(--space-6);
  line-height: var(--line-relaxed);
}

.product-features-list li {
  margin-bottom: var(--space-2);
}

/* Technical Data – collapsible with Show more/less */
.spec-groups-wrapper {
  position: relative;
  overflow: hidden;
}

.spec-groups-wrapper.is-collapsed {
  max-height: var(--spec-groups-collapsed-height, 200px);
}

.spec-groups-wrapper.is-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.04);
}

.spec-groups-toggle {
  margin-top: var(--space-4);
  text-align: center;
}

.spec-groups-toggle[aria-hidden="true"] {
  display: none;
}

/* Specifications - card layout */
.spec-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.spec-group {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: start;
}

.spec-group-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.spec-group .spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-group .spec-table th,
.spec-group .spec-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.spec-group .spec-table tr:last-child th,
.spec-group .spec-table tr:last-child td {
  border-bottom: none;
}

.spec-group .spec-table th {
  font-weight: 500;
  color: var(--color-text-muted);
  width: 35%;
}

/* Included Accessories */
.product-accessories-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-2);
}

.product-accessories-list li {
  padding-left: var(--space-6);
  position: relative;
}

.product-accessories-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.accessories-spec-group--optional .product-accessories-list li::before {
  content: 'ⓘ';
  font-style: normal;
  font-weight: 400;
  font-family: inherit;
  font-size: 0.9em;
  color: var(--color-text-muted);
}

/* Accessories + Product Downloads – 50/50 layout */

.accessories-downloads-box {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.accessories-downloads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.accessories-downloads-grid--both {
  grid-template-columns: 1fr 1fr;
}

.accessories-downloads-col h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
}

.accessories-spec-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.accessories-spec-group .accessories-spec-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}

.accessories-spec-group .product-accessories-list {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .accessories-downloads-grid {
    grid-template-columns: 1fr;
  }
  .accessories-spec-groups {
    grid-template-columns: 1fr;
  }
}

/* Product Downloads */
.product-downloads-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-download-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.product-download-link:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.product-download-title {
  font-weight: 500;
}

.product-download-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Similar Products - key spec comparison table */
.section-compatible-products .section-lead,
.section-similar-products .section-lead {
  margin: 0 0 var(--space-6);
}

/* Compatible Products – card grid */
.compatible-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

.compatible-product-card {
  display: block;
  padding: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.compatible-product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.compatible-product-thumb {
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-3);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.compatible-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compatible-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.compatible-product-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.compatible-product-badge {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
  line-height: var(--line-relaxed);
}

.compatible-product-relationship {
  font-weight: 600;
  color: var(--color-primary);
}

.compatible-product-interfaces {
  display: block;
  margin-top: 2px;
}

.compatible-product-intro {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
  margin: 0;
}

.similar-compare-wrapper {
  overflow: auto;
  max-height: min(70vh, 800px);
  margin-bottom: var(--space-6);
  -webkit-overflow-scrolling: touch;
}

.similar-compare-table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
}

.similar-compare-table th:first-child,
.similar-compare-table tbody tr:not(.compare-group-row) td:first-child,
.similar-compare-table .compare-group-row th.compare-group-header {
  min-width: 200px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--color-bg);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}

.similar-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--color-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.similar-compare-table thead th:first-child {
  z-index: 4;
  background: var(--color-bg);
}

.similar-compare-table thead th:nth-child(n+2),
.similar-compare-table tbody tr:not(.compare-group-row) td:nth-child(n+2) {
  min-width: 300px;
}

.similar-compare-table .compare-group-row th.compare-group-header {
  font-weight: 600;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-subtle);
  color: var(--color-text);
}

.similar-compare-table .compare-group-row td {
  padding: 0;
  background: var(--color-bg-subtle);
}

.similar-compare-table thead th.compare-col-current {
  font-weight: 600;
  color: var(--color-text);
}

.similar-compare-table thead th.compare-col-current::after {
  content: ' (current)';
  font-weight: 400;
  color: var(--color-text-muted);
}

.similar-compare-cta {
  margin: 0;
}

/* Similar Products table – contrast against section background */
.section-similar-products .compare-table thead th {
  background: var(--color-bg);
}

.section-similar-products .compare-table .compare-spec-header {
  background: var(--color-bg);
}

.section-similar-products .compare-table .compare-group-row th.compare-group-header,
.section-similar-products .compare-table .compare-group-row td {
  background: var(--color-bg-subtle);
}

.section-similar-products .compare-table tbody td {
  background: var(--color-bg);
}

/* Compare Products */
.section-compare-products {
  background: var(--color-bg-alt);
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.compare-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  cursor: pointer;
}

.compare-checkbox input {
  margin: 0;
}

#compare-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

/* Compare page controls */
.compare-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.compare-control-group {
  min-width: 200px;
}

.compare-control-group .form-select {
  width: 100%;
}

/* Compare page table */
.compare-table-wrapper {
  overflow: auto;
  max-height: min(70vh, 800px);
  margin-bottom: var(--space-8);
  -webkit-overflow-scrolling: touch;
}

.compare-table.compare-table--grouped {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.compare-table.compare-table--grouped .compare-spec-col {
  width: 200px;
  min-width: 200px;
}

.compare-table.compare-table--grouped .compare-product-col {
  width: 180px;
  min-width: 180px;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--color-bg-alt);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.compare-table .compare-spec-header {
  position: sticky;
  left: 0;
  z-index: 4;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}

.compare-table .compare-spec-cell,
.compare-table .compare-group-row th.compare-group-header {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--color-bg);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}

.compare-table tbody .compare-spec-cell {
  background: var(--color-bg);
}

.compare-table .compare-group-row th.compare-group-header {
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
  background: var(--color-bg-alt);
}

.compare-table .compare-spec-header {
  vertical-align: middle;
}

.compare-remove-col,
.compare-remove-row {
  margin-left: var(--space-2);
  padding: 0 var(--space-1);
  font-size: var(--text-lg);
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.compare-remove-col:hover,
.compare-remove-row:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.compare-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--color-bg-alt);
  font-weight: 600;
}

.compare-table thead th:first-child {
  min-width: 160px;
}

.compare-table thead th a {
  color: var(--color-text);
}

.compare-table thead th a:hover {
  color: var(--color-primary);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
}

.compare-table .compare-group-row td {
  padding: 0;
  background: var(--color-bg-alt);
}

.compare-table .compare-product-categories-row th {
  text-align: center;
}

.compare-table .compare-product-category-header {
  font-weight: 600;
  color: var(--color-text);
}

.compare-table .compare-spec-category-header {
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
}

.compare-cta {
  margin: 0;
}

.compare-loading,
.compare-empty {
  color: var(--color-text-muted);
  margin: 0;
}

.compare-empty a {
  color: var(--color-primary);
}

.compare-empty a:hover {
  text-decoration: underline;
}

/* Search modal */
.header-search {
  position: relative;
}

.search-modal {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-2);
  z-index: 1000;
  width: 100%;
  min-width: 320px;
  max-width: 420px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 60, 0.35);
  cursor: pointer;
}

/* Keep search box undimmed when results modal is open */
.header-search:has(.search-modal.is-open) .header-search-form {
  position: relative;
  z-index: 1001;
}

.search-modal-dialog {
  position: relative;
  max-height: 360px;
  overflow: hidden;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.search-modal-results {
  overflow-y: auto;
  padding: var(--space-2);
}

.search-modal-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.search-modal-item:hover {
  background: var(--color-bg-alt);
}

.search-modal-item-name {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.search-modal-item-intro {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-tight);
}

.search-modal-empty {
  padding: var(--space-6);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

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

/* Quote modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 60, 0.4);
  cursor: pointer;
}

.quote-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-6) 0;
}

.quote-modal-header h2 {
  font-size: var(--text-xl);
  margin: 0;
}

.quote-modal-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.quote-modal-close:hover {
  color: var(--color-text);
}

.quote-modal-body {
  padding: var(--space-6);
}

.quote-modal-product {
  font-weight: 600;
  margin: 0 0 var(--space-6);
  color: var(--color-text);
}

.quote-modal-quantity {
  margin-bottom: var(--space-6);
}

.quote-modal-touch,
.quote-modal-variants {
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.quote-modal-touch-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quote-modal-touch-spec,
.quote-modal-touch-included {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.quote-modal-touch-included {
  font-style: italic;
}

.quote-modal-quantity .form-label,
.quote-modal-accessories .form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.quantity-btn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: var(--color-bg-alt);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.quantity-btn:hover {
  background: var(--color-bg-subtle);
}

.quantity-input {
  width: 3rem;
  min-width: 0;
  padding: var(--space-2);
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: var(--text-base);
}

.quote-modal-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quote-modal-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  cursor: pointer;
}

.quote-modal-actions {
  margin-top: var(--space-6);
}

.quote-modal-success {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius);
}

.quote-modal-success p {
  margin: 0 0 var(--space-6);
}

/* Quote list page */
.quote-empty {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-8);
}

.quote-empty a {
  color: var(--color-primary);
}

/* Request Quote page – 50% quote table left, 50% form right */
.quote-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.quote-page-layout #quote-form-container .quote-submit-card {
  max-width: none;
}

@media (max-width: 768px) {
  .quote-page-layout {
    grid-template-columns: 1fr;
  }
}

.quote-list-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.quote-list-table {
  width: 100%;
  border-collapse: collapse;
}

.quote-list-table th,
.quote-list-table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.quote-list-table th {
  font-weight: 600;
  color: var(--color-text-muted);
}

.quote-qty-header,
.quote-qty-cell {
  text-align: right;
}

.quote-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.quote-qty-input {
  width: 3.5rem;
  padding: var(--space-2) var(--space-2);
  text-align: right;
  font-size: var(--text-sm);
}

.quote-qty-wrap .quote-qty-input {
  margin-right: 0;
}

.quote-qty-wrap .quote-remove {
  margin: 0;
}

.quote-item-accessories {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}

.quantity-control--small .quantity-btn {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.quantity-control--small .quantity-input {
  width: 2.5rem;
}

.quote-remove {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.quote-remove:hover {
  color: var(--color-accent);
}

.quote-list-actions {
  margin-top: var(--space-6);
}

.quote-submit-card {
  max-width: 640px;
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.quote-submit-card h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
}

.quote-submit-card > p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
}

.quote-loading {
  color: var(--color-text-muted);
  margin: 0;
}

.quote-success-message {
  padding: var(--space-6) 0;
}

.quote-success-message h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
}

.quote-success-message p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Enquiry form */
.section-enquiry {
  padding: var(--space-16) 0;
}

.enquiry-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.enquiry-form-header {
  margin-bottom: var(--space-6);
}

.enquiry-form-header h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
}

.enquiry-form-header p {
  color: var(--color-text-muted);
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-group--checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2em;
}

.form-group--checkbox label span {
  flex: 1;
  min-width: 0;
  line-height: var(--line-relaxed);
  white-space: nowrap;
}

/* Industry detail — job-first discovery */
.section-industry-discovery {
  padding-top: var(--space-6);
  padding-bottom: var(--space-16);
}

.industry-detail-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.industry-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  padding: var(--space-10) var(--space-10);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.industry-detail--split {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: stretch;
}

.industry-detail--discovery {
  padding: var(--space-12) var(--space-10);
}

.industry-expert-aside {
  position: sticky;
  top: calc(var(--header-height, 94px) + var(--space-4));
  align-self: start;
}

.industry-expert-panel--synced {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 100%;
  box-sizing: border-box;
}

.industry-expert-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-border);
}

.industry-expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 600;
  flex-shrink: 0;
}

.industry-expert-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: var(--space-2) 0 0;
}

.industry-expert-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.industry-expert-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-tight);
}

.industry-expert-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-1);
}

.industry-expert-phone,
.industry-expert-email {
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: var(--line-normal);
  color: var(--color-text-muted);
  text-decoration: none;
  word-break: break-all;
}

.industry-expert-phone {
  white-space: nowrap;
}

.industry-expert-phone:hover,
.industry-expert-email:hover {
  color: var(--color-primary);
}

.industry-expert-intro {
  font-size: var(--text-sm);
  line-height: var(--line-relaxed);
  color: var(--color-text-muted);
  margin: var(--space-3) 0 0;
  max-width: 22rem;
}

.industry-expert-panel--placeholder .industry-expert-placeholder-visual {
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

.industry-expert-placeholder-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-3) 0 0;
  line-height: var(--line-relaxed);
}

.industry-detail-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  min-width: 0;
}

.industry-detail-content h2 {
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-3);
}

.industry-detail-content p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  line-height: var(--line-relaxed);
}

.industry-group-set-heading {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.industry-product-group {
  margin: 0;
}

.industry-product-group--discovery {
  margin-top: var(--space-2);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.industry-product-group--discovery:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.industry-product-group-header {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.industry-product-group-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.industry-product-group-intro {
  margin: 0;
  max-width: 52rem;
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  color: var(--color-text-muted);
}

.industry-product-group-count {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.industry-product-group-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: var(--space-4);
  justify-content: start;
}

.industry-product-group-row--discovery {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: var(--space-5);
}

.industry-product-group-row--expanded {
  margin-top: var(--space-4);
}

.industry-product-group-expand {
  margin-top: var(--space-4);
  border: none;
}

.industry-product-group-expand-summary {
  cursor: pointer;
  list-style: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  padding: var(--space-3) 0;
  user-select: none;
}

.industry-product-group-expand-summary::-webkit-details-marker {
  display: none;
}

.industry-product-group-expand-summary::before {
  content: '';
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-right: var(--space-2);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  vertical-align: 0.15em;
  transition: transform var(--transition-fast);
}

.industry-product-group-expand[open] .industry-product-group-expand-summary::before {
  transform: rotate(45deg);
  vertical-align: 0.05em;
}

.industry-product-group-expand-summary:hover {
  text-decoration: underline;
}

.industry-product-group-row .product-card--industry-discovery .product-card-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}

.industry-product-group-row .product-card--industry-discovery .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6rem;
  padding: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.industry-product-group-row .product-card--industry-discovery .product-card-body {
  padding: var(--space-3);
}

.industry-product-group-row .product-card--industry-discovery .product-card-title {
  font-size: var(--text-sm);
  line-height: var(--line-tight);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.industry-product-group-row .product-card--industry-discovery .product-card-meta {
  font-size: var(--text-xs);
  line-height: var(--line-tight);
  margin-top: var(--space-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.industry-product-group-row .product-card--industry-discovery .product-card-msrp {
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: var(--line-tight);
  margin: var(--space-1) 0 0;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Legacy preview class (mega / old markup) */
.industry-product-group-row .product-card--industry-preview .product-card-image {
  aspect-ratio: 4/3;
}

.industry-product-group-row .product-card--industry-preview .product-card-body {
  padding: var(--space-3);
}

.industry-product-group-row .product-card--industry-preview .product-card-title {
  font-size: var(--text-sm);
  line-height: var(--line-tight);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.industry-product-group-row .product-card--industry-preview .product-card-meta {
  font-size: var(--text-xs);
  line-height: var(--line-tight);
  margin-top: var(--space-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .industry-product-group-row,
  .industry-product-group-row--discovery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

.industry-group-empty {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0;
  line-height: var(--line-relaxed);
}

.industry-group-empty a {
  color: var(--color-primary);
}

.industry-detail-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-4);
}

.product-card--compact {
  min-width: 0;
}

.product-card--compact .product-card-image {
  aspect-ratio: 4/3;
}

.product-card--compact .product-card-body {
  padding: var(--space-3);
}

.product-card--compact .product-card-title {
  font-size: var(--text-sm);
}

.industry-no-products {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Where to buy */
/* Where to Buy – 2-column: Resellers (left) | Buy Online (right) */
.where-to-buy-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--space-12);
  align-items: start;
}


.where-to-buy-resellers h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-3);
}

.where-to-buy-resellers > p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
}

.where-to-buy-online {
  padding: var(--space-8);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-height, 94px) + var(--space-4));
  align-self: start;
  height: fit-content;
}

.where-to-buy-online h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-3);
}

.where-to-buy-online p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  line-height: var(--line-relaxed);
}

@media (max-width: 768px) {
  .where-to-buy-layout {
    grid-template-columns: 1fr;
  }

  .where-to-buy-online {
    position: static;
  }
}

.dealers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.dealer-card {
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.dealer-card h3 {
  font-size: var(--text-base);
  margin: 0 0 var(--space-2);
}

.dealer-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-1);
}

.dealers-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Resellers filter bar */
.resellers-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.resellers-filter-bar .filter-group {
  min-width: 140px;
}

.resellers-filter-bar .form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.resellers-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 0 auto;
}

.resellers-empty {
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.resellers-error {
  color: var(--color-text-muted);
  padding: var(--space-6);
}

.resellers-empty--hidden {
  display: none;
}

.resellers-empty a {
  font-weight: 500;
}

/* Reseller cards (replacing dealer-card for dynamic content) */
.reseller-card {
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.reseller-card-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0;
}

.reseller-card-industries {
  list-style: none;
  margin: 0 0 var(--space-2);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.reseller-card-industries li {
  margin: 0;
}

.reseller-card-industry-pill {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.reseller-card-details {
  flex: 1;
}

.reseller-card-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
  line-height: var(--line-normal);
}

.reseller-card-row:last-child {
  margin-bottom: 0;
}

.reseller-card-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-text-muted);
}

.reseller-card-row a {
  color: var(--color-text);
}

.reseller-card-row a:hover {
  color: var(--color-primary);
}

.reseller-card-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
}

.reseller-card-btn svg {
  flex-shrink: 0;
}

.reseller-card-website {
  font-size: var(--text-sm);
  color: var(--color-primary);
  word-break: break-all;
  align-self: flex-start;
}

.reseller-card-website:hover {
  text-decoration: underline;
}

/* Custom form pages (Reseller, RMA, etc.) */
.form-page-wrapper {
  max-width: var(--container-narrow);
}

.form-page-wrapper .custom-form h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-6);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-12);
}

.contact-form-wrapper h2,
.contact-details h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
}

.contact-details h3 {
  font-size: var(--text-base);
  margin: var(--space-6) 0 var(--space-2);
}

.contact-details p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}

.contact-details p a {
  color: var(--color-primary);
}

.contact-details p a:hover {
  text-decoration: underline;
}

.contact-details-reg {
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  color: var(--color-text-light);
}

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

.contact-details li {
  margin-bottom: var(--space-2);
}

/* About */
.about-content h2 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-3);
}

.about-content h2:first-of-type {
  margin-top: 0;
}

.about-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-2);
}

.about-content ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
}

.about-content li {
  margin-bottom: var(--space-2);
  line-height: var(--line-relaxed);
}

.about-content p {
  color: var(--color-text-muted);
  line-height: var(--line-relaxed);
  margin: 0 0 var(--space-4);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-detail {
    grid-template-columns: 1fr;
  }

  .industry-detail--split {
    grid-template-columns: 1fr;
  }

  .industry-expert-aside {
    position: static;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .company-nav {
    display: none;
  }
  
  .header-search {
    display: none;
  }
  
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  
  .primary-nav.is-open {
    display: flex;
  }

  .mobile-search {
    display: block;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-4);
    background: var(--color-bg);
  }

  .mobile-search-form {
    display: flex;
    gap: var(--space-2);
  }

  .mobile-search-input {
    flex: 1;
    min-width: 0;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
  }

  .mobile-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
  }
  
  .nav-item--mega .mega-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    background: var(--color-bg-alt);
    margin: var(--space-2) 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.25s ease, opacity 0.2s, visibility 0.2s;
  }

  .nav-item--mega.is-open .mega-menu {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
  }

  .nav-link-expand {
    display: inline-block;
    margin-left: var(--space-1);
    transition: transform 0.2s;
    font-size: 1.2em;
    line-height: 1;
  }

  .mega-menu-inner--split {
    grid-template-columns: 1fr;
  }

  .mega-filters-panel {
    border-left: none;
    padding-left: 0;
    flex-wrap: wrap;
  }

  .mega-ptz-showcase {
    flex-direction: column;
  }

  .mega-ptz-divider {
    width: 100%;
    height: 1px;
  }

  .mega-ptz-section {
    padding: var(--space-3) 0;
  }

  .mega-ptz-section:first-child {
    padding-top: 0;
  }

  .mega-panel-placeholder {
    display: none !important;
  }

  .nav-item--mega.is-open .nav-link-expand {
    transform: rotate(90deg);
  }

  .nav-item--dropdown .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    background: var(--color-bg-alt);
    margin: var(--space-2) 0;
    padding-left: var(--space-4);
  }
  
  .nav-item--mega .nav-link {
    padding-bottom: var(--space-3);
    margin-bottom: 0;
  }
  
  .mega-categories {
    flex-direction: column;
  }
  
  .mega-category {
    flex-direction: column;
  }
  
  .mega-filters {
    display: flex !important;
    border-left: none;
    margin-left: 0;
    min-width: 0;
    padding-left: var(--space-4);
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: var(--text-2xl);
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .spec-groups {
    grid-template-columns: 1fr;
  }
  
  .industry-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-category-layout {
    flex-direction: column;
  }

  .product-category-filters {
    flex: 1 1 auto;
    max-width: none;
  }

  .product-row {
    grid-template-columns: 1fr;
  }

  .product-row-image {
    aspect-ratio: 16/10;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    gap: var(--space-3);
    text-align: center;
  }

  .footer-disclaimer {
    max-width: none;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    align-self: flex-end;
  }
}

/* --------------------------------------------------------------------------
   Motion: disable CSS animations and transitions site-wide (perf on
   low-powered devices). Exception — customer logo marquee only.
   Hero carousel: no CSS fade + no JS auto-advance (see hero-carousel.js).
   Anchor scrolling: keep document smooth-scroll above; do not override here or
   in-page jumps will teleport. prefers-reduced-motion trims scroll in the
   block after the html { scroll-behavior: smooth } rule.
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}

.section-trusted-by .trusted-by-track {
  animation: trusted-by-scroll 60s linear infinite !important;
}
