.carousel {
  height: calc(100vh - 307px);
  background-color: #999;
  border-radius: 15px;
  border: 8px solid white;
  box-sizing: border-box;
  font-size: 16px;
  position: relative;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: normal;
}

.carousel__preview {
  position: absolute;
  border-radius: 6px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-color: white;
  cursor: pointer;
  background-repeat: no-repeat;
}

.carousel__youtube::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  background-image: url('../../../images/youtube.png');
  background-position: center;
  background-size: cover;
  width: 49px;
  height: 32px;
}

.carousel__bar {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 130px;
  padding: 15px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 10px;
  color: white;
  box-sizing: border-box;
}

.carousel__nav {
  width: calc(100% - 220px);
  margin: 0 30px;
  float: left;
}

.carousel__nav--double {
  width: calc(100% - 380px);
}

.carousel__name {
  font-size: 28px;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 12px;
}

.carousel__details {
  flex-shrink: 0;
  width: 140px;
  margin: 0 10px;
  float: left;
}

.carousel__stats {
  float: right;
  text-align: right;
  width: 80px;
}

.carousel__illustration {
  flex-shrink: 0;
  height: 100px;
  float: right;
  margin-left: 15px;
  width: 42px;
  background-image: url('../../../images/illustration.png');
  background-size: contain;
  background-position: center;
}

.carousel__centimeters,
.carousel__inches {
  border: 1px solid white;
  color: #c3c2c2;
  float: left;
  width: 50%;
  padding: 0 5px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  margin-bottom: 15px;
}

.carousel__centimeters:hover,
.carousel__inches:hover {
  background-color: rgba(255,255,255,0.3);
  color: white;
}

.carousel__centimeters.active,
.carousel__inches.active {
  color: white;
}

.carousel__centimeters {
  border-right: 0;
  border-radius: 5px 0 0 5px;
}

.carousel__inches {
  border-radius: 0 5px 5px 0;
}

.carousel__miniatures img {
  height: 60px;
}

.slick-slide {
  cursor: pointer;
}

.slick-prev,
.slick-next {
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  font-size: 0;
  top: 12px;
  position: absolute;
  background: transparent;
  cursor: pointer;
}

.slick-prev {
  border-style: solid;
  border-width: 20px 20px 20px 0;
  border-color: transparent #ffffff transparent transparent;
  left: -30px;
}

.slick-next {
  border-style: solid;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent #ffffff;
  right: -30px;
}

@media (max-width: 600px) {
  .carousel__details {
    display: none;
  }

  .carousel__nav {
    width: calc(100% - 60px);
  }

  .carousel__name {
    font-size: 20px;
    white-space: inherit;
    text-align: center;
  }

  .carousel__preview {
    background-size: cover;
  }
}