/* 主题*/
.main-content {
  width: 1200px;
  margin: 0 auto;
}
@media only screen and (min-width: 1025px) {
  .banner .am-slider, .banner .am-slider .am-slides li {
    height: 40rem;
  }
}
.main-news-head {
  display: flex;
  flex-direction: column;
  padding: 0 20px 0 20px;
}
.main-news-head .main-news-top {
  display: flex;
  width: 100%;
  height: 100%;
  padding-bottom: 15px;
}
.main-news-top .nav {
  background: #444444;
  overflow: hidden;
  max-height: 54px;
  height: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
}
.nav a {
  color: white;
  white-space: nowrap;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  padding: 16px 24px 16px;
}
.nav a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.main-news-head .news-head-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 创建四列，每列宽度相等 */
  row-gap: 1rem;
  column-gap: 1.5rem;
}
.main-news-head .news-head-bottom a {
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 6px 16px;
  border-radius: 6px;
  height: 43px;
  align-items: center;
  line-height: 16px;
  font-size: 12px;
}

.main-news-head .news-head-bottom a p:nth-of-type(1):hover {
  color: rgb(54 113 176 / var(--tw-text-opacity, 1));
}
.main-news-head .news-head-bottom a p:nth-of-type(2) {
  color: rgb(54 113 176 / var(--tw-text-opacity, 1));
}

/*供应商*/
.main-content .unity ul li a {
  text-align: center;
  background: #E5F5FA;
  border-radius: 6px;
  width: 100%;
  display: block;
}
.main-content .unity ul li a img {
  height: 160px;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  box-sizing: border-box;
  padding: 26px;
}
.main-content .unity ul li a p {
  padding: 8px;
  font-size: 13px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-content .unity h4 {
  font-weight: bold;
  font-size: 20px;
  padding: 10px 0;
  box-sizing: border-box;
}
/*供应商*/
.main-suppliers {
  padding: 20px;
  box-sizing: border-box;
}
.main-suppliers .suppliers-list {
  display: flex;
  flex-wrap: wrap;
  width: 1200px;
}
.main-suppliers .suppliers-list li {
  padding-right: 13px;
  padding-bottom: 13px;
  width: 234.5px;
}
.main-suppliers .suppliers-list .suppliers-item {
  background: white;
  box-shadow: 3px 1px 6px 0 rgba(0, 0, 0, 0.2);
}
.main-suppliers .suppliers-list .suppliers-item img {
  height: 79px;
  padding: 18px 0 0;
  width: initial;
}
.main-suppliers .suppliers-list .suppliers-item-name {
  display: flex;
  justify-content: center;
  font-size: 13px;
  padding: 6px;
}
.main-suppliers .suppliers-list .suppliers-item-name p:nth-of-type(1) {
  display: flow-root;
  overflow: hidden;
  white-space: nowrap;
  max-width: 125px;
  text-overflow: ellipsis;
}
.main-suppliers .suppliers-list .suppliers-item-name img {
  margin-right: 8px;
  width: 15px;
  height: 15px;
  padding: 0;
}
.main-suppliers .suppliers-list .suppliers-item-name .suppliers-item-verified {
  color: #999;
  padding-left: 10px;
}
.news-list  {
  padding: 0 20px 0 20px;
}
.news-list h4  {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  padding: 6px 10px;
  font-weight: bold;
}
.news-list .news-img-list  {
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
}
.news-img-list .news-img  {
  flex: 1 22%;
  height: auto;
  max-width: 275px;
}
.news-list .news-img  div {
  position: relative;
}
.news-img span  {
  display: block;
  position: relative;
}
.news-img span img  {
  height: 155px;
  width: 265px;
  max-height: 155px;
  object-fit: contain;
}
.news-img .play  {
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
}
.news-img .play img  {
  width: 40px;
  height: 40px;
  border: 1px solid white;
  border-radius: 50%;
  background: white;
}
.news-img  p  {
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 0;
}
.news-video .news-all-button {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.news-video .news-all-button a {
  display: block;
  width: 150px;
  text-align: center;
  padding:  4px;
  font-weight: 700;
  background: #0099cc;
  color: white;
  border-radius: 6px;
}




/*产品*/
.main-product {
  padding: 20px;
  box-sizing: border-box;
}
.main-product h4 a{
  display: inline-block;
  line-height: 36px;
  float: right;
  font-weight: normal;
  font-size: 15px;
}
.main-product .product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 创建四列，每列宽度相等 */
  gap: 13px; /* 设置列与列之间的间隙 */
}
.main-product .product-list .product-item {
  background: white;
  box-shadow: 3px 1px 6px 0 rgba(0, 0, 0, 0.2);
  padding-bottom: 10px;
}
.main-product .product-list .product-item img {
  height: 170px;
  width: initial;
}
.main-content .product-list li a {
  text-align: center;
}
.main-content .product-list li div {
  text-align: left;
}
.main-product .product-list .product-item p {
  padding: 3px 10px;
}
.main-product .product-list li a .remove-the-spacing {
  padding: 8px 10px 0 10px ;
  display: flex;
  justify-content: space-between;
}
.main-product .product-list li a .in-stock {
  display: flex;
  justify-content: space-between;
  color: #999;
  padding-top: 3px;
}
.main-product .product-list li a .remove-the-spacing-name {
  display: flow-root;
  justify-content: initial;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}
.main-product .product-list li a .in-stock span:nth-of-type(1) {
  color: #33C96A;
}








.main-search-head {
  display: flex;
  flex-direction: column;
}
.main-search-head .search-head-top {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 1.8rem;
  padding-bottom: 16px;
}
.search-head-top .search-head-title {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-grow: 1;
  background: white;
}
.search-head-top .search-head-title .search-head-title-top {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
}
.search-head-top .search-head-title .search-head-title-main {
  padding:  14px 0;
  font-weight: bold;
  font-size: 14px;
}
.search-head-top .search-head-title .search-head-title-details p a {
  color: #0942c5;
  border-bottom: 1px solid #0942c5;;
}
.search-head-top .search-head-title .search-head-title-details p  {
 font-size: 12px;
}
.search-head-top .search-head-title .search-head-title-circuit {
  width: 60px;
  height: 60px;
}
.search-head-top .search-head-title h1 {
  font-size: 22px;
  font-weight: bold;
  padding-left: 16px;
}
.search-head-title-circuit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}