.gallery-pro__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.25rem;
}

.gallery-pro__track::-webkit-scrollbar {
  display: none;
}

.gallery-pro__item {
  flex: 0 0 calc(33.333% - 0.67rem);
  height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 14px 40px rgba(20, 31, 56, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.gallery-pro__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(20, 31, 56, 0.16);
}

.gallery-pro__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  color: #232d5f;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(15, 23, 38, 0.14);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-pro__nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.gallery-pro__nav--left {
  left: -18px;
}

.gallery-pro__nav--right {
  right: -18px;
}

.gallery-pro__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gallery-pro__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 9999px;
  background: rgba(35, 45, 95, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-pro__dots button.is-active {
  background: #7388ea;
  transform: scale(1.15);
}

/* LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 24px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__content {
  position: relative;
  max-width: min(92vw, 900px);
  max-height: 92vh;
  text-align: center;
}

.gallery-lightbox__image {
  max-width: 100%;
  max-height: 82vh;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
}

.gallery-lightbox__counter {
  margin-top: 14px;
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
}

.gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__nav--left {
  left: 20px;
}

.gallery-lightbox__nav--right {
  right: 20px;
}

body.gallery-lock {
  overflow: hidden;
}

@media (max-width: 900px) {
  .gallery-pro__item {
    flex: 0 0 calc(50% - 0.5rem);
    height: 360px;
  }

  .gallery-pro__nav--left {
    left: 8px;
  }

  .gallery-pro__nav--right {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .gallery-pro__item {
    flex: 0 0 84%;
    height: 320px;
  }

  .gallery-pro__nav {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  .gallery-lightbox__nav {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }
}