/* Файл: lightroom-gallery.css */
.lr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .lr-gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* Slider wrapper */
  .lr-gallery-swiper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 40px;
  }
  
  .lr-gallery-swiper .swiper-slide img {
    width: 100%;
    border-radius: 6px;
  }
  
  /* Thumbnails */
  .lr-gallery-swiper .swiper-thumbs .swiper-slide {
    height: 80px;
    opacity: 0.4;
    cursor: pointer;
  }
  
  .lr-gallery-swiper .swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #0073aa;
  }

  .lightroom-grid-gallery {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 10px;
    margin-top: 20px;
}

.lightroom-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
}

.lightroom-grid-gallery {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 15px;
  margin-top: 20px;
}

.lightroom-grid-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
.lightroom-masonry-gallery {
  column-count: var(--cols, 3);
  column-gap: 16px;
}

.lightroom-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.lightroom-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.thumb-slider {
  display: block;
  overflow-x: auto;
  padding-top: 10px;
}

.thumb-slider .swiper-slide {
  width: auto;
  max-width: 120px;
  flex-shrink: 0; /* 👈 важно для горизонтального расположения */
}
        .lightroom-swiper-container {
            max-width: 100%;
            margin: 0 auto;
        }
        .lightroom-swiper-container .swiper-slide img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }
        .thumb-slider {
            margin-top: 15px;
        }
        .thumb-slider {
            width: auto;
            opacity: 0.4;
            cursor: pointer;
            margin-right: 10px;
        }
        .thumb-slider img{
            max-width: 120px;
            height: auto; 
        }
       
.gslide-description.description-bottom {
  display: none !important;
}

.lightroom-swiper-container .swiper-button-prev{
  border: solid 5px #fff;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  text-align: center;
  padding-right: 5px;
  box-shadow: 0 0 10px #000;
  color: #fff;
  text-shadow: 0 0 10px #000;
}

.lightroom-swiper-container .swiper-button-next{
   border: solid 5px #fff;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  text-align: center;
  padding-left: 5px;
  box-shadow: 0 0 10px #000;
  color: #fff;
  text-shadow: 0 0 10px #000;
}
body .lightroom-swiper-container .swiper-slide img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  max-height: 80vh;
  width: auto !important;
  margin-left: auto;
  margin-right: auto;
}