/* Shared storefront navigation used by catalog, search, product and cart pages. */
.shared-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #dfe3e7;
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 14px rgba(17,20,24,.05);
}
.shared-nav__in {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 18px;
  width: min(1280px, calc(100% - 40px));
  margin: auto;
}
.shared-nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.shared-nav__logo img { display: block; width: auto; height: 27px; }
.shared-nav__featured { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.shared-nav__featured a {
  display: flex; align-items: center; height: 38px; padding: 0 13px;
  border-radius: 7px; background: #111418; color: #fff; font-size: 13px; font-weight: 700;
}
.shared-nav__featured a:hover { background: #e4941b; color: #211606; }
.shared-nav__search {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: none; width: min(520px, 42vw); height: 40px; overflow: hidden;
  border: 1px solid #cfd5db; border-radius: 8px; background: #fff;
}
.shared-nav.is-scrolled .shared-nav__featured { visibility: hidden; }
.shared-nav.is-scrolled .shared-nav__search { display: flex; }
.shared-nav__search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 13px; color: #111418; font: inherit; font-size: 13px; }
.shared-nav__search button { width: 46px; border: 0; background: #111418; color: #fff; font-size: 17px; cursor: pointer; }
.shared-nav__search:focus-within { border-color: #e4941b; box-shadow: 0 0 0 3px rgba(228,148,27,.14); }
.shared-nav__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.shared-nav__user { display: inline-flex; align-items: center; }
.shared-nav__user:empty { display: none; }
.shared-nav__link { display: inline-flex; align-items: center; height: 42px; padding: 0 11px; border-radius: 7px; color: #626c78; font-size: 13px; font-weight: 700; }
.shared-nav__link:hover { background: #eff1f3; color: #111418; }
.shared-nav__cart { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 7px; background: #e4941b; color: #211606; font-size: 13px; font-weight: 800; }
.shared-nav__cart:hover { background: #c97d0c; }
.shared-nav__count { display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border-radius: 999px; background: rgba(33,22,6,.22); font: 700 10px/19px 'IBM Plex Mono', monospace; }
.shared-nav__categories { border-bottom: 1px solid #dfe3e7; background: #fff; }
.shared-nav__menu-button { display: none; }
.shared-nav__categories-in { display: flex; align-items: center; gap: 3px; width: min(1280px, calc(100% - 40px)); height: 44px; margin: auto; overflow-x: auto; scrollbar-width: none; }
.shared-nav__categories-in::-webkit-scrollbar { display: none; }
.shared-nav__categories a { flex: 0 0 auto; padding: 7px 10px; border-radius: 7px; color: #4f5965; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.shared-nav__categories a:hover { background: #eff1f3; color: #111418; }
@media (max-width: 700px) {
  .shared-nav__in { width: calc(100% - 24px); min-height: 62px; gap: 8px; }
  .shared-nav__logo img { height: 24px; max-width: 145px; }
  .shared-nav__featured { display: none; }
  .shared-nav__search { position: static; display: flex; flex: 1; width: auto; transform: none; height: 38px; }
  .shared-nav.is-scrolled .shared-nav__search { display: flex; }
  .shared-nav__actions { margin-left: 0; }
  .shared-nav__link { display: none; }
  .shared-nav__user { display: none; }
  .shared-nav__cart { width: 42px; padding: 0; justify-content: center; }
  .shared-nav__cart-label { display: none; }
  .shared-nav__count { position: absolute; top: 2px; right: -3px; border: 2px solid #fff; background: #b4233a; color: #fff; }
  .shared-nav__cart { position: relative; }
  .shared-nav__categories { display: none; }
  .shared-nav__categories.is-open { display: block; padding: 4px 12px 10px; }
  .shared-nav__menu-button {
    display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0;
    border: 1px solid #d7dce1; border-radius: 8px; background: #fff; color: #111418;
    cursor: pointer;
  }
  .shared-nav__menu-button span { display: grid; gap: 3px; width: 16px; }
  .shared-nav__menu-button i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
  .shared-nav__categories-in {
    width: 100%; height: auto; padding: 4px 0 0; align-items: stretch;
    flex-direction: column; overflow: visible;
  }
  .shared-nav__categories a { width: 100%; padding: 10px 12px; }
}
