.mac__big-img {
  box-sizing: border-box;
  width: 32rem;
  height: 32rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.2s ease-in-out;
  -webkit-transition: background-image 0.2s ease-in-out;
}
@media screen and (min-width: 768px) {
  .mac__big-img {
    width: 32rem;
    height: 32rem;
    background-size: 32rem 32rem;
  }
}
@media screen and (min-width: 1024px) {
  .mac__big-img {
    width: 40rem;
    height: 40rem;
    background-size: 40rem 40rem;
  }
}
@media screen and (min-width: 1920px) {
  .mac__big-img {
    width: 52rem;
    height: 52rem;
    background-size: 52rem 52rem;
  }
}

.mac__slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  margin-right: 1.6rem;
  margin-top: 0;
}
@media screen and (max-width: 1919px) {
  .mac__slider {
    flex-direction: row;
    width: 40rem;
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 1.6rem;
  }
}
@media screen and (max-width: 1023px) {
  .mac__slider {
    width: 32rem;
  }
}

.mac__slider-scroll {
  position: relative;
  height: 23.3rem;
  width: 6.4rem;
  margin: 2rem 0;
  overflow: hidden;
}
@media screen and (max-width: 1919px) {
  .mac__slider-scroll {
    height: 6.4rem;
    width: 23.3rem;
    margin: 0 2rem;
  }
}

.mac__slider-thumbnails {
  position: absolute;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease-out, top 0.3s ease-out;
  -webkit-transition: left 0.3s ease-out, top 0.3s ease-out;
}
@media screen and (max-width: 1919px) {
  .mac__slider-thumbnails {
    flex-direction: row;
  }
}

.mac__slider-prev,
.mac__slider-next {
  width: 2.5rem;
  height: 1.5rem;
  cursor: pointer;
}
.mac__slider-prev {
  transform: rotate(90deg);
}
.mac__slider-prev_disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.mac__slider-next {
  transform: rotate(270deg);
}
.mac__slider-next_disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
@media screen and (max-width: 1919px) {
  .mac__slider-prev,
  .mac__slider-next {
    width: 1rem;
    height: 1.5rem;
  }
  .mac__slider-prev {
    transform: rotate(0deg);
  }
  .mac__slider-next {
    transform: rotate(180deg);
  }
}

.mac__thumbnail {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 6.4rem;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  border: 0.2rem solid #ffffff;
  border-radius: 0.4rem;
  transition: border 0.3s ease-in-out;
  -webkit-transition: border 0.3s ease-in-out;
  cursor: pointer;
  margin-right: 2rem;
}

@media screen and (min-width: 1920px) {
  .mac__thumbnail {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}

.mac__thumbnail_active {
  border: 0.2rem solid var(--active-color);
}

.mac__thumbnail-picture {
  width: 5.6rem;
  height: 5.6rem;
  background-size: 5.6rem 5.6rem;
}
