/* Shared VIOX controls, header, footer and product-search components. */

/* Flat CTA fill variants keep their labels stationary while the background
 * expands from the left edge. The default is for white and light surfaces. */
.viox-button,
.viox-button-outline,
.viox-popup-fill {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: var(--viox-space-2);
  overflow: hidden;
  padding: 0 26px;
  border: 0;
  border-radius: var(--viox-radius-card);
  background: var(--viox-red);
  box-shadow: none;
  color: #ffffff;
  font: 700 13px/1.2 var(--viox-font);
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transform: none;
  transition: color var(--viox-motion-fast) ease-in-out;
}

/* Button-like controls use fill and contrast for state. White button
 * variants receive a deliberate 1px perimeter farther below so they remain
 * legible before interaction; this rule neutralizes every legacy border. */
:where(a, button, input)[class*="button"],
.viox-popup-fill,
.viox-nav-quote {
  border-color: transparent !important;
  border-width: 0 !important;
}

.viox-button::before,
.viox-button-outline::before,
.viox-popup-fill::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--viox-dark-card);
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--viox-motion-fill) ease-in-out;
}

.viox-button:hover::before,
.viox-button:focus-visible::before,
.viox-button-outline:hover::before,
.viox-button-outline:focus-visible::before,
.viox-popup-fill:hover::before,
.viox-popup-fill:focus-visible::before {
  transform: scaleX(1);
}

.viox-button:focus-visible,
.viox-button-outline:focus-visible,
.viox-popup-fill:focus-visible {
  outline: 3px solid var(--viox-red);
  outline-offset: 3px;
}

/* The homepage why-action outline remains a shared button variant even
 * though its placement and neighboring controls are template-owned. */
.viox-homepage .viox-why-actions .viox-button-outline {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--viox-radius-card);
  background: transparent;
  box-shadow: none;
  color: var(--viox-dark);
  font-family: var(--viox-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
}

.viox-homepage .viox-why-actions .viox-button-outline:hover,
.viox-homepage .viox-why-actions .viox-button-outline:focus-visible {
  background: transparent;
  color: var(--viox-red);
}

/* Explicit light-surface red-to-graphite variants. */
.viox-button--red-graphite,
.viox-button--red-black,
.viox-popup-fill--red-graphite,
.viox-popup-fill--red-black {
  background: var(--viox-red);
  color: #ffffff;
}

.viox-button--red-graphite::before,
.viox-button--red-black::before,
.viox-popup-fill--red-graphite::before,
.viox-popup-fill--red-black::before {
  background: var(--viox-dark-card);
}

/* Dark surfaces reverse the fill to white and keep the resulting label
 * graphite. Component classes make this available without page-specific CSS. */
.viox-button--red-white,
.viox-popup-fill--red-white,
.viox-dark-surface .viox-button,
.viox-dark-surface .viox-button-outline,
.viox-dark-surface .viox-popup-fill,
.viox-surface--dark .viox-button,
.viox-surface--dark .viox-button-outline,
.viox-surface--dark .viox-popup-fill {
  background: var(--viox-red);
  color: #ffffff;
}

.viox-button--red-white::before,
.viox-popup-fill--red-white::before,
.viox-dark-surface .viox-button::before,
.viox-dark-surface .viox-button-outline::before,
.viox-dark-surface .viox-popup-fill::before,
.viox-surface--dark .viox-button::before,
.viox-surface--dark .viox-button-outline::before,
.viox-surface--dark .viox-popup-fill::before {
  background: #ffffff;
}

.viox-button--red-white:hover,
.viox-button--red-white:focus-visible,
.viox-popup-fill--red-white:hover,
.viox-popup-fill--red-white:focus-visible,
.viox-dark-surface .viox-button:hover,
.viox-dark-surface .viox-button:focus-visible,
.viox-dark-surface .viox-button-outline:hover,
.viox-dark-surface .viox-button-outline:focus-visible,
.viox-dark-surface .viox-popup-fill:hover,
.viox-dark-surface .viox-popup-fill:focus-visible,
.viox-surface--dark .viox-button:hover,
.viox-surface--dark .viox-button:focus-visible,
.viox-surface--dark .viox-button-outline:hover,
.viox-surface--dark .viox-button-outline:focus-visible,
.viox-surface--dark .viox-popup-fill:hover,
.viox-surface--dark .viox-popup-fill:focus-visible {
  color: var(--viox-dark-card);
}

/* Red surfaces begin white and fill graphite. */
.viox-button--white-graphite,
.viox-popup-fill--white-graphite,
.viox-surface--red .viox-button,
.viox-surface--red .viox-button-outline,
.viox-surface--red .viox-popup-fill {
  background: #ffffff;
  color: var(--viox-dark-card);
}

.viox-button--white-graphite::before,
.viox-popup-fill--white-graphite::before,
.viox-surface--red .viox-button::before,
.viox-surface--red .viox-button-outline::before,
.viox-surface--red .viox-popup-fill::before {
  background: var(--viox-dark-card);
}

