/* ==========================================================================
   SS Mega Menu — Catalog Navigator
   Rebuilt for large-format, tonal-elevation, no-box-in-box hierarchy.
   Type: IBM Plex Sans. Blue: Enterprise Cobalt #1d4ed8.
   ========================================================================== */

.ss-mega-panel--catalog {
  --ss-cobalt: #1d4ed8;
  --ss-ink: #0f172a;
  --ss-text: #475569;
  --ss-muted: #64748b;
  --ss-soft: #f8fafc;
  --ss-hover: #f1f5f9;
  --ss-line: #e2e8f0;
  box-sizing: border-box;
  width: 100%;
  background: #ffffff;
  color: var(--ss-text);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14), 0 6px 18px rgba(15, 23, 42, 0.06);
}

.ss-mega-panel--catalog *,
.ss-mega-panel--catalog *::before,
.ss-mega-panel--catalog *::after {
  box-sizing: border-box;
  border-radius: 0;
}

/* Top anchor — no line, spacing only. */
.ss-mega-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px 0;
  margin-bottom: 18px;
}

.ss-mega-topbar__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ss-cobalt);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ss-mega-topbar__kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ss-cobalt);
}

.ss-mega-flat-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ss-ink);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.ss-mega-flat-all span {
  color: var(--ss-cobalt);
  transition: transform 140ms ease;
}

.ss-mega-flat-all:hover span {
  transform: translateX(2px);
}

/* Two-column body. Left rail is tonal, not boxed. */
.ss-mega-catalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: stretch;
}

.ss-mega-directory {
  background: var(--ss-soft);
  padding: 14px 14px 22px;
  min-width: 0;
}

.ss-mega-directory__eyebrow {
  display: block;
  margin: 2px 8px 12px;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ss-mega-brand-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ss-mega-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 10px 10px 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.ss-mega-brand-link__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ss-mega-brand-link__count {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 24px;
  padding: 1px 6px;
  background: #e2e8f0;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

.ss-mega-brand-link:hover {
  color: var(--ss-ink);
  background: var(--ss-hover);
}

.ss-mega-brand-link.is-active {
  color: var(--ss-ink);
  background: #ffffff;
  box-shadow: inset 3px 0 0 var(--ss-cobalt);
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__count {
  background: #e5edfd;
  color: var(--ss-cobalt);
}

/* Right stage — no line prisons, only air. */
.ss-mega-stage {
  min-width: 0;
  padding: 14px 28px 0;
  display: flex;
  align-items: stretch;
}

.ss-mega-series-panel {
  display: none;
  width: 100%;
  flex-direction: column;
}

.ss-mega-series-panel.is-active {
  display: flex;
}

.ss-mega-stage-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ss-mega-stage-hero__title {
  min-width: 0;
}

.ss-mega-stage-hero h2 {
  margin: 0;
  color: var(--ss-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.ss-mega-stage-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ss-cobalt);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.ss-mega-stage-all span {
  transition: transform 140ms ease;
}

.ss-mega-stage-all:hover span {
  transform: translateX(2px);
}

/* Series — pure typographic rhythm, no bullets. */
.ss-mega-series {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ss-mega-series__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ss-mega-series-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 2px 22px;
}

.ss-mega-series-list a {
  display: block;
  padding: 8px 8px 8px 0;
  color: var(--ss-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  transition: color 140ms ease;
}

.ss-mega-series-list a:hover {
  color: var(--ss-cobalt);
}

.ss-mega-series-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
}

.ss-mega-series-empty p {
  margin: 0;
  color: var(--ss-muted);
  font-size: 13px;
}

.ss-mega-series-empty a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ss-cobalt);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

/* Featured inventory — spotlight cards, real hardware dignity. */
.ss-mega-featured {
  margin-top: 22px;
}

.ss-mega-featured__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ss-mega-featured__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ss-mega-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #eef2f6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 26px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.ss-mega-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 16px 34px rgba(15, 23, 42, 0.10);
}

.ss-mega-product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  padding: 12px;
  background: #ffffff;
  overflow: hidden;
}

.ss-mega-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ss-mega-product__name {
  padding: 10px 12px 12px;
  color: var(--ss-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.ss-mega-product__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #16a34a;
  font-size: 10.5px;
  font-weight: 500;
}

.ss-mega-product__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* SPARE PARTS — integrated base, no hard cut line. */
.ss-mega-spare-parts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 16px 28px 20px;
  background: var(--ss-soft);
}

.ss-mega-spare-parts__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ss-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ss-mega-spare-parts__label::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--ss-cobalt);
}

.ss-mega-spare-parts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  min-width: 0;
}

.ss-mega-spare-parts__links a {
  color: var(--ss-text);
  font-size: 12.5px;
  font-weight: 400;
  text-decoration: none;
  transition: color 140ms ease;
}

.ss-mega-spare-parts__links a:hover {
  color: var(--ss-cobalt);
}

