/* Digital Crush Custom Lightbox — all rules scoped to the dialog. */
/* Readiness marker: if this stylesheet fails, JavaScript leaves Avada alone. */
:root { --dc-lightbox-ready: 1; }
#dc-lightbox {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #202124;
  color: #eeeae3;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  opacity: 0;
  transition: opacity 240ms ease;
  isolation: isolate;
}
#dc-lightbox[open] { display: block; }
#dc-lightbox.dc-visible { opacity: 1; }
#dc-lightbox::backdrop { background: #202124; }
#dc-lightbox:fullscreen { width: 100%; height: 100%; }
#dc-lightbox .dc-lightbox-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #202124;
}
#dc-lightbox .dc-lightbox-image {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
           env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transform: none;
}
#dc-lightbox .dc-lightbox-image.dc-current { opacity: 1; }
#dc-lightbox .dc-lightbox-control {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(32,33,36,.28);
  box-shadow: none;
  color: #eeeae3;
  cursor: pointer;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#dc-lightbox .dc-lightbox-control svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
#dc-lightbox .dc-lightbox-prev { left: max(4px, env(safe-area-inset-left, 0px)); top: calc(50% - 28px); }
#dc-lightbox .dc-lightbox-next { right: max(4px, env(safe-area-inset-right, 0px)); top: calc(50% - 28px); }
#dc-lightbox .dc-lightbox-close { right: max(4px, env(safe-area-inset-right, 0px)); top: max(4px, env(safe-area-inset-top, 0px)); }
#dc-lightbox .dc-lightbox-close svg { width: 18px; height: 18px; }
#dc-lightbox .dc-lightbox-control[hidden] { display: none; }
#dc-lightbox .dc-lightbox-control:focus-visible {
  color: #ff8000;
  outline: 2px solid #ff8000 !important;
  outline-offset: -5px;
}
@media (hover: hover) {
  #dc-lightbox .dc-lightbox-control:hover { color: #ff8000; background: rgba(32,33,36,.55); }
}
#dc-lightbox .dc-lightbox-status {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 12px 20px;
  max-width: calc(100% - 120px);
  color: #eeeae3;
  font: 14px/1.5 Arial, sans-serif;
  text-align: center;
}
#dc-lightbox .dc-lightbox-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  #dc-lightbox, #dc-lightbox .dc-lightbox-image { transition: none; }
}
