@use "../abstracts/abstracts_all" as *;

/* Products
==========================*/
.product {
  background-color: $main_color;
  padding: 0;

  h2 {
    margin: 0 0 25px;
    font-size: 58px;
    color: $black_color;
    text-transform: uppercase;
    font-weight: $weight_xbold;
  }
  span {
    position: relative;
    margin-bottom: 25px;
    font-size: 24px;
    display: block;
    color: $black_color;
    font-weight: $weight_bold;
    &::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 50px;
      height: 3px;
      background-color: $black_color;
    }
  }
  .link {
    background-color: $black_color;
    color: #fff;
  }
  img {
    margin: -70px auto 35px;
  }
  @include mediaquery(max, desktop) {
    padding-top: 25px;
    img {
      margin: 25px auto;
    }
  }
  @include mediaquery(max, mobile) {
    h2 {
      font-size: 32px;
    }
  }
}
.prod_item {
  display: block;
  margin: 0 auto 25px;
  overflow: hidden;
  position: relative;
  padding: 25px;
  text-align: center;
  background-color: rgba($main_color, 0.05);
  @include border_radius(5px);
  &::before {
    content: " ";
    position: absolute;
    left: 0;
    background-color: rgba(0, 0, 0, 0.015);
    width: 100%;
    height: 100%;
    @include border_radius(20px 0);
    clip-path: circle(90% at 0% 100%);
    @include transition(0.5s linear clip-path);
  }
  img {
    width: 100%;
    height: 290px;
    margin-bottom: 15px;
    object-fit: contain;
  }

  h3 {
    position: relative;
    margin: 0;
    font-size: 14px;
    font-weight: $weight_xbold;
    color: $black_color;
    line-height: 25px;
    letter-spacing: 0.3px;
  }

  &:hover {
    &::before {
      clip-path: circle(90% at 100% 100%);
    }
  }
  @include mediaquery(max, desktop) {
    padding: 15px;
    img {
      height: 240px;
    }

    h3 {
      font-size: 13px;
      font-weight: $weight_bold;
      letter-spacing: 0.2px;
    }
  }
}
.nav-tabs {
  background-color: $black_color;
  border: 0;
  margin-bottom: 30px;
  width: 100%;
  @include flex(row, space-between, center);
  @include border_radius(25px);
  overflow: hidden;
  li {
    width: calc(100% / 7);
    border-right: 1px solid #fff2;
    &:last-child {
      border-right: 0;
    }
  }
  a {
    text-align: center;
    letter-spacing: 1px;
    font-weight: $weight_xbold;
    font-size: 14px;
    padding: 10px;
    line-height: 30px;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    display: block;
    &.active {
      background-color: $main_color;
      color: $black_color;
    }
  }
  @include mediaquery(max, l_desktop) {
    a {
      font-weight: $weight_bold;
      font-size: 13px;
      padding: 10px 5px;
    }
  }
  @include mediaquery(max, desktop) {
    flex-wrap: wrap;
    align-items: center;
    @include border_radius(5px);
    li {
      border-bottom: 1px solid #fff2;
      width: calc(100% / 4);
    }
  }
  @include mediaquery(max, desktop) {
    li {
      width: calc(100% / 2);
      a {
        padding: 5px;
        line-height: 25px;
      }
    }
  }
}
.tab-content .row {
  justify-content: center;
}
