.single {
  display: flex;
  width: 100%;
  margin: 0 -1rem 0rem;

  @include media-breakpoint-down(lg) {
    flex-direction: column;
    margin: 0;
  }
}

.single__preview {
  width: 41%;
  padding: 0 1rem;

  @include media-breakpoint-down(lg) {
    width: 100%;
  }
}

.single__preview-main {
  position: relative;

  border: 1px solid #f2f2f2;
  border-radius: $radius;

  &::after {
    content: "";
    display: block;
    padding-bottom: 100%;
  }

  @include media-breakpoint-down(lg) {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.single__preview-main-container {
  width: 100%;
  height: 100%;

  position: absolute;
  top: 0;
  left: 0;
}




.single__preview-slider {

  
  &.slick-initialized {
      .slick-slide {
          justify-content: center;
          align-items: center;
          display: flex;
      }
  }

  a {
    cursor: pointer;
    &:focus {
      outline: none;
    }
  }

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;

    background: $white url("/shop/images/ajax-loader.gif") center no-repeat;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
  }

  .slick-list {
    height: 100%;
  }

  &.slick-initialized {
    height: 100%;
    overflow: auto;

    &::after {
      display: none;
    }
  }

  .slick-arrow {
    border-radius: $radius;

    background-image: url("/shop/images/slider-arrow-white.svg");

    &.slick-next {
      right: 8px;
    }

    &.slick-prev {
      left: 8px;
    }
  }
}


.single__content {
  width: 59%;
  padding: 0 0 0 6rem;

  @include media-breakpoint-down(xl) {
    padding-left: 2rem;
  }

  @include media-breakpoint-down(lg) {
    width: 100%;
    padding-left: 0;
  }
}

.single__info {
  width: 25%;
  padding: 0 1rem;

  @include media-breakpoint-down(xl) {
    width: 31%;
  }

  @include media-breakpoint-down(lg) {
    width: 100%;
    margin-top: 4rem;
  }
}

.single__title {
  margin-bottom: 1.5rem;

  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1.2;

  color: $dark;

  span {
    color: $red;
  }

  @include media-breakpoint-down(md) {
    font-size: 2.4rem;
  }
}

.single__price {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
  // padding-bottom: 2.4rem;

  color: $red;
  font-size: 3.2rem;
  font-weight: 600;

  // border-bottom: 1px solid #f2f2f2;

  del {
    margin-left: 5px;

    font-size: 0.7em;
    color: #9E9E9E;
    font-weight: 400;
  }

  @include media-breakpoint-down(md) {
    font-size: 2.4rem;
  }
}

.single__text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #606060;
  padding-top: 2.4rem;

  @include media-breakpoint-down(lg) {
    margin-bottom: 3rem;
  }

  @include media-breakpoint-down(md) {
    font-size: 1.4rem;
  }
}


.single__box {
  padding: 2.8rem;

  background: $white;
  border: 1px solid #F2F2F2;
  box-shadow: 0px 4px 5px rgba(172, 172, 172, 0.15);

  font-size: 1.4rem;
  color: #949494;

  b {
    color: #413D3C;
  }

  p {
    &:last-child {
      margin-bottom: 0;
    }
  }

  + .single__box {
    margin-top: 1.6rem;
  }
}

.single__list {
  display: flex;
  flex-direction: column;
  list-style: none;

  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  color: #949494;

  li {
    margin-bottom: 1.2rem;

    &:last-child {
      margin-bottom: 0;
    }
  }

  b {
    color: $dark;
  }
}

.single__footer {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2.4rem 0;
  // margin: 2.4rem 0;

  border-top: 1px solid #f2f2f2;
  // border-bottom: 1px solid #f2f2f2;

  .counter {
    height: 100%;
  }

  @include media-breakpoint-down(sm) {
    flex-direction: column;
  }
}

.single__footer-title {
  margin: 2.4rem 0;
  border-top: 1px solid #f2f2f2;
  padding-top: 2.4rem;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.2;
}

.single__footer-btns {

  .btn {
    height: 100%;
    margin-bottom: 0;
  }

  .btn + .btn {
    margin-left: 8px;
  }

  @include media-breakpoint-down(sm) {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
  }
}

.single__footer-add {
  display: flex;

  @include media-breakpoint-down(sm) {
    justify-content: flex-end;
  }
}

.single__footer-col {
  padding: 0 .6rem;
  margin-bottom: 1rem;

  @include media-breakpoint-down(xl) {
    flex-grow: 1;
  }

  @include media-breakpoint-down(lg) {
    flex-grow: 0;
  }

  @include media-breakpoint-down(sm) {
    flex-grow: 1;
  }
}

.single__thumbs {
  margin-top: 2rem;

  .slider-item {
    padding: 0 5px;
  }

  .slick-arrow {
    display: block;
    width: 32px;
    height: 32px;
    padding: 0;

    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);

    font-size: 0;
    color: transparent;

    border: 0;
    background: transparent no-repeat center;
    cursor: pointer;

    &.slick-prev {
      left: 0;
      background-image: url("/shop/images/thumbs-next.svg");
    }

    &.slick-next {
      right: 0;
      background-image: url("/shop/images/thumbs-next.svg");
    }
  }

  @include media-breakpoint-down(lg) {
    max-width: 334px;
    margin: 2rem auto 0;
  }
}

.slider__thumbs-item {
  margin-left: auto;
  margin-right: auto;

  .img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}


.single__description {
  padding-top: 4rem;
  padding-bottom: 10rem;
  position: relative;

  &::after {
    content: "";
    width: 100%;
    height: 26rem;

    background-color: #F1F4FB;

    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  @include media-breakpoint-down(md) {
    padding-bottom: 6rem;

    &::after {
      height: 20rem;
    }
  }
}

.price_orange {
  color: #ffa500 !important;
}

.price_gray {
  font-weight: 500;
  font-size: 18px;
  color: #afafaf;
}

.price_title {
  font-size: 12px;
  font-weight: 500;
  color: #afafaf;
}