 .swiper {
     width: 100%;
 }
.wrapper_collection_archive {
  display: block;
  margin-top: 20px;
}
 .swiper-slide {
    display: flex;
  justify-content: center;
  align-items: center;
  max-height: 500px;
 }

 .swiper-slide img {
   max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;

 }

 /* Миниатюры */
 .thumbnails {
     display: flex;
     justify-content: center;
     margin-top: 10px;
     gap: 5px;
 }

 .thumbnails img {
     width: 80px;
     height: 60px;
     object-fit: cover;
     cursor: pointer;
     opacity: 0.6;
     transition: opacity 0.3s;
 }

 .thumbnails img.active {
     opacity: 1;
     border: 2px solid #007bff;
 }
 .swiper_button {
 display: inline-flex;
  width: 70px;
  height: 70px;
  border: 1px solid #696969;
  border-radius: 50%;
}
.swiper-button-next, .swiper-button-prev {
  color: #696969;
}
.thumbnails {
    display: flex;
    justify-content: flex-start; /* выравнивание слева */
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Убираем возможные отступы у первого элемента */
.thumbnails img:first-child {
    margin-left: 0;
}

/* Сами миниатюры */
.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block; /* убираем лишние отступы */
    margin: 0; /* сбрасываем отступы */
    padding: 0; /* сбрасываем padding */
}

/* Активная миниатюра */
.thumbnails img.active {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}
.site-content {
    position: relative;
}






@media only screen and (max-width: 770px) {
  .swiper-pagination {
    display: none;
}
.swiper {
    height: 350px;
}
.thumbnails {
    margin-top: 0px;
}
}
