/* Responsive navigation: floating capsule at page top, full-width bar after scrolling, with a product mega menu and compact dropdowns. */
:root {
  --nav-height: 88px;
  --menu-line: #e3e7e7;
  --menu-muted: #687276;
  --menu-dark: #171e22;
  --menu-dark-soft: #232c31;
}

html {
  scroll-padding-top: calc(var(--nav-height) + 24px);
  scrollbar-gutter: stable;
}

[hidden] { display: none !important; }
body.product-dialog-open { overflow: hidden; overscroll-behavior: none; }

.site-header {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-shell,
.site-header.is-scrolled .header-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 12px clamp(24px, 4vw, 80px);
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid rgba(17, 19, 21, .08);
  border-radius: 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 5px 28px rgba(15, 24, 29, .06);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header.is-scrolled .header-shell {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 5px 28px rgba(15, 24, 29, .11);
}

.site-header.is-menu-open .header-shell {
  background: #fff;
  box-shadow: none;
}

.brand { width: 164px; }
.desktop-nav { display: block; }
.desktop-nav ul { gap: clamp(18px, 2vw, 34px); }

.nav-link {
  gap: 6px;
  padding: 18px 0;
  border: 0;
  background: none;
  font: 600 13px/1.4 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link::after { bottom: 8px; }
.nav-link[aria-expanded="true"] { color: var(--red); }
.nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.site-header.is-menu-open .nav-link.is-active:not([aria-expanded="true"])::after { transform: scaleX(0); }

.nav-chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.nav-link[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }


/* Split first-level navigation: the label navigates to the section page and
   the compact chevron button controls the dropdown. */
.desktop-nav .nav-menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.nav-primary-link { padding-right: 1px; }

.nav-submenu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 42px;
  margin: 0 -7px 0 0;
  padding: 0;
  color: #23272a;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible,
.nav-menu-item.is-open .nav-submenu-toggle,
.nav-menu-item.is-open .nav-primary-link {
  color: var(--red);
}

.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible { background: rgba(191, 0, 8, .07); }

.nav-submenu-toggle:focus-visible {
  outline: 2px solid rgba(191, 0, 8, .42);
  outline-offset: 1px;
}

.nav-submenu-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-menu-item.is-open .nav-primary-link::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-menu-open .nav-menu-item.is-open .nav-primary-link.is-active::after { transform: scaleX(1); }

.nav-submenu-toggle[data-menu="products"][aria-expanded="true"]::before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -22px;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--menu-dark);
  border-left: 10px solid transparent;
  transform: translateX(-50%);
}

.header-actions { gap: 14px; }
.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 20px;
  gap: 20px;
  font-size: 12px;
  box-shadow: none;
}
/* Language selector: compact dropdown on desktop, viewport-safe panel on mobile. */
.language-selector {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.language-button {
  display: inline-flex;
  width: auto;
  min-width: 68px;
  height: 42px;
  padding: 0 10px;
  gap: 7px;
  color: #242c30;
  border: 1px solid var(--menu-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.language-button:hover,
.language-button[aria-expanded="true"] {
  color: var(--red);
  border-color: rgba(191, 0, 8, .28);
  background: #fff7f7;
}
.language-button[aria-expanded="true"] { box-shadow: 0 9px 24px rgba(23, 30, 34, .1); }
.language-button .language-globe { width: 18px; height: 18px; flex: 0 0 auto; }
.language-current-code {
  min-width: 18px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
}
.language-button .language-caret {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .2s ease;
}
.language-button[aria-expanded="true"] .language-caret { transform: rotate(180deg); }

.language-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 13px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  color: var(--menu-dark);
  border: 1px solid rgba(23, 30, 34, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 22px 55px rgba(15, 24, 29, .18);
  animation: language-menu-enter .18s var(--ease) both;
}
.language-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 24px;
  width: 13px;
  height: 13px;
  border-top: 1px solid rgba(23, 30, 34, .12);
  border-left: 1px solid rgba(23, 30, 34, .12);
  background: #fff;
  transform: rotate(45deg);
}
.language-menu-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 1px 2px 13px;
  border-bottom: 1px solid var(--menu-line);
}
.language-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--red);
  border-radius: 50%;
  background: #fff1f1;
}
.language-menu-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-menu-heading strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.language-menu-heading small {
  display: block;
  margin-top: 3px;
  color: var(--menu-muted);
  font-size: 10px;
  line-height: 1.35;
}
.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding-top: 12px;
}
.language-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  padding: 10px 10px 9px;
  color: #293135;
  text-align: left;
  border: 1px solid #e6e9e9;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}
