/* 图标选中效果 */

.active-img,
.nav-item:hover>svg path {
  fill: rgb(233, 140, 17);
}

.nav-item:hover>a {
  color: rgb(233, 140, 17) !important;
}

.unactive-img path {
  fill: rgb(102, 102, 102);
}


/* 商品 */

.product-item {
  flex: 0 0 25%;
  max-width: 25%;
  text-align: center;
}

.product-item>img {
  width: 80%;
  display: block;
  margin: auto;
  border: 1px solid rgb(210, 210, 210);
  pointer-events: none;
}

.product-item>span {
  height: 26px;
  display: block;
  margin: 3vw auto;
}


/* 鼠标悬浮动画 */

.product-item:hover>img {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 3px 6px, rgba(0, 0, 0, 0.12) 0px 3px 6px;
}

.product-item:hover>span {
  font-size: large;
  font-weight: bolder;
  color: rgb(233, 140, 17);
}

/* 标签 */

.tag-box {
  display: none;
  padding-left: 2.5rem;
}

.tag {
  display: inline-block;
  color: rgb(102, 102, 102);
  border-radius: 8px;
  padding: 0 0.5rem;
  margin: 0.2rem 0.2rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  cursor: pointer;
}

.active-tag {
  color: #fff !important;
  background-color: rgb(233, 140, 17);
}

/* .footer-pass {
  height: 64px !important;
} */


/* 平板横屏 */

@media (max-width: 1024px) {
  .product-item {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1rem;
  }
}


/* 平板 */

@media (max-width: 768px) {
  .product-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}


/* 移动端 */

@media (max-width: 576px) {
  .product-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}