// Tabs
.nav.nav-tabs {
  border: 0;
  margin: 0;

  .nav-item {
    margin-bottom: -.2rem;
    .nav-link {
      padding:1.2rem 0;
      font: 700 1.4rem/1 $second-font-family;
      color: #282d3b;
      border: 0;
      border-bottom: .2rem solid transparent;
      text-transform: uppercase;
      letter-spacing: .01rem;

      &:hover {
        color: $primary-color;
      }
    }

    & + .nav-item {
      margin-left: 4.3rem;
    }

    &.show .nav-link,
    .nav-link.active {
      color: $primary-color;
      border-bottom-color: $primary-color;
    }
  }
}

.home-product-tabs {
  .tab-content {
    padding-top: 3rem;
    padding-bottom: 4rem;
    border-top: .2rem solid #e7e7e7;
    border-bottom: 1px solid #e5e8e8;

    >.tab-pane {
      display: block;
      visibility: hidden;
      height: 0 !important;
      overflow: hidden;
      padding: 0;
      margin: 0;

      &.active {
        visibility: visible;
        height: auto !important;
      }
    }
  }
}

.product-single-tabs .nav.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}