.viox-button--white-graphite:hover,
.viox-button--white-graphite:focus-visible,
.viox-popup-fill--white-graphite:hover,
.viox-popup-fill--white-graphite:focus-visible,
.viox-surface--red .viox-button:hover,
.viox-surface--red .viox-button:focus-visible,
.viox-surface--red .viox-button-outline:hover,
.viox-surface--red .viox-button-outline:focus-visible,
.viox-surface--red .viox-popup-fill:hover,
.viox-surface--red .viox-popup-fill:focus-visible {
  color: #ffffff;
}

/* Legacy modifier remains a supported semantic alias for red surfaces. */
.viox-button--white {
  background: #ffffff;
  color: var(--viox-dark-card);
}

.viox-button--white::before {
  background: var(--viox-dark-card);
}

.viox-button--white:hover,
.viox-button--white:focus-visible {
  color: #ffffff;
}

/* White controls need a visible resting boundary. On red surfaces that
 * boundary stays white; the legacy white-on-light alias uses VIOX red. */
.viox-button--white,
.viox-button--white-graphite,
.viox-popup-fill--white-graphite {
  border: 1px solid var(--viox-red) !important;
}

.viox-surface--red .viox-button,
.viox-surface--red .viox-button-outline,
.viox-surface--red .viox-popup-fill {
  border: 1px solid #ffffff !important;
}

/* Industry-solution contexts must outrank their template-family rules while
 * keeping the component layer free of forced-priority declarations. */
.viox-solution-page .viox-solution-hero .viox-button {
  background: var(--viox-red);
  color: #ffffff;
}

.viox-solution-page .viox-solution-hero .viox-button::before {
  background: #ffffff;
}

.viox-solution-page .viox-solution-hero .viox-button:hover,
.viox-solution-page .viox-solution-hero .viox-button:focus-visible {
  color: var(--viox-dark-card);
}

.viox-solution-page .viox-solution-cta .viox-button {
  background: #ffffff;
  color: var(--viox-dark-card);
}

.viox-solution-page .viox-solution-cta .viox-button::before {
  background: var(--viox-dark-card);
}

.viox-solution-page .viox-solution-cta .viox-button:hover,
.viox-solution-page .viox-solution-cta .viox-button:focus-visible {
  background: #ffffff;
  color: #ffffff;
}

/* Header --------------------------------------------------------------- */
.viox-site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--viox-surface);
  border-bottom: 1px solid var(--viox-border);
  box-shadow: 0 3px 10px rgba(27, 32, 39, 0.05);
  color: var(--viox-heading);
}

.viox-header__inner {
  position: relative;
  display: flex;
  width: min(var(--viox-container), calc(100% - (2 * var(--viox-gutter-desktop))));
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.viox-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
}

.viox-brand img {
  display: block;
  width: 150px;
  height: auto;
}

.viox-site-header .viox-brand:focus-visible {
  outline: 2px solid var(--viox-dark-card);
  outline-offset: 4px;
}

.viox-desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--viox-space-6);
  margin-left: auto;
}

.viox-site-header .viox-desktop-nav > a:not(.viox-nav-quote),
.viox-site-header .viox-products-menu > summary,
.viox-site-header .viox-mega-menu > summary,
.viox-site-header .viox-desktop-nav .viox-language > summary,
.viox-site-header .viox-mobile-nav a,
.viox-site-header .viox-mobile-language > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--viox-heading);
  font-family: var(--viox-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.viox-site-header .viox-desktop-nav > a:not(.viox-nav-quote):hover,
.viox-site-header .viox-desktop-nav > a:not(.viox-nav-quote):focus-visible,
.viox-site-header .viox-products-menu > summary:hover,
.viox-site-header .viox-products-menu > summary:focus-visible,
.viox-site-header .viox-products-menu[open] > summary,
.viox-site-header .viox-mega-menu > summary:hover,
.viox-site-header .viox-mega-menu > summary:focus-visible,
.viox-site-header .viox-mega-menu[open] > summary,
.viox-site-header .viox-mobile-nav a:hover,
.viox-site-header .viox-mobile-nav a:focus-visible {
  color: var(--viox-red);
}

.viox-site-header .viox-desktop-nav > a:focus-visible,
.viox-site-header .viox-products-menu > summary:focus-visible,
.viox-site-header .viox-mega-menu > summary:focus-visible,
.viox-site-header .viox-products-mega__family:focus-visible,
.viox-site-header .viox-mobile-products summary:focus-visible,
.viox-site-header .viox-mobile-section summary:focus-visible,
.viox-site-header .viox-navigation-mega a:focus-visible,
.viox-site-header .viox-language > summary:focus-visible,
.viox-site-header .viox-mobile-nav a:focus-visible,
.viox-site-header .viox-mobile-language > summary:focus-visible,
.viox-site-header .viox-mobile-menu > summary:focus-visible,
.viox-site-header .viox-product-search__trigger:focus-visible,
.viox-product-search-panel__close:focus-visible,
.viox-product-search-form__submit:focus-visible,
.viox-product-search-form input[type="search"]:focus-visible {
  outline: 3px solid var(--viox-red);
  outline-offset: 3px;
}

/* Mouse and touch activation must not leave a focus rectangle in the header.
 * Keyboard users still receive the red :focus-visible treatment above. */
.viox-site-header summary:focus:not(:focus-visible),
.viox-site-header button:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

/* Products mega menu --------------------------------------------------- */
.viox-products-menu,
.viox-mega-menu {
  position: static;
}

.viox-products-menu > summary,
.viox-mega-menu > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--viox-heading);
  cursor: pointer;
  list-style: none;
}

