/* Lawana sticky — overrides Hummingbird .header { position: sticky } (theme.css).
   Mobile: never sticky.
   Desktop: sticky #header, but compact mode hides top bar + CMS menu (logo row only). */

@media (max-width: 991.98px) {
  #header.header,
  #header.header.js-sticky-header {
    position: relative !important;
    top: auto !important;
    z-index: auto;
  }
}

@media (min-width: 992px) {
  #header.js-sticky-header {
    position: sticky !important;
    top: 0;
    z-index: 1030;
  }

  #header.js-sticky-header .ndx-header-top,
  #header.js-sticky-header .ndx-cms-menu {
    transition:
      opacity 0.25s ease,
      max-height 0.25s ease,
      visibility 0.25s ease;
    max-height: 6rem;
  }

  #header.js-sticky-header.is-compact .ndx-header-top,
  #header.js-sticky-header.is-compact .ndx-cms-menu {
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    visibility: hidden;
    pointer-events: none;
    border-width: 0;
    margin: 0;
    padding: 0;
  }

  #header.js-sticky-header.is-compact,
  #header.js-sticky-header.is-scrolled {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header.js-sticky-header .ndx-header-top,
  #header.js-sticky-header .ndx-cms-menu {
    transition: none !important;
  }
}

/* B2B CTA centered */
.ndx-b2b-cta{align-items:center;display:flex;flex-wrap:wrap;gap:.25rem .4rem;justify-content:center;line-height:1.35;margin:.5rem auto;text-align:center;width:100%}
.product-miniature .ndx-b2b-cta{margin:.65rem 0 .25rem}
.ndx-b2b-cta a,.ndx-b2b-cta__login,.ndx-b2b-cta__retail{color:var(--ndx-color-accent);text-decoration:none}
.ndx-b2b-cta a:hover,.ndx-b2b-cta a:focus-visible{color:var(--ndx-color-accent-hover);text-decoration:underline}
.ndx-b2b-cta__or{color:var(--ndx-color-text-muted)}
