/*
 * Jico FS-style global header
 *
 * The desktop measurements intentionally mirror the current FS desktop shell:
 * 32px utility row + 70px main row, a 1264px outer container with 32px
 * gutters, and a 1200px maximum mega-menu panel. No external assets are used.
 */

.jico-fs-header {
  --jico-color-text: #19191a;
  --jico-color-muted: #707070;
  --jico-color-link: #0060bf;
  --jico-color-soft: #f6f6f8;
  --jico-color-line: #e5e5e5;
  --jico-color-hot: #f56300;
  --jico-color-white: #fff;
  --jico-color-overlay: rgba(51, 51, 51, 0.3);
  --jico-admin-offset: 0px;
  --jico-header-height: 102px;
  --jico-mainbar-height: 70px;
  --jico-panel-width: min(1200px, calc(100vw - 64px));
  --jico-panel-ease: 130ms ease-in-out;
  --jico-focus-ring: 0 0 0 3px rgba(0, 96, 191, 0.22);

  position: sticky;
  top: var(--jico-admin-offset);
  z-index: 1100;
  width: 100%;
  color: var(--jico-color-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  line-height: 1.4;
  isolation: isolate;
}

body.admin-bar .jico-fs-header {
  --jico-admin-offset: 32px;
}

.jico-fs-header,
.jico-fs-header *,
.jico-fs-header *::before,
.jico-fs-header *::after {
  box-sizing: border-box;
}

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

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

.jico-fs-header .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
}

.jico-fs-header button,
.jico-fs-header input,
.jico-fs-header select,
.jico-fs-header textarea {
  font: inherit;
}

.jico-utility {
  position: relative;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 32px;
  min-height: 32px;
  padding-inline: max(32px, calc((100% - 1264px) / 2));
  overflow: hidden;
  color: var(--jico-color-muted);
  background: var(--jico-color-soft);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.jico-utility > * {
  display: flex;
  align-items: center;
  min-width: 0;
}

.jico-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1264px;
  height: 100%;
  margin-inline: auto;
}

.jico-utility__left {
  flex: 1 1 auto;
  min-width: 0;
}

.jico-utility__right {
  flex: 0 0 auto;
  min-width: 0;
}

.jico-utility__notice {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jico-utility__links,
.jico-utility__links ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jico-utility__links ul {
  gap: 20px;
}

.jico-utility a,
.jico-utility button {
  min-height: 32px;
  color: var(--jico-color-muted);
}

.jico-utility a:focus-visible,
.jico-utility button:focus-visible {
  color: var(--jico-color-link);
}

.jico-mainbar {
  position: relative;
  z-index: 140;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--jico-mainbar-height);
  min-height: var(--jico-mainbar-height);
  padding-inline: max(32px, calc((100% - 1264px) / 2));
  color: var(--jico-color-text);
  background: var(--jico-color-white);
  border-bottom: 1px solid var(--jico-color-line);
}

.jico-mainbar__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1264px;
  height: 100%;
  margin-inline: auto;
}

.jico-mainbar > a:first-child,
.jico-mainbar__inner > a:first-child,
.jico-mainbar > :first-child:not(.jico-mainbar__inner):not(.jico-desktop-nav):not(.jico-menu-toggle):not(.jico-search-toggle),
.jico-mainbar__inner > :first-child:not(.jico-desktop-nav):not(.jico-menu-toggle):not(.jico-search-toggle) {
  flex: 0 0 auto;
}