.viox-products-menu > summary::-webkit-details-marker,
.viox-mega-menu > summary::-webkit-details-marker,
.viox-mobile-products summary::-webkit-details-marker {
  display: none;
}

.viox-products-menu > summary > svg,
.viox-mega-menu > summary > svg {
  width: 10px;
  height: 7px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.viox-products-menu[open] > summary > svg,
.viox-mega-menu[open] > summary > svg {
  transform: rotate(180deg);
}

.viox-products-mega {
  position: absolute;
  z-index: 12;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: grid;
  width: 100%;
  max-height: min(660px, calc(100dvh - 104px));
  grid-template-columns: 240px 320px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--viox-border);
  border-top: 3px solid var(--viox-red);
  background: var(--viox-surface);
  box-shadow: 0 18px 42px rgba(27, 32, 39, 0.14);
}

.viox-products-menu:not([open]) > .viox-products-mega {
  display: none;
}

/* Applications, Company and Resources mega menus --------------------- */
.viox-navigation-mega {
  position: absolute;
  z-index: 12;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: grid;
  width: 100%;
  max-height: min(660px, calc(100dvh - 104px));
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden auto;
  border: 1px solid var(--viox-border);
  border-top: 3px solid var(--viox-red);
  background: var(--viox-surface);
  box-shadow: 0 18px 42px rgba(27, 32, 39, 0.14);
}

.viox-mega-menu:not([open]) > .viox-navigation-mega {
  display: none;
}

.viox-navigation-mega__intro {
  padding: 34px 28px;
  background: var(--viox-bg-soft);
}

.viox-navigation-mega__title {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--viox-heading);
  font: 600 28px/1.15 var(--viox-font);
  letter-spacing: -.03em;
  text-decoration: none;
}

.viox-navigation-mega__title:hover,
.viox-navigation-mega__section-title:hover,
.viox-products-mega__title:hover,
.viox-products-mega__panel-title:hover {
  color: var(--viox-red);
}

.viox-navigation-mega__intro p {
  margin: 0;
  color: var(--viox-muted);
  font: 400 14px/1.65 var(--viox-font);
}

.viox-navigation-mega__intro > .viox-navigation-mega__intro-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--viox-red);
  font: 600 13px/1.2 var(--viox-font);
  text-decoration: none;
}

.viox-navigation-mega a > svg,
.viox-navigation-mega__intro > a svg,
.viox-mobile-section__all svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}

.viox-navigation-mega__body {
  min-width: 0;
  background: var(--viox-surface);
}

.viox-navigation-mega__application-grid,
.viox-navigation-mega__company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px 24px;
}

.viox-navigation-mega__company-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.viox-navigation-mega__application,
.viox-navigation-mega__company-link {
  display: grid;
  min-width: 0;
  min-height: 116px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
  color: var(--viox-heading);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.viox-navigation-mega__application {
  grid-template-columns: 44px minmax(0, 1fr) 16px;
}

.viox-navigation-mega__company-link {
  grid-template-columns: 30px minmax(0, 1fr) 16px;
}

.viox-navigation-mega__application:nth-child(3n) {
  border-right: 0;
}

.viox-navigation-mega__application:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.viox-navigation-mega__company-link:nth-child(4n) {
  border-right: 0;
}

.viox-navigation-mega__company-link:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.viox-navigation-mega__application:hover,
.viox-navigation-mega__application:focus-visible,
.viox-navigation-mega__company-link:hover,
.viox-navigation-mega__company-link:focus-visible {
  background: #fff1f2;
  color: var(--viox-red);
}

.viox-navigation-mega__application > span:nth-child(2),
.viox-navigation-mega__company-link > span:nth-child(2),
.viox-navigation-mega__resource-primary a > span {
  min-width: 0;
}

.viox-navigation-mega__application strong,
.viox-navigation-mega__company-link strong,
.viox-navigation-mega__resource-primary strong {
  display: block;
  color: currentColor;
  font: 600 14px/1.35 var(--viox-font);
}

.viox-navigation-mega__application small,
.viox-navigation-mega__company-link small,
.viox-navigation-mega__resource-primary small {
  display: block;
  margin-top: 6px;
  color: var(--viox-muted);
  font: 400 12px/1.5 var(--viox-font);
}

.viox-navigation-mega__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: currentColor;
}

