.global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 16px;
  width: 100vw;
  min-height: 64px;
  margin-top: 0;
  margin-right: calc(50% - 50vw);
  margin-bottom: 28px;
  margin-left: calc(50% - 50vw);
  border: 0;
  border-bottom: 1px solid rgba(32, 23, 20, 0.08);
  border-radius: 0;
  background: #ffffff;
  padding: 0 max(72px, calc((100vw - 1240px) / 2));
  box-shadow: 0 8px 22px rgba(32, 23, 20, 0.06);
}

.global-nav a {
  color: inherit;
  text-decoration: none;
}

.global-brand,
.global-nav-links,
.global-search {
  display: inline-flex;
  align-items: center;
}

.global-brand {
  gap: 9px;
  min-width: 0;
  color: var(--text, #201714);
}

.global-brand-logo {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.global-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.global-brand-copy strong {
  overflow: hidden;
  color: var(--text, #201714);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-brand-copy small {
  overflow: hidden;
  color: var(--muted, #7a6a62);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-nav-links {
  justify-content: center;
  gap: 64px;
  min-height: 64px;
}

.global-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 0 3px;
  color: var(--muted, #6b7280);
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.global-nav-links a[aria-current="page"] {
  color: var(--orange, #ff6b2a);
}

.global-nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -1px;
  left: -6px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange, #ff6b2a);
}

.global-nav-links a:not([aria-current="page"]):hover {
  color: var(--orange, #ff6b2a);
}

.global-search {
  justify-content: flex-end;
}

.global-stock-search-form {
  display: flex;
  justify-self: end;
  width: min(310px, 100%);
  gap: 8px;
}

.global-stock-search-label {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}

.global-stock-search-label input {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f2f3f5;
  padding: 0 16px;
  color: var(--text, #201714);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.global-stock-search-label input::placeholder {
  color: #9b948f;
}

.global-stock-search-label input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 99, 38, 0.35), 0 8px 20px rgba(64, 21, 12, 0.08);
}

.global-stock-search-submit {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
}

.global-stock-search-submit {
  width: 38px;
  height: 38px;
  background: var(--orange, #ff6b2a);
  cursor: pointer;
}

.global-stock-search-submit::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-radius: 50%;
}

.global-stock-search-submit::before {
  top: 9px;
  left: 9px;
  width: 12px;
  height: 12px;
  border-width: 2.5px;
  border-color: #ffffff;
}

.global-stock-search-submit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2.5px;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.global-stock-search-submit::after {
  top: 24px;
  left: 23px;
  background: #ffffff;
}

.global-stock-search-submit:hover {
  background: #f05c1f;
}

@media (max-width: 720px) {
  .global-nav {
    grid-template-columns: 1fr;
    gap: 8px 12px;
    min-height: auto;
    padding: 10px 20px 0;
  }

  .global-brand-logo {
    width: 40px;
    height: 40px;
  }

  .global-brand-copy strong {
    font-size: 16px;
  }

  .global-brand-copy small {
    display: none;
  }

  .global-nav-links {
    grid-column: 1 / -1;
    justify-content: space-around;
    gap: 22px;
    min-height: 48px;
  }

  .global-nav-links a {
    min-height: 48px;
    font-size: 15px;
  }

  .global-stock-search-form {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    padding-bottom: 10px;
  }
}