.ss-mega-spare-parts__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ss-cobalt);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Focus */
.ss-mega-flat-all:focus-visible,
.ss-mega-brand-link:focus-visible,
.ss-mega-stage-all:focus-visible,
.ss-mega-series-list a:focus-visible,
.ss-mega-series-empty a:focus-visible,
.ss-mega-spare-parts__links a:focus-visible,
.ss-mega-spare-parts__all:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.4);
  outline-offset: 3px;
}

/* Blocksy integration */
.menu-item.ct-mega-menu-custom-width > .sub-menu {
  position: absolute !important;
  top: 100% !important;
  transform: none !important;
  left: 0;
  right: auto;
  width: 100%;
  min-width: 0;
  max-width: 1180px;
  margin: 0 !important;
  padding: 6px 0 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 1000 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 110ms ease, visibility 110ms ease;
}

/* Geometry is set by ss-mega-menu-init.js as custom properties. This keeps
 * runtime positioning declarative instead of writing a dozen inline styles. */
.menu-item.ct-mega-menu-custom-width.ss-mega-ready > .sub-menu {
  left: var(--ss-mega-left, 0);
  width: var(--ss-mega-width, 100%);
  min-width: var(--ss-mega-width, 0);
  max-width: var(--ss-mega-width, 1180px);
}

.menu-item.ct-mega-menu-custom-width > .sub-menu > .ss-mega-submenu-content {
  display: block !important;
  width: 100%;
}