.viox-navigation-mega__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.viox-navigation-mega__number {
  align-self: start;
  padding-top: 2px;
  color: var(--viox-red);
  font: 600 12px/1.2 var(--viox-font);
  letter-spacing: .06em;
}

.viox-navigation-mega--resources {
  grid-template-columns: 250px 310px minmax(0, 1fr);
}

.viox-navigation-mega__resource-primary,
.viox-navigation-mega__topics {
  min-width: 0;
  padding: 28px 26px 32px;
  background: var(--viox-surface);
}

.viox-navigation-mega__resource-primary {
  border-right: 1px solid var(--viox-border);
}

.viox-navigation-mega__section-title {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--viox-heading);
  font: 600 15px/1.3 var(--viox-font);
  text-decoration: none;
}

.viox-navigation-mega__resource-primary > a:not(.viox-navigation-mega__section-title) {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0f3;
  color: var(--viox-heading);
  text-decoration: none;
}

.viox-navigation-mega__topics > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}

.viox-navigation-mega__topics a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf0f3;
  color: var(--viox-text);
  font: 500 13px/1.4 var(--viox-font);
  text-decoration: none;
}

.viox-navigation-mega__resource-primary > a:hover,
.viox-navigation-mega__resource-primary > a:focus-visible,
.viox-navigation-mega__topics a:hover,
.viox-navigation-mega__topics a:focus-visible {
  color: var(--viox-red);
}

.viox-products-mega__intro {
  padding: 34px 28px;
  background: var(--viox-bg-soft);
}

.viox-products-mega__title {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--viox-heading);
  font-family: var(--viox-font);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-decoration: none;
}

.viox-products-mega__intro p {
  margin: 0;
  color: var(--viox-muted);
  font: 400 14px/1.65 var(--viox-font);
}

.viox-products-mega__intro > .viox-products-mega__intro-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--viox-red);
  font: 600 13px/1.2 var(--viox-font);
  text-decoration: none;
}

.viox-products-mega__intro > a svg,
.viox-products-mega__panel-head a svg,
.viox-products-mega__panel li a svg,
.viox-mobile-products__all svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viox-products-mega__families {
  min-width: 0;
  overflow-y: auto;
  padding: 16px 0;
  border-right: 1px solid var(--viox-border);
  background: #fff;
}

.viox-products-mega__family {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--viox-heading);
  cursor: pointer;
  font: 600 14px/1.35 var(--viox-font);
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.viox-products-mega__family:hover,
.viox-products-mega__family.is-active,
.viox-products-mega__family[aria-selected="true"] {
  background: #fff1f2;
  color: var(--viox-red);
}

.viox-products-mega__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
}

.viox-products-mega__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.viox-products-mega__arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viox-products-mega__panels {
  min-width: 0;
  overflow-y: auto;
  padding: 32px 34px 36px;
  background: #fff;
}

.viox-products-mega__panel[hidden] {
  display: none !important;
}

.viox-products-mega__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--viox-border);
}

.viox-products-mega__panel-head .viox-products-mega__panel-title {
  flex: 1 1 auto;
  margin: 0;
  color: var(--viox-heading);
  font: 600 24px/1.2 var(--viox-font);
  letter-spacing: -.025em;
  text-decoration: none;
}

.viox-products-mega__panel-head a {
  flex: 0 0 auto;
  color: var(--viox-red);
  font: 600 13px/1.2 var(--viox-font);
  text-decoration: none;
}

.viox-products-mega__panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.viox-products-mega__panel li {
  min-width: 0;
  margin: 0;
  border-bottom: 1px solid #edf0f3;
}

.viox-products-mega__panel li a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--viox-text);
  font: 500 13px/1.35 var(--viox-font);
  text-decoration: none;
  transition: color 160ms ease;
}

.viox-products-mega__panel li a svg {
  color: #a4adb7;
  transition: color 160ms ease, transform 160ms ease;
}

.viox-products-mega__panel li a:hover,
.viox-products-mega__panel li a:focus-visible {
  color: var(--viox-red);
}

.viox-products-mega__panel li a:hover svg,
.viox-products-mega__panel li a:focus-visible svg {
  color: var(--viox-red);
  transform: translate(2px, -2px);
}

.viox-products-mega__empty {
  margin: 24px 0 0;
  color: var(--viox-muted);
  font: 400 14px/1.6 var(--viox-font);
}

.viox-mobile-products {
  width: 100%;
}

.viox-mobile-products > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--viox-space-2);
  color: var(--viox-heading);
  cursor: pointer;
  font: 600 13px/1.2 var(--viox-font);
  letter-spacing: .06em;
  list-style: none;
  text-transform: uppercase;
}

