/* Shared storefront navigation: one full-width strip with a centered content row. */
.sync-global-nav {
  --sync-nav-accent: #ff7419;
  position: relative;
  z-index: 30;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #252226;
  background: #0b0b0d;
  color: #f7f7f8;
  font-family: var(--ff-body), Arial, sans-serif;
}
.sync-global-nav *,
.sync-global-nav *::before,
.sync-global-nav *::after { box-sizing: border-box; }
.sync-global-nav [x-cloak] { display: none !important; }
.sync-global-nav a { text-decoration: none; }
.sync-global-nav button { cursor: pointer; font: inherit; }
.sync-global-nav :is(a, button):focus-visible { outline: 2px solid #ff9d57; outline-offset: 3px; }

.sync-global-nav__bar {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(1400px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sync-global-nav__brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-width: 155px;
  color: #fff;
  line-height: 1;
}
.sync-global-nav__brand:hover { color: #fff; }
.sync-global-nav__brand img {
  display: block;
  flex: none;
  width: 37px;
  height: 37px;
  object-fit: contain;
}
.sync-global-nav__brand-copy { display: flex; flex-direction: column; gap: 5px; }
.sync-global-nav__brand-copy strong {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.05em;
}
.sync-global-nav__brand-copy small {
  color: #f58a43;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .16em;
  white-space: nowrap;
}
.sync-global-nav__desktop-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 27px);
  min-width: 0;
  white-space: nowrap;
}
.sync-global-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 76px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c6c4c9;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.2;
  transition: color .18s ease;
}
.sync-global-nav__link-icon {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  color: #a3a1a9;
  transition: color .18s ease;
}
.sync-global-nav__link:hover,
.sync-global-nav__link.is-active { color: #fff; }
.sync-global-nav__link:hover .sync-global-nav__link-icon,
.sync-global-nav__link.is-active .sync-global-nav__link-icon { color: var(--sync-nav-accent); }
.sync-global-nav__link.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--sync-nav-accent);
}
.sync-global-nav__actions {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.sync-global-nav__icon-button,
.sync-global-nav__menu-toggle {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #bab8c0;
  transition: color .18s ease, background .18s ease;
}
.sync-global-nav__icon-button:hover,
.sync-global-nav__menu-toggle:hover {
  background: #ffffff10;
  color: #fff;
}
.sync-global-nav__icon-button svg,
.sync-global-nav__menu-toggle svg {
  display: block;
  width: 19px;
  height: 19px;
}
.sync-global-nav__action-label { display: none; }
.sync-global-nav__cart-count {
  position: absolute;
  top: 0;
  right: -1px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  border: 2px solid #0b0b0d;
  border-radius: 20px;
  background: var(--sync-nav-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.sync-global-nav__cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  margin-left: 7px;
  padding: 0 17px;
  border-radius: 9px;
  background: linear-gradient(110deg, #ff8b2a, #ff6a08 70%, #ee5400);
  box-shadow: 0 5px 18px #ff5d002b;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: filter .18s ease, transform .18s ease;
}
.sync-global-nav__cta:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.sync-global-nav__cta span { font-size: 16px; font-weight: 400; line-height: 1; }
.sync-global-nav__menu-toggle,
.sync-global-nav__mobile-menu { display: none; }

/* SellAuth currency and language controls remain available when configured. */
.sync-global-nav__selector { position: relative; }
.sync-global-nav__selector-trigger,
.sync-global-nav .language-selector > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid #2a2a2f;
  border-radius: 8px;
  background: #151518;
  color: #dedde1;
  font-size: 11px;
  font-weight: 600;
}
.sync-global-nav__selector-trigger:hover,
.sync-global-nav .language-selector > button:hover { color: #fff; background: #222225; }
.sync-global-nav__selector-trigger svg { width: 13px; height: 13px; }
.sync-global-nav__selector-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  max-height: 220px;
  overflow: auto;
  padding: 5px;
  border: 1px solid #35353a;
  border-radius: 10px;
  background: #17171a;
  box-shadow: 0 16px 35px #0009;
}
.sync-global-nav__selector-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #dedde1;
  font-size: 12px;
  text-align: left;
}
.sync-global-nav__selector-option:hover,
.sync-global-nav__selector-option[aria-selected="true"] { background: #ff680020; color: #ffa365; }
.sync-global-nav .language-selector [role="listbox"] {
  border-color: #35353a;
  border-radius: 10px;
  background: #17171a;
  box-shadow: 0 16px 35px #0009;
}
.sync-global-nav .sa-scheme-toggle {
  width: 36px;
  height: 36px;
  padding: 8px;
  color: #bab8c0;
}
.sync-global-nav .sa-scheme-toggle:hover { color: #fff; background: #ffffff10; }

@media (max-width: 1130px) {
  .sync-global-nav__desktop-links,
  .sync-global-nav__desktop-utility { display: none; }
  .sync-global-nav__actions { margin-left: auto; }
  .sync-global-nav__menu-toggle { display: inline-flex; }
  .sync-global-nav__mobile-menu {
    position: absolute;
    z-index: 35;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: block;
    padding: 10px max(24px, calc((100vw - 1400px) / 2 + 30px)) 18px;
    border-bottom: 1px solid #2b2b30;
    background: #101013;
    box-shadow: 0 22px 36px #0009;
  }
  .sync-global-nav__mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
  .sync-global-nav__link--mobile {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 10px;
    border-bottom: 1px solid #242429;
    font-size: 13px;
  }
  .sync-global-nav__link--mobile.is-active::after {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: 0;
    width: 2px;
    height: auto;
    border-radius: 2px;
  }
  .sync-global-nav__mobile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
  }
  .sync-global-nav__mobile-account {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: #202023;
    color: #f5f5f6;
    font-size: 12px;
    font-weight: 650;
  }
  .sync-global-nav__mobile-account svg {
    display: block;
    width: 17px;
    height: 17px;
    color: var(--sync-nav-accent);
  }
  .sync-global-nav__mobile-account:hover { color: #ffa365; }
  .sync-global-nav__mobile-account .sync-global-nav__action-label { display: inline; }
  .sync-global-nav__mobile-utilities { display: flex; align-items: center; gap: 7px; }
}
@media (max-width: 640px) {
  .sync-global-nav__bar { min-height: 64px; gap: 10px; padding: 0 15px; }
  .sync-global-nav__brand { gap: 7px; min-width: 0; }
  .sync-global-nav__brand img { width: 32px; height: 32px; }
  .sync-global-nav__brand-copy strong { font-size: 20px; }
  .sync-global-nav__brand-copy small { display: none; }
  .sync-global-nav__desktop-account { display: none; }
  .sync-global-nav__actions { gap: 2px; }
  .sync-global-nav__cta { min-height: 36px; margin-left: 2px; padding: 0 10px; font-size: 11px; }
  .sync-global-nav__cta span { display: none; }
  .sync-global-nav__icon-button,
  .sync-global-nav__menu-toggle { width: 36px; height: 36px; }
  .sync-global-nav__mobile-menu { padding: 8px 16px 16px; }
  .sync-global-nav__mobile-links { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .sync-global-nav__search { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sync-global-nav *,
  .sync-global-nav *::before,
  .sync-global-nav *::after { transition-duration: .01ms !important; }
}
