.mch-gallery {
  width: 100%;
  height: 550px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.mch-gallery__viewport {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.mch-gallery__track {
  height: 100%;
  display: flex;
  gap: 12px;
  padding: 0 12px;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mch-gallery__item {
  flex: 0 0 calc((100% - 24px) / 3);
  height: 100%;
  background: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.mch-gallery__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mch-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 160ms ease;
}

.mch-gallery:hover .mch-gallery__btn {
  opacity: 1;
}

.mch-gallery__btn[disabled] {
  opacity: 0.25 !important;
  cursor: default;
}

.mch-gallery__btn--prev {
  left: 14px;
}

.mch-gallery__btn--next {
  right: 14px;
}

.mch-gallery__chev {
  width: 18px;
  height: 18px;
  border-right: 3px solid rgba(159, 125, 35, 1);
  border-bottom: 3px solid rgba(159, 125, 35, 1);
  transform: rotate(135deg);
}

.mch-gallery__btn--next .mch-gallery__chev {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .mch-gallery {
    height: 420px;
  }
  .mch-gallery__item {
    flex-basis: calc((100% - 12px) / 2);
  }
}

@media (max-width: 640px) {
  .mch-gallery {
    height: 320px;
  }
  .mch-gallery__track {
    gap: 10px;
    padding: 0 10px;
  }
  .mch-gallery__item {
    flex-basis: 100%;
  }
}

