.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 0.9rem;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-button-prev,
.swiper-button-next {
  width: 3.3rem;
  height: 3.3rem;
  max-width: 3.3rem;
  max-height: 3.3rem;
  background: url(../images/left.png) no-repeat;
  background-size: 100%;
  left: 6.25rem;
  transition: all 0.3s;
  margin-top: -2rem;
}

.swiper-button-next {
  left: inherit;
  right: 6.25rem;
  transform: rotate(180deg);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
  max-width: 3.3rem;
  max-height: 3.3rem;
  background: url(../images/left-h.png) no-repeat;
  background-size: 100%;
}

/*carousel-caption*/

.carousel-caption {
  color: #000;
  top: 25%;
}

.carousel-caption.left {
  text-align: left;
  left: 18%;
}

.carousel-caption.right {
  text-align: right;
  right: 18%;
}

.carousel-caption.left p {
  width: 50%;
}

.carousel-caption.right p {
  margin-left: auto;
  width: 50%;
}

@media screen and (max-width:640px) {
  .carousel-caption {
    top: 8%;
  }
  .carousel-caption h2 {
    font-size: 1.2rem;
  }
  .carousel-caption p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
  }
  .carousel-caption.left {
    left: 5%;
  }
  .carousel-caption.right {
    right: 5%;
  }
}

/*category*/

.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%;
  }
}

/*product*/

.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;
}

.product .img {
  display: block;
  /*background: #F1F1F1;*/
  background: #f1f1f182;
  padding: 1rem 1rem 1rem;
  /*border-radius: 0.4rem;*/
  /*-webkit-border-radius: 0.4rem;*/
  position: relative;
  overflow: hidden;
}

.product .img img {
  transition: all 0.6s;
  margin: auto;
}

.product p {
  margin: 1rem auto;
  line-height: 1.5;
  font-size: 1rem;
  text-align: center;
  color: #000;
}

.product .img:hover img {
  transform: scale(1.1);
}

@media screen and (max-width:640px) {
  .product .img {
    padding: 1rem 0 1rem;
  }
  .product .img img {
    max-height: 10rem;
  }
}