.language-option:hover,
.language-option:focus-visible {
  color: var(--red);
  border-color: rgba(191, 0, 8, .26);
  background: #fff7f7;
}
.language-option:hover { transform: translateY(-1px); }
.language-option[aria-checked="true"] {
  color: var(--red);
  border-color: rgba(191, 0, 8, .3);
  background: #fff2f2;
}
.language-option span { min-width: 0; }
.language-option strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-option small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--menu-muted);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-option i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: transparent;
  border: 1px solid #d9dede;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  line-height: 1;
}
.language-option[aria-checked="true"] i {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}
.language-menu-note {
  margin: 12px 2px 0;
  padding-top: 11px;
  color: var(--menu-muted);
  border-top: 1px solid var(--menu-line);
  font-size: 9px;
  line-height: 1.5;
}

.menu-toggle { display: none; background: transparent; border: 1px solid var(--menu-line); border-radius: 50%; }
.menu-toggle span { background: var(--ink); }

/* Desktop dropdown layer: the layer itself is click-through; only the visible sheet receives pointer input. */
.navigation-overlay {
  position: fixed;
  z-index: 2;
  top: var(--nav-height);
  right: 0;
  left: 0;
  pointer-events: none;
}

.menu-backdrop { display: none; }

.navigation-sheet {
  position: absolute;
  top: 0;
  left: var(--menu-left, 0px);
  width: var(--menu-width, 100%);
  max-height: calc(100dvh - var(--nav-height) - 12px);
  overflow: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  background: #fff;
  border: 1px solid rgba(23, 30, 34, .11);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 22px 55px rgba(15, 24, 29, .18);
  animation: menu-enter .2s var(--ease) both;
}

.navigation-overlay[data-current-menu="products"] .navigation-sheet {
  left: 0;
  width: 100%;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 24px 58px rgba(15, 24, 29, .16);
}

/* Product mega menu, inspired by the supplied horizontal-family / split-preview reference. */
.product-menu-shell { width: 100%; background: #fff; }
.product-family-strip { color: #fff; background: var(--menu-dark); }
.product-family-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  padding-inline: clamp(24px, 4vw, 80px);
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
}

.category-tab {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 104px;
  padding: 14px 19px;
  color: rgba(255, 255, 255, .78);
  text-align: left;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .09);
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.category-tab:first-child { border-left: 1px solid rgba(255, 255, 255, .09); }
.category-tab:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.category-tab[aria-selected="true"] { color: #fff; background: var(--red); }

.category-tab-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 64px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, .09);
}

.category-tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(.92);
  opacity: .72;
  transition: opacity .18s ease, transform .22s ease;
}

.category-tab:hover .category-tab-media img,
.category-tab[aria-selected="true"] .category-tab-media img {
  opacity: 1;
  transform: scale(1.035);
}

.category-tab-copy { min-width: 0; }
.category-tab-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-tab-copy small {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, .61);
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-tab[aria-selected="true"] .category-tab-copy small { color: rgba(255, 255, 255, .82); }
.category-tab-count {
  align-self: start;
  padding-top: 3px;
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  letter-spacing: .1em;
}
.category-tab[aria-selected="true"] .category-tab-count { color: rgba(255, 255, 255, .8); }

.all-products-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 176px;
  padding: 0 24px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, .09);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .18s ease;
}
.all-products-link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.all-products-icon { display: grid; grid-template-columns: repeat(2, 4px); gap: 3px; }
.all-products-icon i { width: 4px; height: 4px; background: currentColor; }

.product-menu-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: clamp(420px, 56vh, 520px);
  min-height: 360px;
  background: #fff;
}

.category-showcase {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #2a353a;
}

.category-visual,
.category-visual-overlay {
  position: absolute;
  inset: 0;
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) contrast(.92) brightness(.84);
  transform: scale(1.02);
}

.category-visual-overlay {
  background:
    linear-gradient(90deg, rgba(10, 15, 18, .72) 0%, rgba(10, 15, 18, .42) 49%, rgba(10, 15, 18, .14) 78%, rgba(10, 15, 18, .08) 100%),
    linear-gradient(0deg, rgba(10, 15, 18, .58), transparent 52%);
}

.category-results {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(24px, 7vw, 132px);
  width: min(380px, 52%);
  transform: translateY(-50%);
}

.category-panel:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.product-list-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.product-list-label span { color: rgba(255, 255, 255, .55); font-size: 9px; letter-spacing: .05em; }
.category-product-list { border-top: 1px solid rgba(255, 255, 255, .26); }

