/*tabs*/

#pills-tab .active .img-def {
  display: none;
}

#pills-tab .active .img-hover {
  display: block;
}

#pills-tab .active p {
  /*color: #21cbbe;*/
  color: #0a0a0a;
}

/*category*/

.category .nav-link {
  padding: 0;
}

.category img {
  width: auto;
  margin: auto;
  transition: all 0.3s;
}

.category .img-hover,
.category a:hover .img-def {
  display: none;
}

.category a:hover .img-hover {
  display: block;
}

.category font {
  font-size: 1rem;
  padding-top: 0.6rem;
  color: #000;
  display: block;
}

@media (min-width: 768px) {
  .category .col-md-2 {
    flex: 0 0 20%;
    /*max-width: 20%;*/
  }
}

@media (max-width: 768px) {
  .category .col-md-2:nth-of-type(4),
  .category .col-md-2:nth-of-type(5) {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/*products*/

.product>div {
  margin-bottom: 1.5rem;
}

.product .img {
  display: block;
  /*background: #F1F1F1;*/
  padding: 1rem 1rem 1rem;
  border-radius: 0.4rem;
  -webkit-border-radius: 0.4rem;
  position: relative;
}

.product p {
  margin: 1rem auto;
  line-height: 1.5;
  font-size: 1rem;
  text-align: center;
  color: #000;
}

.product .img img {
  transition: all 0.6s;
  margin: auto;
}

.product .img:hover img {
  transform: scale(1.1);
}

.product a::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  /*content: "+";*/
  /*color: #FFF;*/
  /*font-size: 1.3rem;*/
  /*background: #28BDAF;*/
  text-align: center;
  line-height: 1.25rem;
  border-radius: 0.625rem;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  -ms-border-radius: 0.625rem;
  -o-border-radius: 0.625rem;
}

@media screen and (max-width:640px) {
  .product .img {
    padding: 1rem 0 1rem;
  }
  .product .img img {
    max-height: 10rem;
  }
  .product .col-md-3:nth-child(even) {
    padding-left: 7.5px;
  }
  .product .col-md-3:nth-child(odd) {
    padding-right: 7.5px;
  }
}