.viox-mobile-products > summary::after,
.viox-mobile-products__group > summary::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.viox-mobile-products[open] > summary::after,
.viox-mobile-products__group[open] > summary::after {
  transform: rotate(225deg);
}

.viox-mobile-products__body {
  padding: 8px 0 16px 12px;
  border-left: 1px solid var(--viox-border);
}

.viox-mobile-products__all {
  display: flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  color: var(--viox-red) !important;
}

.viox-mobile-products__group {
  border-top: 1px solid #edf0f3;
}

.viox-mobile-products__group > summary {
  display: grid;
  min-height: 54px;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  color: var(--viox-heading);
  cursor: pointer;
  font: 600 14px/1.35 var(--viox-font);
  list-style: none;
}

.viox-mobile-products__links {
  display: grid;
  padding: 0 0 12px 48px;
}

.viox-site-header .viox-mobile-products__links a {
  min-height: 44px;
  padding: 0 8px;
  border-top: 1px solid #edf0f3;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.viox-mobile-section {
  width: 100%;
}

.viox-mobile-section > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--viox-space-2);
  color: var(--viox-heading);
  cursor: pointer;
  font: 600 13px/1.2 var(--viox-font);
  letter-spacing: .06em;
  list-style: none;
  text-transform: uppercase;
}

.viox-mobile-section > summary::-webkit-details-marker {
  display: none;
}

.viox-mobile-section > summary::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.viox-mobile-section[open] > summary::after {
  transform: rotate(225deg);
}

.viox-mobile-section__body {
  display: grid;
  padding: 8px 0 16px 12px;
  border-left: 1px solid var(--viox-border);
}

.viox-site-header .viox-mobile-section__body > a {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-top: 1px solid #edf0f3;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.viox-site-header .viox-mobile-section__body > a .viox-navigation-mega__icon {
  width: 34px;
  height: 34px;
}

.viox-site-header .viox-mobile-section__body > a .viox-navigation-mega__icon svg {
  width: 23px;
  height: 23px;
}

.viox-site-header .viox-mobile-section__all {
  justify-content: space-between;
  color: var(--viox-red);
  font-weight: 600;
}

.viox-mobile-section__heading {
  display: flex;
  min-height: 40px;
  align-items: end;
  padding: 12px 8px 7px;
  color: var(--viox-muted);
  font: 600 11px/1.2 var(--viox-font);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.viox-desktop-nav .viox-nav-quote {
  flex: 0 0 auto;
  padding-inline: 22px;
}

.viox-site-header .viox-nav-quote:hover,
.viox-site-header .viox-nav-quote:focus-visible,
.viox-site-header .viox-nav-quote:active {
  color: #fff !important;
}

.viox-language,
.viox-mobile-language,
.viox-mobile-menu {
  position: relative;
}

.viox-language > summary,
.viox-mobile-language > summary,
.viox-mobile-menu > summary {
  cursor: pointer;
  list-style: none;
}

.viox-language > summary::-webkit-details-marker,
.viox-mobile-language > summary::-webkit-details-marker,
.viox-mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.viox-language > summary::after,
.viox-mobile-language > summary::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 4px var(--viox-space-2);
  color: var(--viox-muted);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.viox-language > summary::after,
.viox-mobile-language > summary::after {
  display: none;
}

.viox-language > summary {
  width: 44px;
  justify-content: center;
  padding: 0;
}

.viox-language__globe {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.viox-language[open] > summary::after,
.viox-mobile-language[open] > summary::after {
  margin-bottom: 0;
  transform: rotate(225deg);
}

.viox-language__menu,
.viox-mobile-language__menu {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  top: calc(100% + var(--viox-space-2));
  right: 0;
  display: grid;
  width: min(600px, calc(100vw - 32px));
  max-height: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--viox-space-1);
  padding: var(--viox-space-3);
  overflow: visible;
  overscroll-behavior: contain;
  border: 1px solid var(--viox-border);
  border-radius: var(--viox-radius-card);
  background: var(--viox-surface);
  box-shadow: 0 10px 24px rgba(27, 32, 39, 0.08);
}

.viox-language:not([open]) > .viox-language__menu,
.viox-mobile-language:not([open]) > .viox-mobile-language__menu {
  display: none;
}

.viox-language__menu a,
.viox-mobile-language__menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: var(--viox-space-2);
  padding-inline: var(--viox-space-3);
  color: var(--viox-heading);
  font: 600 13px/1.2 var(--viox-font);
  text-decoration: none;
}

.viox-language__menu a[aria-current="page"],
.viox-mobile-language__menu a[aria-current="page"] {
  background: rgba(215, 25, 32, .08);
  color: var(--viox-red);
}

.viox-language__flag {
  display: block;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: cover;
}

.viox-language__check {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-left: auto;
}

