.slider-block{
  padding:0 15px;
  text-align: center;;
}
 
 
 
.main-slider {
  width: 100%;
  height: 500px;  
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.main-slider .swiper-wrapper {
  height: 100%;
  display: flex;
  align-items: center;  
}

.main-slider .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center; 
  justify-content: center;  
}

.main-slider img {
 
  max-width: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
}


 .thumbs-slider .swiper-wrapper{
    width:100%;
 
    display:flex;
    justify-content: center;
    align-items: center;
}

 

 
.thumbs-slider img {
  opacity: 1;
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
 
  

.thumbs-slider {
  width: 120px;
  height: 500px;
  position: relative;
  margin-right: 15px;
 
}

.thumbs-slider .swiper-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

.thumbs-slider .swiper-slide {
  height: 100px !important;
  margin-bottom: 8px;
  opacity: 0.5;
  cursor: pointer;
  border: 3px solid #b1b1b1;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.thumbs-slider .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-button-prev-vertical,
.swiper-button-next-vertical {
  background-color: #ffffff;;
  width: 102px;
 
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  background-repeat: no-repeat;
  background-position:  center;  
}

.swiper-button-prev-vertical {
  height: 30px;
     background-size:30px 40px;
  background-image: url('/pic/icon/arrow-up.svg');
 top:0px;
}

.swiper-button-next-vertical {
  height: 40px;
  background-image: url('/pic/icon/arrow-down.svg');
     background-size:30px 40px;
  bottom:0px;
}
 



.slider-block{
  display:flex;
}


.swiper-pagination{
  display: none;
}
 
 
.thumbs-slider .swiper-slide:not(.swiper-slide-thumb-active) {
  opacity: 0.5;  
  transition: opacity 0.3s ease;
  border: 3px solid rgb(132, 131, 131);  
  box-sizing: border-box;  
}

 
.thumbs-slider .swiper-slide-thumb-active {
  opacity: 1;  
  border: 3px solid black; /* задаёт черную рамку 1px */
  box-sizing: border-box;  /* чтобы бордер не увеличивал размеры */
}


@media (max-width: 768px) {

.main-slider {
  width: 100%;
  height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
 

  .thumbs-slider {
    display: none;
  }


  .swiper-button-prev-left,
  .swiper-button-next-right {
    display: block !important;
    z-index: 15;
    position: absolute;
  }

  .swiper-button-prev-vertical,
  .swiper-button-next-vertical {
    display: none !important;
  }

.swiper-wrapper{
  padding-bottom: 40px;;
}
 
.swiper-pagination {
  display: block;
 
  bottom: -1px !important;
  left: 0;
 
  text-align: center;
 
}

.swiper-pagination-bullet-active {
  background-color: rgb(0, 0, 0) !important;
}

 
.swiper-button-prev-left,
.swiper-button-next-right {
  background-color: rgba(255,0,0,0.5);
  width: 30px;
  height: 30px;
  z-index: 1000;
  position: absolute;
}

 
 .swiper-button-prev-left,
.swiper-button-next-right {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  background: none;
  z-index: 1000;
}

/* расположение */
.swiper-button-prev-left {
  left: 0;
}

.swiper-button-next-right {
  right: 0;
}

.swiper-button-prev-left::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 25px;
    background-image: url('/pic/icon/arrow-left.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 25px;
}

.swiper-button-next-right::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 25px;
    background-image: url('/pic/icon/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 25px;
}
 

}