/* Desktop grouped toolbar; mobile keeps the existing six direct routes. */
.customer-body .station-header {
  height: 88px;
  padding-inline: clamp(24px, 3.34vw, 70px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 24px;
  border-bottom-color: #e4e7ed;
  background: #fff;
}
.customer-body .station-header .station-brand { flex-shrink: 0; gap: 10px; white-space: nowrap; }
.customer-body .station-header .station-brand b { font-size: 18px; }
.customer-body .station-header .station-brand small { font-size: 8px; }
.customer-body .station-header .station-mark { width: 38px; height: 38px; border-radius: 9px; }
.customer-body .store-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  color: #121722;
  font-size: 16px;
  font-weight: 700;
}
.customer-body .store-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-size: inherit;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}
.customer-body .store-nav a:focus-visible,
.customer-body .mobile-account-toggle:focus-visible {
  outline: 2px solid #2155d9;
  outline-offset: 3px;
}
.customer-body .store-nav a::after { display: none; }
.customer-body .nav-icon,
.customer-body .mobile-account-toggle svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.customer-body .station-header .store-nav-primary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  padding: 6px;
  border-radius: 14px;
  background: #f3f5f9;
}
.customer-body .store-nav-primary a {
  min-height: 52px;
  gap: 10px;
  padding: 0 18px;
  border-radius: 10px;
}
.customer-body .store-nav-primary .nav-icon { width: 20px; height: 20px; }
.customer-body .store-nav-primary a:hover { color: #2155d9; background: #fff; }
.customer-body .store-nav-primary a[aria-current="location"] {
  color: #2155d9;
  background: #fff;
  box-shadow: 0 2px 5px rgba(18, 23, 34, 0.05);
}
.customer-body .store-nav-utilities {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
}
.customer-body .store-nav .store-nav-orders { font-size: 13px; }
.customer-body .store-nav-orders .nav-icon { color: #667085; }
.customer-body .store-nav-orders:hover,
.customer-body .store-nav-orders[aria-current="location"] { color: #2155d9; }
.customer-body .store-nav .store-nav-shop {
  padding-inline: 18px;
  border: 0;
  border-radius: 8px;
  color: #2155d9;
  background: #edf3ff;
  font-size: 13px;
  font-weight: 700;
}
.customer-body .store-nav-shop:hover { color: #fff; background: #2155d9; }
.customer-body .buyer-actions { position: relative; flex-shrink: 0; gap: 14px; }
.customer-body .mobile-route-link,
.customer-body .mobile-account-toggle,
.customer-body .nav-label-mobile,
.customer-body .nav-label-narrow { display: none; }
.customer-body .header-account-actions { display: contents; }
.customer-body .has-account .mobile-account-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  color: #121722;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}
.customer-body .header-account-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #42526b;
  background: #f1f3f7;
}
.customer-body .header-account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-body .mobile-account-toggle .header-account-chevron { width: 14px; height: 14px; color: #667085; }
.customer-body .header-account-identity,
.customer-body .header-account-details { display: contents; }
.customer-body .header-menu-avatar,
.customer-body .header-account-caption,
.customer-body .header-account-links { display: none; }
.customer-body .has-account .header-account-actions {
  display: none;
  position: absolute;
  z-index: 5;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 1px solid #e4e7ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(18, 23, 34, 0.12);
}
.customer-body .has-account.account-menu-open .header-account-actions { display: block; }
.customer-body .has-account .header-account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 16px;
}
.customer-body .has-account .header-account-details { display: block; flex: 1; min-width: 0; }
.customer-body .has-account .header-menu-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #42526b;
  background: #f1f3f7;
}
.customer-body .header-menu-avatar svg,
.customer-body .header-menu-icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.customer-body .header-menu-avatar svg { width: 24px; height: 24px; }
.customer-body .has-account .header-account-actions #loginLink {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #121722;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.customer-body .has-account .header-account-caption { display: block; color: #667085; font-size: 12px; line-height: 1.6; }
.customer-body .has-account .header-account-actions #loginLink:hover { color: #2155d9; transform: none; }
.customer-body .has-buyer-account .header-account-links { display: block; }
.customer-body .header-account-group + .header-account-group { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e4e7ed; }
.customer-body .header-account-link,
.customer-body .has-account .header-account-actions #logoutButton {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #42526b;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.customer-body .header-account-link.primary { color: #2155d9; background: #edf3ff; }
.customer-body .header-account-link:hover,
.customer-body .has-account .header-account-actions #logoutButton:hover { color: #2155d9; background: #f3f5f9; }
.customer-body .header-account-link:focus-visible,
.customer-body .header-account-actions #logoutButton:focus-visible { outline: 2px solid #2155d9; outline-offset: -2px; }
.customer-body .has-account .header-account-actions #logoutButton { margin-top: 8px; border-top: 1px solid #e4e7ed; border-radius: 0; color: #667085; }
.customer-body .mobile-account-toggle[aria-expanded="true"] { color: #2155d9; }

@media (max-width: 1400px) and (min-width: 1281px) {
  .customer-body .station-header { column-gap: 20px; }
  .customer-body .store-nav { gap: 20px; }
  .customer-body .store-nav-primary a { min-height: 48px; padding-inline: 12px; font-size: 14px; }
  .customer-body .store-nav-utilities { gap: 14px; }
}
@media (max-width: 1280px) {
  .customer-body .station-header {
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
    padding-top: 12px;
  }
  .customer-body .station-header .station-brand { grid-column: 1; grid-row: 1; }
  .customer-body .buyer-actions { grid-column: 2; grid-row: 1; }
  .customer-body .store-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .customer-body .store-nav::-webkit-scrollbar { display: none; }
  .customer-body .station-header .store-nav-primary { margin-inline: 0; }
  .customer-body .store-nav-primary a { min-height: 48px; padding-inline: 12px; font-size: 14px; }
  .customer-body #redeem,
  .customer-body #upgrade,
  .customer-body #sms,
  .customer-body #accountOrders { scroll-margin-top: 140px; }
}

@media (max-width: 760px) {
  .customer-body .station-header {
    height: auto;
    min-height: 110px;
    padding: 7px 12px 0;
    column-gap: 8px;
    row-gap: 4px;
    background: #fff;
  }

  .customer-body .station-header .station-brand { gap: 7px; min-width: 0; }
  .customer-body .station-header .station-brand b { font-size: 14px; }
  .customer-body .station-header .station-mark { width: 32px; height: 32px; }
  .customer-body .buyer-actions { position: static; min-width: 0; gap: 7px; }
  .customer-body .header-account-name,
  .customer-body .mobile-account-toggle .header-account-chevron,
  .customer-body .station-header .nav-icon { display: none; }
  .customer-body .header-account-avatar { width: auto; height: auto; border-radius: 0; color: inherit; background: transparent; }
  .customer-body .referral-shortcut {
    min-height: 44px;
    padding-inline: 8px;
    border: 0;
    background: #edf3ff;
    font-size: 11px;
  }

  .customer-body .buyer-actions #loginLink {
    min-width: 76px;
    max-width: 104px;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 12px;
    box-shadow: none;
  }

  .customer-body .has-account .mobile-account-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    min-width: 66px;
    padding: 0 8px;
    border-radius: 8px;
    color: #121722;
    background: #f3f5f9;
    font-size: 12px;
    font-weight: 700;
  }

  .customer-body .mobile-account-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
  }

  .customer-body .has-account .header-account-actions {
    right: 12px;
    top: 58px;
    width: min(300px, calc(100vw - 24px));
    max-height: calc(100dvh - 70px);
  }
  .customer-body .has-account .header-account-actions #loginLink { min-width: 0; max-width: none; padding: 0; font-size: 14px; }
  .customer-body .mobile-account-toggle:focus-visible {
    outline: 2px solid #2155d9;
    outline-offset: 3px;
  }
  .customer-body .mobile-account-toggle[aria-expanded="true"] { color: #2155d9; background: #edf3ff; }

  .customer-body .station-header .store-nav {
    display: flex;
    gap: 0;
    width: 100%;
    padding: 0 0 6px;
    overflow-x: visible;
    font-size: 12px;
  }
  .customer-body .station-header .store-nav-primary,
  .customer-body .station-header .store-nav-utilities { display: contents; }
  .customer-body .station-header .store-nav a {
    flex: 1 1 auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
  }
  .customer-body .station-header .store-nav a[aria-current="location"] { color: #2155d9; }
  .customer-body .station-header .store-nav a[aria-current="location"]::after {
    display: block;
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 2px;
    background: #2155d9;
    content: "";
  }
  .customer-body .station-header .store-nav-shop { color: #2155d9; }
  .customer-body .nav-label-full { display: none; }
  .customer-body .nav-label-mobile { display: inline; }
}

@media (max-width: 360px) {
  .customer-body .nav-label-sms-full { display: none; }
  .customer-body .nav-label-narrow { display: inline; }
}
