/* ==========================================================================
   ELITEX Extintores24 — Industrial Engineering & Safety Specification Theme
   Designed following European industrial catalog guidelines:
   - High-contrast, authentic technical authority (DIN/UNE dossier aesthetics)
   - Large, highly legible typography with clamp() fluid scaling
   - Monospace precision callouts for technical engineering data
   - Zero AI-slop: no generic blur blobs, no purple gradients, no bubbly cards
   ========================================================================== */

:root {
  /* Core Industrial Palette */
  --primary: #0d4378;               /* Deep engineering navy */
  --primary-hover: #072a4e;         /* Dark navy for hover states */
  --primary-container: #1b5a99;     /* Active/accent navy */
  --primary-tint: #eaf1fa;          /* Soft engineering plate tint */
  --primary-tint-subtle: #f2f6fc;
  
  /* Safety & Technical Accents */
  --accent-fire: #c92a2a;           /* Official UNE safety red for fire rating/classes */
  --accent-fire-bg: #fff1f0;
  --accent-battery: #0d7665;        /* Industrial thermal containment teal */
  --accent-battery-bg: #e6f6f3;
  --accent-amber: #b45309;          /* High-visibility industrial amber */
  --accent-amber-bg: #fef3c7;
  
  /* Surfaces & Structural Neutrals */
  --surface: #f4f6fa;               /* Crisp technical background canvas */
  --surface-white: #ffffff;
  --surface-alt: #edf1f7;
  --surface-card: #ffffff;
  --surface-header: rgba(244, 246, 250, 0.96);
  
  /* Technical Grid Lines & Borders */
  --border: #d0d9e5;                /* Crisp technical divider */
  --border-strong: #a8b8cc;
  --border-subtle: #e3e8f0;
  
  /* High-Contrast Typography */
  --text-main: #101c2c;             /* Primary high-contrast technical black */
  --text-muted: #49586d;            /* Clear, readable secondary text */
  --text-dim: #6c7c91;              /* Tertiary metadata */
  --text-on-dark: #f8fafc;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Courier New', monospace;
  
  /* Structural Geometry */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Tactile Physical Shadows */
  --shadow-sm: 0 1px 3px rgba(16, 28, 44, 0.05), 0 1px 2px rgba(16, 28, 44, 0.03);
  --shadow-card: 0 3px 10px rgba(16, 28, 44, 0.06), 0 1px 3px rgba(16, 28, 44, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(16, 28, 44, 0.12), 0 4px 8px -2px rgba(16, 28, 44, 0.05);
  --shadow-dialog: 0 24px 60px -8px rgba(8, 20, 38, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 145px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--surface);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links & Interactive Defaults */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

/* Typography Hierarchy (Larger, Confident, Deliberate) */
h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 12px;
}

p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header & Precision Industrial Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--surface-header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.announcement {
  background-color: var(--primary);
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
}

.nav-row {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-picture {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-icon {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  width: 44px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--shadow-sm);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

.brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--primary);
  display: block;
}

.brand small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 3px;
  font-family: var(--font-mono);
}

nav.links {
  display: flex;
  gap: 6px;
  align-items: center;
}

nav.links a {
  font-size: 14px;
  font-weight: 650;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

nav.links a:hover {
  color: var(--primary);
  background-color: var(--surface-alt);
}

nav.links a.active {
  background-color: var(--primary-tint);
  color: var(--primary);
  border-color: var(--border);
  font-weight: 750;
}

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

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.icon-button:hover {
  border-color: var(--primary);
  background-color: var(--primary-tint-subtle);
  color: var(--primary);
}

.count {
  background-color: var(--accent-fire);
  color: #ffffff;
  border-radius: 4px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 0 5px;
}

.menu-button {
  display: none;
}

/* Proof Bar (Industrial Compliance Ribbon) */
.proof-bar {
  background-color: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.proof-inner span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.proof-inner svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 22px 0 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.breadcrumb span:last-child {
  color: var(--text-main);
  font-weight: 750;
}

/* Eyebrows, Leads and Badges */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}

.lead {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 650px;
}

/* Stamped Industrial Technical Badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
  color: var(--primary);
  background-color: var(--primary-tint);
  border: 1px solid var(--border);
  padding: 6px 11px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.pill.white {
  background-color: #ffffff;
}

.pill svg {
  width: 15px;
  height: 15px;
}

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

.tiny {
  font-size: 13px;
}

/* Action Buttons (Strict Action-Oriented Styling) */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  padding: 13px 22px;
  line-height: 1.4;
  min-height: 48px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.button:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  color: var(--primary);
  background-color: var(--surface-white);
  border-color: var(--border-strong);
}

