/* RP unified 2026 chrome for inner pages (preview/live gate). */
body.rp-unified-2026 #header,
body.rp-unified-2026 #mobile-header,
body.rp-unified-2026 #footer,
body.rp-unified-2026 .sticky-desktop-wrapper,
body.rp-unified-2026 #desktop-header-sticky {
  display: none !important;
}

body.rp-unified-2026 .rp-unified-header-shell .rp-site-header {
  position: sticky;
  top: 0;
  z-index: 10050;
  background: var(--rp-navy-2, #041f3c);
}

body.rp-unified-2026 .rp-unified-header-shell {
  position: sticky;
  top: 0;
  z-index: 10050;
}

body.rp-unified-2026 .rp-unified-header-shell .rp-catalog-panel,
body.rp-unified-2026 .rp-home-2026 #rp-catalog-panel {
  z-index: 10055;
}

/* Keep suggestions above the sticky bar. */
body.rp-unified-2026 .autocomplete-suggestions {
  z-index: 10070 !important;
}

/* Hide 0,00 € autocomplete prices (inquiry-only / zero display). */
.autocomplete-suggestion .product-price.rp-price-zero {
  display: none !important;
}

@media (max-width: 767px) {
  body.rp-unified-2026 .rp-header-contact {
    display: none;
  }
}

/* Mobile catalog must start below the measured sticky header (search row included). */
@media (max-width: 1100px) {
  body.rp-unified-2026 #rp-catalog-panel,
  body.rp-unified-2026 .rp-catalog-panel {
    top: var(--rp-catalog-mobile-top, 167px) !important;
    max-height: calc(100dvh - var(--rp-catalog-mobile-top, 167px) - 8px) !important;
    z-index: 10055;
  }
}

/* Keep inquiry/fancybox below the sticky 2026 header. */
body.rp-unified-2026 .fancybox-container,
body.rp-unified-2026 .fancybox-wrap {
  top: var(--rp-catalog-mobile-top, 0px) !important;
  height: calc(100% - var(--rp-catalog-mobile-top, 0px)) !important;
}
body.rp-unified-2026 .fancybox-container .fancybox-bg {
  top: 0;
  bottom: 0;
}
