/* Shared compact header. All pages use the same markup and Header options. */
.az-shared-header { --az-header-yellow: #ffc629; background: #fff; color: #333; }
.az-shared-header.az-steel-site a:hover { color: #9a6900; }
.az-shared-header.az-steel-site :is(a, button, input):focus-visible { outline-color: #986500; }
.az-shared-header .az-steel-container { max-width: var(--az-container, 1200px); }
.az-shared-header .az-shared-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; padding-block: 5px; }
.az-shared-header .az-steel-topbar { background: #f5f5f5; color: #777; font-size: 12px; }
.az-shared-topbar > span { overflow-wrap: anywhere; }
.az-shared-topbar > nav { margin-left: auto; }
.az-shared-header .az-shared-brandbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; min-height: var(--az-header-main-height, 96px); padding-block: 14px; }
.az-shared-brandbar .az-steel-logo { flex: 0 1 200px; font-size: 24px; }
.az-shared-brandbar .az-steel-logo img { width: 200px; max-height: 74px; }
.az-shared-brandbar .az-steel-logo__mark { width: 48px; height: 56px; flex-basis: 48px; font-size: 22px; }
.az-shared-brandbar .az-steel-search { flex: 1 1 200px; grid-column: auto; margin: 0; height: 38px; border-radius: 3px; background: #f6f6f6; }
.az-shared-brandbar .az-steel-search input[type="search"] { height: 38px; font-size: 12px; color: #444; }
.az-shared-brandbar .az-steel-search input::placeholder { color: #999; }
.az-shared-brandbar .az-steel-search__button { color: #777; }
.az-shared-utilities { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 16px; }
.az-shared-hotline { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.az-shared-hotline > svg { width: 28px; height: 28px; color: #b8a677; }
.az-shared-hotline small { display: block; color: #888; font-size: 11px; }
.az-shared-hotline strong { display: block; color: #b17b00; font-size: 16px; letter-spacing: .5px; }
.az-shared-header .az-steel-navband { background: var(--az-menu-background, #ffc629); color: var(--az-menu-text, #333333); }
.az-shared-header .az-shared-navrow { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: stretch; min-height: 44px; }
.az-shared-header .az-shared-navrow--no-category { grid-template-columns: minmax(0, 1fr); }
.az-shared-header .az-steel-category-toggle { height: 100%; padding: 12px 14px; background: var(--az-menu-category-background, #151b1f); color: var(--az-menu-category-text, #ffffff); font-size: 12px; }
.az-shared-header .az-steel-category-toggle:hover,
.az-shared-header .az-steel-category-toggle:focus-visible { background: var(--az-menu-category-hover-background, #111111); color: var(--az-menu-category-hover-text, #ffffff); }
.az-shared-header .az-steel-menu { flex-wrap: wrap; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.az-shared-header .az-steel-menu > li > a { padding: 14px 10px; }
.az-shared-header .az-steel-primary > .az-steel-menu > li > a { color: var(--az-menu-text, #333333); }
.az-shared-header .az-steel-primary > .az-steel-menu > .current-menu-item > a,
.az-shared-header .az-steel-primary > .az-steel-menu > .current-menu-ancestor > a,
.az-shared-header .az-steel-primary > .az-steel-menu > .current-menu-parent > a { background: var(--az-menu-active-background, #d97706); color: var(--az-menu-active-text, #ffffff); }
.az-shared-header .az-steel-primary { grid-column: auto; grid-row: auto; }
.az-shared-header .az-steel-primary > .az-steel-menu > li > a:hover,
.az-shared-header .az-steel-primary > .az-steel-menu > li > a:focus-visible { background: var(--az-menu-hover-background, #edb515); color: var(--az-menu-hover-text, #202020); }
.az-shared-header .az-steel-menu .sub-menu { background: #fff; color: #333; text-transform: none; }
.az-shared-header .az-steel-category-dropdown .az-steel-categories { background: #fff; color: #333; }
.az-shared-header .az-steel-category-list { margin: 0; }
.az-shared-header .az-steel-categories__featured { display: none; }
.az-shared-header.is-transparent { background: transparent; }
.az-shared-header.is-transparent .az-steel-navband { background: transparent; }
/* Actions and sticky remain styled even when the parent base stylesheet is off. */
.az-shared-header .az-header-action,
.az-sticky-header .az-header-action { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.az-header-action__icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.az-header-action b { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 50%; background: #ffc629; color: #222; font-size: 10px; }
.az-shared-header .az-header-action--cta { padding: 8px 12px; border-radius: 3px; background: #ffc629; color: #222; }
.az-sticky-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; transform: translateY(-110%); opacity: 0; visibility: hidden; pointer-events: none; background: #fff; box-shadow: 0 6px 20px #0002; transition: transform .2s ease, opacity .2s ease; }
.az-sticky-header.is-visible { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.admin-bar .az-sticky-header { top: 32px; }
.az-sticky-header a { color: inherit; text-decoration: none; }
.az-sticky-topbar { background: #f5f5f5; color: #777; font-size: 12px; }
.az-sticky-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; }
.az-sticky-main__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 64px; padding-block: 10px; }
.az-sticky-header__logo { display: flex; align-items: center; max-width: 150px; }
.az-sticky-header__logo img { max-width: 100%; max-height: 42px; object-fit: contain; }
.az-sticky-header__search { display: flex; flex: 1 1 200px; max-width: 320px; height: 38px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; }
.az-sticky-header__search input { width: 100%; min-width: 0; border: 0; padding: 0 10px; }
.az-sticky-header__search button { display: grid; place-items: center; width: 42px; border: 0; background: #ffc629; }
.az-sticky-header__search svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.az-sticky-header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.az-sticky-bottom { background: var(--az-menu-background, #ffc629); color: var(--az-menu-text, #333333); }
.az-sticky-bottom nav { overflow: visible; }
.az-sticky-menu,
.az-topbar-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.az-sticky-menu li { position: relative; }
.az-sticky-menu a { display: block; padding: 12px; font-size: 12px; font-weight: 600; }
.az-sticky-header .az-sticky-menu > li > a { color: var(--az-menu-text, #333333); }
.az-sticky-header .az-sticky-menu > .current-menu-item > a,
.az-sticky-header .az-sticky-menu > .current-menu-ancestor > a,
.az-sticky-header .az-sticky-menu > .current-menu-parent > a { background: var(--az-menu-active-background, #d97706); color: var(--az-menu-active-text, #ffffff); }
.az-sticky-header .az-sticky-menu > li > a:hover,
.az-sticky-header .az-sticky-menu > li > a:focus-visible { background: var(--az-menu-hover-background, #edb515); color: var(--az-menu-hover-text, #202020); }
.az-sticky-menu .sub-menu { display: none; position: absolute; z-index: 1; min-width: 200px; list-style: none; margin: 0; padding: 0; background: #fff; box-shadow: 0 6px 20px #0002; }
.az-sticky-menu li:hover > .sub-menu,
.az-sticky-menu li:focus-within > .sub-menu { display: block; }
.az-topbar-menu a { display: block; padding: 5px 10px; }
@media (max-width: 1100px) {
  .az-shared-header .az-shared-brandbar { gap: 16px; }
  .az-shared-brandbar .az-steel-logo { flex-basis: 170px; }
  .az-shared-header .az-shared-navrow { grid-template-columns: 210px minmax(0, 1fr); }
  .az-shared-header .az-shared-navrow--no-category { grid-template-columns: minmax(0, 1fr); }
  .az-shared-header .az-steel-menu { font-size: 11px; }
}
@media (max-width: 782px) {
  .az-shared-header.az-steel-site .az-steel-container { width: calc(100% - 28px); }
  .az-shared-brandbar .az-steel-search { order: 3; flex-basis: 100%; }
  .az-shared-header .az-shared-navrow { grid-template-columns: minmax(0, 1fr); }
  .az-shared-header .az-steel-primary .az-steel-menu { justify-content: flex-start; }
  .az-shared-hotline > svg { width: 20px; height: 20px; }
  .az-shared-hotline small { font-size: 9px; }
  .az-shared-hotline strong { font-size: 12px; letter-spacing: 0; }
  .az-shared-utilities { gap: 10px; }
  .az-shared-utilities .az-header-action > span,
  .az-sticky-header__actions .az-header-action > span { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .az-shared-utilities .az-header-action--cta > span { display: inline; position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; }
  .admin-bar .az-sticky-header { top: 46px; }
  .az-sticky-header__search { display: none; }
  .az-sticky-bottom { display: none; }
  .az-sticky-header__logo { max-width: 112px; }
}
@media (max-width: 480px) {
  .az-shared-header .az-steel-container { width: calc(100% - 28px); }
  .az-shared-brandbar .az-steel-logo { flex-basis: 140px; font-size: 18px; }
  .az-shared-brandbar .az-steel-logo img { width: 140px; max-height: 56px; }
  .az-shared-utilities { flex: 1 1 130px; }
  .az-shared-hotline > svg { display: none; }
  .az-shared-header .az-steel-menu > li > a { padding: 10px 8px; }
  .az-shared-header .az-shared-topbar { flex-wrap: wrap; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .az-sticky-header { transition: none; } }