.viox-language__menu a:hover,
.viox-language__menu a:focus-visible,
.viox-mobile-language__menu a:hover,
.viox-mobile-language__menu a:focus-visible {
  background: var(--viox-bg-soft);
  color: var(--viox-red);
}

.viox-flag {
  margin-right: var(--viox-space-1);
}

.viox-mobile-menu {
  display: none;
}

.viox-mobile-menu > summary {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-content: center;
  background:
    linear-gradient(var(--viox-heading), var(--viox-heading)) center / 22px 2px no-repeat,
    linear-gradient(var(--viox-heading), var(--viox-heading)) center 14px / 22px 2px no-repeat,
    linear-gradient(var(--viox-heading), var(--viox-heading)) center -14px / 22px 2px no-repeat;
}

.viox-mobile-menu[open] > summary {
  background:
    linear-gradient(45deg, transparent 46%, var(--viox-heading) 47% 53%, transparent 54%) center / 24px 24px no-repeat,
    linear-gradient(-45deg, transparent 46%, var(--viox-heading) 47% 53%, transparent 54%) center / 24px 24px no-repeat;
}

.viox-mobile-nav {
  position: absolute;
  z-index: 3;
  top: calc(100% + 1px);
  right: calc(-1 * var(--viox-gutter-mobile));
  left: calc(-1 * var(--viox-gutter-mobile));
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  padding: var(--viox-space-6) var(--viox-gutter-mobile);
  border: 1px solid var(--viox-border);
  border-radius: 0 0 var(--viox-radius-card) var(--viox-radius-card);
  background: var(--viox-surface);
  box-shadow: 0 12px 28px rgba(27, 32, 39, 0.08);
}

.viox-mobile-nav ul {
  display: grid;
  gap: var(--viox-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.viox-mobile-nav li {
  margin: 0;
}

.viox-mobile-nav a {
  width: 100%;
  padding-inline: var(--viox-space-2);
}

.viox-mobile-language {
  margin-top: var(--viox-space-3);
  padding-top: var(--viox-space-3);
  border-top: 1px solid var(--viox-border);
}

.viox-mobile-language > summary {
  display: flex;
  width: 100%;
  align-items: center;
  gap: var(--viox-space-2);
  padding-inline: var(--viox-space-2);
}

.viox-language__mobile-label {
  font: 600 13px/1.2 var(--viox-font);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.viox-mobile-language__menu {
  position: static;
  width: 100%;
  max-height: min(440px, calc(100dvh - 220px));
  grid-template-columns: 1fr;
  margin-top: var(--viox-space-2);
  overflow-y: auto;
  box-shadow: none;
}

/* Product-only search retains its submitted post_type=product control. */
.viox-site-header .viox-product-search__trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: var(--viox-space-2);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--viox-heading);
  cursor: pointer;
  font: 600 13px/1.2 var(--viox-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.viox-site-header .viox-product-search__trigger:hover,
.viox-site-header .viox-product-search__trigger:focus-visible {
  color: var(--viox-red);
}

.viox-product-search-panel {
  position: absolute;
  z-index: 4;
  top: calc(100% + 1px);
  right: 0;
  width: min(560px, calc(100vw - (2 * var(--viox-gutter-mobile))));
  border: 1px solid var(--viox-border);
  border-radius: var(--viox-radius-card);
  background: var(--viox-surface);
  box-shadow: 0 12px 28px rgba(27, 32, 39, 0.08);
}

.viox-product-search-panel[hidden] {
  display: none;
}

.viox-product-search-panel__inner {
  padding: var(--viox-space-6);
}

.viox-product-search-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--viox-space-4);
  margin-bottom: var(--viox-space-4);
}

.viox-product-search-panel__title {
  margin: 0;
  color: var(--viox-heading);
  font: 600 24px/1.15 var(--viox-font);
  letter-spacing: -0.03em;
}

.viox-product-search-panel__close {
  display: inline-grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--viox-border);
  border-radius: var(--viox-radius-card);
  background: var(--viox-surface);
  box-shadow: none;
  color: var(--viox-heading);
  cursor: pointer;
}

.viox-product-search-panel__close:hover,
.viox-product-search-panel__close:focus-visible {
  border-color: var(--viox-red);
  background: var(--viox-red);
  color: #ffffff;
}

.viox-product-search-form__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--viox-border);
  border-radius: var(--viox-radius-card);
  background: var(--viox-surface);
}

.viox-product-search-form__field:focus-within {
  border-color: var(--viox-red);
}

.viox-product-search-form input[type="search"] {
  min-width: 0;
  min-height: 48px;
  padding: 0 var(--viox-space-3);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--viox-heading);
  font: 400 15px/1.2 var(--viox-font);
}

.viox-product-search-form__submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: var(--viox-space-2);
  padding: 0 var(--viox-space-4);
  border: 0;
  border-radius: 0;
  background: var(--viox-red);
  box-shadow: none;
  color: #ffffff;
  cursor: pointer;
  font: 700 13px/1.2 var(--viox-font);
}

