:root {
  --navy: #0e2354;
  --navy-mid: #10295a;
  --blue: #0755b4;
  --blue-dark: #044391;
  --coral: #ff555c;
  --coral-dark: #e64249;
  --surface: #ffffff;
  --surface-soft: #f6f9fe;
  --surface-tint: #edf4ff;
  --text: #1a2942;
  --muted: #5d708c;
  --line: #e2e9f4;
  --line-strong: #c8d6ea;
  --shadow-sm: 0 4px 14px rgba(14, 35, 84, 0.05);
  --shadow-md: 0 14px 34px rgba(14, 35, 84, 0.09);
  --shadow-lg: 0 28px 70px rgba(8, 22, 54, 0.24);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

#home, #categories, #featured, #about, #products, #contact {
  scroll-margin-top: 108px;
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==================== Utility Top Bar ==================== */
.utility {
  background: var(--navy);
  color: #ffffff;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 4px 0;
}

.utility-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.utility-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  transition: color 0.16s;
}

.utility-contact a:hover {
  color: #ffffff;
}

.utility-contact svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
  color: #8ab8ff;
  flex-shrink: 0;
}

.utility-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.utility-separator {
  opacity: 0.45;
}

/* ==================== Sticky Header ==================== */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(14, 35, 84, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
  padding: 8px 0;
}

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

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-wordmark strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-wordmark small {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  line-height: 1;
}

.header-right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #263754;
  padding: 4px 0;
  transition: color 0.16s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-search {
  height: 38px;
  display: flex;
  border: 1.5px solid #cbd7ea;
  border-radius: 999px;
  overflow: hidden;
  width: min(370px, 100%);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(14, 35, 84, 0.05);
  transition: border-color 0.16s, box-shadow 0.16s;
}

.header-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 85, 180, 0.12);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font-size: 13px;
  color: var(--text);
  background: transparent;
}

.header-search input::placeholder {
  color: #8a9bb3;
}

.header-search button {
  width: 44px;
  background: var(--navy);
  color: #ffffff;
  border: 0;
  display: grid;
  place-items: center;
  transition: background-color 0.16s;
}

.header-search button:hover {
  background: var(--blue);
}

.header-search svg {
  width: 17px;
  height: 17px;
}