.mega-product {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 9px 13px;
  color: #fff;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: rgba(17, 24, 28, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .16s ease, padding-left .16s ease;
}

.mega-product:hover,
.mega-product.is-previewed {
  color: #fff;
  background: var(--red);
  padding-left: 17px;
}

.product-list-index { color: rgba(255, 255, 255, .56); font-size: 9px; letter-spacing: .08em; }
.mega-product.is-previewed .product-list-index { color: rgba(255, 255, 255, .82); }
.mega-product-copy { min-width: 0; }
.mega-product-copy strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega-product-copy small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega-product.is-previewed .mega-product-copy small { color: rgba(255, 255, 255, .86); }
.product-card-arrow { display: flex; align-items: center; justify-content: center; }
.product-card-arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.category-caption {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 3vw, 52px);
  bottom: 30px;
  width: min(285px, 36%);
  color: #fff;
  text-align: right;
}
.category-caption p:first-child {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.category-caption h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2vw, 34px); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
.category-caption p:last-child { margin: 0; color: rgba(255, 255, 255, .7); font-size: 10px; line-height: 1.55; }

.product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

.preview-media {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;  
}

.preview-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 0;
  color: #718076;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.preview-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  padding: 14px;
}

.preview-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 30px clamp(26px, 3vw, 54px);
}

.menu-eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.preview-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.3vw, 40px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.preview-summary {
  margin: 0 0 10px;
  color: #283135;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

#preview-description {
  display: -webkit-box;
  margin: 0 0 15px;
  overflow: hidden;
  color: #667075;
  font-size: 11px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags span {
  display: inline-block;
  padding: 4px 8px;
  color: #59675d;
  border: 1px solid #d8ded8;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.4;
}

.preview-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
  padding: 13px 0 0;
  color: var(--ink);
  text-align: left;
  border: 0;
  border-top: 1px solid var(--menu-line);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}
.preview-action span { color: var(--red); font-size: 16px; }
.preview-action:hover { color: var(--red); }

