.shade-finder__portraits .slick-list {
  overflow: visible;
}

.shade-finder__portraits .slick-slide > div {
  display: flex;
  flex: wrap;
  justify-content: center;
  overflow: visible;
}

/*--------------------------------------------*/

.shade-finder__portraits {
  flex-basis: 100%;
  max-width: 672px;
  display: block;
  font-size: 0;
}
.shade-finder__text {
  font-family: "ClarinsRegular", "Clarins";
  font-size: 24px;
  color: #333;
  flex-basis: 100%;
  max-width: 1170px;
  margin: 0 auto;
  margin-bottom: 90px;
}
.shade-finder__portrait {
  width: 216px;
  height: 440px;
  margin: 4px;
  position: relative;
  display: inline-block;
  transition: transform ease-in-out 0.5s;
  cursor: pointer;
}

.shade-finder__portrait::before {
  content: " ";
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  opacity: 0;
}

.shade-finder__portrait[data-selected="1"] {
  transform: scale(1.2);
  z-index: 2;
  background-color: #fff;
  flex-direction: column;
  justify-content: space-between;
  height: 436px;
}

.shade-finder__portrait[data-selected="1"]::before {
  opacity: 1;
}

.shade-finder__portrait img {
  max-width: 100%;
  display: block;
  margin: 0;
}
.shade-finder__portrait img:nth-child(2) {
  margin-top: 8px;
}
.shade-finder__portrait[data-selected="1"] img:nth-child(2) {
  margin-top: 3px;
}
.shade-finder__preview {
  flex-basis: 100%;
  max-width: 414px;
  display: block;
  margin-left: 40px;
}

.shade-finder__packshot {
  display: none;
}

.shade-finder__packshot[data-selected="1"] {
  display: block;
}

.shade-finder__packshot img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.shade-finder__expand {
  padding: 0px 20px;
  padding-bottom: 120px;
  width: 100%;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  max-width: 1170px;
  flex-wrap: wrap;
}
@media (max-width: 1023px) and (min-width: 762px) {
  .shade-finder__content {
    margin-top: 0;
  }
  .shade-finder__expand {
    padding: 20px;
  }
  .shade-finder__portrait {
    width: 126px;
    height: 226px;
  }
  .shade-finder__portrait[data-selected="1"] {
    height: 220px;
  }
  .shade-finder__portraits {
    flex-basis: 100%;
    max-width: 350px;
    display: block;
  }

  .shade-finder__preview {
    max-width: 282px;
    margin-bottom: 40px;
    margin-top: 40px;
  }
  .shade-finder__text {
    margin-bottom: 0;
  }
}

/*-------responsive-------*/
@media (max-width: 761px) {
  .shade-finder__portrait {
    height: 290px;
  }
  .shade-finder__portrait[data-selected="1"] {
    height: 288px;
  }

  .shade-finder__text {
    margin-bottom: 40px;
    text-align: center;
  }
  .shade-finder__expand {
    flex-direction: column;
    padding: 20px;
    padding-top: 0;
  }

  .shade-finder__portraits {
    width: 300px;
    margin: 0 auto;
  }

  .shade-finder__preview {
    margin: 40px auto;
    padding: 0;
  }

  .shade-finder .slick-prev {
    left: -45px;
    top: 152px;
    filter: invert(1);
  }
  .shade-finder__push {
    margin: 20px;
  }
  .shade-finder .slick-next {
    right: -45px;
    top: 152px;
    filter: invert(1);
  }

  .shade-finder__portrait {
    max-width: 142px;
  }

  .shade-finder__content {
    text-align: center;
    display: block;
    margin-top: 20px;
  }
}
