/* Sticky site header */
.elementor-location-header {
  position: -webkit-sticky;
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 999;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}
@media screen and (max-width: 600px) {
  /* WordPress makes the admin bar scroll away on small phones */
  .elementor-location-header { top: 0; }
}
body.cnet-scrolled .elementor-location-header {
  box-shadow: 0 6px 20px rgba(11, 31, 58, 0.12);
}
/* Fold away the thin top bar once the page is scrolled */
.elementor-location-header [data-id="4d7d8f63"] {
  transition: max-height 0.2s ease, padding 0.2s ease, opacity 0.2s ease;
  max-height: 80px;
  overflow: hidden;
}
body.cnet-scrolled .elementor-location-header [data-id="4d7d8f63"] {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0;
}
/* Shop filter panel sits just below the sticky header */
.cnet-shop__filters {
  top: calc(var(--cnet-header-h, 0px) + var(--wp-admin--admin-bar--height, 0px) + 1rem) !important;
  max-height: calc(100vh - var(--cnet-header-h, 0px) - var(--wp-admin--admin-bar--height, 0px) - 2rem) !important;
}
/* Jump links land below the header rather than under it */
html { scroll-padding-top: calc(var(--cnet-header-h, 0px) + 1rem); }
