/* Styles for behaviour added in site.js / forms.js. Widget layout itself comes from Duda's own widget CSS
   (Style/widgets/<hash>.css, the bundle each live page links). */

#dm .dmform .dmformsubmit input:disabled { cursor: wait; opacity: 0.7; }
#dm .dmform .dmform-success:focus { outline: none; }
#dm .dmPhotoGallery .photoGalleryViewAll { cursor: pointer; }

/* ---------- gallery lightbox (replaces Duda's PhotoSwipe, which needs Duda's runtime) ---------- */
.fl-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.92); }
.fl-lightbox[hidden] { display: none; }
.fl-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.fl-lightbox button {
  position: absolute; border: 0; background: rgba(0, 0, 0, 0.4); color: #fff; cursor: pointer;
  font: 32px/1 Arial, sans-serif; width: 52px; height: 52px; border-radius: 50%;
}
.fl-lightbox button:focus-visible { outline: 2px solid #fff; }
.fl-lightbox .fl-close { top: 16px; right: 16px; }
.fl-lightbox .fl-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.fl-lightbox .fl-next { right: 16px; top: 50%; transform: translateY(-50%); }
.fl-lightbox .fl-count { position: absolute; top: 28px; left: 24px; color: #fff; font: 14px Arial, sans-serif; }
