﻿.imgForMobile {
  display: none;
}

.zoom-container {
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  gap: 10px;
  justify-content: space-between;
}

.cloud-zoom-image {
  width: calc(100% - 135px);
  height: 680px;
}

.cloud-zoom-thumb-container {
  position: relative;
  width: 125px;
  height: 680px;
  padding-top: 5px !important;
}

.swiper-initialized .cloud-zoom-thumb {
  width: 100%;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
}

a.src-zoom-anchor {
  display: flex;
  max-height: 100%;
  padding: 3px;
}

img.src-zoom-image {
  max-width: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.thumb-next, .thumb-prev {
  position: absolute;
  text-align: center;
  color: var(--theme-color);
  width: 100%;
  background: #fff;
  height: 22px;
  z-index: 100;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.thumb-prev {
  top: 0;
  right: 0;
  padding-top: 2px;
}

.thumb-next {
  bottom: 0;
  right: 0;
  padding-bottom: 2px;
}

.thumb-prev::before,
.thumb-next::before {
  font-family: 'icomoon' !important;
  border: 1px solid #ececec;
  width: 100%;
  display: inline-block;
  height: 100%;
}

.thumb-prev::before {
  content: '\e937';
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.thumb-next::before {
  content: '\e930';
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.thumb-prev.swiper-button-disabled,
.thumb-next.swiper-button-disabled {
  opacity: 0;
}

.cloud-zoom-image {
  border-radius: 10px;
  position: relative;
}



a.cloud-zoom {
  height: 100%;
}

img.cloud-zoom-image {
  height: 100% !important;
  object-fit: contain;
}

.cloud-zoom-image #wrap {
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  height: 100%;
}

@media (max-width: 1200px) {
  .cloud-zoom-image,
  .cloud-zoom-thumb-container {
    height: 560px;
  }
}

@media(max-width: 1024px) {
  .cloud-zoom-thumb-container {
    padding-top: 0 !important;
  }

  .cloud-zoom-image {
    width: 100%;
  }

  .zoom-container {
    flex-direction: column;
  }

  .cloud-zoom-thumb-container {
    height: auto;
    width: 100%;
  }

  .cloud-zoom-image {
    height: 100%;
  }

  .thumb-next, .thumb-prev {
    width: 22px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .thumb-next {
    top: 0;
    border: initial;
    right: initial;
    left: 0;
    padding-left: 2px;
  }

  .thumb-prev {
    padding-right: 2px;
  }

  .thumb-prev::before, .thumb-next::before {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ececec;
    width: 100%;
  }

  .thumb-prev::before {
    content: '\e931';
    border-left: none;
    border-radius: 0 10px 10px 0;
  }

  .thumb-next::before {
    content: '\e932';
    border-right: none;
    border-radius: 10px 0 0 10px;
  }
}
