.product-tag1 {
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: $theme-color;
  color: $white-color;
  font-weight: 500;
  display: inline-block;
  padding: 5px 10px;
  line-height: 1;
  z-index: 2;
  font-size: 14px;
  font-family: $title-font;
}


.product-style1 {
  display: flex;
  flex-direction: row-reverse;
  background-color: $smoke-color;
  border: 3px solid transparent;
  padding: 7px;
  transition: all ease 0.4s;
  margin-bottom: 30px;

  .product-img {
    background-color: $white-color;
    max-width: 165px;
  }

  .product-category {
    margin-bottom: 3px;

    a {
      color: $body-color;
      text-transform: uppercase;
      font-weight: 500;
      font-size: 12px;
      text-decoration: underline;
      transition: all ease 0.4s;

      &:not(:last-child):after {
        content: ',';
        margin-right: 5px;
      }
    }
  }

  .product-content {
    flex: 1;
    align-self: center;
    padding: 0 0 0 30px;
  }

  .product-name {
    font-size: 20px;
    margin-bottom: 7px;

    a {
      color: $white-color;
    }
  }

  .product-price {
    font-size: 16px;
    font-weight: 500;
    color: $theme-color;
    display: block;
    margin: 5px 0 12px 0;
    line-height: 1;
    transition: all ease 0.4s;

    del {
      margin-left: 5px;
      color: $body-color;
      font-size: 0.7em;
      opacity: 0.7;
      transition: all ease 0.4s;
      position: relative;
      top: -1px;
    }
  }

  .star-rating {
    width: 86px;
    font-size: 12px;
  }

}

.slick-current .product-style1,
.product-style1:hover {
  background-color: #0f0c2b;
  border-color: transparent;

  .product-category a {
    color: #c1c1c1;
  }
}

.product-style1:hover {
  border-color: $theme-color;
}

.product-wrap1 {
  margin-bottom: -142px;
}

@media (min-width: $md) {
  .product-scale-wrap {
    .slick-slide {
      position: relative;
      z-index: 1;
    }

    .vs-product {
      margin: 50px 0;
    }

    .slick-center {
      z-index: 2;

      .vs-product {
        transform: scale(1.5);
      }
    }
  }
}

.product-style2 {
  border: 3px solid #f2f7ff;
  background-color: $white-color;
  transition: all ease 0.4s;
  margin-bottom: 30px;

  .product-name {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .product-category {
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all ease 0.4s;

    a {
      color: $body-color;
    }
  }

  .product-price {
    font-size: 18px;
    font-weight: 500;
    color: $theme-color;
    display: block;
    line-height: 1;
    transition: all ease 0.4s;

    del {
      margin-left: 5px;
      color: $body-color;
      font-size: 14px;
      font-weight: 500;
      transition: all ease 0.4s;
      position: relative;
      top: -1px;
    }
  }

  .product-img {
    // background-color: $smoke-color;
    background-color: #f2f7ff;
    position: relative;

    img {
      width: 100%;
    }
  }

  .actions {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 50%;
    transform: translateY(0);
    opacity: 0;
    visibility: hidden;
    transition: all ease 0.4s;
  }

  .vs-btn {
    padding: 15px 17.5px;
    font-size: 14px;
    text-transform: capitalize;

    i {
      font-size: 12px;
      margin-left: 0;
      margin-right: 7px;
    }
  }

  .product-content {
    padding: 15px 35px 25px 35px;
    text-align: center;
  }

  

  &:hover {
    background-color: $theme-color;
    border-color: transparent;

    .actions {
      transform: translateY(50%);
      opacity: 1;
      visibility: visible;
    }

    .product-category a,
    .price del {
      color: #c7c7c7;
    }
    
    .product-price,
    .product-name a {
      color: $white-color;
    }

    .product-category a,
    .product-name a {    
      &:hover {
        color: $title-color;
      }
    }
  }
}

.product-big-img {
  border: 3px solid #f2f7ff;
  margin-bottom: 30px;
  
  img {
    background-color: #f2f7ff;
  }


}

.product-img-slide {
  .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    margin: 0;
    z-index: 2;

    li {
      margin: 0 5px;
    }

    button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: $title-color;

      &:before {
        display: none;
      }
    }

    button:hover,
    li.slick-active button {
      background-color: $theme-color;
    }
  }
}

.product-rating {
  display: flex;
  align-items: center;
  color: $title-color;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;

  .star-rating {
    margin-right: 7px;
  }
}

.product_meta {
  font-weight: 400;
  font-size: 18px;
  text-transform: capitalize;
  color: $body-color;

  >span {
    display: block;
    margin-bottom: 5px;

    &:last-child {
      margin-bottom: 0;
    }

    a {
      color: inherit;

      &:hover {
        color: $theme-color;
      }
    }

    >a,
    >span {
      position: relative;
      margin-right: 3px;
      font-weight: 500;
      color: $title-color;

      &:not(:last-child):after {
        content: ',';
      }

      &:first-child {
        margin-left: 5px;
      }

      &:last-child {
        margin-right: 0;
      }
    }
  }
}

