/* In-page photo lightbox — litter slideshows + available-puppies */
.dd-lb[hidden] { display: none !important; }
.dd-lb {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem; box-sizing: border-box;
  background: rgba(20, 12, 6, 0.88);
}
.dd-lb__dialog {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: min(100%, 960px); max-height: 100%;
  min-width: 0;
}
.dd-lb__imgwrap {
  position: relative;
  width: 100%;
  max-height: min(78vh, 820px);
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.dd-lb__img {
  max-width: 100%; max-height: min(78vh, 820px);
  width: auto; height: auto;
  object-fit: contain; display: block;
  border-radius: 8px;
  background: #1a120c;
}
.dd-lb__close {
  position: absolute; top: 0.35rem; right: 0.35rem; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.92); color: #4e2d14;
  font-size: 1.5rem; font-weight: 700; line-height: 1; cursor: pointer;
}
.dd-lb__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dd-lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.88); color: #4e2d14;
  font-size: 1.6rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.dd-lb__prev { left: 0.25rem; }
.dd-lb__next { right: 0.25rem; }
.dd-lb__nav[hidden] { display: none !important; }
.dd-lb__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 1.25rem; margin-top: 0.65rem; width: 100%;
}
.dd-lb__count {
  color: #f3e3cc; font-weight: 800; font-size: 0.95rem;
}
.dd-lb__dl {
  color: #fff; font-weight: 800; font-size: 1rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.dd-lb__dl:hover, .dd-lb__dl:focus-visible { color: #f3e3cc; }
body.dd-lb-open { overflow: hidden; }