.viox-product-search-form__submit:hover,
.viox-product-search-form__submit:focus-visible {
  background: var(--viox-dark-card);
}

.viox-product-search-panel__hint {
  margin: var(--viox-space-3) 0 0;
  color: var(--viox-muted);
  font: 400 13px/1.5 var(--viox-font);
}

.viox-header-scroll-target {
  position: sticky;
  z-index: 40;
  top: 0;
  will-change: transform;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.viox-header-scroll-target.is-viox-header-hidden {
  transform: translateY(-100%);
}

/* Footer --------------------------------------------------------------- */
.viox-site-footer {
  position: relative;
  z-index: 41;
  overflow: hidden;
  background: #0b0f13;
  color: var(--viox-text-on-dark);
  font-family: var(--viox-font);
}

.viox-footer__assist {
  display: grid;
  grid-template-columns: 120px minmax(280px, 1fr) auto auto;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding-block: 42px;
  border-bottom: 1px solid rgba(215, 222, 230, 0.2);
}

.viox-footer__assist-title {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
}

.viox-footer__assist-links,
.viox-footer__quick-actions,
.viox-footer__social,
.viox-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.viox-footer__assist-links {
  gap: 16px 32px;
}

.viox-site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.viox-footer__assist-links a,
.viox-footer__column a {
  font-size: 13px;
  line-height: 1.45;
}

.viox-footer__assist-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.viox-footer__quick-actions {
  gap: 8px;
}

.viox-footer__quick-actions a,
.viox-footer__social a {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(215, 222, 230, 0.32);
  border-radius: 50%;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.viox-footer__quick-actions svg,
.viox-footer__social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viox-site-footer .viox-footer__catalog {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--viox-radius-sm);
  background: #ffffff;
  color: var(--viox-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.viox-footer__directory {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 112px);
  min-height: 430px;
  padding-block: 36px 64px;
}

.viox-footer__directory::before {
  position: absolute;
  z-index: 0;
  right: clamp(-120px, -5vw, -48px);
  bottom: -70px;
  width: min(760px, 54vw);
  aspect-ratio: 8 / 5;
  background: url("assets/images/viox-footer-northern-hemisphere.svg") center bottom / contain no-repeat;
  content: "";
  opacity: 0.085;
  pointer-events: none;
}

.viox-footer__directory > * {
  position: relative;
  z-index: 1;
}

.viox-site-footer h3 {
  margin: 0 0 16px;
  color: #8e98a4;
  font: 500 13px/1.4 var(--viox-font);
  letter-spacing: 0;
  text-transform: none;
}

.viox-footer__column ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.viox-footer__column a {
  display: inline;
  color: #ffffff;
}

.viox-footer__company {
  min-width: 0;
}

.viox-footer__identity {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(215, 222, 230, 0.2);
}

.viox-footer__identity img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
}

.viox-footer__identity p {
  margin: 22px 0 12px;
  color: #8e98a4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.viox-footer__social {
  gap: 8px;
}

.viox-footer__social a {
  width: 44px;
  min-height: 44px;
}

.viox-footer__quick-actions a:hover,
.viox-footer__social a:hover,
.viox-footer__assist-links a:hover,
.viox-footer__column a:hover,
.viox-footer__bottom a:hover {
  border-color: var(--viox-red);
  color: var(--viox-red);
}

.viox-site-footer .viox-footer__catalog:hover {
  background: var(--viox-red);
  color: #ffffff;
}

.viox-site-footer a:focus-visible,
.viox-site-footer summary:focus-visible {
  outline: 3px solid var(--viox-red);
  outline-offset: 3px;
}

.viox-site-footer summary:focus:not(:focus-visible) {
  outline: 0;
}

.viox-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  min-height: 72px;
  border-top: 1px solid rgba(215, 222, 230, 0.2);
  color: #7f8995;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viox-footer__bottom nav {
  gap: 12px 28px;
}

.viox-footer__bottom a {
  color: #ffffff;
}

.viox-footer__wordmark {
  font-weight: 700;
}

.viox-footer__bottom p {
  max-width: 520px;
  margin: 0;
  color: #7f8995;
  line-height: 1.6;
  text-align: right;
}

.viox-contact-rail {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: 20px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
}

.viox-contact-rail a {
  display: grid;
  width: 62px;
  min-height: 62px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--viox-red);
  box-shadow: none;
  color: #ffffff;
  text-decoration: none;
  transform: translateX(0);
  transition: background-color var(--viox-motion-fast) ease-in-out, transform var(--viox-motion-fast) ease-in-out;
}

.viox-contact-rail a:hover,
.viox-contact-rail a:focus-visible {
  background: var(--viox-dark-card);
  color: #ffffff;
  transform: translateX(-4px);
}

.viox-contact-rail a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.viox-contact-rail svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
}

