/* Galeria — lightbox (pasek akcji jak makieta) */

.gallery .glightbox-desc {
  display: none !important;
}

.glightbox-clean .ginner-container.desc-bottom {
  flex-direction: column;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.glightbox-clean .gslide-description {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
}

.glightbox-clean .gslide-desc {
  display: block !important;
  width: 100%;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

.glightbox-clean .galleryLightboxBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  padding: 18px 24px;
  box-sizing: border-box;
  background-color: #1d1d1d;
  font-family: "Archivo", sans-serif;
}

.glightbox-clean .galleryLightboxBar__number {
  flex: 0 0 auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #ffffff;
  white-space: nowrap;
}

.glightbox-clean .galleryLightboxBar__number strong {
  font-weight: 700;
}

.glightbox-clean .galleryLightboxBar__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.glightbox-clean .galleryLightboxBar__vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 10px 20px;
  min-height: 52px;
  max-width: none;
  width: auto;
  min-width: 320px;
  border: 2px solid #ffcc05;
  background-color: #ffcc05;
  color: #1d1d1d;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
}

.glightbox-clean .galleryLightboxBar__vote .text {
  text-transform: uppercase;
  font-weight: 800;
  color: #1d1d1d;
}

.glightbox-clean .galleryLightboxBar__vote .numberVotes {
  text-transform: none;
  font-size: 13px;
  font-weight: 400;
  color: #1d1d1d;
  white-space: nowrap;
}

.glightbox-clean .galleryLightboxBar__vote img {
  flex-shrink: 0;
  margin: 0;
}

.glightbox-clean .galleryLightboxBar__vote:hover {
  background-color: #fdd551;
  border-color: #fdd551;
}

.glightbox-clean .galleryLightboxBar__vote.voted {
  background-color: #fa1dbb;
  border-color: #fa1dbb;
  color: #ffffff;
}

.glightbox-clean .galleryLightboxBar__vote.voted .text,
.glightbox-clean .galleryLightboxBar__vote.voted .numberVotes {
  color: #ffffff;
}

.glightbox-clean .galleryLightboxBar__vote.voted img {
  filter: brightness(0) saturate(100%) invert(1);
}

.glightbox-clean .galleryLightboxBar__random {
  flex-shrink: 0;
  min-width: 100px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.glightbox-clean .galleryLightboxBar__random:hover {
  background: rgba(255, 255, 255, 0.08);
}

.glightbox-clean .galleryLightboxBar__share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.glightbox-clean .galleryLightboxBar__share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  box-sizing: border-box;
}

.glightbox-clean .galleryLightboxBar__share img {
  max-width: 20px;
  max-height: 20px;
}

.glightbox-container .gslide .closed {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: border-box;
  background: #1d1d1d;
  border: 1px solid rgba(255, 255, 255, 0.35);
  object-fit: contain;
}

.glightbox-container .gslide button.closed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .glightbox-clean .galleryLightboxBar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .glightbox-clean .galleryLightboxBar__main {
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    width: 100%;
  }

  .glightbox-clean .galleryLightboxBar__vote {
    width: 100%;
    min-width: 0;
  }

  .glightbox-clean .galleryLightboxBar__random {
    width: 100%;
  }

  .glightbox-clean .galleryLightboxBar__share {
    order: 2;
    margin-left: auto;
  }
}