.menu-btn {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ==================== Hero Banner ==================== */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero-wide-banner {
  position: relative;
  width: 100%;
  line-height: 0;
  background: var(--navy);
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 2027 SAGE Rated Supplier badge positioned inside banner top-left, aligned with hero typography */
.hero-banner-badge-wrap {
  position: absolute;
  left: 2.9%;
  top: 6.4%;
  width: clamp(116px, 12.2%, 184px);
  z-index: 6;
  padding: 0;
  background: transparent;
  border: 0;
  line-height: 0;
  filter: drop-shadow(0 4px 12px rgba(7, 19, 45, 0.35));
}

.hero-banner-badge {
  display: block;
  width: 100%;
  height: auto;
}

/* Transparent interactive hotspot aligned over baked-in red View Products button */
.hero-banner-product-link {
  position: absolute;
  left: 2.9%;
  top: 66.4%;
  width: 22.9%;
  height: 10.0%;
  z-index: 5;
  border-radius: 999px;
  cursor: pointer;
  transition: box-shadow 0.18s, background-color 0.18s;
}

.hero-banner-product-link:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.hero-banner-product-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Matching real HTML Request a Quote CTA beside View Products */
.hero-banner-quote-link {
  position: absolute;
  left: 27.2%;
  top: 66.4%;
  width: 17.8%;
  height: 10.0%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(226, 236, 252, 0.85);
  border-radius: 999px;
  background: rgba(14, 35, 84, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: clamp(12px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(7, 19, 45, 0.28);
  transition: background-color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.hero-banner-quote-link:hover {
  background: var(--blue);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 19, 45, 0.36);
}

.hero-banner-quote-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Mobile Hero */
.hero-mobile-only {
  display: none;
}

.hero-mobile-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(125deg, #091c3b 0%, #113569 70%, #184984 100%);
  color: #ffffff;
}

.hero-mobile-badge-wrap {
  position: absolute;
  left: 20px;
  top: 18px;
  width: 130px;
  z-index: 5;
  padding: 0;
  background: transparent;
  border: 0;
  line-height: 0;
  filter: drop-shadow(0 4px 10px rgba(7, 19, 45, 0.35));
}

.hero-mobile-badge {
  display: block;
  width: 100%;
  height: auto;
}

.hero-products-image {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: 50% 48%;
  display: block;
}

.hero-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a1e40 0%, #0d2a56 38%, rgba(13, 42, 86, 0.95) 48%, rgba(13, 42, 86, 0.25) 72%, rgba(13, 42, 86, 0.08) 100%);
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  padding: 84px 20px 24px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 2px;
  font-size: 10.5px;
  font-weight: 800;
  color: #b8d6ff;
  margin-bottom: 12px;
}

.kicker-line {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
}

.hero-overlay h1 {
  font-size: clamp(28px, 7.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.9px;
  margin: 0 0 10px;
}

.hero-overlay p {
  font-size: 16px;
  line-height: 1.45;
  color: #e4effd;
  margin: 0 0 20px;
  max-width: 380px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #cfe0f8;
}

.hero-meta b {
  color: #ffffff;
}

.hero-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

/* ==================== Buttons ==================== */
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13.5px;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, border-color 0.15s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.3;
}

.btn-primary {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(255, 85, 92, 0.26);
}

.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: rgba(14, 35, 84, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-blue {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 85, 180, 0.18);
}

.btn-blue:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: var(--surface-tint);
  color: var(--blue);
  border: 1px solid #cce0fb;
}

.btn-secondary:hover {
  background: #dfecff;
}

/* ==================== Highlights Strip ==================== */
.highlights-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.highlight-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.highlight-item span:last-child {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* ==================== Section Common ==================== */
.section-pad {
  padding: 72px 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

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

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.9px;
  line-height: 1.18;
  margin: 0 0 8px;
  color: var(--navy);
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.section-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.16s, transform 0.16s;
}

.section-link:hover {
  color: var(--navy);
  transform: translateX(2px);
}

/* ==================== Category Grid ==================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  color: var(--navy);
}

.category:hover {
  transform: translateY(-4px);
  border-color: #9ec0ee;
  box-shadow: var(--shadow-md);
}

.category-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f6f4;
  overflow: hidden;
  border-bottom: 1px solid #eef2f8;
}

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

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

.category-body {
  padding: 15px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.category-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.category strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  transition: color 0.16s;
}

.category:hover strong {
  color: var(--blue);
}

.category small {
  font-size: 12px;
  color: var(--muted);
}

.category-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background-color 0.16s, color 0.16s, transform 0.16s;
}

.category:hover .category-arrow {
  background: var(--blue);
  color: #ffffff;
  transform: translateX(2px);
}

/* ==================== Product Grid & Cards ==================== */
.featured-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #bdd3f2;
  box-shadow: var(--shadow-md);
}

.product-photo {
  position: relative;
  height: 210px;
  background: #ffffff;
  border-bottom: 1px solid #f0f4fa;
  padding: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.product-photo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.05);
}

.prod-code {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(244, 248, 255, 0.94);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 6px;
  color: #465d7d;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.3px;
}

.image-fallback {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f7fd, #e7effb);
  border-radius: 10px;
  color: #8ea3c0;
  font-weight: 600;
  font-size: 11.5px;
  gap: 8px;
}

.image-fallback .fallback-mark {
  font-weight: 900;
  font-size: 32px;
  color: #7ca4da;
}

.product-info {
  padding: 16px 17px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 10px;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.1px;
  display: block;
  margin-bottom: 7px;
}

.product-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 14px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.product-title:hover {
  color: var(--blue);
}

.product-bottom {
  margin-top: auto;
  border-top: 1px solid #eef2f8;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-bottom small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}

.product-bottom b {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.card-cta {
  border: 0;
  border-radius: 8px;
  height: 34px;
  padding: 0 12px;
  background: var(--surface-tint);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.16s, color 0.16s;
}

.product-card:hover .card-cta {
  background: var(--blue);
  color: #ffffff;
}

/* ==================== About Section ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.about-card {
  border-radius: 24px;
  min-height: 420px;
  padding: 40px 28px 32px;
  background: linear-gradient(138deg, #0e2354 0%, #103575 55%, #0755b4 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.about-ring-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -120px;
}

.about-ring-2 {
  width: 300px;
  height: 300px;
  right: -90px;
  bottom: -90px;
}

.about-seal {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
}

.about-seal img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.24));
}

.about-meta-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #ffffff;
}

.about-meta-kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #b9d7ff;
  margin-bottom: 4px;
}

.about-meta-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.about-certifications {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #ffffff;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.5px;
  margin: 0 0 14px;
}

.about-highlights {
  margin: 24px 0 28px;
  display: grid;
  gap: 14px;
}

.about-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.about-step span {
  font-size: 12px;
  font-weight: 800;
  color: var(--coral);
  background: #fff0f1;
  border-radius: 7px;
  padding: 5px 8px;
  flex-shrink: 0;
}

.about-step strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 2px;
}

.about-step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==================== Catalog Section ==================== */
.catalog-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.total-pill {
  font-size: 12.5px;
  background: var(--surface-tint);
  color: var(--blue);
  border: 1px solid #cce0fb;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.quick-family-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.family-pill {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #364b6b;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.family-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.family-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.catalog-sidebar {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 112px;
}

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

.sidebar-header h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.reset-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 4px;
}

.reset-link:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group label {
  display: block;
  color: #3c506d;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 7px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  outline: 0;
  border: 1px solid #cfdced;
  background: #ffffff;
  border-radius: var(--radius-sm);
  height: 40px;
  font-size: 13px;
  padding: 0 12px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 85, 180, 0.1);
}

.help-panel {
  background: var(--surface-tint);
  border-radius: 10px;
  padding: 16px 15px;
  margin-top: 22px;
  border-left: 3px solid var(--coral);
}

.help-panel b {
  display: block;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 5px;
}

.help-panel p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 10px;
}