.product-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 8px clamp(24px, 4vw, 80px);
  color: #778083;
  border-top: 1px solid var(--menu-line);
  background: #fff;
  font-size: 9px;
}
.product-menu-footer p { display: flex; align-items: center; gap: 7px; margin: 0; }
.product-menu-footer p:first-child { color: #465055; }
.footer-indicator { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* Compact dropdowns for About, Solutions, Insights and Cases. */
.compact-menu { padding: 12px; }
.compact-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 8px 13px;
  color: #232a2e;
  border-bottom: 1px solid var(--menu-line);
}
.compact-menu-heading span { font-size: 13px; font-weight: 700; }
.compact-menu-heading small { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.compact-menu-links { display: grid; gap: 2px; padding: 8px 0; }
.compact-menu-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-radius: 8px;
  transition: background .16s ease, color .16s ease;
}
.compact-menu-link:hover { color: var(--red); background: #faf1f1; }
.compact-menu-link strong { display: block; margin-bottom: 3px; color: #252d31; font-size: 12px; font-weight: 650; }
.compact-menu-link:hover strong { color: var(--red); }
.compact-menu-link small { display: block; color: var(--menu-muted); font-size: 10px; line-height: 1.45; }
.compact-menu-link i { color: var(--red); font-size: 13px; font-style: normal; }
.compact-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px 4px;
  color: #293135;
  border-top: 1px solid var(--menu-line);
  font-size: 11px;
  font-weight: 650;
}
.compact-menu-footer:hover { color: var(--red); }


/* Product menu stage: the family product list floats directly below the active
   family tab, while the two lower content areas stay in an even 50/50 split. */
.product-menu-stage {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  --product-submenu-left: 0px;
  --product-submenu-width: 25%;
}

.category-showcase {
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.category-visual-overlay {
  background:
    linear-gradient(90deg, rgba(10, 15, 18, .72) 0%, rgba(10, 15, 18, .48) 45%, rgba(10, 15, 18, .16) 76%, rgba(10, 15, 18, .08) 100%),
    linear-gradient(0deg, rgba(10, 15, 18, .66), transparent 54%);
}

.product-facts-card {
  position: absolute;
  z-index: 2;
  top: 56px;
  bottom: 54px;
  left: clamp(24px, 6.8vw, 132px);
  display: flex;
  flex-direction: column;
  width: min(420px, 50%);
  min-width: 0;
  padding: 20px 22px 16px;
  overflow: hidden;
  color: #151a1d;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 18px 46px rgba(5, 12, 15, .19);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.product-facts-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #dfe3e3;
}

.product-facts-heading > div { min-width: 0; }
.product-facts-kicker {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-facts-heading h3 {
  margin: 0;
  overflow: hidden;
  color: #151a1d;
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-facts-heading > span {
  flex: 0 0 auto;
  padding-top: 2px;
  color: #7b8589;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.product-facts-body {
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.product-facts-body h4 {
  margin: 14px 0 8px;
  color: #606a6e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.product-spec-item {
  min-width: 0;
  padding: 8px 9px;
  background: rgba(242, 245, 245, .96);
  border: 1px solid #e1e5e5;
}
.product-spec-item dt {
  overflow: hidden;
  color: #7b8589;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-spec-item dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: #171c1f;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-applications ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-applications li {
  position: relative;
  min-width: 0;
  padding-left: 13px;
}
.product-applications li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.product-applications strong {
  display: block;
  overflow: hidden;
  color: #20272a;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-applications small {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #707a7e;
  font-size: 8.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-facts-note {
  margin: 10px 0 0;
  padding-top: 9px;
  color: #899194;
  border-top: 1px solid #e0e4e4;
  font-size: 7.5px;
  line-height: 1.4;
}

.category-caption {
  right: clamp(18px, 2.6vw, 48px);
  bottom: 25px;
  width: min(270px, 36%);
}

.product-list-column {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: var(--product-submenu-left);
  width: var(--product-submenu-width);
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: #151d21;
  border-right: 1px solid #30393d;
  border-left: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 18px 14px 36px rgba(5, 12, 15, .24);
  transition: left .22s var(--ease), width .22s var(--ease);
}
.product-list-column::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  pointer-events: none;
}
.category-results {
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  transform: none;
}
.category-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.category-panel[hidden] { display: none !important; }
.product-list-label {
  min-height: 57px;
  margin: 0;
  padding: 17px 16px 13px;
  color: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: #11191d;
}
.category-product-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  border-top: 0;
}
.mega-product {
  flex: 1 1 0;
  min-height: 0;
  padding: 8px 13px;
  background: #151d21;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mega-product:hover,
.mega-product.is-previewed {
  padding-left: 17px;
}

.product-preview {
  grid-template-columns: minmax(145px, 40%) minmax(0, 1fr);
}
.preview-topline { padding-inline: 16px; }
.preview-copy { padding-inline: clamp(20px, 2.15vw, 42px); }
.preview-copy h3 { font-size: clamp(24px, 2vw, 36px); }

.mobile-navigation { display: none; }

/* Matching homepage additions. */
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card { min-height: 380px; }
.category-content { padding: 25px; }
.category-content h3 { font-size: clamp(22px, 2vw, 29px); }
.product-copy p.product-description {
  min-height: 3.2em;
  margin: -3px 0 16px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}

/* Native product dialog: focus trapping and Escape are handled by the browser. */
.product-dialog {
  position: fixed;
  width: calc(100% - 40px);
  max-width: 880px;
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .24);
  overscroll-behavior: contain;
}
.product-dialog::backdrop { background: rgba(16, 24, 27, .57); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.detail-close { position: absolute; z-index: 2; top: 16px; right: 16px; }
.detail-layout { display: grid; grid-template-columns: .9fr 1.1fr; }
.detail-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 470px; background: #f3f6f1; }
.detail-media img { width: 100%; min-height: 0; max-height: 100%; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.detail-image-label { position: absolute; top: 25px; left: 25px; color: #708066; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.detail-copy { padding: 65px 35px 35px; }
.detail-copy h2 { margin: 0 0 16px; font-size: 34px; font-weight: 500; line-height: 1.05; letter-spacing: -.05em; }
.detail-summary { font-size: 16px; line-height: 1.55; }
#detail-description { margin-bottom: 22px; color: var(--menu-muted); font-size: 13px; line-height: 1.75; }
.detail-disclaimer { margin: 23px 0; padding-top: 18px; color: #7a8385; border-top: 1px solid var(--menu-line); font-size: 10px; line-height: 1.7; }
.detail-copy .button { min-height: 44px; font-size: 12px; box-shadow: none; }
.detail-back { display: block; margin-top: 18px; padding: 0; color: var(--menu-muted); border: 0; background: transparent; font-size: 11px; cursor: pointer; }
.detail-back:hover { color: var(--red); }
.no-script-navigation { position: relative; z-index: 1100; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 88px; padding: 15px; background: #fff; }

@keyframes menu-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes language-menu-enter {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1041px) and (max-width: 1320px) {
  .header-shell,
  .site-header.is-scrolled .header-shell {
    grid-template-columns: 166px 1fr auto;
    gap: 18px;
    padding-inline: 28px;
  }
  .desktop-nav ul { gap: 20px; }
  .header-actions { gap: 6px; }
  .language-button { min-width: 42px; width: 42px; padding: 0; }
  .language-current-code,
  .language-caret { display: none; }
  .header-cta { padding-inline: 15px; gap: 13px; }
  .product-family-strip-inner { padding-inline: 28px; }
  .category-tab { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; min-height: 96px; padding: 12px 13px; }
  .category-tab-media { width: 58px; height: 54px; }
  .category-tab-copy strong { font-size: 12px; }
  .category-tab-copy small { font-size: 9px; }
  .all-products-link { min-width: 142px; padding-inline: 16px; }
  .product-menu-stage { height: clamp(360px, 51vh, 435px); }
  .category-results { left: 54px; width: min(330px, 58%); }
  .category-caption { right: 23px; width: 34%; }
  .product-preview { grid-template-columns: minmax(190px, 42%) minmax(0, 1fr); }
  .preview-copy { padding-inline: 27px; }
  .preview-copy h3 { font-size: 30px; }
  .product-menu-footer { padding-inline: 28px; }
}

@media (max-width: 1040px) {
  :root { --nav-height: 74px; }
  body.menu-open { overflow: hidden; overscroll-behavior: none; }

  .header-shell,
  .site-header.is-scrolled .header-shell {
    width: 100%;
    min-height: 74px;
    padding: 12px 24px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    border-radius: 0;
  }
  .brand { width: 151px; }
  .desktop-nav,
  .desktop-panels { display: none; }
  .language-button { display: inline-flex; }
  .header-cta { display: inline-flex; min-height: 40px; }
  .menu-toggle { display: block; }
  .language-menu {
    position: fixed;
    top: calc(var(--nav-height) + 8px);
    right: 18px;
    left: 18px;
    width: auto;
    max-height: calc(100dvh - var(--nav-height) - 24px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .language-menu::before { display: none; }

  .navigation-overlay {
    top: var(--nav-height);
    bottom: 0;
    pointer-events: auto;
  }
  .menu-backdrop {
    position: absolute;
    display: block;
    inset: 0;
    background: rgba(13, 24, 30, .4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .navigation-sheet {
    position: relative;
    left: 0 !important;
    width: 100% !important;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 24px 50px rgba(15, 24, 29, .1);
  }

  .mobile-navigation {
    display: block;
    width: min(720px, calc(100% - 48px));
    margin: 0 auto;
    padding: 25px 0 max(30px, env(safe-area-inset-bottom));
  }
  .mobile-menu-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 3px 0 25px;
    color: var(--menu-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  .mobile-home,
  .mobile-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 15px 0;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.025em;
    list-style: none;
    cursor: pointer;
  }
  .mobile-home,
  .mobile-group { border-bottom: 1px solid var(--menu-line); }
  .mobile-home > span { color: var(--menu-muted); font-size: 15px; }
  summary::-webkit-details-marker { display: none; }
  .mobile-group > summary > svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform .2s ease;
  }
  .mobile-group[open] > summary { color: var(--red); }
  .mobile-group[open] > summary > svg { transform: rotate(180deg); }
  .mobile-product-categories { margin-bottom: 20px; padding: 0 14px; border-radius: 12px; background: #f6f7f7; }
  .mobile-family { border-bottom: 1px solid #e1e4e4; }
  .mobile-family:last-child { border-bottom: 0; }
  .mobile-family > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 64px;
    padding: 14px 0;
    list-style: none;
    cursor: pointer;
  }
  .mobile-family > summary strong { display: block; font-size: 14px; font-weight: 500; }
  .mobile-family > summary small { display: block; margin-top: 3px; color: var(--menu-muted); font-size: 10px; }
  .mobile-family > summary > span:last-child { display: flex; align-items: center; gap: 14px; color: var(--menu-muted); font-size: 10px; }
  .mobile-family > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s ease; }
  .mobile-family[open] > summary strong { color: var(--red); }
  .mobile-family[open] > summary svg { transform: rotate(180deg); }
  .mobile-product-list { display: grid; gap: 8px; padding-bottom: 15px; }
  .mobile-product {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    text-align: left;
    border: 1px solid #e5e8e6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }
  .mobile-product img { width: 76px; height: 70px; object-fit: contain; border-radius: 4px; background: #f3f6f2; }
  .mobile-product strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
  .mobile-product small { display: block; margin-top: 5px; color: var(--menu-muted); font-size: 11px; line-height: 1.6; }
  .mobile-product > span:last-child { color: var(--red); font-size: 14px; }
  .mobile-product:hover { border-color: #c9898c; }
  .mobile-secondary-links { display: grid; gap: 3px; padding: 0 0 20px; }
  .mobile-secondary-links a { display: flex; flex-direction: column; gap: 5px; padding: 14px; border-radius: 8px; background: #f6f7f7; }
  .mobile-secondary-links strong { font-size: 14px; font-weight: 500; }
  .mobile-secondary-links small { color: var(--menu-muted); font-size: 12px; }
  .mobile-menu-bottom { margin-top: 30px; }
  .mobile-menu-bottom > p { color: var(--menu-muted); font-size: 11px; line-height: 1.7; }
  .mobile-menu-bottom .button { margin-top: 7px; font-size: 12px; box-shadow: none; }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { min-height: 400px; }
}

@media (max-width: 600px) {
  .header-shell,
  .site-header.is-scrolled .header-shell { padding-inline: 18px; }
  .header-actions { gap: 8px; }
  .header-cta { display: none; }
  .language-button { min-width: 54px; height: 42px; padding-inline: 9px; gap: 6px; }
  .language-caret { display: none; }
  .brand { width: 144px; }
  .mobile-navigation { width: calc(100% - 36px); padding-top: 20px; }
  .mobile-home,
  .mobile-group > summary { min-height: 60px; font-size: 22px; }
  .mobile-product { grid-template-columns: 61px minmax(0, 1fr) 12px; gap: 9px; padding: 9px; }
  .mobile-product img { width: 61px; height: 68px; }
  .mobile-product strong { font-size: 12px; }
  .mobile-product small { font-size: 10px; }
  .mobile-product-categories { padding-inline: 11px; }
  .mobile-family > summary strong { font-size: 13px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 360px; }
  .language-menu { right: 12px; left: 12px; padding: 14px; }
  .language-options { gap: 6px; }
  .language-option { min-height: 55px; padding: 9px; }

  .detail-layout { grid-template-columns: 1fr; }
  .product-dialog { width: calc(100% - 28px); max-height: calc(100dvh - 28px); border-radius: 13px; }
  .detail-media { min-height: 0; height: 215px; padding: 12px; }
  .detail-media img { width: 100%; height: 100%; object-fit: contain; }
  .detail-image-label { top: 18px; left: 20px; font-size: 8px; }
  .detail-copy { padding: 27px 24px; }
  .detail-copy h2 { font-size: 30px; }
  .detail-copy .detail-summary { font-size: 14px; }
  .detail-close { top: 12px; right: 12px; }
}

@media (max-width: 340px) {
  .language-options { grid-template-columns: 1fr; }
  .language-menu { max-height: calc(100dvh - var(--nav-height) - 18px); }
  .language-option { min-height: 52px; }
}

@media (min-width: 1041px) and (max-height: 710px) {
  .category-tab { min-height: 84px; }
  .category-tab-media { height: 52px; }
  .product-menu-stage { height: 344px; min-height: 344px; }
  .mega-product { min-height: 45px; padding-block: 6px; }
  .preview-topline { padding-top: 15px; }
  .preview-copy { padding-top: 20px; padding-bottom: 20px; }
  .preview-copy h3 { margin-bottom: 9px; font-size: 28px; }
  .preview-summary { margin-bottom: 7px; }
  #preview-description { margin-bottom: 10px; line-height: 1.5; -webkit-line-clamp: 3; }
  .preview-action { margin-top: 14px; }
  .product-menu-footer { min-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-sheet,
  .language-menu { animation: none; }
  .category-tab-media img,
  .nav-chevron,
  .mega-product,
  .product-list-column { transition: none; }
}

/* Header behavior requested for the homepage:
   a rounded floating capsule at the top of the page that morphs into the
   original full-width navigation bar after the visitor scrolls down. */
:root {
  --header-float-top: clamp(18px, 1.9vw, 36px);
  --header-float-inline: clamp(32px, 5vw, 96px);
  --header-float-height: 86px;
}

.site-header {
  top: var(--header-float-top);
  transition: top .36s var(--ease);
}

.header-shell {
  width: calc(100% - var(--header-float-inline));
  min-height: var(--header-float-height);
  margin-inline: auto;
  padding: 10px 20px 10px 30px;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  gap: clamp(18px, 2vw, 34px);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.93), rgba(255,255,255,.88));
  box-shadow: 0 16px 42px rgba(15, 24, 29, .14);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  transition:
    width .36s var(--ease),
    min-height .36s var(--ease),
    margin .36s var(--ease),
    padding .36s var(--ease),
    grid-template-columns .36s var(--ease),
    border-radius .36s var(--ease),
    border-color .3s ease,
    background-color .3s ease,
    box-shadow .3s ease;
}

.site-header:not(.is-scrolled) .brand {
  width: 150px;
  justify-self: start;
}

.site-header:not(.is-scrolled) .desktop-nav {
  justify-self: center;
}

.site-header:not(.is-scrolled) .header-actions {
  justify-self: end;
}

.site-header:not(.is-scrolled) .nav-link {
  font-size: 13.5px;
}

.site-header:not(.is-scrolled) .header-cta {
  min-height: 54px;
  padding-inline: 28px;
  border-radius: 999px;
  font-size: 14px;
}

.site-header:not(.is-scrolled) .navigation-overlay {
  top: calc(var(--header-float-top) + var(--nav-height));
}

.site-header:not(.is-scrolled) .navigation-sheet {
  max-height: calc(100dvh - var(--header-float-top) - var(--nav-height) - 12px);
}

.site-header.is-scrolled {
  top: 0;
}

.site-header.is-scrolled .header-shell {
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 12px clamp(24px, 4vw, 80px);
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid rgba(17, 19, 21, .08);
  border-radius: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 5px 28px rgba(15, 24, 29, .11);
}

.site-header.is-scrolled .brand {
  width: 164px;
  justify-self: start;
}

.site-header.is-scrolled .desktop-nav {
  justify-self: stretch;
}

.site-header.is-scrolled .header-actions {
  justify-self: end;
}

.site-header.is-scrolled .header-cta {
  min-height: 42px;
  padding: 10px 20px;
  gap: 20px;
  font-size: 12px;
}

.site-header.is-scrolled .navigation-overlay {
  top: var(--nav-height);
}

.navigation-overlay {
  transition: top .36s var(--ease);
}

.brand {
  transition: width .36s var(--ease);
}

@media (min-width: 1041px) and (max-width: 1320px) {
  .site-header:not(.is-scrolled) .header-shell {
    padding-inline: 24px;
    grid-template-columns: minmax(145px, 1fr) auto minmax(145px, 1fr);
    gap: 16px;
  }

  .site-header:not(.is-scrolled) .brand { width: 145px; }
  .site-header:not(.is-scrolled) .desktop-nav ul { gap: 20px; }
  .site-header:not(.is-scrolled) .nav-link { font-size: 12.5px; }
  .site-header:not(.is-scrolled) .header-cta {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .site-header.is-scrolled .header-shell {
    grid-template-columns: 166px 1fr auto;
    gap: 18px;
    padding-inline: 28px;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-float-top: 10px;
    --header-float-inline: 20px;
    --header-float-height: 72px;
  }

  .site-header:not(.is-scrolled) .header-shell {
    width: calc(100% - var(--header-float-inline));
    min-height: var(--header-float-height);
    margin-inline: auto;
    padding: 8px 14px 8px 18px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 13px 34px rgba(15,24,29,.15);
  }

  .site-header:not(.is-scrolled) .brand { width: 148px; }
  .site-header:not(.is-scrolled) .header-actions { justify-self: end; }

  .site-header:not(.is-scrolled) .navigation-overlay {
    top: calc(var(--header-float-top) + var(--header-float-height));
  }

  .site-header:not(.is-scrolled) .navigation-sheet {
    max-height: calc(100dvh - var(--header-float-top) - var(--header-float-height));
  }

  .site-header.is-scrolled .header-shell {
    width: 100%;
    min-height: 74px;
    padding: 12px 24px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    border-radius: 0;
  }

  .site-header.is-scrolled .brand { width: 151px; }
  .site-header.is-scrolled .navigation-overlay { top: var(--nav-height); }
}

@media (max-width: 600px) {
  .site-header:not(.is-scrolled) .header-shell {
    padding-inline: 14px;
  }

  .site-header:not(.is-scrolled) .brand { width: 136px; }

  .site-header.is-scrolled .header-shell {
    padding-inline: 18px;
  }

  .site-header.is-scrolled .brand { width: 144px; }
}

@media (max-width: 430px) {
  .site-header:not(.is-scrolled) .header-shell {
    padding-left: 13px;
    padding-right: 10px;
  }

  .site-header:not(.is-scrolled) .brand { width: 126px; }
  .site-header.is-scrolled .brand { width: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-shell,
  .navigation-overlay,
  .brand {
    transition: none;
  }
}

/* Compact desktop tuning for the three-column product menu. */
@media (min-width: 1041px) and (max-width: 1320px) {
  .product-menu-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .category-results {
    left: auto;
    width: 100%;
  }
  .product-facts-card {
    top: 30px;
    bottom: 24px;
    left: 24px;
    width: 56%;
    padding: 14px 15px 11px;
  }
  .product-facts-heading { padding-bottom: 10px; }
  .product-facts-body h4 { margin-top: 11px; margin-bottom: 6px; }
  .product-spec-item { padding: 6px 7px; }
  .product-applications ul { gap: 4px; }
  .product-facts-note { margin-top: 7px; padding-top: 7px; }
  .category-caption {
    right: 14px;
    bottom: 18px;
    width: 29%;
  }
  .category-caption h2 { font-size: 22px; }
  .category-caption p:last-child {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .product-preview { grid-template-columns: minmax(112px, 36%) minmax(0, 1fr); }
  .preview-copy { padding-inline: 18px; }
  .preview-copy h3 { font-size: 27px; }
  #preview-description { -webkit-line-clamp: 3; }
}

@media (min-width: 1041px) and (max-height: 710px) {
  .product-facts-card {
    top: 26px;
    bottom: 30px;
    padding: 12px 14px 10px;
  }
  .product-facts-heading { padding-bottom: 8px; }
  .product-facts-kicker { margin-bottom: 2px; font-size: 8px; }
  .product-facts-heading h3 { font-size: 17px; }
  .product-facts-body h4 { margin: 8px 0 5px; font-size: 8px; }
  .product-spec-list { gap: 4px; }
  .product-spec-item { padding: 5px 6px; }
  .product-spec-item dt { font-size: 7px; }
  .product-spec-item dd { margin-top: 1px; font-size: 9px; }
  .product-applications ul { gap: 3px; }
  .product-applications strong { font-size: 9px; }
  .product-applications small { font-size: 7.5px; }
  .product-facts-note { margin-top: 5px; padding-top: 5px; font-size: 7px; }
  .product-list-label { min-height: 46px; padding-block: 12px 9px; }
  .category-caption { bottom: 14px; }
}

@media (min-width: 1321px) and (max-width: 1500px) {
  .product-facts-card {
    top: 30px;
    bottom: 24px;
    width: min(420px, 48%);
    padding: 14px 17px 11px;
  }
  .product-facts-heading { padding-bottom: 10px; }
  .product-facts-body h4 { margin: 11px 0 6px; }
  .product-spec-item { padding: 6px 7px; }
  .product-applications ul { gap: 4px; }
  .product-facts-note { margin-top: 7px; padding-top: 7px; }
  .category-caption {
    right: 22px;
    bottom: 18px;
    width: min(220px, 31%);
  }
  .category-caption h2 { font-size: 24px; }
}

/* Product mega menu: equal split lower panels */
.product-menu-stage > .category-showcase,
.product-menu-stage > .product-preview {
  min-width: 0;
  min-height: 0;
}
.product-preview .preview-media,
.product-preview .preview-copy {
  min-width: 0;
}

/* Mobile first-level labels are also direct destinations; the chevron area
   remains the disclosure control supplied by the surrounding <summary>. */
@media (max-width: 1040px) {
  .mobile-group > summary { padding: 0; }
  .mobile-primary-link {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 1;
    min-width: 0;
    padding: 15px 0;
    color: inherit;
  }
  .mobile-summary-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex: 0 0 52px;
    color: var(--menu-muted);
  }
  .mobile-summary-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform .2s ease;
  }
  .mobile-group[open] > summary .mobile-summary-toggle svg { transform: rotate(180deg); }
  .mobile-group[open] > summary .mobile-primary-link { color: var(--red); }
}

/* =========================================================
   SEO / progressive-enhancement mega menu links
   Product links exist in HTML; JS only enhances preview.
========================================================= */

.mega-product {
  text-decoration: none;
}

.mega-product:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92);
  outline-offset: -3px;
}

#preview-image-link,
#preview-name-link {
  color: inherit;
  text-decoration: none;
}

#preview-image-link {
  cursor: pointer;
}

#preview-name-link {
  display: inline;
}

#preview-name-link:hover,
#preview-name-link:focus-visible {
  color: var(--red);
}

#preview-image-link img {
  transition: transform .24s ease;
}

@media (hover: hover) and (pointer: fine) {
  #preview-image-link:hover img {
    transform: scale(1.025);
  }
}

#preview-image-link[aria-disabled="true"],
#preview-name-link[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}
