/* Xenon Light Black Friday 2026 — izolovano od Bootstrap 3 i teme */
#xlbf-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,.82);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
  box-sizing: border-box;
}
#xlbf-overlay.xlbf-visible { opacity: 1; visibility: visible; }
#xlbf-overlay, #xlbf-overlay * { box-sizing: border-box; }
#xlbf-overlay .xlbf-panel {
  position: relative; width: min(620px, 100%); max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px); margin: 0; padding: 0;
  background: #111; border: 1px solid rgba(255,224,0,.45);
  box-shadow: 0 22px 85px rgba(0,0,0,.7); border-radius: 8px;
}
#xlbf-overlay .xlbf-image {
  display: block; width: 100%; height: auto;
  max-height: calc(100vh - 42px); max-height: calc(100dvh - 42px);
  object-fit: contain; border-radius: 7px;
}
#xlbf-overlay .xlbf-close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff;
  background: #111; color: #fff; font: 26px/32px Arial,sans-serif;
  text-align: center; cursor: pointer; padding: 0;
}
#xlbf-overlay .xlbf-close:hover, #xlbf-overlay .xlbf-close:focus {
  background: #ffdf00; color: #111; outline: none;
}
@media (max-width: 600px) {
  #xlbf-overlay { padding: 16px; }
  #xlbf-overlay .xlbf-panel { width: min(480px, 100%); }
  #xlbf-overlay .xlbf-close { top: -11px; right: -11px; }
}
@media (prefers-reduced-motion: reduce) {
  #xlbf-overlay { transition: none; }
}
