.navbar-brand {
	background-image: url("https://www.wetem.cn/upload/logo-colours.png") !important;
}

.news-item-desc.p-2 {
  padding: 0 !important;
}

.func-info-box .dropdown-item {
  line-height: 1.5;
}

.nav-p-container .main-second-item a {
  margin-left: 10px;
}

.nav-p-container .card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 80px !important;
  padding: 12px !important;
  position: relative !important;
}

.nav-p-container .card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.09);
  text-decoration: none;
}

.nav-p-container .card-title {
  color: #333;
  font-size: 15px;
  margin: 0;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.nav-p-container .card-text {
  color: #666;
  font-size: 12px;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5 !important;
  margin: 0;
  padding-right: 80px !important;
  display: inline-block !important;
  width: calc(100% - 10px) !important;
}

.product-tag {
  background-color: rgba(252, 241, 235, 1) !important;
  color: rgba(254, 95, 71, 1) !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  font-weight: normal !important;
  position: absolute !important;
  right: 12px !important;
  top: 12px !important;
}

/* PC端卡片样式 */
.bor-product-menu-second-wrap .card {
  height: 80px !important;
  padding: 12px !important;
  position: relative !important;
}

.bor-product-menu-second-wrap .card-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 8px !important;
}

.card-text {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: initial !important;
}

.bor-product-menu-second-wrap .product-tag {
  position: absolute !important;
  right: 12px !important;
  top: 12px !important;
}

.nav-p-container .card-body {
  position: relative !important;
  width: 100% !important;
}

.nav-p-container .main-third-wrap {
  padding: 10px;
}

.nav-p-container .main-second-item-title {
  color: #333;
  padding: 10px 0;
  margin-left: -5px;
  display: block;
  font-weight: 500;
}

.nav-p-container .main-second-item-title img {
  vertical-align: middle;
}

.header-container .cursor {
  overflow: hidden;
  white-space: nowrap;
}

.func-info-row {
  position: relative;
  margin-right: 15px;
}

.func-info-row.mobile-show {
  display: none !important;
}

.mobile-nav {
  display: none !important;
}
  
@media screen and (max-width: 768px)  {
  .func-info-row.mobile-show {
    display: inline-block !important;
  }
  .mobile-nav {
      display: flex !important;
  }
}

.func-info-row .text-dark-50 {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.func-info-row .text-dark-50:hover {
  color: #0052D9;
}

.func-info-row .text-dark-50::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s ease;
}

.func-info-row:hover .text-dark-50::after {
  transform: rotate(180deg);
}

.func-info-row .waves-span:after {
  display: none;
}

.func-info-row img {
  margin-left: 0;
}

.func-info-box {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
  padding: 8px 0;
  min-width: 160px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.func-info-row:hover .func-info-box {
  display: block;
  opacity: 1;
  visibility: visible;
}

.func-info-box .dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.func-info-box .dropdown-item:hover {
  background-color: #f5f5f5;
}

.func-info-box .dropdown-item i {
  margin-right: 8px;
}

.func-info-box .text-danger {
  color: #dc3545;
}

@media (max-width: 768px) {
  .func-info-row .waves-span {
    display: none;
  }
  .func-info-row .text-dark-50 img {
    width: 35px;
    height: 35px;
  }
  .func-info-row .text-dark-50::after {
    display: none;
  }
  .header-container-right .bor-link {
    display: none;
  }
  html {
    padding-bottom: 74px !important;
  }
}

.nav-item .bor-block-product-type {
    width: 20% !important;
    background: #f0f2f5 !important;
    margin-top: 0 !important;
    padding: 20px 0 10px 10px !important;
    overflow-y: auto;
}

.bor-block-product-container {
    height: 100% !important;
    overflow-y: auto;r
}

.nav-item .bor-block-product-container {
    width: 78% !important;
}

.product-type-item a.active {
  position: relative;
  color: #0052D9;
  display: inline-block;
}

.product-type-item a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0052D9;
  transform-origin: left;
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.product-type-item a:not(.active) {
  position: relative;
  display: inline-block;
}

.product-type-item a:not(.active)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0052D9;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.product-type-item a:not(.active):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
}