.button.secondary:hover {
  background-color: var(--primary-tint-subtle);
  border-color: var(--primary);
}

.button.ghost {
  background-color: transparent;
  border-color: var(--border);
  color: var(--primary);
  padding: 10px 16px;
  box-shadow: none;
}

.button.ghost:hover {
  background-color: var(--primary-tint);
  border-color: var(--primary);
}

.button.small {
  padding: 9px 15px;
  font-size: 13px;
  min-height: 40px;
}

.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-button:hover {
  color: var(--primary-hover);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Sections */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section.white {
  background-color: var(--surface-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   CATALOGUE HERO — Asymmetric Engineering Dossier Presentation
   ========================================================================== */
.catalogue-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 52px;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 48px;
}

.catalogue-hero h1 em {
  font-style: normal;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

.catalogue-hero .lead {
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-stats strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

/* Hero Stage (Engineering Plate Showcase) */
.hero-stage {
  min-height: 380px;
  border-radius: var(--radius-md);
  position: relative;
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-images {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 255px;
  gap: 16px;
  padding: 16px 8px 10px;
}

.stage-images img {
  height: 85%;
  width: 29%;
  object-fit: contain;
}

.stage-images img:nth-child(2) {
  height: 100%;
  width: 36%;
  transform: scale(1.04);
}

.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

.stage-foot strong {
  color: var(--accent-battery);
  background-color: var(--accent-battery-bg);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(13, 118, 101, 0.2);
}

/* Featured Strip (F-500 Callout) */
.featured-strip {
  border-radius: var(--radius-md);
  padding: 28px 34px;
  background: linear-gradient(135deg, #092342 0%, #0d3866 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 52px;
  border: 1px solid #1c4b80;
  box-shadow: var(--shadow-card);
}

.featured-strip h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  color: #ffffff;
  margin: 0 0 6px;
}

.featured-strip p {
  font-size: 14px;
  color: #c9ddf7;
  margin: 0;
  line-height: 1.6;
}

.featured-strip .button {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  font-weight: 800;
  flex-shrink: 0;
}

.featured-strip .button:hover {
  background-color: var(--primary-tint);
  color: var(--primary-hover);
}

.feature-icon {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.featured-text {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ==========================================================================
   CATALOGUE AREA & FILTERS
   ========================================================================== */
.catalogue-area {
  padding-bottom: 72px;
}

.catalogue-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-main);
}

.catalogue-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
}

.catalogue-heading .tiny {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Category Tabs (High Contrast, Technical Spec Tabs) */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.category-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 750;
  border: 1px solid var(--border);
  background-color: var(--surface-white);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.category-tabs button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-tint-subtle);
}

.category-tabs button.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.category-tabs button span {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  background-color: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.category-tabs button.active span {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Toolbar & Search */
.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.search-wrap {
  position: relative;
  flex: 1;
}

.search-wrap svg {
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--text-dim);
  width: 20px;
  height: 20px;
}

.search-wrap input {
  padding: 13px 16px 13px 48px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  font-size: 15px;
  color: var(--text-main);
  height: 50px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}

.search-wrap input:focus {
  border-color: var(--primary);
}

select {
  border: 1px solid var(--border);
  background-color: var(--surface-white);
  border-radius: var(--radius-sm);
  padding: 12px 34px 12px 16px;
  font-size: 14px;
  font-weight: 600;
  height: 50px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2349586d'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  -webkit-appearance: none;
  appearance: none;
}

select:focus {
  border-color: var(--primary);
}

.results-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin: 20px 0;
  padding: 0 4px;
}

/* ==========================================================================
   PRODUCT GRID & TECHNICAL SPEC CARDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.card-visual {
  height: 250px;
  position: relative;
  background-color: #ffffff;
  padding: 36px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.card-visual img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .card-visual img {
  transform: scale(1.03);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 750;
  background-color: var(--surface-alt);
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
}

.card-capacity {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-tint);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}

.card-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-family {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.card-body h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 10px;
  min-height: 48px;
  color: var(--text-main);
  line-height: 1.25;
}

.card-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
  min-height: 68px;
}

/* Stamped Spec Grid Inside Card */
.card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.card-specs div {
  background-color: var(--surface);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.card-specs span {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: var(--text-dim);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-specs strong {
  font-size: 14px;
  font-weight: 750;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.card-actions .button {
  flex: 1;
  font-size: 13px;
  padding: 12px 10px;
  min-height: 44px;
}

.source-line {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
  font-family: var(--font-mono);
  display: block;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination button {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  min-width: 44px;
  height: 44px;
  font-size: 14px;
  font-weight: 750;
  font-family: var(--font-mono);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--primary);
  background-color: var(--primary-tint-subtle);
  color: var(--primary);
}

.pagination button.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.empty-state {
  text-align: center;
  grid-column: 1 / -1;
  padding: 64px 32px;
  background-color: var(--surface-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 15px;
  margin-bottom: 20px;
}

/* Download Band */
.download-band {
  background-color: var(--primary-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.download-band h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.download-band p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  max-width: 580px;
  line-height: 1.65;
}

.note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-top: 18px;
}

/* ==========================================================================
   LITHIUM & F-500 PAGE SPECIFIC CRAFT (code.html)
   ========================================================================== */
.lithium-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  padding-bottom: 48px;
}

.gallery-main {
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 510px;
  position: relative;
  box-shadow: var(--shadow-card);
  padding: 76px 36px 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main > img {
  height: 340px;
  width: 100%;
  object-fit: contain;
}

.gallery-badges {
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
}

.gallery-bottom strong {
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.gallery-thumbs button {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  font-size: 13px;
  font-weight: 750;
  min-height: 80px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.gallery-thumbs button img {
  height: 54px;
  width: 40px;
  object-fit: contain;
}

.gallery-thumbs button.active {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
  color: var(--primary);
  background-color: var(--primary-tint);
}

.mini-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.mini-proof strong {
  display: block;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.mini-proof > div + div {
  border-left: 1px solid var(--border);
}

.hero-copy h1 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-top: 16px;
  margin-bottom: 16px;
}

.hero-copy .lead {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.availability {
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.availability strong {
  font-size: 20px;
  font-weight: 800;
  display: block;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 2px;
}

.availability span {
  font-size: 13px;
  color: var(--text-muted);
}

.availability svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.feature-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-pills > div {
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.feature-pills svg {
  color: var(--accent-battery);
  width: 20px;
  height: 20px;
}

.selector-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 12px;
  display: block;
}

.capacity-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.capacity-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 14px 12px;
  background-color: var(--surface-white);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  min-height: 114px;
}

.capacity-option strong {
  font-size: 22px;
  font-weight: 800;
  display: block;
  line-height: 1.15;
  margin: 6px 0 4px;
  font-family: var(--font-mono);
}

.capacity-option small {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  line-height: 1.5;
}

.capacity-option span {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.capacity-option.active {
  background-color: var(--primary-tint);
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-card);
}

.capacity-option.active span {
  color: var(--primary);
}

.selected-summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
  min-height: 38px;
  margin-bottom: 12px;
}

.buy-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.quantity {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  background-color: var(--surface-white);
  box-shadow: var(--shadow-sm);
}

.quantity button {
  border: 0;
  background: none;
  width: 40px;
  height: 48px;
  font-size: 22px;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: var(--text-main);
}

.quantity button:hover:not(:disabled) {
  background-color: var(--surface-alt);
  color: var(--primary);
}

.quantity output {
  width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.buy-row > .button {
  flex: 1;
}

/* Page Tabs (Sticky In-Page Navigation) */
.page-tabs {
  position: sticky;
  top: 118px;
  z-index: 25;
  background-color: var(--surface-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-tabs .container {
  display: flex;
  gap: 36px;
}

.page-tabs a {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 750;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.page-tabs a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Benefit Cards (Technical Principles) */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.benefit {
  padding: 32px 28px;
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.benefit .number {
  float: right;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--border-strong);
}

.benefit .icon-tile {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background-color: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.benefit h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.benefit p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Technical Specification Table */
.tech-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--surface-white);
  box-shadow: var(--shadow-sm);
}

.tech-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 680px;
}

.tech-table caption {
  text-align: left;
  padding: 18px 22px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-alt);
}

.tech-table th,
.tech-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.tech-table thead th {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  vertical-align: top;
}

.tech-table thead small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  opacity: 0.85;
  margin-top: 4px;
}

.tech-table th:first-child {
  width: 32%;
}

.tech-table tbody th {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.tech-table tbody td {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.tech-table tbody tr:nth-child(even) {
  background-color: var(--surface);
}

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

/* ==========================================================================
   Showcase Section (Professional Grade & Firefighter Featured Poster)
   ========================================================================== */
.showcase-section {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 52px;
  align-items: center;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #0b131e;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.showcase-poster {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 896 / 1200;
  object-fit: contain;
}

.showcase-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--surface-white);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.highlight-item:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  background-color: var(--primary-tint);
  color: var(--primary);
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
}

.highlight-item strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.showcase-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Application Grid */
.application-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.application-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #0b131e;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.application-photo-wrap:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.application-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1200 / 896;
  object-fit: contain;
}

.application-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.application-list li {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.application-list li svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.application-list strong {
  font-size: 16px;
  font-weight: 800;
  display: block;
  color: var(--text-main);
  margin-bottom: 4px;
}

.application-list span {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  line-height: 1.6;
}

/* FAQs */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 68px;
}

.faq-layout > .intro p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

details:first-child {
  border-top: 1px solid var(--border);
}

summary {
  list-style: none;
  font-size: 16px;
  font-weight: 750;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

details[open] summary:after {
  content: '−';
}

details p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 14px 28px 0 0;
}

/* Bottom Call to Action */
.bottom-cta {
  background: linear-gradient(135deg, #092342 0%, #0d3866 100%);
  color: #ffffff;
  padding: 42px 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid #1c4b80;
  box-shadow: var(--shadow-card);
}

.bottom-cta h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: #ffffff;
  margin-bottom: 8px;
}

.bottom-cta p {
  color: #c9ddf7;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.bottom-cta .button {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  font-weight: 800;
}

.bottom-cta .button:hover {
  background-color: var(--primary-tint);
}

/* Sticky Action Bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(16, 28, 44, 0.08);
  z-index: 35;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.sticky-product {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.sticky-product img {
  height: 46px;
  width: 32px;
  object-fit: contain;
}

.sticky-product small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-mono);
}

.with-sticky {
  padding-bottom: 90px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  background-color: var(--surface-white);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-about .brand-logo {
  height: 42px;
}

.footer-about p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 16px 0;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 56px;
  font-size: 14px;
}

.footer-links strong {
  font-size: 12px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   MODAL DIALOGS (Detail Specification & Quote Request)
   ========================================================================== */
dialog {
  width: min(780px, calc(100% - 32px));
  max-height: 90dvh;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0;
  color: var(--text-main);
  box-shadow: var(--shadow-dialog);
  background-color: var(--surface-white);
}

dialog::backdrop {
  background: rgba(9, 23, 41, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dialog-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

.dialog-body {
  padding: 28px;
  overflow-y: auto;
  max-height: calc(90dvh - 80px);
}

.detail-top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.detail-top img {
  height: 220px;
  width: 100%;
  object-fit: contain;
}

.detail-top h3 {
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.detail-top p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 24px 0;
}

.detail-specs div {
  background-color: var(--surface-white);
  padding: 14px 16px;
}

.detail-specs dt {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.detail-specs dd {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.quote-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.quote-item img {
  width: 44px;
  height: 66px;
  object-fit: contain;
}

.quote-item .quote-name {
  flex: 1;
  font-size: 14px;
  font-weight: 750;
  color: var(--text-main);
}

.quote-item small {
  font-size: 12px;
  font-weight: 500;
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 3px;
}

.quote-item .quantity output {
  width: 28px;
  font-size: 14px;
}

.quote-item .quantity button {
  width: 32px;
  height: 38px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

label.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

label.form-label input,
label.form-label textarea {
  display: block;
  margin-top: 6px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  font-size: 14px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

label.form-label input:focus,
label.form-label textarea:focus {
  border-color: var(--primary);
}

label.full {
  grid-column: 1 / -1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 95px;
  transform: translateX(-50%);
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 14px 24px;
  background-color: var(--text-main);
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-dialog);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.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;
}

body.modal-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 100;
  background-color: var(--primary);
  color: #ffffff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 750;
  border-radius: var(--radius-xs);
  transition: top 0.2s ease;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .catalogue-hero {
    gap: 36px;
  }
  .lithium-hero {
    gap: 36px;
  }
  .product-grid {
    gap: 18px;
  }
  .card-body {
    padding: 18px;
  }
  .proof-inner span:last-child {
    display: none;
  }
}

@media (max-width: 860px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .nav-row {
    height: 68px;
  }
  .brand-logo {
    height: 36px;
    max-width: 160px;
  }
  .menu-button {
    display: inline-flex;
  }
  .nav-row nav.links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px;
    background-color: var(--surface-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    z-index: 95;
  }
  .nav-row nav.links.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .nav-row nav.links a {
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-weight: 700;
    border: 1px solid var(--border-subtle);
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-row nav.links a.active {
    background: var(--primary-tint);
    border-color: var(--primary-tint-subtle);
    color: var(--primary);
  }
  .catalogue-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 0;
    padding-bottom: 28px;
  }
  .lithium-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery-main {
    min-height: 340px;
    padding: 44px 16px 56px;
  }
  .gallery-main > img {
    max-height: 250px;
  }
  .category-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .category-tabs .tab-button {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .featured-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .featured-strip .button {
    width: 100%;
    justify-content: center;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase-visual {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  .application-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .application-photo {
    height: auto;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bottom-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .footer-main {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    gap: 28px;
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .page-tabs {
    top: 98px;
  }
  .page-tabs .container {
    overflow-x: auto;
    gap: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .page-tabs .container::-webkit-scrollbar {
    display: none;
  }
  .page-tabs a {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tech-table-wrap {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .capacity-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .capacity-option {
    min-height: auto;
  }
}

@media (max-width: 540px) {
  .announcement {
    font-size: 11px;
    letter-spacing: 0.02em;
    padding: 6px 12px;
    text-align: center;
    line-height: 1.35;
  }
  .nav-row {
    height: 60px;
  }
  .brand-logo {
    max-width: 135px;
    height: 30px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .icon-button {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .hero-stats strong {
    font-size: 19px;
  }
  .hero-stats span {
    font-size: 11px;
  }
  .actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .actions .button {
    width: 100%;
    justify-content: center;
  }
  .stage-images {
    height: 165px;
    gap: 8px;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search-wrap {
    flex-basis: 100%;
    width: 100%;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .thumb-button {
    padding: 6px 4px;
    min-height: 60px;
  }
  .buy-row {
    flex-direction: column;
    gap: 8px;
  }
  .buy-row .button {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
  }
  .showcase-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .showcase-actions .button {
    width: 100%;
    justify-content: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  label.full {
    grid-column: auto;
  }
  .detail-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .detail-top img {
    height: 180px;
  }
  .detail-specs {
    grid-template-columns: 1fr;
  }
  .proof-inner {
    justify-content: center;
    font-size: 11px;
  }
  .proof-inner span:nth-child(2),
  .proof-inner span:last-child {
    display: none;
  }
  .sticky-inner {
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .sticky-product small {
    display: none;
  }
  .sticky-product strong,
  .sticky-product span {
    font-size: 13px;
  }
  .sticky-inner .actions {
    flex-direction: row;
    width: auto;
    gap: 6px;
  }
  .sticky-inner .actions .button {
    width: auto;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  dialog {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    max-height: 94dvh;
    margin: auto;
    border-radius: var(--radius-sm);
  }
  .dialog-header {
    padding: 14px 16px;
  }
  .dialog-body {
    padding: 16px 14px;
  }
  .dialog-actions {
    flex-direction: column;
    gap: 8px;
  }
  .dialog-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced Motion & Print Optimization */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .proof-bar,
  .sticky-cta,
  .page-tabs,
  .nav-actions,
  .button,
  .toolbar,
  .category-tabs,
  .pagination,
  dialog,
  .toast,
  .chat-window-wrapper,
  #n8n-chat {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000000;
  }
}

/* ==========================================================================
   n8n Embedded Chat Widget Theming
   ========================================================================== */
:root {
  --chat--color-primary: #0d4378;
  --chat--color-primary-shade-50: #072a4e;
  --chat--color-primary-shade-100: #051c34;
  --chat--color-secondary: #0d4378;
  --chat--toggle--background: #0d4378;
  --chat--toggle--hover--background: #072a4e;
  --chat--toggle--active--background: #051c34;
  --chat--toggle--color: #ffffff;
  --chat--header--background: #0d4378;
  --chat--header--color: #ffffff;
  --chat--window--z-index: 1000;
  --chat--window--bottom: 24px;
  --chat--window--right: 24px;
  --chat--window--border-radius: 8px;
  --chat--border-radius: 8px;
  --chat--font-family: var(--font-sans);
}

body.with-sticky {
  --chat--window--bottom: 84px;
}

@media (max-width: 860px) {
  :root {
    --chat--window--bottom: 16px;
    --chat--window--right: 16px;
  }
  body.with-sticky {
    --chat--window--bottom: 88px;
  }
}

/* ==========================================================================
   ElevenLabs ConvAI Voice Widget (Stacked neatly above n8n chat toggle)
   ========================================================================== */
elevenlabs-convai {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 999 !important;
  transform: translateY(-76px) !important;
}

body.with-sticky elevenlabs-convai {
  transform: translateY(-136px) !important;
}

@media (max-width: 860px) {
  elevenlabs-convai {
    transform: translateY(-72px) !important;
  }
  body.with-sticky elevenlabs-convai {
    transform: translateY(-140px) !important;
  }
}

@media print {
  elevenlabs-convai {
    display: none !important;
  }
}

/* ==========================================================================
   Mobile Dark Mode Preference Support (Showcases logo-white.png only on mobile)
   ========================================================================== */
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  :root {
    --surface: #0b131e;
    --surface-white: #111c2a;
    --surface-alt: #162436;
    --surface-card: #111c2a;
    --surface-header: rgba(11, 19, 30, 0.95);

    --border: #22344a;
    --border-strong: #334b6a;
    --border-subtle: #192738;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --primary-tint: #14243b;
    --primary-tint-subtle: #0f1c2e;
  }

  body {
    background-color: var(--surface);
    color: var(--text-main);
  }

  .site-header {
    background-color: var(--surface-header);
    border-bottom-color: var(--border);
  }

  footer {
    background-color: var(--surface-white);
    border-top-color: var(--border);
  }

  .proof-bar {
    background-color: #0d1a29;
    border-bottom-color: var(--border);
    color: #cbd5e1;
  }

  .announcement {
    background: #071322;
    border-bottom-color: #1a2a3d;
  }

  .sticky-cta {
    background-color: rgba(17, 28, 42, 0.96);
    border-top-color: var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }
}