.jico-logo {
  order: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.jico-logo img,
.jico-mainbar__brand > img {
  display: block;
  width: auto;
  max-width: 76px;
  height: auto;
  max-height: 36px;
}

.jico-desktop-nav {
  position: static;
  order: 1;
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;
  align-items: center;
  min-width: 0;
  margin-left: 48px;
}

.jico-desktop-nav__list {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jico-top-item {
  position: static;
  display: flex;
  align-self: stretch;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jico-top-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 69px;
  min-height: 69px;
  margin: 0;
  padding: 0;
  color: var(--jico-color-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 130ms ease-in-out;
}

.jico-top-trigger:focus-visible,
.jico-top-trigger.is-active,
.jico-top-trigger[aria-expanded="true"] {
  color: var(--jico-color-text);
}

.jico-top-trigger[aria-expanded]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 130ms ease-in-out;
}

.jico-top-trigger[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.jico-menu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  margin-left: 5px;
  padding: 0 4px;
  color: var(--jico-color-hot);
  background: rgba(245, 99, 0, 0.08);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  vertical-align: middle;
}

.jico-menu-badge--success {
  color: #248a3d;
  background: rgba(36, 138, 61, 0.1);
}

.jico-menu-badge--warning {
  color: var(--jico-color-hot);
  background: rgba(245, 99, 0, 0.1);
}

.jico-menu-badge--danger {
  color: #d92d20;
  background: rgba(217, 45, 32, 0.1);
}

.jico-menu-badge--info {
  color: var(--jico-color-link);
  background: rgba(0, 96, 191, 0.09);
}

.jico-menu-badge--neutral {
  color: var(--jico-color-muted);
  background: var(--jico-color-soft);
}

.jico-menu-summary {
  margin: 4px 0 0;
}

.jico-top-trigger:focus-visible,
.jico-menu-toggle:focus-visible,
.jico-search-toggle:focus-visible,
.jico-rail-trigger:focus-visible,
.jico-accordion-toggle:focus-visible,
.jico-fs-header a:focus-visible,
.jico-fs-header input:focus-visible,
.jico-fs-header button:focus-visible {
  outline: 2px solid var(--jico-color-link);
  outline-offset: 2px;
  box-shadow: var(--jico-focus-ring);
}

.jico-menu-toggle,
.jico-search-toggle,
.jico-icon-link {
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: var(--jico-color-text);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.jico-menu-toggle {
  display: none;
}

.jico-search-toggle {
  order: 2;
  display: inline-flex;
  margin-left: 12px;
}

.jico-header-actions {
  order: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.jico-header-actions .jico-search-toggle {
  margin-left: 0;
}

.jico-menu-toggle > span,
.jico-menu-toggle > span::before,
.jico-menu-toggle > span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    top 130ms ease-in-out,
    transform 130ms ease-in-out,
    background-color 130ms ease-in-out;
}

.jico-menu-toggle > span {
  position: relative;
}

.jico-menu-toggle > span::before,
.jico-menu-toggle > span::after {
  content: "";
  position: absolute;
  left: 0;
}

.jico-menu-toggle > span::before {
  top: -6px;
}

.jico-menu-toggle > span::after {
  top: 6px;
}

.jico-menu-toggle[aria-expanded="true"] > span {
  background: transparent;
}

.jico-menu-toggle[aria-expanded="true"] > span::before,
.jico-menu-toggle[aria-expanded="true"] > span::after {
  top: 0;
}

.jico-menu-toggle[aria-expanded="true"] > span::before {
  transform: rotate(45deg);
}

.jico-menu-toggle[aria-expanded="true"] > span::after {
  transform: rotate(-45deg);
}

.jico-search-toggle > span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.jico-search-toggle > span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  transform-origin: center;
}

.jico-search-toggle--close > span {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
}

.jico-search-toggle--close > span::before,
.jico-search-toggle--close > span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.jico-search-toggle--close > span::before {
  transform: rotate(45deg);
}

.jico-search-toggle--close > span::after {
  right: auto;
  bottom: auto;
  transform: rotate(-45deg);
}

.jico-icon-link {
  position: relative;
  display: inline-flex;
  color: var(--jico-color-text);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.jico-icon-link > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.jico-icon-link--quote::before {
  content: "";
  width: 18px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.jico-icon-link--quote::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 9px;
  width: 6px;
  height: 6px;
  background: inherit;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: skewY(-35deg);
}

.jico-icon-link--cart::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 19px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 2px 2px;
  transform: skewX(-7deg);
}

.jico-icon-link--cart::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 12px 0 0 currentColor;
}

.jico-icon-link--cart {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 9px 8px;
  background-size: 7px 1.5px;
}

.jico-icon-link--account::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 16px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.jico-icon-link--account::after {
  content: "";
  position: absolute;
  left: 11px;
  bottom: 8px;
  width: 18px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.jico-menu-toggle.is-active,
.jico-menu-toggle[aria-expanded="true"],
.jico-search-toggle.is-active,
.jico-search-toggle[aria-expanded="true"],
.jico-icon-link:focus-visible,
.jico-icon-link.is-active {
  color: var(--jico-color-text);
  background-color: var(--jico-color-soft);
}

.jico-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 160;
  width: var(--jico-panel-width);
  max-height: calc(100vh - var(--jico-header-height) - var(--jico-admin-offset));
  margin: 0;
  overflow: hidden;
  color: var(--jico-color-text);
  background: var(--jico-color-white);
  border: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition:
    opacity var(--jico-panel-ease),
    visibility var(--jico-panel-ease);
}

.jico-mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jico-mega-shell {
  width: 100%;
  min-width: 0;
  background: var(--jico-color-white);
}

.jico-mega-shell--products {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  height: min(633px, calc(100vh - var(--jico-header-height) - var(--jico-admin-offset)));
  overflow: hidden;
}

.jico-mega-shell--solutions {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  height: min(457px, calc(100vh - var(--jico-header-height) - var(--jico-admin-offset)));
  overflow: hidden;
}

.jico-mega-rail {
  position: relative;
  grid-column: 1;
  min-width: 0;
  padding: 32px 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--jico-color-soft);
  scrollbar-width: thin;
}

