.service {
  background:rgba(0,40,18,0.907);
}

.service h3 {
  color:#FFF;
}

.service .item {
  position:relative;
}

.service .item .thumb {
  border-radius:5px;
  height:180px;
  overflow:hidden;
  box-shadow:0 1px 2px #CCC;
}

.service .item span {
  display:block;
  position:absolute;
  background:#FFF;
  color:#000 !important;
  left:50%;
  bottom:0;
  transform:translateX(-50%) translateY(50%);
  padding:5px 10px 5px 10px;
  width:80%;
  text-align:center;
  border-radius:1px;
  font-weight:bold;
  box-shadow:0 1px 4px #888;
  border:solid .5px #f1f1f1;
}

.service .item .thumb img {
  transition:all .2s ease-in-out;
}

.service .item:hover .thumb img {
  transform:scale(1.05);
}

.cat_home .item {
  position:relative;
}

.cat_home .inf {
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%) translateY(50%);
  background:var(--main_color);
  width:80%;
  border-radius:4px;
  text-align:center;
  box-shadow:2px 2px 4px #CCC;
  z-index:2;
}

.cat_home .box {
  background:#fff;
  padding:10px;
  margin-top:6px;
  border-radius:3px;
}

.cat_home .box span {
  font-weight:300;
  font-size:var(--font_sm);
}

.cat_home .item .thumb {
  overflow:hidden;
  border:solid 1px var(--main_color);
  border-radius:5px;
  height:200px;
}

.cat_home .item .thumb img {
  transition:all .2s ease-in-out;
}

.cat_home .item:hover .thumb img {
  transform:scale(1.05);
}

.top_sale .nav-pills {
  display:flex;
  justify-content:center;
}

.top_sale .nav-pills li {
  margin:0 5px 0 5px;
  cursor:pointer;
  font-weight:bold;
}

.top_sale .nav-pills li:hover {
  color:var(--main_color);
}

.top_sale .nav-pills li span {
  display:block;
  padding:2px 20px 2px 20px;
  border:solid 2px transparent;
  border-radius:20px;
}

.top_sale .nav-pills li span.active {
  display:block;
  padding:2px 20px 2px 20px;
  border:solid 2px var(--main_color);
  border-radius:20px;
  color:var(--main_color);
  background:#FFF;
}

.product_list .item .box {
  background:#FFF;
  border-radius:1px;
  box-shadow:0 2px 4px #CCC;
}

.product_list .item .frame {
  max-height:250px;
  overflow:hidden;
  text-align: center;
}

.product_list .item .frame img {
  max-width:100%;
  min-width: 100%;
  height: 300px;
  object-fit:cover;
}

.relate .product_list .item .frame img {
  height:200px;
}