.ipwh-product-nav {
  position: sticky;
  top: 12px;
  z-index: 80;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 34px;
  font-family: Arial, sans-serif;
}

.ipwh-product-nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 7px 9px 7px 18px;
  border: 1px solid rgba(129, 34, 31, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ipwh-product-nav-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #81221f;
  background: #f8eeed;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.ipwh-product-nav-top:hover,
.ipwh-product-nav-top:focus-visible {
  color: #fff;
  background: #81221f;
  outline: none;
  transform: translateY(-2px);
}

.ipwh-product-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.ipwh-product-nav-links::-webkit-scrollbar { display: none; }

.ipwh-product-nav-link {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 11px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.ipwh-product-nav-link:hover,
.ipwh-product-nav-link:focus-visible {
  color: #81221f;
  background: #f8eeed;
  outline: none;
}

.ipwh-product-nav-link[aria-current="location"] {
  color: #fff;
  background: #81221f;
  box-shadow: 0 7px 18px rgba(129, 34, 31, 0.22);
}

.ipwh-product-nav + section,
.ipwh-product-nav ~ [id^="ipwh-"],
.ipwh-product-nav ~ section [id^="ipwh-"] { scroll-margin-top: 92px; }

/* These product wrappers use overflow:hidden for decorative artwork. That
   creates a sticky-positioning boundary; clip keeps the artwork contained
   without turning the page wrapper into a scroll container. */
.ipwh-ssl-page,
.ipwh-vpn-page,
.ipwh-wb-page,
.ipwh-wm-page,
.ipwh-ws-page,
.ipwh-wts-page,
.ipwh-smm-page,
.ipwh-awb-page { overflow: clip; }

@media (max-width: 760px) {
  .ipwh-product-nav {
    top: 8px;
    width: calc(100% - 20px);
    margin-top: 12px;
    margin-bottom: 26px;
  }

  .ipwh-product-nav-inner {
    display: flex;
    align-items: center;
    min-height: 0;
    gap: 6px;
    padding: 6px;
    border-radius: 15px;
  }

  .ipwh-product-nav-top {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .ipwh-product-nav-link {
    padding: 10px 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ipwh-product-nav-link,
  .ipwh-product-nav-top { transition: none; }
}
