/* Simplewire global product navigation - shared preview component. */
:root {
  --swg-ink: #0a1b28;
  --swg-text: #36485a;
  --swg-muted: #5c6e7d;
  --swg-line: #dde5ee;
  --swg-blue: #2382ff;
  --swg-action: #1466cc;
  --swg-soft: #f3f6fa;
  --swg-blue-soft: #f1f7ff;
  --swg-header-height: 68px;
  --swg-cta-blue: #1e70dc;
  --swg-display: "Exo", "Exo 2", "Arial Narrow", system-ui, sans-serif;
  --swg-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
}

body:not(.swg-menu-ready)::before {
  content: "";
  display: block;
  height: var(--swg-header-height);
}

.swg-flexplus-lock {
  display: inline-block !important;
  white-space: nowrap !important;
}

.swg-flexplus-plus {
  display: inline-block !important;
  color: #00ad90;
  line-height: 1;
  vertical-align: baseline;
  transform: translateY(0.04em);
}

.swg-header,
.swg-header *,
.swg-header *::before,
.swg-header *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.swg-header {
  position: sticky;
  top: 0;
  z-index: 2147483000;
  width: 100%;
  height: var(--swg-header-height);
  margin: 0;
  border-bottom: 1px solid rgba(4, 28, 44, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: var(--swg-ink);
  font-family: var(--swg-body);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  isolation: isolate;
}

.swg-header [hidden] {
  display: none !important;
}

.swg-header a {
  color: inherit;
  text-decoration: none;
}

.swg-inner {
  width: min(100%, 1320px);
  height: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}

.swg-brand {
  width: 176px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}

.swg-logo {
  width: 176px;
  height: auto;
  display: block;
}

.swg-desktop-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.swg-products {
  position: relative;
}

.swg-language {
  position: relative;
}

.swg-language-button {
  min-width: 70px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--swg-text);
  padding: 0 8px;
  font-family: var(--swg-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.swg-language-button:hover,
.swg-language-button[aria-expanded="true"] {
  border-color: rgba(35, 130, 255, 0.18);
  background: var(--swg-blue-soft);
  color: var(--swg-ink);
}

.swg-flag-icon {
  width: 22px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(4, 28, 44, 0.15);
}

.swg-language-current,
.swg-language-code {
  font-variant-numeric: tabular-nums;
}

.swg-language-chevron {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 160ms ease;
}

.swg-language-chevron path,
.swg-language-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.swg-language-panel {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 5;
  width: 208px;
  padding: 7px;
  border: 1px solid rgba(4, 28, 44, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(10, 27, 40, 0.14);
}

.swg-language-option {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--swg-ink);
  padding: 0 9px;
  text-align: left;
  font-family: var(--swg-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.swg-language-option:hover,
.swg-language-option:focus-visible {
  border-color: rgba(35, 130, 255, 0.18);
  background: var(--swg-blue-soft);
}

.swg-language-option[aria-checked="true"] {
  color: var(--swg-action);
  background: #f5f9ff;
}

.swg-language-option:disabled,
.swg-mobile-language-option:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.swg-language-code {
  color: var(--swg-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.swg-language-check,
.swg-language-check-spacer {
  width: 18px;
  height: 18px;
  display: block;
}

.swg-link,
.swg-products-button,
.swg-mobile-trigger,
.swg-mobile-close {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--swg-text);
  padding: 0 11px;
  font-family: var(--swg-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.swg-link:hover,
.swg-products-button:hover,
.swg-products-button[aria-expanded="true"],
.swg-mobile-trigger:hover,
.swg-mobile-close:hover {
  border-color: rgba(35, 130, 255, 0.18);
  background: var(--swg-blue-soft);
  color: var(--swg-ink);
}

.swg-products-button {
  position: relative;
}

.swg-products-button[data-current-section="true"] {
  color: var(--swg-ink);
  font-weight: 800;
}

.swg-products-button[data-current-section="true"]::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 2px;
  left: 11px;
  height: 2px;
  background: var(--swg-action);
}

.swg-chevron {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  display: block;
  color: var(--swg-blue);
  transition: transform 160ms ease;
}

.swg-chevron path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.swg-cta,
.swg-mobile-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--swg-cta-blue);
  border-radius: 6px;
  background: var(--swg-cta-blue);
  color: #fff !important;
  box-shadow: none;
  padding: 0 18px;
  font-family: var(--swg-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .swg-cta:hover,
  .swg-mobile-cta:hover {
    border-color: var(--swg-action);
    background: var(--swg-action);
    box-shadow: 0 8px 18px rgba(20, 102, 204, 0.2);
    transform: translateY(-1px);
  }
}

.swg-cta:active,
.swg-mobile-cta:active {
  border-color: var(--swg-action);
  background: var(--swg-cta-blue);
  box-shadow: inset 0 0 0 1px rgba(6, 25, 42, 0.12);
  transform: scale(0.985);
}

.swg-cta-short {
  display: none;
}

.swg-panel {
  position: fixed;
  top: var(--swg-header-height);
  left: 50%;
  z-index: 3;
  width: min(920px, calc(100vw - 48px));
  padding: 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(4, 28, 44, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.995);
  box-shadow: 0 28px 80px rgba(10, 27, 40, 0.16);
}

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

.swg-product-card {
  --swg-product-accent: var(--swg-action);
  --swg-product-title: var(--swg-ink);
  --swg-product-soft: #f7f9fc;
  --swg-product-border: rgba(4, 28, 44, 0.12);
  position: relative;
  min-height: 202px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--swg-product-border);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--swg-product-soft) 0, #fff 42%);
  color: var(--swg-ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.swg-product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--swg-product-accent);
}

.swg-product-card--flexplus,
.swg-mobile-product--flexplus {
  --swg-product-accent: #00ad90;
  --swg-product-title: #005548;
  --swg-product-soft: #e0f7f3;
  --swg-product-border: #a7e8dd;
}

.swg-product-card--core,
.swg-mobile-product--core {
  --swg-product-accent: #0b3b75;
  --swg-product-title: #082a54;
  --swg-product-soft: #e8f1fa;
  --swg-product-border: #b7d4ff;
}

.swg-product-card:hover {
  border-color: var(--swg-product-accent);
  box-shadow: 0 16px 34px rgba(10, 27, 40, 0.08);
  transform: translateY(-1px);
}

.swg-product-card[aria-current="page"] {
  border-color: var(--swg-product-accent);
  background: linear-gradient(180deg, var(--swg-product-soft) 0, #fff 48%);
  box-shadow: inset 0 -3px 0 var(--swg-product-accent);
}

.swg-product-media {
  width: 100%;
  height: 164px;
  overflow: hidden;
  border: 1px solid var(--swg-product-border);
  border-radius: 7px;
  background: var(--swg-product-soft);
}

.swg-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.swg-product-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.swg-product-meta,
.swg-mobile-kicker {
  margin: 0;
  color: var(--swg-action);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.swg-product-card .swg-product-meta {
  color: var(--swg-product-accent);
}

.swg-product-title {
  color: var(--swg-product-title);
  font-family: var(--swg-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
}

.swg-product-body {
  color: var(--swg-muted);
  font-family: var(--swg-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.swg-product-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--swg-ink);
  font-family: var(--swg-display);
  font-size: 14px;
  font-weight: 800;
}

.swg-product-action svg {
  width: 18px;
  height: 18px;
  color: var(--swg-action);
  transition: transform 160ms ease;
}

.swg-product-action svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.swg-product-card:hover .swg-product-action svg {
  transform: translateX(3px);
}

.swg-current-label {
  color: var(--swg-action);
  font-family: var(--swg-body);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.swg-mobile-trigger,
.swg-mobile {
  display: none;
}

.swg-header :is(a, button):focus-visible {
  outline: 3px solid rgba(35, 130, 255, 0.42);
  outline-offset: 2px;
}

body .sw-flexplus-pdp .sw-nav,
body .sw-order > .sw-nav,
body .page-wrapper > .navbar9_component,
body > .sw-header,
body > .sw-global-nav,
body > .sw-site-header,
body > .sw-contact-nav,
body > .sw-news-nav,
body .sw-page > .sw-header,
body > .sw-mobile-sheet:not(.swg-mobile) {
  display: none !important;
}

body .page-wrapper .main-wrapper > .nav-fill:first-child {
  display: none !important;
}

body .preview-toolbar {
  top: var(--swg-header-height) !important;
}

@media (max-width: 1270px) and (min-width: 1200px) {
  .swg-inner {
    grid-template-columns: 152px minmax(0, 1fr) auto auto;
    gap: 14px;
    padding-inline: 18px;
  }

  .swg-brand,
  .swg-logo {
    width: 152px;
  }

  .swg-link,
  .swg-products-button {
    padding-inline: 8px;
    font-size: 14px;
  }

  .swg-cta {
    padding-inline: 14px;
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .swg-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 12px;
    padding-inline: clamp(16px, 4vw, 28px);
  }

  .swg-brand,
  .swg-logo {
    width: 146px;
  }

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

  .swg-language {
    display: block;
    justify-self: end;
  }

  .swg-cta {
    justify-self: end;
  }

  .swg-cta-full {
    display: none;
  }

  .swg-cta-short {
    display: inline;
  }

  .swg-mobile-trigger {
    min-width: 86px;
    display: inline-flex;
    gap: 8px;
    padding-inline: 12px;
  }

  .swg-mobile-trigger svg,
  .swg-mobile-close svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .swg-mobile-trigger svg path,
  .swg-mobile-close svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .swg-mobile {
    position: fixed;
    inset: var(--swg-header-height) 0 0;
    z-index: 4;
    height: calc(100dvh - var(--swg-header-height));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: #fff;
    color: var(--swg-ink);
  }

  .swg-mobile-top {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px clamp(18px, 5vw, 32px);
    border-bottom: 1px solid var(--swg-line);
  }

  .swg-mobile-title {
    font-family: var(--swg-display);
    font-size: 17px;
    font-weight: 800;
  }

  .swg-mobile-close {
    min-width: 44px;
    padding: 0;
  }

  .swg-mobile-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px clamp(18px, 5vw, 32px) 28px;
  }

  .swg-mobile-kicker {
    margin-bottom: 10px;
    color: var(--swg-muted);
  }

  .swg-mobile-products {
    display: grid;
    gap: 9px;
  }

  .swg-mobile-product {
    --swg-product-accent: var(--swg-action);
    --swg-product-title: var(--swg-ink);
    --swg-product-soft: #f7f9fc;
    --swg-product-border: var(--swg-line);
    position: relative;
    min-height: 90px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--swg-product-border);
    border-radius: 8px;
    background: linear-gradient(90deg, var(--swg-product-soft) 0, #fff 58%);
  }

  .swg-mobile-product--flexplus {
    --swg-product-accent: #00ad90;
    --swg-product-title: #005548;
    --swg-product-soft: #e0f7f3;
    --swg-product-border: #a7e8dd;
  }

  .swg-mobile-product--core {
    --swg-product-accent: #0b3b75;
    --swg-product-title: #082a54;
    --swg-product-soft: #e8f1fa;
    --swg-product-border: #b7d4ff;
  }

  .swg-mobile-product::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--swg-product-accent);
  }

  .swg-mobile-product[aria-current="page"] {
    border-color: var(--swg-product-accent);
    background: linear-gradient(90deg, var(--swg-product-soft) 0, #fff 65%);
    box-shadow: inset 3px 0 0 var(--swg-product-accent);
  }

  .swg-mobile-product img {
    width: 96px;
    height: 68px;
    display: block;
    object-fit: contain;
    border: 1px solid var(--swg-product-border);
    border-radius: 6px;
    background: var(--swg-product-soft);
  }

  .swg-mobile-product-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
  }

  .swg-mobile-product-meta {
    color: var(--swg-product-accent);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .swg-mobile-product strong {
    color: var(--swg-product-title);
    font-family: var(--swg-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
  }

  .swg-mobile-product-copy > span {
    color: var(--swg-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
  }

  .swg-mobile-product .swg-current-label {
    color: var(--swg-action);
    font-size: 11px;
  }

  .swg-mobile-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--swg-line);
  }

  .swg-mobile-links {
    display: grid;
  }

  .swg-mobile-language-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .swg-mobile-language-option {
    min-width: 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--swg-line);
    border-radius: 6px;
    background: #fff;
    color: var(--swg-ink);
    font: 800 12px/1 var(--swg-body);
    cursor: pointer;
    touch-action: manipulation;
  }

  .swg-mobile-language-option[aria-pressed="true"] {
    border-color: rgba(35, 130, 255, 0.48);
    background: var(--swg-blue-soft);
    color: var(--swg-action);
  }

  .swg-mobile-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--swg-line);
    color: var(--swg-ink);
    font-family: var(--swg-display);
    font-size: 16px;
    font-weight: 700;
  }

  .swg-mobile-buybar {
    padding: 12px clamp(18px, 5vw, 32px) max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--swg-line);
    background: rgba(255, 255, 255, 0.98);
  }

  .swg-mobile-cta {
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 520px) {
  .swg-inner {
    gap: 6px;
    padding-inline: 14px;
  }

  .swg-brand,
  .swg-logo {
    width: clamp(128px, 34vw, 136px);
  }

  .swg-language-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .swg-language-current,
  .swg-language-chevron {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .swg-language-panel {
    position: fixed;
    top: calc(var(--swg-header-height) + 8px);
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .swg-cta {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .swg-mobile-trigger {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .swg-mobile-trigger span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .swg-brand,
  .swg-logo {
    width: 120px;
  }

  .swg-cta {
    display: none;
  }

  .swg-inner {
    grid-template-columns: auto 1fr auto;
  }

  .swg-mobile-product {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .swg-mobile-product img {
    width: 82px;
    height: 62px;
  }
}

.swg-footer,
.swg-footer *,
.swg-footer *::before,
.swg-footer *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.swg-footer {
  width: 100%;
  margin: 0;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid #cfdae6;
  background: #f7fafe;
  color: var(--swg-ink);
  font-family: var(--swg-body);
}

.swg-footer a {
  color: inherit;
  text-decoration: none;
}

.swg-footer-inner {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.swg-footer-brand {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.swg-footer-logo-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}

.swg-footer-logo {
  width: clamp(148px, 14vw, 164px);
  height: auto;
  display: block;
}

.swg-footer-address {
  margin: 0;
  color: var(--swg-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.swg-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
}

.swg-footer-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--swg-line);
  color: var(--swg-ink) !important;
  font-family: var(--swg-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color 160ms ease, color 160ms ease;
}

.swg-footer-link:hover,
.swg-footer-link:focus-visible,
.swg-footer-link[aria-current="page"] {
  border-color: var(--swg-blue);
  color: var(--swg-action) !important;
}

.swg-footer-logo-link:focus-visible,
.swg-footer-link:focus-visible {
  outline: 3px solid rgba(35, 130, 255, 0.32);
  outline-offset: 3px;
}

.swg-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--swg-line);
  color: var(--swg-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .swg-footer-inner {
    grid-template-columns: 1fr;
  }

  .swg-footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .swg-footer-bottom {
    grid-column: auto;
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swg-header *,
  .swg-header *::before,
  .swg-header *::after,
  .swg-footer * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
