/* Midnight navy header coordinated with the homepage's global trade hero. */
@media(min-width:1101px){
 .ez-header .ez-navigation{gap:clamp(10px,1.1vw,16px);margin-left:24px}
}
.ez-header {
  --nav-ivory: #faf8f4;
  --nav-bronze: #967044;
  --nav-border: #e7ddd0;
  --nav-background: #0b1b2d;
  --nav-highlight: #dfb071;
  min-height: 80px;
  padding: 11px max(4vw, calc((100vw - 1440px) / 2));
  gap: 0;
  background: var(--nav-background);
  border-top: 0;
  border-bottom: 1px solid #29384a;
  box-shadow: none;
}

.ez-brand {
  width: 150px;
}

.ez-brand img {
  display: block;
  width: 100%;
  height: 56px;
  filter: none;
}

.ez-navigation {
  flex: 1;
  justify-content: flex-end;
  gap: clamp(16px, 1.8vw, 28px);
  margin-left: 40px;
}

.ez-navigation > a,
.ez-menu > summary {
  color: #f2e9dc;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .005em;
  gap: 7px;
  transition: color .18s ease;
}

.ez-menu > summary::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin: -3px 2px 0 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  color: var(--nav-highlight);
  transition: transform .18s ease;
}

.ez-menu[open] > summary::after {
  content: "";
  margin-top: 3px;
  transform: rotate(225deg);
}

.ez-menu[open] > summary,
.ez-navigation > a:hover,
.ez-navigation > a[aria-current="page"] {
  color: var(--nav-highlight);
}

.ez-navigation > a > span[aria-hidden="true"] {
  color: var(--nav-highlight);
  font-size: 1.2em;
}

/* Keep the current location visible after a dropdown closes. */
.ez-navigation > a[aria-current]:not(.ez-nav-cta),
.ez-menu.is-current > summary {
  color: var(--nav-highlight);
  box-shadow: inset 0 -2px 0 var(--nav-highlight);
}

.ez-header .ez-navigation > a:not(.ez-nav-cta) { color: #f2e9dc !important; }
.ez-header .ez-navigation > a:not(.ez-nav-cta):hover,
.ez-header .ez-navigation > a[aria-current]:not(.ez-nav-cta) { color: var(--nav-highlight) !important; }

.ez-header .ez-mega a[aria-current]:not(.ez-menu-feature) {
  color: #79552d;
  background: #f0e8dc;
  box-shadow: inset 2px 0 0 var(--nav-bronze);
  padding-left: 12px;
}

.ez-navigation .ez-nav-cta {
  flex-shrink: 0;
  width: max-content;
  justify-content: center;
  max-width: none;
  min-height: 38px;
  padding: 9px 14px;
  margin-left: 8px;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid var(--nav-bronze);
  border-radius: 999px;
  background: var(--nav-bronze);
  color: #fffaf2;
  white-space: nowrap !important;
  box-shadow: none;
  transition: background .18s ease, box-shadow .18s ease;
}

.ez-navigation .ez-nav-phone { width:16px; height:16px; flex-shrink:0; }

.ez-navigation .ez-nav-cta:hover,
.ez-navigation .ez-nav-cta[aria-current="page"] {
  background: #79552d;
  color: #fffaf2;
  box-shadow: none;
}

.ez-header .ez-mega {
  background: var(--nav-ivory);
  border-color: var(--nav-border);
  max-height: calc(100dvh - 80px);
  box-shadow: 0 18px 30px rgb(100 75 44 / 10%);
}

.ez-header .ez-menu-column > a {
  border-color: var(--nav-border);
}

@media (max-width: 1100px) {
  .ez-header {
    min-height: 72px;
    padding: 10px 24px;
    justify-content: space-between;
  }

  .ez-brand { width: 130px; }
  .ez-brand img { height: 50px; }

  .js .ez-menu-toggle {
    padding: 10px 16px;
    min-height: 44px;
    gap: 12px;
    border-color: #536073;
    border-radius: 999px;
    color: #f2e9dc;
    background: transparent;
  }

  .ez-navigation {
    margin-left: 0;
    padding: 12px 24px 24px;
    background: var(--nav-background);
    border-color: #29384a;
    max-height: calc(100dvh - 72px);
  }

  .ez-navigation > a,
  .ez-menu > summary {
    min-height: 48px;
    font-size: 14px;
    border-color: #29384a;
  }

  .ez-navigation .ez-nav-cta {
    min-height: 44px;
    margin: 16px 0 0;
    font-size: 12px;
  }

  .ez-header .ez-mega {
    max-height: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ez-navigation > a,
  .ez-menu > summary,
  .ez-menu > summary::after { transition: none; }
}
