/* Numerish eInvoice360 R10 — dedicated below-hero product navigation.
 * Fully isolated from global menus, other add-ons and PricingHub. */
#einv360-product .subnav.einv360-afterhero-nav {
  position: sticky;
  top: 0;
  z-index: 69;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  isolation: isolate;
  background: rgba(255,255,255,.97);
  border-block: 1px solid #e5eaf2;
  box-shadow: 0 9px 26px rgba(22,40,65,.09);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
#einv360-product .einv360-afterhero-nav .einv-nav-shell {
  box-sizing: border-box;
  width: min(1180px,calc(100% - 44px));
  max-width: 100%;
  min-height: 77px;
  margin: 0 auto;
  padding: 11px 0;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 27px);
}
#einv360-product .einv360-afterhero-nav .einv-nav-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  margin: 0;
  padding-right: clamp(12px, 1.5vw, 22px);
  border-right: 1px solid #dce3ed;
  color: #6c3451;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}
#einv360-product .einv360-afterhero-nav .einv-nav-caption::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b00048;
  box-shadow: 0 0 0 4px #ffe4ef;
}
#einv360-product .einv360-afterhero-nav .einv-nav-track {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links {
  position: relative;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4px,.6vw,9px);
  padding: 3px;
  margin: 0;
  scroll-padding-inline: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links::-webkit-scrollbar {
  display: none;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px clamp(11px,1vw,17px);
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #354660;
  font-size: clamp(12px, .95vw, 14px);
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links > a:hover {
  background: #fff0f6;
  color: #970043;
  border-color: #f6d6e3;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links > a[aria-current="location"] {
  background: #fff0f6;
  border-color: #f2cada;
  color: #8d003d;
  font-weight: 850;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links > a[aria-current="location"]::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: min(26px, 52%);
  height: 2px;
  border-radius: 99px;
  background: #b3004f;
}
#einv360-product .einv360-afterhero-nav nav.einv-nav-links > a:focus-visible,
#einv360-product .einv360-afterhero-nav .einv-nav-arrow:focus-visible {
  outline: 3px solid #bd0051;
  outline-offset: 3px;
}
#einv360-product .einv360-afterhero-nav .einv-nav-arrow {
  display: none;
  flex: 0 0 34px;
  width: 34px;
  height: 42px;
  justify-content: center;
  align-items: center;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  color: #233750;
  background: #fff;
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(22,43,66,.04);
}
#einv360-product .einv360-afterhero-nav .einv-nav-arrow:not(:disabled):hover {
  border-color: #e9adc9;
  color: #90003c;
  background: #fff2f7;
}
#einv360-product .einv360-afterhero-nav .einv-nav-arrow:disabled {
  opacity: .34;
  cursor: default;
}
#einv360-product .einv360-afterhero-nav .einv-nav-arrow[hidden] {
  display: none!important;
}
/* Global HTML scroll-padding already reserves the navigation offset. Do not double-count it with section scroll margins. */
#einv360-product section[id]:not(#overview) {
  scroll-margin-top: 0px!important;
}
#einv360-product .einv360-afterhero-nav + section[id] {
  scroll-margin-top: 0px!important;
}
@media (max-width: 1080px) {
  #einv360-product .einv360-afterhero-nav .einv-nav-shell {
    gap: 10px;
  }
  #einv360-product .einv360-afterhero-nav .einv-nav-caption {
    display: none;
  }
  #einv360-product .einv360-afterhero-nav .einv-nav-arrow {
    display: inline-flex;
  }
  #einv360-product .einv360-afterhero-nav nav.einv-nav-links {
    justify-content: flex-start;
    gap: 6px;
  }
}
@media (max-width: 650px) {
  #einv360-product .subnav.einv360-afterhero-nav {
    box-shadow: 0 5px 17px rgba(20,39,63,.08);
  }
  #einv360-product .einv360-afterhero-nav .einv-nav-shell {
    width: calc(100% - 24px);
    min-height: 66px;
    padding: 8px 0;
  }
  #einv360-product .einv360-afterhero-nav nav.einv-nav-links > a {
    min-height: 44px;
    font-size: 12px;
    padding: 9px 13px;
  }
  #einv360-product .einv360-afterhero-nav .einv-nav-arrow {
    flex-basis: 30px;
    width: 30px;
    height: 40px;
  }
}
@media (prefers-reduced-motion:reduce) {
  #einv360-product .einv360-afterhero-nav nav.einv-nav-links,
  #einv360-product .einv360-afterhero-nav nav.einv-nav-links > a {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}

/* Make the shared privacy-notice link visually distinguishable within the
   eInvoice360 page without changing the site's global consent component. */
body[data-page-key="product-einvoice360"] p a[href*="privacy-policy.html"] {
  color: #93003f !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
}
