.webror-gallery-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}


.webror-gallery-track {
  display: inline-flex;
  gap: 20px;
  will-change: transform;
  animation: webror-marquee 1500s linear infinite;
}
.webror-gallery-track .webror-gallery-item {
  flex: 0 0 auto;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
  cursor: pointer;
  aspect-ratio: 300 / 600;
  background-size: cover;
  background-position: center;
}

.webror-gallery-track .webror-gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 1.8s ease, filter 1.8s ease;
}

@keyframes webror-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.webror-gallery-item img:hover {
  transform: scale(1.2);
  filter: sepia(1);
}

.webror-gallery-wrapper[data-columns] {
  display: grid;
  grid-template-columns: repeat(var(--webror-cols), 1fr);
  gap: 15px;
}

.webror-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 9999;
}

.webror-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.webror-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.webror-lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
}
.webror-lightbox .close { top: 20px; right: 20px; }
.webror-lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
.webror-lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }
