/* Galeria realizacji: jedno zdjęcie + kropki */
.lpg-gallery {
  max-width: 960px;
  margin: 24px auto 40px;
  padding: 0 16px;
  position: relative;
}

.lpg-gallery-frame {
  position: relative;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lpg-gallery-slide {
  display: none;
  width: 100%;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
  animation: lpgFade 0.35s ease;
}

.lpg-gallery-slide.active {
  display: block;
}

.lpg-gallery-slide img {
  display: inline-block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 0;
  vertical-align: middle;
  box-shadow: none;
}

@keyframes lpgFade {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

/* Kropki */
.lpg-gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 4px 0 8px;
}

.lpg-gallery-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #50d8af;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.lpg-gallery-dots button:hover {
  background: rgba(80, 216, 175, 0.45);
  transform: scale(1.15);
}

.lpg-gallery-dots button.active {
  background: #50d8af;
  border-color: #50d8af;
  transform: scale(1.2);
}

.lpg-gallery-dots button:focus {
  outline: 2px solid #0c2e8a;
  outline-offset: 2px;
}

/* Strzałki (delikatne) */
.lpg-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0c2e8a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.lpg-gallery-nav:hover {
  background: #50d8af;
  color: #0c2e8a;
}

.lpg-gallery-prev { left: 20px; }
.lpg-gallery-next { right: 20px; }

.lpg-gallery-counter {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

@media (max-width: 575px) {
  .lpg-gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .lpg-gallery-prev { left: 8px; }
  .lpg-gallery-next { right: 8px; }
  .lpg-gallery-slide img {
    max-height: 60vh;
  }
}