.jico-rail-active-indicator,
.jico-mega-rail__indicator {
  position: absolute;
  top: 32px;
  left: 12px;
  z-index: 0;
  width: 228px;
  height: var(--jico-rail-indicator-height, 48px);
  margin: 0;
  padding: 0;
  background: var(--jico-color-white);
  border: 0;
  border-radius: 3px 0 0 3px;
  opacity: var(--jico-rail-indicator-opacity, 0);
  pointer-events: none;
  transform: translate3d(0, var(--jico-rail-indicator-y, 0px), 0);
  transition:
    transform 130ms ease-in-out,
    height 130ms ease-in-out,
    opacity 130ms ease-in-out;
  will-change: transform;
}

.jico-mega-rail.is-indicator-ready .jico-rail-active-indicator,
.jico-mega-rail.is-indicator-ready .jico-mega-rail__indicator {
  opacity: var(--jico-rail-indicator-opacity, 1);
}

.jico-rail-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 240px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 16px 0 24px;
  overflow: hidden;
  color: var(--jico-color-text);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  cursor: pointer;
  transition:
    color 130ms ease-in-out;
}

.jico-rail-trigger.is-active,
.jico-rail-trigger[aria-selected="true"] {
  color: var(--jico-color-text);
  background: transparent;
}

.jico-mega-shell--products > .jico-mega-content {
  grid-column: 2;
  min-width: 0;
  margin-left: -1px;
  padding: 32px 40px 40px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--jico-color-white);
  scrollbar-width: thin;
}

.jico-mega-shell--solutions > .jico-mega-content {
  grid-column: 2;
  height: 100%;
  min-width: 0;
  margin-left: -1px;
  padding: 32px 40px 40px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--jico-color-white);
  scrollbar-width: thin;
}

.jico-mega-pane {
  min-width: 0;
}

.jico-mega-pane__heading {
  margin: 0 0 24px;
}

