* {
  /*box-sizing:content-box;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 100px;
}
ul,
li {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: #000;
}
* {
  margin: 0px;
  padding: 0px;
  font-size: 15px;
  font-family: arial, "微软雅黑", Helvetica, sans-serif;
  /* font-family: "AlibabaPuHuiTi55", Arial, Helvetica, sans-serif, "微软雅黑"; */
}
li {
  list-style-type: none;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
}
img {
  border: 0px;
  max-width: 100%;
  display: inline-block;
}

@font-face {
  font-family: "iconfont";
  src: url("../fonts/iconfont.woff2?t=1688373229607") format("woff2"), url("../fonts/iconfont.woff?t=1688373229607") format("woff"), url("../fonts/iconfont.ttf?t=1688373229607") format("truetype");
}
@font-face {
  font-family: "AlibabaPuHuiTi55";
  src: url("../fonts/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Bebas-Neue";
  src: url("../fonts/Bebas-Neue/BebasNeue-1.otf") format("truetype");
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 14px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.tel_font {
  font-family: "Barlow-Bold";
}

.clear:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}
/* 禁止选中 */
.ban {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* 通用的标准属性 */
}

/* 图片铺满 */
.img_ob {
  position: relative;
}
.img_ob img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root {
  --main-color: #004eb9;
  --main-color2: #abc8f1;
  --main-color3: #171717;
  --main-color4: #ededed;
  --transition-custom: all 0.4s ease-in-out;
  --head-height: 100px;
}

/*滚动条样式*/
body {
  /* margin-top: 90px; */
  height: 100%;
  overflow-y: auto;
}

body::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 4px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

body::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 1px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #fff;
}

body::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 1px;
  background: #aaa;
}

.w1120 {
  width: 1120px;
  margin: 0 auto;
}

@media screen and (max-width: 1120px) {
  .w1120 {
    width: 90%;
  }
}

@media screen and (max-width: 1000px) {
  .w1120 {
    width: 95%;
  }
}

/* 产品列表样式 */
.pro_box .img {
  padding-bottom: 100%;
  border: 1px solid transparent;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.5s;
}
.pro_box .img .img2 {
  opacity: 0;
  transition: all 0.5s;
}
.pro_box .img .text {
  position: absolute;
  top: 0;
  left: 0px;
  width: 95px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* opacity: 0; */
  transition: all 0.5s;
}
.pro_box .img .text p {
  font-size: 14px;
  line-height: 2;
  color: #fff;
  text-align: center;
  text-transform: capitalize;
  width: calc(50% - 1px);
}
.pro_box .img .text p[data-tag="hot"] {
  background-color: #000;
  margin-bottom: 2px;
}
.pro_box .img .text p[data-tag="sale"] {
  background-color: #e95144;
  margin-bottom: 2px;
}
.pro_box .img .text p[data-tag="sold out"] {
  width: 100%;
  background-color: #c1c1c1;
}
.pro_box .text2 {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80%;
  font-size: 14px;
  line-height: 2;
  color: #fff;
  text-align: center;
  background-color: var(--main-color2);
  border-radius: 20px;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.5s;
}
.pro_box .txt {
  text-align: center;
}
.pro_box .txt h3 {
  font-size: 15px;
  font-family: arial;
  counter-reset: var(--main-color3);
  margin-bottom: 8px;
}
.pro_box .txt h5 {
  display: flex;
  justify-content: center;
  font-size: 17px;
  font-weight: bold;
  color: var(--main-color3);
}
.pro_box .txt h5 span {
  color: #e95144;
}
.pro_box .img_list {
  margin-top: 15px;
}
.pro_box .img_list dl {
  display: flex;
}
.pro_box .img_list dl dd {
  width: 19%;
  margin-right: 1.25%;
  border-radius: 100%;
  border: 1px solid #ccc;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pro_box .img_list dl dd.active {
  border: 1px solid var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}
.pro_box .img_list dl dd:nth-child(5n) {
  margin-right: 0;
}
.pro_box .img_list dl dd img {
  display: block;
}

.pro_box a:hover .img {
  border-color: #c1c1c1;
}
.pro_box a:hover .img .img2 {
  opacity: 1;
  transform: scale(1.1);
}
/* .pro_box a:hover .img .text{
  opacity: 1;
} */
.pro_box a:hover .img .text2 {
  bottom: 20px;
  opacity: 1;
}

@media screen and (max-width: 640px) {
  .pro_box .img {
    margin-bottom: 10px;
  }
}
