:root {
  --navy: #0b1f3a;
  --navy-700: #142c52;
  --blue: #1f5ea8;
  --blue-600: #184a86;
  --gray-50: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-200: #e2e5ea;
  --gray-300: #cbd0d8;
  --gray-500: #6b7688;
  --gray-700: #3d4451;
  --green: #1c8a4b;
  --amber: #b06a00;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 8px 24px rgba(11, 31, 58, 0.12);
  --font-body: "Inter", -apple-system, Segoe UI, sans-serif;
  --font-head: "Poppins", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 12px; color: var(--navy); line-height: 1.25; }
p { margin: 0 0 12px; color: var(--gray-700); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: #cfd8e8;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-links, .topbar-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #cfd8e8; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar svg { width: 14px; height: 14px; }
.action-link { display: inline-flex; align-items: center; gap: 6px; }
.quote-badge {
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 0 6px;
  font-size: 11px;
  min-width: 16px;
  text-align: center;
  display: inline-block;
}

/* Header */
.site-header { border-bottom: 1px solid var(--gray-200); background: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo .mark { width: 34px; height: 34px; background: var(--navy); color: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.logo .mark svg { width: 18px; height: 18px; }
.logo > span { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.logo small { font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--gray-500); letter-spacing: 0.03em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--navy-700); font-weight: 500; font-size: 14.5px; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a.active { color: var(--blue); }
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary.active { color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: var(--navy); padding: 4px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.whatsapp-btn { background: #15803d; color: #fff; }
.whatsapp-btn:hover { background: #116b32; }

/* Hero */
.home-hero {
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.8) 32%, rgba(11, 31, 58, 0.35) 58%, rgba(11, 31, 58, 0.08) 80%),
    url("../images/aircraft/q400-hero-bg.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  color: #fff;
  padding: 64px 0 56px;
}
.home-hero-content { max-width: 820px; margin-left: 0; margin-right: auto; text-align: left; }
.home-hero h1, .home-hero p.lead { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); }
.home-hero .eyebrow { color: #8fb3e0; }
.home-hero h1 { color: #fff; font-size: 34px; max-width: 640px; }
.home-hero p.lead { color: #cfd8e8; font-size: 16px; max-width: 560px; }


.hero-search {
  display: flex;
  gap: 10px;
  margin: 24px 0 28px;
  max-width: 560px;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius);
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.hero-search button { flex-shrink: 0; }

.hero-stats { display: flex; gap: 36px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 24px; color: #fff; }
.hero-stats span { color: #9fb3d1; font-size: 13px; }

/* Section head */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head h1, .section-head h2 { font-size: 28px; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.bg-alt { background: var(--gray-50); }

/* Portal grid (home) */
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: -80px;
  position: relative;
  z-index: 2;
}
.portal-card {
  position: relative;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(31, 94, 168, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 94, 168, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px 28px 28px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.portal-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11, 31, 58, 0.16); }
.portal-card:hover .portal-card-frame { border-color: var(--navy); }
.portal-card--dark:hover .portal-card-frame { border-color: #fff; }
.portal-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
}
.portal-card--dark::before { background: #fff; opacity: 0.25; }
.portal-card h3 { font-size: 19px; margin-bottom: 8px; position: relative; z-index: 1; }
.portal-card p { font-size: 14px; margin-bottom: 20px; position: relative; z-index: 1; }

.portal-card-num {
  position: absolute;
  right: 12px;
  bottom: -22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 128px;
  line-height: 1;
  color: rgba(31, 94, 168, 0.07);
  pointer-events: none;
  user-select: none;
}
.portal-card--dark .portal-card-num { color: rgba(255, 255, 255, 0.06); }

.portal-card-code {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Courier New", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 18px;
}
.portal-card-code::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.portal-card--dark .portal-card-code { color: #8fb3e0; }
.portal-card--dark .portal-card-code::before { background: #8fb3e0; }

.portal-card-frame {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(31, 94, 168, 0.4);
  border-radius: var(--radius);
  color: var(--blue);
  margin: 0 0 18px 1px;
  transition: border-color 0.18s ease;
}
.portal-card-frame::before,
.portal-card-frame::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: var(--blue);
  transition: border-color 0.18s ease;
}
.portal-card-frame::before { top: -1.5px; left: -1.5px; border-top: 2.5px solid; border-left: 2.5px solid; }
.portal-card-frame::after { bottom: -1.5px; right: -1.5px; border-bottom: 2.5px solid; border-right: 2.5px solid; }
.portal-card-frame svg { width: 26px; height: 26px; }
.portal-card-frame + h3 {
  position: relative;
  padding-top: 14px;
}
.portal-card-frame + h3::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 29px;
  width: 1px;
  height: 18px;
  background: repeating-linear-gradient(to bottom, rgba(31, 94, 168, 0.5) 0 3px, transparent 3px 6px);
}
.portal-card--dark .portal-card-frame { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.portal-card--dark .portal-card-frame::before,
.portal-card--dark .portal-card-frame::after { border-color: #fff; }
.portal-card--dark .portal-card-frame + h3::before { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0 3px, transparent 3px 6px); }
.portal-card .btn svg { width: 16px; height: 16px; }
.portal-card .btn { position: relative; z-index: 1; }

.portal-card--dark {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  border-color: var(--navy);
  color: #fff;
}
.portal-card--dark h3 { color: #fff; }
.portal-card--dark p { color: #c3cee2; }
.portal-card--dark .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.portal-card--dark .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.portal-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.portal-links-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin-bottom: 14px; }
.portal-links-grid ul li { margin-bottom: 10px; }
.portal-links-grid a { color: var(--navy-700); font-size: 14.5px; }
.portal-links-grid a:hover { color: var(--blue); }

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-card:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; }
.cat-card .part-icon-tile { flex-shrink: 0; }
.cat-card strong { display: block; font-size: 14.5px; }
.cat-card span { font-size: 12.5px; color: var(--gray-500); }

/* Process grid */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card { text-align: left; }
.process-card .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.process-card h4 { font-size: 16px; }
.process-card p { font-size: 14px; }

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--navy);
  color: #fff;
  padding: 32px 36px;
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.cta-band h3 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: #cfd8e8; margin: 0; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-outline:hover { border-color: #fff; }

/* Part icon tile */
.part-icon-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.part-icon-tile svg { width: 26px; height: 26px; }
.part-icon-tile.small { width: 40px; height: 40px; }
.part-icon-tile.small svg { width: 20px; height: 20px; }
.part-icon-tile.large { width: 100%; height: 220px; border-radius: var(--radius); }
.part-icon-tile.large svg { width: 72px; height: 72px; }

/* Featured parts / cards */
.featured-grid, .parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.part-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.part-thumb { position: relative; height: 180px; overflow: hidden; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.part-thumb .part-icon-tile { width: 100%; height: 100%; border-radius: 0; padding: 18px; box-sizing: border-box; }
.part-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.part-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.part-cat { font-size: 11.5px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.03em; }
.part-card h4 { font-size: 15px; margin: 2px 0 0; }
.part-pn { font-family: "Courier New", monospace; font-size: 13px; color: var(--blue); }
.part-meta { font-size: 12.5px; color: var(--gray-500); }
.part-price { font-size: 16px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.part-price.on-request { font-size: 13px; font-weight: 600; color: var(--gray-500); }
.part-stock { font-size: 12.5px; color: var(--green); font-weight: 600; margin-top: 4px; }
.part-stock.out { color: var(--amber); }
.part-footer { display: flex; gap: 8px; margin-top: 12px; }
.part-footer .btn-primary { flex: 1; }

.badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.badge-new { background: #e2f3e8; color: var(--green); }
.badge-oh { background: #fdf0dc; color: var(--amber); }
.badge-repaired { background: #e0e7ff; color: #4338ca; }
.badge-tested { background: #dbeafe; color: #1d4ed8; }
.badge-inspected { background: #f3e8ff; color: #7e22ce; }
.part-thumb .badge { position: absolute; top: 14px; left: 14px; }

/* Filter bar */
.catalog-intro { padding-bottom: 0; }
.catalog-body { padding-top: 32px; }
.filter-bar {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.field label { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.03em; }
.field select, .field input, select, input[type=text], input[type=tel], input[type=email], input[type=search], textarea {
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  outline: none;
  background: #fff;
}
.field select:focus, .field input:focus, textarea:focus, select:focus { border-color: var(--blue); }
.results-count { margin-left: auto; font-size: 13px; color: var(--gray-500); align-self: center; }

/* Empty state */
.empty-state { text-align: center; padding: 56px 20px; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--gray-100); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.icon-circle svg { width: 26px; height: 26px; }

/* Footer */
.site-footer { background: var(--navy); color: #b7c3da; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.footer-logo .mark { width: 30px; height: 30px; background: rgba(255,255,255,0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.site-footer p { color: #9fb0cc; font-size: 13.5px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 9px; font-size: 13.5px; }
.site-footer a { color: #b7c3da; }
.site-footer a:hover { color: #fff; }
.icon-wrap { display: inline-flex; margin-right: 6px; vertical-align: middle; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12.5px;
  color: #8496b5;
}

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,31,58,0.55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 28px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--gray-500); }
.part-summary { display: flex; align-items: center; gap: 12px; background: var(--gray-50); padding: 12px; border-radius: var(--radius); margin-bottom: 18px; }

/* Forms */
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form label { font-size: 13px; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 6px; }
.quote-form textarea { min-height: 80px; resize: vertical; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; margin: 0; }
.form-success { display: none; text-align: center; padding: 12px 0; }
.form-success h4 { margin-top: 8px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-list li:last-child { margin-bottom: 0; }
.info-list strong { display: block; font-size: 14px; }
.info-list span { font-size: 13.5px; color: var(--gray-700); }

/* Quote list page */
.quote-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.quote-line:last-child { border-bottom: none; }
.quote-line-body { flex: 1; }
.quote-line-body h4 { font-size: 14.5px; margin: 0 0 4px; }
.qty-stepper { display: flex; align-items: center; gap: 10px; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 4px 10px; }
.qty-stepper button { background: none; border: none; font-size: 16px; color: var(--navy); width: 20px; }
.quote-remove { background: none; border: none; color: var(--gray-500); padding: 6px; }
.quote-remove:hover { color: #c0392b; }
.quote-summary { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 2px solid var(--gray-200); margin-top: 4px; font-weight: 600; }

/* About page */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.stat-row { display: flex; gap: 32px; margin-top: 24px; }
.stat-row strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--navy); }
.stat-row span { font-size: 12.5px; color: var(--gray-500); }
.value-list li { display: flex; gap: 16px; margin-bottom: 20px; }
.value-list .num { font-family: var(--font-head); font-weight: 700; color: var(--gray-300); font-size: 20px; }
.value-list strong { display: block; margin-bottom: 4px; font-size: 14.5px; }
.value-list p { font-size: 13.5px; margin: 0; }

/* Part detail page */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray-500); margin-bottom: 24px; }
.pd-header { border-bottom: 1px solid var(--gray-200); padding-bottom: 20px; margin-bottom: 20px; }
.pd-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); font-weight: 600; }
.pd-partnumber { font-family: "Courier New", monospace; font-size: 22px; color: var(--blue); margin: 4px 0; }
.pd-name { font-size: 20px; font-weight: 600; color: var(--navy); }
.pd-badges { display: flex; gap: 10px; margin-bottom: 20px; }
.pd-badges .badge { position: static; }
.pd-price { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.pd-price.on-request { font-size: 17px; color: var(--gray-500); }
.pd-price span { font-size: 13px; font-weight: 500; color: var(--gray-500); margin-left: 6px; }
.pd-image .part-icon-tile { background: var(--gray-50); border: 1px solid var(--gray-200); width: 100%; height: 260px; border-radius: var(--radius); }
.pd-image .part-icon-tile svg { width: 72px; height: 72px; }
.pd-image .part-photo { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.pd-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pd-field { background: var(--gray-50); border-radius: var(--radius); padding: 16px; }
.pd-value { font-size: 14.5px; font-weight: 600; }
.inventory-card { margin-top: 26px; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; }
.inventory-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.inventory-head h3 { margin: 0; font-size: 16px; }
.availability { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.availability.in-stock { background: #e2f3e8; color: var(--green); }
.availability.out-stock { background: #fbe4e1; color: #c0392b; }
.stock-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stock-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--gray-500); padding: 8px 0; border-bottom: 1px solid var(--gray-200); }
.stock-table td { padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.stock-table td.qty { font-weight: 700; color: var(--green); }
.stock-table td.qty.zero { color: var(--amber); }
.pd-actions { display: flex; gap: 12px; margin-top: 24px; }

/* Responsive */
@media (max-width: 960px) {
  .portal-grid, .about-grid, .contact-grid, .process-grid, .pd-meta-row { grid-template-columns: 1fr; }
  .cat-grid, .featured-grid, .parts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    gap: 14px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 16px 32px rgba(11, 31, 58, 0.18);
    z-index: 60;
  }
  .main-nav.open { display: flex; }
  .main-nav .btn { margin-top: 4px; text-align: center; }
  .header-inner { position: relative; }
  .portal-grid { margin-top: 24px; }
  .cat-grid, .featured-grid, .parts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .topbar-inner { flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 8px; align-items: flex-start; }
  .home-hero h1 { font-size: 26px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-search { flex-direction: column; }
}
.pd-image-note { font-size: 12.5px; color: var(--gray-500); margin: 8px 0 0; }

/* Product page (static SEO pages) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd-intro { font-size: 15px; line-height: 1.7; color: var(--gray-700); max-width: 820px; margin: 22px 0; }
.spec-table { width: 100%; max-width: 820px; border-collapse: collapse; margin: 0 0 26px; font-size: 14.5px; }
.spec-table th { text-align: left; width: 34%; color: var(--gray-500); font-weight: 600; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--gray-200); }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--gray-200); color: var(--navy); font-weight: 500; }
.related-title { font-size: 20px; margin: 44px 0 18px; }
.related-more { margin-top: 18px; font-weight: 600; }
a.part-thumb { display: block; }
.part-card-title { font-size: 15px; margin: 2px 0 0; }
.part-card-title a { color: var(--navy); }
.part-card-title a:hover { color: var(--blue); text-decoration: none; }
.pd-image .part-photo { max-height: 420px; }

/* Category pages + static category link lists */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.parts-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.parts-table th { text-align: left; background: var(--gray-50); color: var(--gray-500); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.parts-table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-100); color: var(--navy); }
.parts-table td:first-child a { font-family: "Courier New", monospace; font-weight: 700; }
.parts-table tr:last-child td { border-bottom: none; }
.parts-table tbody tr:hover { background: var(--gray-50); }
.cat-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.cat-link-grid a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); color: var(--navy); font-weight: 500; font-size: 14.5px; }
.cat-link-grid a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.cat-link-grid a span { color: var(--gray-500); font-weight: 400; }
.cat-links-section { background: var(--gray-50); }
.cat-links-section h2 { font-size: 22px; margin-bottom: 18px; }
@media (max-width: 960px) { .cat-link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cat-link-grid { grid-template-columns: 1fr; } }
