/* Header/hero geometry belongs in the render-blocking head, not in a late
   body stylesheet or a load/resize callback. The sticky header already takes
   up its own space in normal flow. Keep its approved row and image sizes. */
html.c162-site body.cyb1000 > #cyb162Header {
  margin-block: 0 !important;
  padding-block: 0 !important;
}
html.c162-site body.cyb1000 > main,
html.c162-site body.cyb1000 > main > .page {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
  border-block-start-width: 0 !important;
}
html.c162-site body.cyb1000 > main > .page > :is(
  .v20-hero, .page-hero, .c15-s-hero, .c15-about-hero,
  .c15-help-hero, .c15-contact-hero, .c15-policy-hero, .c15-account-hero
) {
  margin-block-start: 0 !important;
  border-block-start-width: 0 !important;
}

/* Older cached reveal code can still add this generic class to a hero.
   Stop only that whole-section entrance; descendant photo/text motion stays. */
html.c162-site body.cyb1000 > main > .page > :is(:first-child,[class*="-hero"]).c3-reveal,
html.c162-site body.cyb1000 > main > .page > .c3-reveal:has(form,input,select,textarea,#catalogueProducts),
html.c162-site body.cyb1000 #page-catalogue .cyb819-exact-hero,
html.c162-site body.cyb1000 #page-catalogue .catalogue-tabs {
  animation: none !important;
}

/* The old catalogue reveal also translated the complete filter/grid shell.
   Keep this interactive layout stationary; individual card effects remain. */
html.c162-site body.cyb1000 #page-catalogue .filter-shell.cyb908-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Preserve the existing desktop two-pixel paint overlap with zero net layout
   height. These rules now apply on the first render, including a cold reload.
   Mobile/tablet keep the original drawer and search-row geometry. */
@media (min-width: 1200px) {
  html[data-system-finish] body.cyb1000
  #cyb162Header[data-navigation-standard="approved-v1"] > .c162-navigation {
    border-bottom: 0 !important;
    outline: 0 !important;
    padding-bottom: 2px !important;
    margin-bottom: -2px !important;
    box-shadow: 0 5px 13px rgba(2, 29, 51, .14) !important;
  }
  html[data-system-finish] body.cyb1000
  #cyb162Header[data-navigation-standard="approved-v1"] {
    border-bottom: 0 !important;
  }
}