.help-panel a {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.help-panel a:hover {
  text-decoration: underline;
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 18px;
  padding: 10px 16px;
  min-height: 52px;
  font-size: 13px;
  color: var(--muted);
}

.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-tint);
  color: var(--navy);
  border: 1px solid #cce0fb;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.filter-chip button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  padding: 0 2px;
  line-height: 1;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #4b5f7e;
  margin-left: auto;
}

.sort-control select {
  border: 1px solid #d5e0ef;
  border-radius: 7px;
  padding: 6px 10px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 600;
  outline: none;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-grid .product-photo {
  height: 196px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pager button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d5e0ef;
  background: #ffffff;
  color: var(--navy);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.pager button:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

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

.pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pager .pager-ellipsis {
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
}

.empty-state b {
  display: block;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
}

.empty-state p {
  margin: 0 0 18px;
  font-size: 14px;
}

/* ==================== Contact Section ==================== */
.contact-section {
  background: linear-gradient(180deg, #edf4ff 0%, #f5f9ff 100%);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.contact-copy > p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
  margin: 16px 0 26px;
}

.contact-lines {
  display: grid;
  gap: 14px;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s, border-color 0.16s;
}

.contact-card-link:hover {
  transform: translateY(-2px);
  border-color: #a8c6f0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--surface-tint);
  display: grid;
  place-items: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-link span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card-link small {
  font-size: 9.5px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 1.4px;
}

.contact-card-link b {
  font-size: 15px;
  color: var(--navy);
}

.contact-credentials {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--blue);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d2e2f8;
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.field-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.quote-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: #324664;
  display: block;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea,
.quote-form input,
.quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d4dfef;
  outline: none;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 400;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 85, 180, 0.1);
}

.contact-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-form-actions .btn-blue {
  flex: 1;
}

.form-disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 12px 0 0;
}

/* ==================== Footer ==================== */
.site-footer {
  background: var(--navy);
  color: #f0f5ff;
  padding-top: 56px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  align-items: start;
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.footer-brand b {
  font-size: 18px;
  color: #ffffff;
}

.footer-brand p {
  max-width: 310px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #b7c8e6;
  margin: 10px 0 12px;
}

.footer-ids {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: #dbe9ff;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-contact {
  align-items: flex-end;
  text-align: right;
}

.site-footer h4 {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 6px;
}

.site-footer a,
.footer-region {
  font-size: 13px;
  color: #b8cceb;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  color: #7eb2ff;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  color: #8fa8d0;
  font-size: 11.5px;
}

/* ==================== Modals ==================== */
.modal:not([open]) {
  display: none;
}

.modal {
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  background: transparent;
  color: var(--text);
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 44, 0.72);
  backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  width: min(1040px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: sticky;
  float: right;
  top: 12px;
  right: 12px;
  z-index: 10;
  margin: 12px 12px -50px auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.modal-close:hover {
  background: var(--surface-tint);
  color: var(--blue);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  padding: 34px 28px 30px;
}

.detail-hero {
  height: 360px;
  padding: 16px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.detail-hero img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbs {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.thumbs button {
  border: 1px solid var(--line);
  background: #ffffff;
  width: 62px;
  height: 62px;
  border-radius: 9px;
  padding: 4px;
  transition: border-color 0.15s;
}

.thumbs button.active {
  border: 2px solid var(--blue);
}

.thumbs img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.detail-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sku-line {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 1px;
}

.copy-sku-btn {
  border: 1px solid #cce0fb;
  background: var(--surface-tint);
  color: var(--blue);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.copy-sku-btn:hover {
  background: #dcebff;
}

.detail-right h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 8px 0 12px;
}

.detail-right > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}

.detail-section {
  padding: 14px 0;
  border-top: 1px solid #edf2f8;
}

.detail-section h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
}

/* Horizontal B2B 6-tier quantity pricing strip */
.tier-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: center;
}

.tier-table th {
  background: var(--surface-tint);
  color: var(--navy);
  font-weight: 700;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tier-table td {
  padding: 10px 10px;
  font-weight: 800;
  color: var(--blue);
  background: #ffffff;
  white-space: nowrap;
}

.tier-table th:first-child,
.tier-table td:first-child {
  text-align: left;
  padding-left: 12px;
  color: var(--muted);
  font-weight: 700;
  background: #fafcff;
  border-right: 1px solid var(--line);
}

.spec {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eef3f9;
  font-size: 12.5px;
  line-height: 1.55;
}

.spec:last-child {
  border-bottom: 0;
}

.spec span:first-child {
  color: var(--muted);
  font-weight: 600;
}

.spec span:last-child {
  color: var(--text);
}

.detail-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.quote-panel {
  max-width: 650px;
}

.quote-inner {
  padding: 32px 30px;
}

.quote-inner h2 {
  font-size: 24px;
  color: var(--navy);
  margin: 6px 0;
}

.quote-inner > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

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

.quote-form .wide {
  grid-column: 1 / -1;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.quote-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 10px;
}

.quote-preview {
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: #3a5270;
  max-height: 170px;
  overflow: auto;
  margin: 0;
}

.quote-status {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
}

/* ==================== Toast ==================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ==================== Responsive ==================== */
@media (max-width: 1100px) {
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid,
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 720px);
  }
  .utility-in {
    flex-wrap: wrap;
    padding: 6px 0;
    gap: 6px 14px;
  }
  .utility-contact {
    gap: 14px;
    font-size: 11.5px;
  }
  .utility-right {
    font-size: 10.5px;
  }
  .header-inner {
    min-height: 76px;
  }
  .brand-logo {
    width: 56px;
    height: 56px;
  }
  .brand-wordmark strong {
    font-size: 17px;
  }
  .brand-wordmark small {
    font-size: 7.5px;
    letter-spacing: 1.2px;
  }
  .header-right {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 20px 22px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(14, 35, 84, 0.14);
    align-items: stretch;
    gap: 16px;
  }
  .header-right.open {
    display: flex;
  }
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .header-search {
    width: 100%;
  }
  .menu-btn {
    display: block;
  }
  .hero-wide-banner {
    display: none;
  }
  .hero-mobile-only {
    display: block;
  }
  .section-pad {
    padding: 54px 0;
  }
  .about-grid,
  .contact-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-nav,
  .footer-contact {
    align-items: center;
    text-align: center;
  }
  .footer-brand {
    order: -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    padding: 26px 18px 24px;
  }
  .detail-hero {
    height: 250px;
  }
}

@media (max-width: 540px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-body {
    padding: 11px 12px 12px;
  }
  .category strong {
    font-size: 13.5px;
  }
  .category-arrow {
    display: none;
  }
  .product-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-photo,
  .catalog-grid .product-photo {
    height: 152px;
    padding: 10px;
  }
  .product-info {
    padding: 12px;
  }
  .product-title {
    font-size: 12.5px;
    min-height: 36px;
  }
  .product-bottom b {
    font-size: 14.5px;
  }
  .card-cta {
    padding: 0 8px;
    height: 30px;
    font-size: 11px;
  }
  .field-double,
  .quote-form {
    grid-template-columns: 1fr;
  }
  .quote-form .wide {
    grid-column: auto;
  }
  .contact-form,
  .quote-inner {
    padding: 22px 18px;
  }
  .spec {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}


.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 250;
  padding: 10px 16px;
  background: white;
  color: var(--navy);
}
:focus-visible {
  outline: 3px solid #1769bd;
  outline-offset: 3px;
}
.modal::backdrop { background: transparent; }
.modal.is-covered { visibility: hidden; }
.modal-panel, .detail-grid > *, .catalog-main, .contact-grid > *, .contact-card-link span:last-child { min-width: 0; }
.contact-card-link b { overflow-wrap: anywhere; }
.modal-panel { overscroll-behavior: contain; }
.detail-header-row { padding-right: 30px; }
.tier-wrap { max-width: 100%; }
.filter-chip { max-width: 100%; overflow-wrap: anywhere; }
.filter-chip button { flex: none; }
.copy-manual { width: 100%; margin-top: 8px; padding: 8px; }
@media (max-width: 540px) {
  .modal { padding: 8px; }
  .product-bottom { flex-wrap: wrap; row-gap: 6px; }
  .product-bottom b { overflow-wrap: anywhere; }
  .tier-wrap:focus-visible { outline-offset: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