.menu-item.ct-mega-menu-custom-width.ct-active > .sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.menu-item.ct-mega-menu-custom-width .ss-mega-panel {
  display: block !important;
  width: 100%;
  min-width: 0;
  max-width: none;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ss-mega-product,
  .ss-mega-flat-all span,
  .ss-mega-stage-all span,
  .ss-mega-series-list a,
  .ss-mega-spare-parts__links a {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .ss-mega-catalog {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .ss-mega-stage {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ss-mega-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ss-mega-series-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   V17 — remove flat colour blocks; pure white surfaces, cobalt accent only
   ========================================================================== */
.ss-mega-directory {
  background: transparent !important;
}

.ss-mega-spare-parts {
  background: transparent !important;
}

.ss-mega-brand-link {
  background: transparent !important;
}

.ss-mega-brand-link:hover {
  background: transparent !important;
  color: #0f172a !important;
}

.ss-mega-brand-link.is-active {
  background: transparent !important;
  color: #0f172a !important;
}

.ss-mega-brand-link__count {
  background: transparent !important;
  color: #64748b !important;
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__count {
  background: transparent !important;
  color: #1d4ed8 !important;
}

/* ==========================================================================
   V18 — build spatial structure with hairlines; pin product stock to bottom
   ========================================================================== */
.ss-mega-topbar {
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.ss-mega-directory {
  border-right: 1px solid #eef2f6;
  background: transparent !important;
}

.ss-mega-stage-hero {
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.ss-mega-featured {
  border-top: 1px solid #eef2f6;
  padding-top: 18px;
}

.ss-mega-spare-parts {
  border-top: 1px solid #eef2f6;
  background: transparent !important;
}

/* Product cards equal-height; stock row stays bottom-aligned. */
.ss-mega-featured__grid {
  align-items: stretch;
}

.ss-mega-product {
  height: 100%;
}

.ss-mega-product__name {
  flex: 1 1 auto;
  padding-bottom: 10px;
}

.ss-mega-product__stock {
  margin-top: auto;
  padding: 0 12px 12px;
}

/* Brand focus eyebrow — a useful data line, not a duplicate brand label. */
.ss-mega-stage-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

/* ==========================================================================
   V19 — Enterprise Cobalt Clarity: exact hover/active/type states
   ========================================================================== */
.ss-mega-brand-link {
  font-weight: 500;
  color: #334155;
}

.ss-mega-brand-link:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.ss-mega-brand-link.is-active {
  background: #eff6ff !important;
  box-shadow: inset 3px 0 0 #1d4ed8 !important;
  color: #0f172a !important;
}

.ss-mega-brand-link__count {
  background: #e2e8f0 !important;
  color: #475569 !important;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__count {
  background: #ffffff !important;
  color: #1d4ed8 !important;
}

.ss-mega-stage-hero h2 {
  font-weight: 600;
  color: #0f172a;
}

.ss-mega-stage-eyebrow {
  color: #64748b;
}

.ss-mega-series-list a {
  color: #475569;
  line-height: 1.6;
}

.ss-mega-series-list a:hover {
  color: #1d4ed8;
}

.ss-mega-spare-parts__links a {
  color: #475569;
}

.ss-mega-spare-parts__links a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   V20 — remove number colour blocks; unified enterprise action links
   ========================================================================== */
.ss-mega-brand-link__count {
  background: transparent !important;
  padding: 0 !important;
  min-width: 0 !important;
  color: #94a3b8 !important;
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.ss-mega-brand-link__count::before {
  content: "(";
}

.ss-mega-brand-link__count::after {
  content: ")";
}

.ss-mega-brand-link:hover .ss-mega-brand-link__count,
.ss-mega-brand-link.is-active .ss-mega-brand-link__count {
  color: #64748b !important;
  background: transparent !important;
}

/* Primary brand action: square ghost control, not a bare link. */
.ss-mega-stage-all {
  padding: 7px 10px;
  border: 1px solid #dbe4f5;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ss-mega-stage-all:hover {
  background: #f8fafc;
  border-color: #1d4ed8;
  color: #1d4ed8;
}

/* Secondary action for spare parts. */
.ss-mega-spare-parts__all {
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ss-mega-spare-parts__all:hover {
  background: #f8fafc;
  border-color: #1d4ed8;
  color: #1d4ed8;
}

/* ==========================================================================
   V21 — remove dash ornaments; precision cobalt indicator; refined type scale
   ========================================================================== */
.ss-mega-topbar__kicker::before,
.ss-mega-spare-parts__label::before {
  content: none !important;
  display: none !important;
}

.ss-mega-topbar__kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.ss-mega-spare-parts__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
}

/* Precision left indicator: short, centered, 3px cobalt, square corners kept. */
.ss-mega-brand-link.is-active {
  position: relative;
  background: rgba(29, 78, 216, 0.04);
  box-shadow: none !important;
}

.ss-mega-brand-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: #1d4ed8;
}

/* Resting link: clean text link, no hard border box. */
.ss-mega-stage-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.ss-mega-stage-all:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.ss-mega-stage-all span {
  transition: transform 140ms ease;
}

.ss-mega-stage-all:hover span {
  transform: translateX(3px);
}

.ss-mega-spare-parts__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

.ss-mega-spare-parts__all:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

/* Type scale polish */
.ss-mega-stage-hero h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
}

.ss-mega-stage-eyebrow,
.ss-mega-series__eyebrow,
.ss-mega-featured__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
}

.ss-mega-series-list a {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  color: #334155;
}

.ss-mega-series-list a:hover {
  color: #1d4ed8;
}

.ss-mega-product__name {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.ss-mega-product__stock {
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
}

.ss-mega-product__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* Spare parts links: light neutral tags, square corners kept. */
.ss-mega-spare-parts__links {
  gap: 8px;
}

.ss-mega-spare-parts__links a {
  padding: 6px 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 400;
}

.ss-mega-spare-parts__links a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

/* ==========================================================================
   V22 — breathable micro-capsules + ghost-pill actions + 4-level type scale
   ========================================================================== */
/* Spare parts: soft micro-capsules, no grey borders. */
.ss-mega-spare-parts__links a {
  padding: 5px 10px;
  border: 0;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.ss-mega-spare-parts__links a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

/* Ghost-pill actions: clean resting text, soft hover pill, moving arrow. */
.ss-mega-stage-all,
.ss-mega-spare-parts__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}

.ss-mega-stage-all:hover,
.ss-mega-spare-parts__all:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.ss-mega-stage-all span,
.ss-mega-spare-parts__all span {
  transition: transform 140ms ease;
}

.ss-mega-stage-all:hover span,
.ss-mega-spare-parts__all:hover span {
  transform: translateX(3px);
}

/* 4-level type hierarchy */
.ss-mega-brand-link__name {
  color: #334155;
  font-weight: 500;
}

.ss-mega-brand-link:hover .ss-mega-brand-link__name,
.ss-mega-brand-link.is-active .ss-mega-brand-link__name {
  color: #0f172a;
}

.ss-mega-brand-link__count {
  color: #64748b;
}

.ss-mega-stage-hero h2 {
  color: #0f172a;
  font-weight: 600;
}

.ss-mega-series__eyebrow,
.ss-mega-featured__eyebrow,
.ss-mega-stage-eyebrow {
  color: #64748b;
}

.ss-mega-series-list a {
  color: #334155;
}

.ss-mega-series-list a:hover {
  color: #1d4ed8;
}

.ss-mega-product__name {
  color: #0f172a;
  font-weight: 500;
}

/* Precision cobalt indicator: 3px, centered, soft right corners. */
.ss-mega-brand-link.is-active::after {
  border-radius: 0 2px 2px 0;
}

/* ==========================================================================
   V23 — floating depth, product pedestal, breathing rhythm, trust seal
   ========================================================================== */
/* Floating surface: layered ambient shadow + hairline ring. */
.ss-mega-panel--catalog {
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 45px -10px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

/* Product pedestal: soft grey-blue base, larger media, hardware weight. */
.ss-mega-product {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.07);
}

.ss-mega-product:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 18px 36px rgba(15, 23, 42, 0.11);
}

.ss-mega-product__media {
  height: 118px;
}

.ss-mega-product__spec {
  padding: 0 12px 12px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Breathing rhythm: lead series item reads as current flagship. */
.ss-mega-series-list li:first-child a {
  color: #0f172a;
  font-weight: 500;
}

/* Trust assurance strip. */
.ss-mega-assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 28px 18px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ss-mega-assurance span[aria-hidden="true"] {
  color: #cbd5e1;
}

/* ==========================================================================
   V24 — Swiss-grid compression: tighter scale, integrated trust footer
   ========================================================================== */
.ss-mega-panel--catalog {
  padding: 0;
}

.ss-mega-topbar {
  padding: 14px 24px 0;
  margin-bottom: 14px;
}

.ss-mega-catalog {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
}

.ss-mega-directory {
  padding: 12px 12px 18px;
}

.ss-mega-brand-link {
  min-height: 32px;
  padding: 6px 10px 6px 12px;
  font-size: 13px;
}

.ss-mega-stage {
  padding: 12px 24px 0;
}

.ss-mega-stage-hero {
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.ss-mega-stage-hero h2 {
  font-size: 20px;
}

.ss-mega-stage-eyebrow,
.ss-mega-series__eyebrow,
.ss-mega-featured__eyebrow {
  margin-bottom: 8px;
}

.ss-mega-series-list {
  gap: 1px 16px;
}

.ss-mega-series-list a {
  padding: 6px 6px 6px 0;
  font-size: 13px;
  line-height: 1.5;
}

.ss-mega-featured {
  margin-top: 16px;
  padding-top: 12px;
}

.ss-mega-featured__grid {
  gap: 12px;
}

.ss-mega-product__media {
  height: 92px;
  padding: 10px;
}

.ss-mega-product__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 8px 10px 6px;
  font-size: 12.5px;
}

.ss-mega-product__spec {
  padding: 0 10px 10px;
}

/* Spare parts: plain text chain, no pill boxes. */
.ss-mega-spare-parts {
  margin-top: 16px;
  padding: 12px 24px 12px;
  gap: 14px;
}

.ss-mega-spare-parts__links {
  gap: 6px;
}

.ss-mega-spare-parts__links a {
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #475569;
  font-size: 12px;
  font-weight: 400;
}

.ss-mega-spare-parts__links a + a::before {
  content: "·";
  margin-right: 6px;
  color: #94a3b8;
}

.ss-mega-spare-parts__links a:hover {
  background: transparent !important;
  color: #1d4ed8;
}

/* Integrated enterprise trust footer. */
.ss-mega-assurance {
  padding: 12px 24px 14px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  justify-content: center;
}

/* ==========================================================================
   V25 — restore consistent series color + hover for the first item
   ========================================================================== */
.ss-mega-series-list li:first-child a {
  color: #334155;
  font-weight: 400;
}

.ss-mega-series-list li:first-child a:hover {
  color: #1d4ed8;
  font-weight: 400;
}

/* ==========================================================================
   V26 — golden-ratio rebuild: 22/78 split, compact series, 1:1.15 cards,
         single integrated footer
   ========================================================================== */
.ss-mega-catalog {
  grid-template-columns: 260px minmax(0, 1fr);
}

.ss-mega-directory {
  padding: 14px 14px 20px;
}

.ss-mega-brand-link {
  min-height: 34px;
  padding: 7px 10px 7px 12px;
}

.ss-mega-stage {
  padding: 14px 24px 0;
}

.ss-mega-stage-hero {
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.ss-mega-stage-hero h2 {
  font-size: 20px;
  line-height: 1.1;
}

.ss-mega-stage-eyebrow {
  margin-bottom: 4px;
}

/* SERIES: compact horizontal wrap with neutral separators. */
.ss-mega-series-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  max-height: none;
  margin: 0;
}

.ss-mega-series-list li {
  display: inline-flex;
  align-items: center;
}

.ss-mega-series-list li + li::before {
  content: "·";
  margin: 0 9px;
  color: #94a3b8;
}

.ss-mega-series-list a {
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

/* Product cards: near-square pedestal ratio. */
.ss-mega-featured {
  margin-top: 14px;
  padding-top: 12px;
}

.ss-mega-featured__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ss-mega-product {
  aspect-ratio: 1 / 1.15;
  min-height: 0;
}

.ss-mega-product__media {
  height: auto;
  flex: 1 1 60%;
  min-height: 0;
  padding: 14px;
}

.ss-mega-product__name {
  flex: 0 0 auto;
  padding: 8px 12px 4px;
}

.ss-mega-product__stock {
  padding: 0 12px 8px;
}

.ss-mega-product__spec {
  padding: 0 12px 10px;
}

/* Single integrated footer base. */
.ss-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.ss-mega-spare-parts,
.ss-mega-assurance {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.ss-mega-spare-parts {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ss-mega-assurance {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   V27 — precision header, series chips matrix, baseline-aligned products
   ========================================================================== */
/* Pure grey micro-header, no blue block. */
.ss-mega-topbar__kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 0;
}

/* SERIES as independent chip matrix, not a dot string. */
.ss-mega-series-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ss-mega-series-list li {
  display: block;
}

.ss-mega-series-list li + li::before {
  content: none;
}

.ss-mega-series-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.ss-mega-series-list a:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.ss-mega-series-name {
  min-width: 0;
}

.ss-mega-series-count {
  color: #64748b;
  font-size: 11px;
  font-weight: 400;
}

.ss-mega-series-list a:hover .ss-mega-series-count {
  color: #1d4ed8;
}

/* Product pedestal: fixed image frame, bottom baseline, fixed title slot. */
.ss-mega-product__media {
  height: 130px;
  flex: 0 0 130px;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 14px 0;
}

.ss-mega-product__media img {
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.ss-mega-product__name {
  height: 38px;
  flex: 0 0 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 6px 12px 0;
}

.ss-mega-product__stock {
  flex: 0 0 auto;
  padding: 6px 12px 0;
}

.ss-mega-product__spec {
  padding: 4px 12px 10px;
}

/* ==========================================================================
   V28 — attached flyout (gap 0) + breathing rhythm per pixel spec
   ========================================================================== */
.menu-item.ct-mega-menu-custom-width > .sub-menu {
  padding: 0 0 0 !important;
}

.ss-mega-topbar {
  padding: 26px 28px 0;
  margin-bottom: 18px;
}

.ss-mega-topbar__kicker {
  letter-spacing: 0.1em;
  color: #64748b;
}

.ss-mega-featured {
  margin-bottom: 30px;
}

.ss-mega-footer {
  padding: 16px 24px;
}

/* Anchor PRODUCTS to the flyout with a 2px cobalt underline. */

/* ==========================================================================
   V29 — choose Option 1: vertically-centered top utility bar; tighten
         product-to-footer clearance to 24px
   ========================================================================== */
.ss-mega-topbar {
  height: 44px;
  padding: 0 28px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f6;
}

.ss-mega-topbar__kicker {
  line-height: 1;
  margin: 0;
}

.ss-mega-featured {
  margin-bottom: 24px !important;
}

/* ==========================================================================
   V30 — de-clutter footer: separate slim spare-parts row + trust anchor
   ========================================================================== */
.ss-mega-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: transparent;
  border-top: 0;
}

.ss-mega-spare-parts {
  height: 40px;
  padding: 0 24px;
  border-top: 1px solid #eef2f6;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ss-mega-spare-parts__links {
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
}

.ss-mega-spare-parts__links a {
  color: #475569;
}

.ss-mega-assurance {
  padding: 10px 24px;
  background: #f8fafc;
  border-top: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hardware pedestal backing: subtle grey stage + soft drop shadow. */
.ss-mega-product {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 26px rgba(15, 23, 42, 0.07);
}

.ss-mega-product__media {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
}

/* ==========================================================================
   V31 — restore integrated single-row footer (undo V30 footer split)
   ========================================================================== */
.ss-mega-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.ss-mega-spare-parts {
  height: auto;
  padding: 0;
  border-top: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ss-mega-assurance {
  padding: 0;
  background: transparent;
  border-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   V32 — simplify card metadata; melt panel into header without top border
   ========================================================================== */
.ss-mega-product__spec {
  display: inline-flex;
  width: fit-content;
  padding: 2px 7px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ss-mega-panel--catalog {
  border-top: 0 !important;
  box-shadow:
    0 24px 48px -12px rgba(0, 16, 40, 0.18),
    0 6px 16px rgba(0, 16, 40, 0.06);
}

/* Keep the PRODUCTS -> panel bridge crisp. */

/* ==========================================================================
   V33 — Option B: full-width header baseline + precise floating control cabin
   ========================================================================== */
/* Full-width cold grey baseline on the header bottom. */
.ct-header [data-row="middle"] {
  border-bottom: 1px solid #e2e8f0 !important;
}

/* PRODUCTS stays anchored by the 2px cobalt bridge. */

/* Mega panel becomes an independent, precise control cabin: full border + depth. */
.ss-mega-panel--catalog {
  border: 1px solid #e2e8f0 !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow:
    0 24px 60px -12px rgba(0, 16, 40, 0.22),
    0 10px 24px rgba(0, 16, 40, 0.08);
}

/* ==========================================================================
   V34 — move REFURBISHED to image corner; bottom keeps only In Stock
   ========================================================================== */
.ss-mega-product__media {
  position: relative;
}

.ss-mega-product__spec {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 7px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ss-mega-product__stock {
  padding-top: 6px;
}

/* ==========================================================================
   V35 — In Stock (left) and Refurbished (right) on one aligned bottom row
   ========================================================================== */
.ss-mega-product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 10px;
}

.ss-mega-product__stock {
  margin: 0;
  padding: 0;
}

.ss-mega-product__spec {
  position: static;
  background: transparent;
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  padding: 0;
}

.ss-mega-product__name {
  padding-bottom: 6px;
}

/* ==========================================================================
   V36 — Refurbished as image-corner badge; bottom keeps only In Stock
   ========================================================================== */
.ss-mega-product__media {
  position: relative;
}

.ss-mega-product__spec {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #e2e8f0;
  line-height: 1.4;
}

.ss-mega-product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 10px;
}

.ss-mega-product__stock {
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  color: #334155;
}

.ss-mega-product__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   V37 — product card spacing + cleaner REFURB condition badge
   ========================================================================== */
.ss-mega-product__name {
  padding: 8px 12px 2px;
}

.ss-mega-product__stock {
  padding: 6px 12px 10px;
  margin: 0;
}

.ss-mega-product__spec {
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  background: #eef2f7;
  color: #334155;
  border: 1px solid #dbe3ee;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   V38 — balance card proportions: tighter media + text block, less dead air
   ========================================================================== */
.ss-mega-product {
  aspect-ratio: 1 / 1;
}

.ss-mega-product__media {
  height: 104px;
  flex: 0 0 104px;
  padding: 8px 12px 0;
}

.ss-mega-product__name {
  padding: 6px 12px 2px;
}

.ss-mega-product__stock {
  padding: 4px 12px 10px;
}

.ss-mega-product__spec {
  top: 6px;
  right: 6px;
}

/* ==========================================================================
   V39 — open pedestal stage: depth, ground shadow, breathing whitespace
   ========================================================================== */
.ss-mega-product {
  position: relative;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 4px;
  padding: 16px 14px 12px;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ss-mega-product:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(0, 24, 60, 0.08);
}

.ss-mega-product__media {
  position: relative;
  width: 100%;
  height: 120px;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 8px;
  background: transparent;
  border-bottom: 0;
}

.ss-mega-product__media img {
  max-height: 105px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

/* Contact shadow so the device reads as standing on a stage. */
.ss-mega-product__media::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 60%;
  height: 6px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.04) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(2px);
}

.ss-mega-product__spec {
  top: 8px;
  right: 8px;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ss-mega-product__name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 6px;
  padding: 0 2px;
}

.ss-mega-product__stock {
  font-size: 11px;
  font-weight: 500;
  color: #334155;
  padding: 0 2px 0;
  gap: 5px;
}

/* ==========================================================================
   V40 — pure square product cards (spec-compliant stage, shadow, split info)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0 !important;
  padding: 16px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.product-card:hover {
  border-color: #cbd5e1;
  background: #fbfcfe;
  box-shadow: 0 8px 20px -4px rgba(0, 20, 50, 0.06);
}

.card-badge-condition {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0 !important;
  padding: 2px 6px;
}

.product-stage {
  position: relative;
  width: 100%;
  height: 125px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-stage img {
  max-height: 105px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.product-contact-shadow {
  width: 65%;
  height: 6px;
  margin: -4px auto 12px auto;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.04) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(2px);
}

.product-info {
  margin-top: 4px;
}

.product-title {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 11px;
}

.product-status-stock {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-weight: 500;
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.product-action-link {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
}

.product-card:hover .product-action-link {
  color: #1d4ed8;
}

/* ==========================================================================
   V41 — de-ornament: remove artificial contact shadow, keep pure flat stage
   ========================================================================== */
.product-contact-shadow {
  display: none !important;
}

.product-stage {
  height: 115px;
  margin-top: 12px;
  background: transparent;
}

.product-stage img {
  max-height: 110px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.product-card {
  padding: 14px 14px 10px 14px;
}

/* ==========================================================================
   V42 — fill the stage to ~88% and bottom-anchor all hardware images
   ========================================================================== */
.product-stage {
  height: 110px;
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  background: transparent;
}

.product-stage img {
  max-height: 88%;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.card-badge-condition {
  top: 8px;
  right: 8px;
}

/* ==========================================================================
   V43 — flat hardware imagery: no shadow, blend directly into white
   ========================================================================== */
.product-stage img {
  filter: none !important;
}

.product-stage {
  background: #ffffff;
}

.product-card {
  background: #ffffff;
}

/* ==========================================================================
   V44 — align the footer's outer corners with the panel/header padding
   ========================================================================== */
.ss-mega-footer {
  padding: 12px 28px !important;
  margin: 0 !important;
  width: 100% !important;
}

.ss-mega-spare-parts,
.ss-mega-assurance {
  width: 100%;
}

/* ==========================================================================
   V45 — keep SPARE PARTS (left) and trust (right) on one row, flush corners
   ========================================================================== */
.ss-mega-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100% !important;
  padding: 12px 28px !important;
}

.ss-mega-spare-parts {
  width: auto;
  flex: 0 1 auto;
}

.ss-mega-assurance {
  width: auto;
  flex: 0 0 auto;
}

/* ==========================================================================
   V46 — crisp straight bottom edge: remove ambient shadow from the panel
   ========================================================================== */
.ss-mega-panel--catalog {
  box-shadow: none !important;
}

.ss-mega-footer {
  box-shadow: none !important;
  margin: 0 !important;
}



/* ==========================================================================
   V47 — typographic harmonization with the top nav
   ========================================================================== */
.ss-mega-topbar__kicker,
.ss-mega-directory__eyebrow,
.ss-mega-stage-eyebrow,
.ss-mega-series__eyebrow,
.ss-mega-featured__eyebrow,
.ss-mega-spare-parts__label {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

.ss-mega-stage-hero h2 {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: #0f172a !important;
}

.ss-mega-series-list a {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  padding: 4px 10px !important;
  color: #334155 !important;
}

.ss-mega-series-count {
  font-size: 11px !important;
  color: #94a3b8 !important;
}

.product-title {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  color: #0f172a !important;
}

.ss-mega-spare-parts__links a {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #475569 !important;
}

/* ==========================================================================
   V48 — even SPARE PARTS link spacing
   ========================================================================== */
.ss-mega-spare-parts__links {
  gap: 0 10px !important;
}

.ss-mega-spare-parts__links a {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.ss-mega-spare-parts__links a + a::before {
  margin-right: 10px !important;
}

/* ==========================================================================
   V49 — brand directory links as clean anchors
   ========================================================================== */
.ss-mega-brand-link {
  text-decoration: none !important;
}

/* ==========================================================================
   V55 — clean footer + logo cobalt, single final block
   ========================================================================== */
.ss-mega-panel--catalog {
  --ss-cobalt: #0052cc;
}

.ss-mega-brand-link.is-active {
  background: #f0f5ff !important;
  color: #0052cc !important;
}

.ss-mega-brand-link.is-active::after {
  background: #0052cc !important;
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__name {
  color: #0052cc !important;
  font-weight: 500 !important;
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__count {
  color: #0052cc !important;
}

.ss-mega-stage-all,
.ss-mega-spare-parts__all,
.ss-mega-series-list a:hover,
.ss-mega-series-list a:hover .ss-mega-series-count,
.ss-mega-spare-parts__links a:hover,
.product-action-link,
.product-card:hover .product-action-link {
  color: #0052cc !important;
}

.ss-mega-stage-all:hover,
.ss-mega-spare-parts__all:hover {
  color: #0e65e6 !important;
  background: #f0f5ff !important;
  border-color: #0052cc !important;
}

.ss-mega-series-list a:hover {
  border-color: #0052cc !important;
  background: #f0f5ff !important;
}

.ct-header [data-id="menu"] > ul > li > a:hover,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link:hover,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link:hover,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current_page_item > a,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a,
.ct-header .header-menu-1 > ul > li.current-menu-item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current_page_item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor > a.ct-menu-link {
  color: #0052cc !important;
}

.ct-header [data-id="menu"] > ul > li:hover::after,
.ct-header [data-id="menu"] > ul > li.current-menu-item::after,
.ct-header [data-id="menu"] > ul > li.current_page_item::after,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor::after,
.ct-header .header-menu-1 > ul > li:hover::after,
.ct-header .header-menu-1 > ul > li.current-menu-item::after,
.ct-header .header-menu-1 > ul > li.current_page_item::after,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor::after {
  background: #0052cc !important;
  box-shadow: none !important;
}

.ct-header [data-id="menu"] > ul > li > a:hover .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current_page_item > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a .ct-toggle-dropdown-desktop svg {
  color: #0052cc !important;
}

.ss-mega-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 28px !important;
  margin-top: 20px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

.ss-mega-spare-parts {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.ss-mega-spare-parts__label {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #475569 !important;
}

.ss-mega-spare-parts__links {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 8px !important;
}

.ss-mega-spare-parts__links a {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #334155 !important;
  padding: 2px 4px !important;
}

.ss-mega-spare-parts__links a + a::before {
  content: "" !important;
  display: inline-block !important;
  width: 1px !important;
  height: 11px !important;
  margin: 0 8px !important;
  background: #cbd5e1 !important;
}

.ss-mega-spare-parts__all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-left: 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #0052cc !important;
  white-space: nowrap !important;
}

.ss-mega-spare-parts::after {
  content: "" !important;
  display: block !important;
  width: 1px !important;
  height: 20px !important;
  margin: 0 20px !important;
  align-self: center !important;
  background: #cbd5e1 !important;
}

.ss-mega-assurance {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 0 0 auto !important;
}

.ss-mega-assurance span[aria-hidden="true"] {
  display: none !important;
}

.ss-mega-assurance span:not([aria-hidden="true"]) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

.ss-mega-assurance span:not([aria-hidden="true"])::before {
  content: "" !important;
  width: 5px !important;
  height: 5px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
}

/* ==========================================================================
   V56 — align all header/dropdown blues to the logo master navy #00479e
   ========================================================================== */
.ss-mega-panel--catalog {
  --ss-cobalt: #00479e !important;
}

/* Normal header nav text: slate charcoal, balanced against deep logo. */
.ct-header [data-id="menu"] > ul > li > a,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link {
  color: #334155 !important;
}

/* Hover/current header nav text: logo navy. */
.ct-header [data-id="menu"] > ul > li > a:hover,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link:hover,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link:hover,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current_page_item > a,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a,
.ct-header .header-menu-1 > ul > li.current-menu-item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current_page_item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor > a.ct-menu-link {
  color: #00479e !important;
  font-weight: 700 !important;
}

/* Header underline: dark navy base -> logo navy -> subtle highlight. */
.ct-header [data-id="menu"] > ul > li:hover::after,
.ct-header [data-id="menu"] > ul > li.current-menu-item::after,
.ct-header [data-id="menu"] > ul > li.current_page_item::after,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor::after,
.ct-header .header-menu-1 > ul > li:hover::after,
.ct-header .header-menu-1 > ul > li.current-menu-item::after,
.ct-header .header-menu-1 > ul > li.current_page_item::after,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor::after {
  background: linear-gradient(to top, #002b66 0%, #00479e 50%, #005ce6 100%) !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

.ct-header [data-id="menu"] > ul > li > a:hover .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current_page_item > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a .ct-toggle-dropdown-desktop svg {
  color: #00479e !important;
}

/* Dropdown active brand. */
.ss-mega-brand-link.is-active {
  background: #f0f4fa !important;
  color: #00479e !important;
}

.ss-mega-brand-link.is-active::after {
  background: #00479e !important;
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__name {
  color: #00479e !important;
  font-weight: 500 !important;
}

.ss-mega-brand-link.is-active .ss-mega-brand-link__count {
  color: #00479e !important;
}

/* Dropdown action links. */
.ss-mega-stage-all,
.ss-mega-spare-parts__all,
.ss-mega-series-list a:hover,
.ss-mega-series-list a:hover .ss-mega-series-count,
.ss-mega-spare-parts__links a:hover,
.product-action-link,
.product-card:hover .product-action-link {
  color: #00479e !important;
}

.ss-mega-stage-all:hover,
.ss-mega-spare-parts__all:hover {
  color: #005ce6 !important;
  background: #f0f4fa !important;
  border-color: #00479e !important;
}

.ss-mega-series-list a:hover {
  border-color: #00479e !important;
  background: #f0f4fa !important;
}

/* Right support block: mirror the logo navy. */
.ss-header-support__icon,
.ss-header-support__icon svg,
.ss-header-support__line,
.ss-header-support__title,
.ss-header-support__mail {
  color: #00479e !important;
}

.ss-header-support__icon:hover {
  color: #005ce6 !important;
  border-color: #00479e !important;
  background: #f0f4fa !important;
  box-shadow: 0 0 0 3px rgba(0, 71, 158, 0.12) !important;
}

/* ==========================================================================
   V57 — final header hover/selected color: #003399 / 700 / 3px hard line
   ========================================================================== */
.ct-header [data-id="menu"] > ul > li > a:hover,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link:hover,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link:hover,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current_page_item > a,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a,
.ct-header .header-menu-1 > ul > li.current-menu-item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current_page_item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor > a.ct-menu-link {
  color: #003399 !important;
  font-weight: 700 !important;
}

.ct-header [data-id="menu"] > ul > li:hover::after,
.ct-header [data-id="menu"] > ul > li.current-menu-item::after,
.ct-header [data-id="menu"] > ul > li.current_page_item::after,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor::after,
.ct-header .header-menu-1 > ul > li:hover::after,
.ct-header .header-menu-1 > ul > li.current-menu-item::after,
.ct-header .header-menu-1 > ul > li.current_page_item::after,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor::after {
  bottom: 0 !important;
  height: 3px !important;
  background-color: #003399 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ==========================================================================
   V58 — header nav default weight: #0f172a / 14px / 600
   ========================================================================== */
.ct-header [data-id="menu"] > ul > li > a,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: color 0.15s ease !important;
}

.ct-header [data-id="menu"] > ul > li > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link .ct-toggle-dropdown-desktop svg,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link .ct-toggle-dropdown-desktop svg {
  color: #334155 !important;
  stroke-width: 2.5px !important;
}

.ct-header [data-id="menu"] > ul > li > a:hover,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link:hover,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link:hover,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current_page_item > a,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a,
.ct-header .header-menu-1 > ul > li.current-menu-item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current_page_item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor > a.ct-menu-link {
  color: #003399 !important;
  font-weight: 700 !important;
}

.ct-header [data-id="menu"] > ul > li > a:hover .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current_page_item > a .ct-toggle-dropdown-desktop svg,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a .ct-toggle-dropdown-desktop svg {
  color: #003399 !important;
}

/* ==========================================================================
   V59 — final restrained header nav: 13px/500, #1e293b, 2px #00479e line
   ========================================================================== */
.ct-header [data-id="menu"] > ul > li > a,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link {
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
}

.ct-header [data-id="menu"] > ul > li > a:hover,
.ct-header [data-id="menu"] > ul > li > a.ct-menu-link:hover,
.ct-header .header-menu-1 > ul > li > a.ct-menu-link:hover,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current_page_item > a,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a,
.ct-header .header-menu-1 > ul > li.current-menu-item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current_page_item > a.ct-menu-link,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor > a.ct-menu-link {
  color: #00479e !important;
  font-weight: 600 !important;
}

.ct-header [data-id="menu"] > ul > li:hover::after,
.ct-header [data-id="menu"] > ul > li.current-menu-item::after,
.ct-header [data-id="menu"] > ul > li.current_page_item::after,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor::after,
.ct-header .header-menu-1 > ul > li:hover::after,
.ct-header .header-menu-1 > ul > li.current-menu-item::after,
.ct-header .header-menu-1 > ul > li.current_page_item::after,
.ct-header .header-menu-1 > ul > li.current-menu-ancestor::after {
  height: 2px !important;
  background-color: #00479e !important;
  box-shadow: none !important;
}