.product-about {
  margin-bottom: 30px;

  .product-title {
    margin-bottom: 7px;

    @media (min-width: $ml) {
      font-size: 48px;
    }
  }

  .text {
    font-size: 18px;
  }

  .price {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: $theme-color;
    margin-top: 22px;
    margin-bottom: 16px;

    del {
      margin-left: 15px;
      color: $body-color;
      font-weight: 500;
      font-size: 24px;
    }
  }

  .text2 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 33px;
  }

  .screen-reader-text {
    display: none;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
    margin-bottom: 33px;

    .vs-btn {
      height: 50px;
      line-height: 50px;
      padding-top: 0;
      padding-bottom: 0;
      border-radius: 0;
    }
  }

  .quantity {
    width: 100%;
    margin-bottom: 20px;

    >span.label {
      display: none;
    }
  }

  .tinv-wishlist .tinvwl_add_to_wishlist_button.no-txt {
    &::before {
      font-size: 23px;
      margin-top: -13px;
      margin-left: -12px;
    }
  }

  .tinv-wishlist .tinvwl_add_to_wishlist_button.no-txt,
  .woosq-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 45px;
    font-size: 16px;
    background-color: transparent;
    color: $title-color;
    border: 2px solid $border-color;
    text-align: center;
    padding: 0;
    transition: all ease 0.4s;

    &:hover {
      background-color: $theme-color;
      color: $white-color;
      border-color: transparent;
    }
  }
}

.product-description {
  margin-top: 48px;

  >.description {
    margin-bottom: 50px;

    &:last-child {
      margin-bottom: 30px;
    }
  }
}

.related-products-title,
.product-description .sec-subtitle3 {
  font-size: 28px;
  padding: 0 0 12px 0;
  margin: -0.1em 0 33px 0;
  letter-spacing: 0;
  color: $title-color;
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  font-family: $title-font;

  &:before {
    content: "";
    width: 46px;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: $theme-color;
    display: inline-block;
  }
}

.related-products-wrap {
  margin-top: 46px;
}

.product-table {
  margin-bottom: 53px;

  th {
    background-color: $smoke-color;
    border-color: $smoke-color;
    border-bottom-color: $border-color;
    border-top-color: $border-color;
    width: 15%;
    padding: 15px 25px;
  }

  td {
    padding: 15px 25px;
  }
}


.vs-product {
  position: relative;

  .added_to_cart {
    position: relative;
    display: inline-block;
    border: none;
    text-transform: capitalize;
    text-align: center;
    background-color: $theme-color;
    color: $white-color;
    font-family: $body-font;
    padding: 14.5px 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    z-index: 1;
    border-radius: 5px;

    &:before {
      content: '\f07a';
      position: relative;
      font-family: $icon-font;
      margin-right: 7px;
      font-weight: 700;
      font-size: 12px;
    }

    &:hover {
      background-color: $title-color;
      color: $white-color;

      &:after {
        background-color: $white-color;
      }
    }
  }

  .vs-btn {    
    
    &.added {
      display: none;
    }

    .fa-shopping-cart {
      vertical-align: top;
    }
  }
}


@include ml {
  .product-scale-wrap {
    .product-style1 {
      margin: 30px 0 30px 0;
    }
  }

  .product-style1 {
    .product-img {
      max-width: 130px;
    }

    .product-content {
      padding: 0 0 0 20px;
    }

    .product-name {
      font-size: 18px;
    }

    .product-price {
      font-size: 18px;

      del {
        font-size: 12px;
      }
    }
  }

  .product-wrap1 {
    margin-bottom: 0;
    padding-bottom: $space-extra;
  }

  .product-style2 {
    .product-content {
      padding: 15px 25px 25px 25px;
    }
  }
}


@include lg {
  .product-wrap1 {
    padding-bottom: $space-mobile-extra;
  }

  .product-about {
    .actions {
      margin-bottom: 23px;
    }
  }

  .product-about {
    .product-title {
      margin-bottom: 7px;
      font-size: 30px;
    }

    .price {
      font-size: 30px;
      margin-top: 10px;

      del {
        font-size: 18px;
      }
    }
  }

}

@include md {
  .product-scale-wrap {
    .product-style1 {
      margin: 0 0 30px 0;
    }
  }

  .related-products-title,
  .product-description .sec-subtitle3 {
    font-size: 24px;
  }

  .product-style1 {
    .product-content {
      padding: 0 0 0 10px;
    }
  }

  .product-description {
    margin-top: 28px;
  }


  .product-description {
    >.description {
      margin-bottom: 40px;
    }
  }

  .related-products-wrap {
    margin-top: 16px;
  }

}

@include sm {
  .product-table {
    th {
      width: 10%;
      padding: 6px 15px;
    }

    td {
      padding: 10px 15px;
    }
  }

  table.variations {
    select {
      max-width: 170px;
    }
  }

  .product-about {
    .product-title {
      font-size: 26px;
    }

    .text {
      font-size: 16px;
    }

    .text2 {
      font-size: 14px;
      letter-spacing: 0;
      margin-bottom: 33px;
    }

    .actions {
      .vs-btn {
        width: 100%;
        margin-bottom: 15px;
      }
    }

    .price {
      font-size: 24px;

      del {
        font-size: 16px;
        margin-left: 8px;
      }
    }
  }

  .product-style1 {
    .product-img {
      max-width: 100px;
    }

    .product-name {
      font-size: 16px;
    }

    .product-price {
      font-size: 14px;
    }
  }

}