/*
 * KONZEPT Brief Popup Controller v1.8.2
 * Controls an already-rendered mini brief teaser. Does not create a second popup.
 */

.kbf-popup-controlled {
  /* Fail-safe: teaser nigdy nie może wejść nad warstwę cookies. */
  z-index: 9000 !important;
  transition: opacity 240ms cubic-bezier(.22, 1, .36, 1), visibility 240ms linear !important;
}

.kbf-popup-controlled.kbf-popup-is-suppressed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Cookie/GDPR consent must always remain the top interactive layer. */
html.kbf-consent-layer-visible .kbf-popup-controlled {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/*
 * Fail-safe dla popularnych CMP/GDPR. JS nadal chowa teaser, gdy wykryje
 * aktywną zgodę, ale nawet jeśli zewnętrzna wtyczka zmieni markup, banner
 * cookies pozostaje fizycznie wyżej w stosie warstw.
 */
#moove_gdpr_cookie_info_bar,
#moove_gdpr_cookie_modal,
.gdpr_lightbox,
#cookie-law-info-bar,
.cky-consent-container,
.cky-modal,
#cmplz-cookiebanner-container,
.cmplz-cookiebanner,
#cookie-notice,
.cookie-notice-container {
  z-index: 2147483000 !important;
}
