/* equipment-carousel.css - оновлено: плавний перехід */
.equip-center{
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.equip-main{
  max-height: 420px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform .45s ease, opacity .45s ease;
}

/* плавність каруселі - Bootstrap дає базу; додамо мʼякість */
.carousel-item {
  transition: transform .45s ease-in-out, opacity .45s ease-in-out;
}

/* превью по боках */
.equip-preview{
  display: flex;
  justify-content: space-around;
  background-color: rgb(253, 253, 253);
  border-radius: 25px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.equip-preview-left{
  left: 10px;
  display: flex;
}

.equip-preview-right{
  right: 10px;
  display: flex;
}

.equip-preview-body{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.equip-preview-img{
  width: 140px;
  height: 90px;
  object-fit: contain;
  border: 1px solid #000000;
  transition: transform .35s ease, opacity .35s ease;
}

.equip-preview-title{
  border: 1px solid #000000;
  opacity: .6;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* стрілки */
.equip-arrow-left, .equip-arrow-right{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  
}

/* ховер */
.equip-preview:hover .equip-preview-img,
.equip-preview:hover .equip-preview-title{
  opacity: 1;
  transform: scale(1.03);
}

/* ховати прев'ю на мобілці */
@media (max-width: 991px){
  .equip-preview-left, .equip-preview-right { display: none !important; }
  .equip-main { max-height: 300px; }
}