.viox-contact-rail a:last-child svg {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 1024px) {
  .viox-header__inner {
    width: calc(100% - (2 * var(--viox-gutter-tablet)));
  }

  .viox-desktop-nav {
    gap: var(--viox-space-4);
  }

  .viox-products-mega {
    grid-template-columns: 210px 280px minmax(0, 1fr);
  }

  .viox-products-mega__intro {
    padding-inline: 22px;
  }

  .viox-products-mega__panels {
    padding-inline: 26px;
  }

  .viox-navigation-mega {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .viox-navigation-mega--resources {
    grid-template-columns: 220px 270px minmax(0, 1fr);
  }

  .viox-navigation-mega__intro {
    padding-inline: 22px;
  }

  .viox-navigation-mega__application-grid,
  .viox-navigation-mega__company-grid {
    padding-inline: 18px;
  }

  .viox-navigation-mega__application,
  .viox-navigation-mega__company-link {
    padding-inline: 15px;
  }
}

@media (max-width: 1120px) {
  .viox-desktop-nav {
    display: none;
  }

  .viox-mobile-menu {
    display: block;
    position: static;
  }

  .viox-mobile-nav {
    right: calc(-1 * var(--viox-gutter-tablet));
    left: calc(-1 * var(--viox-gutter-tablet));
  }

  .viox-footer__assist {
    grid-template-columns: 110px minmax(260px, 1fr) auto;
  }

  .viox-footer__quick-actions {
    justify-self: end;
  }

  .viox-footer__catalog {
    grid-column: 2;
    justify-self: start;
  }

  .viox-footer__directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .viox-footer__directory::before {
    right: -90px;
    bottom: -44px;
    width: min(680px, 74vw);
    opacity: 0.06;
  }

  .viox-footer__bottom {
    grid-template-columns: 1fr;
    padding-block: 22px;
  }

  .viox-footer__bottom p {
    text-align: left;
  }
}

@media (max-width: 780px) {
  .viox-header__inner {
    width: calc(100% - (2 * var(--viox-gutter-mobile)));
    min-height: 64px;
  }

  .viox-brand img {
    width: 132px;
  }

  .viox-desktop-nav {
    display: none;
  }

  .viox-mobile-menu {
    display: block;
    position: static;
  }

  .viox-mobile-nav {
    right: calc(-1 * var(--viox-gutter-mobile));
    left: calc(-1 * var(--viox-gutter-mobile));
  }

  .viox-site-header .viox-mobile-search-item .viox-product-search__trigger {
    width: 100%;
    justify-content: flex-start;
    padding-inline: var(--viox-space-2);
  }

  .viox-product-search-panel {
    right: 0;
    left: 0;
    width: auto;
  }

  .viox-footer__assist {
    grid-template-columns: 1fr auto;
    gap: 18px 24px;
    padding-block: 36px;
  }

  .viox-footer__assist-title {
    grid-column: 1;
  }

  .viox-footer__assist-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .viox-footer__quick-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .viox-footer__catalog {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
  }

  .viox-footer__directory {
    gap: 48px 24px;
    padding-block: 36px 52px;
  }

  .viox-footer__directory::before {
    display: none;
  }

  .viox-contact-rail {
    right: 14px;
  }
}

@media (max-width: 520px) {
  .viox-contact-rail {
    top: auto;
    right: 10px;
    bottom: 74px;
    gap: 7px;
    transform: none;
  }

  .viox-contact-rail a {
    width: 48px;
    min-height: 48px;
    border-radius: 8px;
  }

  .viox-contact-rail svg {
    width: 24px;
    height: 24px;
  }

  .viox-product-search-form__field {
    grid-template-columns: 1fr;
  }

  .viox-footer__assist {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .viox-footer__assist-title br {
    display: none;
  }

  .viox-footer__assist-links {
    gap: 4px 22px;
  }

  .viox-footer__quick-actions {
    justify-content: flex-start;
  }

  .viox-footer__catalog {
    width: 100%;
  }

  .viox-footer__directory {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .viox-footer__column ul {
    gap: 0;
  }

  .viox-footer__column a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .viox-footer__bottom nav {
    gap: 14px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .viox-button,
  .viox-button-outline,
  .viox-popup-fill,
  .viox-button::before,
  .viox-button-outline::before,
  .viox-popup-fill::before,
  .viox-header-scroll-target {
    transition: none;
  }

  .viox-header-scroll-target.is-viox-header-hidden {
    transform: none;
  }

  .viox-products-menu > summary > svg,
  .viox-mega-menu > summary > svg,
  .viox-products-mega__family,
  .viox-products-mega__panel li a,
  .viox-products-mega__panel li a svg,
  .viox-mobile-products > summary::after,
  .viox-mobile-products__group > summary::after,
  .viox-mobile-section > summary::after,
  .viox-navigation-mega a {
    transition: none;
  }
}