.jico-mega-pane__heading :is(h2, h3, h4) {
  margin: 0;
  color: var(--jico-color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.jico-mega-pane__heading p {
  margin: 4px 0 0;
  color: var(--jico-color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

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

.jico-product-family {
  min-width: 0;
  min-height: 258px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.jico-product-family img {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 0 4px;
  object-fit: contain;
}

.jico-product-family :is(h2, h3, h4, h5, h6) {
  margin: 0 0 8px;
  color: var(--jico-color-link);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.jico-product-family a,
.jico-product-family p,
.jico-product-family li {
  color: var(--jico-color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.jico-product-family ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jico-product-family a {
  display: inline-flex;
  max-width: 100%;
  margin-right: 8px;
}

.jico-product-family .jico-menu-heading > a {
  color: var(--jico-color-link);
}

.jico-product-family .jico-menu-heading > a:focus-visible,
.jico-solution-grid .jico-menu-heading > a:focus-visible {
  color: var(--jico-color-link);
}

.jico-product-family a:focus-visible {
  color: var(--jico-color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jico-product-family [data-badge="hot" i] {
  color: var(--jico-color-hot);
}

.jico-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  width: 100%;
  margin-top: 24px;
}

.jico-mega-shell--solutions .jico-solution-grid {
  margin-top: 0;
}

.jico-solution-grid > * {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.jico-solution-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  object-fit: cover;
  border-radius: 8px;
}

.jico-solution-grid :is(h2, h3, h4, h5, h6) {
  margin: 16px 0 8px;
  color: var(--jico-color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.jico-solution-grid p,
.jico-solution-grid li {
  margin: 8px 0 0;
  color: var(--jico-color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.jico-solution-grid a:focus-visible :is(h2, h3, h4, h5, h6) {
  color: var(--jico-color-link);
}

/* Link-led service, resource, company and sales panels. */
.jico-top-item--link-grid > .jico-mega-panel {
  overflow: auto;
}

.jico-mega-shell--links {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 695px) 1px 360px;
  column-gap: 32px;
  align-items: stretch;
  min-height: 330px;
  padding: 32px 40px 40px;
}

.jico-mega-shell--links::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 1px;
  min-height: 225px;
  background: var(--jico-color-line);
}

.jico-mega-panel[data-panel-variant="services"] .jico-mega-shell--links {
  min-height: 461px;
}

.jico-mega-panel[data-panel-variant="resources"] .jico-mega-shell--links {
  min-height: 330px;
}

.jico-mega-panel[data-panel-variant="contact"] .jico-mega-shell--links {
  min-height: 417px;
}

.jico-mega-shell--links > .jico-mega-content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 0;
}

.jico-mega-shell--links > .jico-mega-content > :is(h1, h2, h3):first-child,
.jico-mega-content > .jico-link-grid + :is(h1, h2, h3) {
  margin: 0;
  color: var(--jico-color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.jico-mega-shell--links > .jico-mega-content > p:first-of-type {
  margin: 8px 0 0;
  color: var(--jico-color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.jico-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  width: 100%;
  margin-top: 24px;
}

@media (min-width: 1025px) {
  .jico-link-grid--columns-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .jico-link-grid--columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jico-link-grid--columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .jico-link-grid--columns-1 > *,
  .jico-link-grid--columns-2 > *,
  .jico-link-grid--columns-3 > *,
  .jico-link-grid--columns-4 > * {
    min-width: 0;
  }

  .jico-link-grid--columns-4 :is(a, p, li) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

.jico-mega-shell--links .jico-link-grid {
  margin-top: 0;
}

.jico-link-grid > * {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.jico-link-grid :is(h2, h3, h4, h5, h6) {
  margin: 0 0 8px;
  color: var(--jico-color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.jico-link-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jico-link-grid li + li {
  margin-top: 4px;
}

.jico-link-grid a,
.jico-link-grid p,
.jico-link-grid li {
  color: var(--jico-color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.jico-link-grid a {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
}

.jico-link-grid .jico-menu-heading > a {
  color: var(--jico-color-text);
}

.jico-link-grid a:focus-visible {
  color: var(--jico-color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jico-mega-shell--links > .jico-promo {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  width: 360px;
  height: 225px;
  min-width: 0;
  overflow: hidden;
  background: #313131;
  border-radius: 8px;
}

.jico-mega-shell--links > .jico-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 58%, rgba(0, 0, 0, 0.12) 100%);
  border-radius: inherit;
}

.jico-mega-shell--links > .jico-promo img,
.jico-mega-shell--links > .jico-promo picture {
  display: block;
  width: 360px;
  max-width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
}

.jico-mega-shell--links > .jico-promo > div {
  position: absolute;
  inset: 32px 28px auto;
  z-index: 1;
  width: min(240px, calc(100% - 56px));
  color: var(--jico-color-white);
}

.jico-mega-shell--links > .jico-promo :is(h2, h3, h4, h5, h6) {
  margin: 0;
  color: var(--jico-color-white);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.jico-mega-shell--links > .jico-promo p {
  margin: 4px 0 0;
  color: var(--jico-color-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.jico-menu-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--jico-color-link);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.jico-menu-card__cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.jico-menu-card__cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jico-menu-card__cta--button {
  justify-content: center;
  height: 32px;
  min-height: 32px;
  margin-top: 12px;
  padding: 0 12px;
  color: var(--jico-color-white);
  background: #c00000;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  transition:
    color 300ms ease,
    background-color 300ms ease;
}

.jico-menu-card__cta--button:focus-visible {
  color: var(--jico-color-white);
  background: #a80000;
  text-decoration: none;
}

.jico-mega-shell--links > .jico-promo a:not(.jico-menu-card__cta--button),
.jico-mega-shell--links > .jico-promo .jico-menu-card__cta:not(.jico-menu-card__cta--button) {
  color: inherit;
}

.jico-page-overlay {
  position: fixed;
  inset: calc(var(--jico-header-height) + var(--jico-admin-offset)) 0 0;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: var(--jico-color-overlay);
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--jico-panel-ease),
    visibility var(--jico-panel-ease);
}

.jico-page-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jico-search-layer {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 170;
  width: var(--jico-panel-width);
  padding: 32px 40px 40px;
  color: var(--jico-color-text);
  background: var(--jico-color-white);
  border: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition:
    opacity var(--jico-panel-ease),
    visibility var(--jico-panel-ease);
}

.jico-search-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jico-search-layer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.jico-search-layer form {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: auto;
  min-width: 0;
}

.jico-search-layer__inner > .jico-search-toggle--close {
  order: 1;
  flex: 0 0 40px;
  margin: 2px 0 0;
}

.jico-search-layer input[type="search"],
.jico-search-layer input[type="text"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  color: var(--jico-color-text);
  background: var(--jico-color-white);
  border: 1px solid var(--jico-color-line);
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
}

.jico-search-layer form button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--jico-color-white);
  background: var(--jico-color-link);
  border: 1px solid var(--jico-color-link);
  border-radius: 4px;
  cursor: pointer;
}

.jico-search-suggestions {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  max-width: 1120px;
  margin: 24px auto 0;
}

.jico-search-suggestions :is(h2, h3, h4) {
  margin: 0 0 8px;
  color: var(--jico-color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.jico-search-suggestions ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jico-search-suggestions a {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  color: var(--jico-color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.jico-search-suggestions a:focus-visible {
  color: var(--jico-color-link);
}

.jico-mega-pane__see-all,
.jico-see-all,
.jico-link--emphasis {
  color: var(--jico-color-link);
}

.jico-mega-pane__heading > .jico-mega-pane__see-all {
  display: inline-flex;
  min-height: 20px;
  margin-top: 4px;
  align-items: center;
  color: var(--jico-color-link);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.jico-mega-pane__heading > p + .jico-mega-pane__see-all {
  margin-top: 8px;
}

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

@media (max-width: 1024px) {
  .jico-fs-header {
    --jico-header-height: 84px;
    --jico-mainbar-height: 48px;
    --jico-panel-width: 100vw;
  }

  body.jico-fs-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .jico-utility {
    display: flex;
    height: 36px;
    min-height: 36px;
    gap: 12px;
    padding-inline: 16px;
    font-size: 11px;
  }

  .jico-utility > * {
    min-width: 0;
  }

  .jico-utility > :not(.jico-utility__inner),
  .jico-utility__inner > * {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .jico-utility__inner {
    gap: 12px;
  }

  .jico-utility > :first-child:not(.jico-utility__inner),
  .jico-utility__inner > :first-child {
    flex: 1 1 auto;
  }

  .jico-utility > :last-child:not(.jico-utility__inner),
  .jico-utility__inner > :last-child {
    flex: 0 0 auto;
    max-width: 45%;
  }

  .jico-utility__links ul {
    gap: 12px;
  }

  .jico-mainbar {
    height: 48px;
    min-height: 48px;
    padding-inline: 16px;
  }

  .jico-logo img,
  .jico-mainbar__brand > img {
    max-width: 68px;
    max-height: 34px;
  }

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

  .jico-menu-toggle {
    order: -1;
    display: inline-flex;
    margin: 0 8px 0 0;
  }

  .jico-logo {
    order: 0;
  }

  .jico-header-actions {
    order: 2;
    gap: 8px;
    margin-left: auto;
  }

  .jico-search-toggle {
    order: 3;
    margin-left: 8px;
  }

  .jico-header-actions .jico-search-toggle {
    order: initial;
    margin-left: 0;
  }

  .jico-mega-panel {
    display: none !important;
  }

  .jico-page-overlay {
    display: none !important;
    inset: calc(var(--jico-header-height) + var(--jico-admin-offset)) 0 0;
    background: var(--jico-color-overlay);
  }

  .jico-mobile-menu {
    position: fixed;
    inset: calc(var(--jico-header-height) + var(--jico-admin-offset)) 0 0;
    z-index: 180;
    width: 100%;
    max-width: none;
    padding: 0 16px max(32px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--jico-color-text);
    background: var(--jico-color-white);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .jico-mobile-menu:not([hidden]) {
    display: block;
  }

  .jico-mobile-tree,
  .jico-mobile-tree ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .jico-mobile-tree ul {
    padding-left: 16px;
    border-left: 1px solid var(--jico-color-line);
  }

  .jico-mobile-tree li {
    margin: 0;
    padding: 0;
  }

  .jico-accordion-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 0;
    color: var(--jico-color-text);
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--jico-color-line);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    cursor: pointer;
  }

  .jico-accordion-toggle.is-active,
  .jico-accordion-toggle[aria-expanded="true"] {
    color: var(--jico-color-link);
  }

  .jico-accordion-toggle > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .jico-mobile-tree a:not(.jico-accordion-toggle),
  .jico-mobile-tree__label {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    color: var(--jico-color-muted);
    border-bottom: 1px solid var(--jico-color-line);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
  }

  .jico-mobile-tree .jico-menu-summary {
    margin: 0;
    padding: 8px 0;
    color: var(--jico-color-muted);
    font-size: 12px;
    line-height: 20px;
  }

  .jico-mobile-tree a:not(.jico-accordion-toggle):focus-visible {
    color: var(--jico-color-link);
  }

  .jico-mobile-menu .jico-mega-content,
  .jico-mobile-menu .jico-mega-pane {
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    overflow: visible;
  }

  .jico-mobile-menu .jico-product-grid,
  .jico-mobile-menu .jico-solution-grid,
  .jico-mobile-menu .jico-link-grid {
    display: block;
    width: 100%;
    margin: 0;
  }

  .jico-mobile-menu .jico-product-family,
  .jico-mobile-menu .jico-solution-grid > *,
  .jico-mobile-menu .jico-link-grid > * {
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .jico-mobile-menu .jico-product-family :is(h2, h3, h4, h5, h6),
  .jico-mobile-menu .jico-solution-grid :is(h2, h3, h4, h5, h6),
  .jico-mobile-menu .jico-link-grid :is(h2, h3, h4, h5, h6) {
    margin: 0;
    padding: 12px 0 4px;
    color: var(--jico-color-text);
    font-size: 13px;
    line-height: 20px;
  }

  .jico-search-layer {
    position: fixed;
    inset: calc(var(--jico-header-height) + var(--jico-admin-offset)) 0 0;
    z-index: 190;
    width: 100%;
    max-width: none;
    padding: 20px 16px max(28px, env(safe-area-inset-bottom));
    overflow: auto;
    background: var(--jico-color-white);
    border-radius: 0;
    transform: none;
  }

  .jico-search-layer form {
    gap: 8px;
  }

  .jico-search-suggestions {
    margin-top: 20px;
  }

  .jico-search-suggestions ul {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .jico-fs-header {
    --jico-admin-offset: 46px;
  }
}

@media (max-width: 767px) {
  .jico-fs-header {
    --jico-header-height: 84px;
    --jico-mainbar-height: 48px;
  }

  .jico-utility {
    gap: 8px;
    padding-inline: 16px;
    font-size: 10px;
  }

  .jico-utility__inner {
    gap: 8px;
  }

  .jico-utility__links ul {
    gap: 8px;
  }

  .jico-mainbar {
    height: 48px;
    min-height: 48px;
    padding-inline: 16px;
  }

  .jico-logo img,
  .jico-mainbar__brand > img {
    max-width: 64px;
    max-height: 32px;
  }

  .jico-menu-toggle,
  .jico-search-toggle,
  .jico-icon-link {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .jico-header-actions {
    gap: 4px;
  }

  .jico-mobile-menu {
    padding-inline: 16px;
  }

  .jico-mobile-tree ul {
    padding-left: 12px;
  }

  .jico-accordion-toggle {
    min-height: 50px;
    padding-block: 11px;
  }

  .jico-search-layer {
    padding-inline: 16px;
  }

  .jico-search-layer form {
    flex-wrap: wrap;
  }

  .jico-search-layer__inner {
    gap: 8px;
  }

  .jico-search-layer form button {
    flex: 0 0 auto;
  }
}

/* V2 desktop action geometry and pointer-specific hover states. */
@media (min-width: 1025px) {
  .jico-utility__inner,
  .jico-mainbar__inner {
    padding-inline: 32px;
  }

  .jico-mainbar__inner > .jico-search-toggle {
    display: none;
  }

  .jico-header-actions .jico-search-toggle,
  .jico-mainbar__actions .jico-search-toggle {
    display: inline-flex;
    order: 0;
  }

  .jico-header-actions,
  .jico-mainbar__actions {
    gap: 12px;
  }

  .jico-header-actions .jico-search-toggle,
  .jico-mainbar__actions .jico-search-toggle,
  .jico-header-actions .jico-icon-link,
  .jico-mainbar__actions .jico-icon-link {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .jico-utility a:hover,
  .jico-utility button:hover {
    color: var(--jico-color-link);
  }

  .jico-top-trigger:hover {
    color: var(--jico-color-text);
  }

  .jico-menu-toggle:hover,
  .jico-search-toggle:hover,
  .jico-icon-link:hover {
    color: var(--jico-color-text);
    background-color: var(--jico-color-soft);
  }

  .jico-rail-trigger:hover {
    color: var(--jico-color-text);
    background: transparent;
  }

  .jico-product-family a:hover,
  .jico-link-grid a:hover {
    color: var(--jico-color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .jico-product-family .jico-menu-heading > a:hover,
  .jico-solution-grid .jico-menu-heading > a:hover {
    color: var(--jico-color-link);
  }

  .jico-solution-grid a:hover :is(h2, h3, h4, h5, h6),
  .jico-mega-pane__see-all:hover,
  .jico-see-all:hover,
  .jico-link--emphasis:hover {
    color: var(--jico-color-link);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .jico-menu-card__cta:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .jico-menu-card__cta--button:hover {
    color: var(--jico-color-white);
    background: #a80000;
    text-decoration: none;
  }

  .jico-search-suggestions a:hover {
    color: var(--jico-color-link);
  }
}

/* Current FS mobile pattern: one scrollable recursive accordion below the shell. */
@media (max-width: 1024px) {
  .jico-fs-header {
    --jico-header-height: 84px;
    --jico-mainbar-height: 48px;
    --jico-panel-width: 100vw;
  }

  .jico-utility {
    height: 36px;
    min-height: 36px;
    padding-inline: 16px;
    font-size: 12px;
    line-height: 20px;
  }

  .jico-utility a,
  .jico-utility button {
    min-height: 36px;
  }

  .jico-mainbar {
    height: 48px;
    min-height: 48px;
    padding-inline: 16px;
  }

  .jico-mainbar__inner {
    height: 48px;
  }

  .jico-logo img,
  .jico-mainbar__brand > img {
    max-width: 82px;
    max-height: 30px;
  }

  .jico-menu-toggle,
  .jico-search-toggle,
  .jico-icon-link,
  .jico-header-actions .jico-search-toggle,
  .jico-header-actions .jico-icon-link {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 0;
  }

  .jico-menu-toggle {
    margin: 0 0 0 -12px;
  }

  .jico-header-actions,
  .jico-mainbar__actions {
    align-self: stretch;
    gap: 0;
    height: 48px;
    margin-right: -12px;
  }

  .jico-icon-link--account::before {
    top: 13px;
    left: 20px;
  }

  .jico-icon-link--account::after {
    left: 15px;
    bottom: 12px;
  }

  .jico-icon-link--cart::before {
    top: 14px;
    left: 14px;
  }

  .jico-icon-link--cart::after {
    left: 18px;
    bottom: 12px;
  }

  .jico-icon-link--cart {
    background-position: 13px 12px;
  }

  .jico-mobile-menu {
    position: fixed;
    inset: calc(84px + var(--jico-admin-offset)) 0 0;
    z-index: 180;
    width: 100%;
    max-width: none;
    padding: 0 16px max(32px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--jico-color-text);
    background: var(--jico-color-white);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .jico-mobile-menu:not([hidden]) {
    display: block;
  }

  .jico-mobile-menu .jico-mobile-tree,
  .jico-mobile-menu .jico-mobile-tree ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
  }

  .jico-mobile-menu .jico-mobile-tree li {
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .jico-mobile-menu .jico-mobile-tree__branch {
    width: 100%;
    min-width: 0;
    padding-left: 24px;
  }

  .jico-mobile-menu .jico-accordion-toggle,
  .jico-mobile-menu .jico-mobile-tree a:not(.jico-accordion-toggle),
  .jico-mobile-menu .jico-mobile-link,
  .jico-mobile-menu .jico-mobile-overview,
  .jico-mobile-menu .jico-mobile-tree__label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 13px 4px 13px 0;
    color: var(--jico-color-text);
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--jico-color-line);
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    touch-action: manipulation;
  }

  .jico-mobile-menu > .jico-mobile-tree > .jico-mobile-item > .jico-accordion-toggle,
  .jico-mobile-menu > .jico-mobile-tree > .jico-mobile-item > .jico-mobile-link,
  .jico-mobile-menu > .jico-mobile-tree > .jico-mobile-tree__item > .jico-accordion-toggle,
  .jico-mobile-menu > .jico-mobile-tree > .jico-mobile-tree__item > .jico-mobile-link {
    min-height: 52px;
    padding-block: 14px;
  }

  .jico-mobile-menu .jico-accordion-toggle {
    justify-content: flex-start;
    cursor: pointer;
  }

  .jico-mobile-menu .jico-accordion-toggle::after {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin: -4px 4px 0 auto;
    color: var(--jico-color-muted);
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 130ms ease-in-out, margin 130ms ease-in-out;
  }

  .jico-mobile-menu .jico-accordion-toggle > .jico-accordion-toggle__icon {
    display: none;
  }

  .jico-mobile-menu .jico-accordion-toggle.is-active,
  .jico-mobile-menu .jico-accordion-toggle[aria-expanded="true"] {
    color: var(--jico-color-text);
  }

  .jico-mobile-menu .jico-accordion-toggle.is-active::after,
  .jico-mobile-menu .jico-accordion-toggle[aria-expanded="true"]::after {
    margin-top: 4px;
    transform: rotate(225deg);
  }

  .jico-mobile-menu .jico-mobile-overview {
    color: var(--jico-color-link);
  }

  .jico-mobile-menu .jico-mobile-overview::after {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-left: auto;
    margin-right: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .jico-mobile-menu .jico-mobile-item__content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
  }

  .jico-mobile-menu .jico-mobile-item__heading {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }

  .jico-mobile-menu .jico-mobile-item__title {
    display: block;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .jico-mobile-menu .jico-mobile-item__media,
  .jico-mobile-menu .jico-mobile-item__image,
  .jico-mobile-menu .jico-mobile-item__media picture,
  .jico-mobile-menu .jico-mobile-item__media img,
  .jico-mobile-menu .jico-promo,
  .jico-mobile-menu .jico-mobile-item__summary,
  .jico-mobile-menu .jico-mobile-overview__summary {
    display: none !important;
  }

  .jico-search-layer {
    inset: calc(84px + var(--jico-admin-offset)) 0 0;
    padding: 20px 16px max(28px, env(safe-area-inset-bottom));
  }
}

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