/* Actual header rows move into this fixed surface; no cloned forms or cart nodes. */
.az-bb-header.is-sticky-active { z-index: 1000; }
.az-bb-header .az-bb-sticky-surface { position: fixed; top: var(--az-bb-sticky-top, 0px); left: 0; right: 0; z-index: 1000; background: var(--az-color-surface, #fff); border-bottom: 1px solid var(--az-color-border, #e5e5e5); box-shadow: 0 8px 24px rgb(0 0 0 / .09); }
.az-bb-sticky-surface .az-bb-header__main-wrap, .az-bb-sticky-surface .az-bb-header__bottom { background: var(--az-color-surface, #fff); }
.az-bb-sticky-surface .az-bb-header__main { min-height: 64px; }
.az-bb-sticky-surface .az-bb-brand--has-sticky-logo > :not(.az-bb-brand__sticky-logo) { display: none; }
.az-bb-header[data-sticky-search="0"] .az-bb-sticky-surface .az-bb-search { display: none; }
/* Header bottom's setting explicitly requests the primary navigation only. */
.az-bb-sticky-surface .az-bb-categories-menu { display: none; }
.az-bb-sticky-navigation { width: 100%; min-width: 0; padding-block: 8px; max-height: 55vh; overflow-y: auto; }
.az-bb .az-bb-sticky-links { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: flex-start; }
.az-bb .az-bb-sticky-links li { position: relative; }
.az-bb .az-bb-sticky-links a { padding: 7px 0; white-space: normal; }
.az-bb .az-bb-sticky-links .sub-menu { position: static; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 0 0 12px; background: transparent; box-shadow: none; }
.az-child-storefront :is(main, section[id], footer[id]) { scroll-margin-top: calc(var(--az-bb-sticky-offset, 0px) + 20px); }
@media (max-width: 600px) {
  .az-bb-sticky-surface .az-bb-header__main { min-height: 60px; padding-block: 10px; }
  .az-bb-sticky-surface .az-bb-brand picture img { max-height: 48px; }
  .az-bb-sticky-surface .az-bb-mobile-menu > nav { max-height: min(65vh, calc(100dvh - var(--az-bb-sticky-top, 0px) - 110px)); overflow-y: auto; }
  .az-bb .az-bb-sticky-links { gap: 4px 14px; }
}
