body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}
html, body {
    overflow-x: hidden;
}
a{color:#000}
header {
  background-color: #000000;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: top left;
  color: #c2c2c2;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 150px;
  text-align: center;
  position: sticky;
  top: 0px;
  left: 0px;
  z-index: 999;
}

header .topbox {
  max-width: 1200px;
  margin: 0 auto;
}

header .topbox .top {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px;
  align-items: center;
  line-height: 65px;
}

header .topbox .top .logo img {
  vertical-align: middle;
}

header .topbox .top .sea {
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

header .topbox .top .sea input {
  width: 300px;
  border: 0px;
  border-radius: 25px;
  padding-left: 10px;
  min-height: 43px;
  color: #2b2b2b;
  font-size: 14px;
  height: 40px;
  background: #fff;
  outline: 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
    header .topbox .top {
        flex-direction: column;     /* 纵向排列，不会互相挤 */
        padding: 10px;              /* 缩小空间 */
        line-height: normal;
    }

    header .topbox .top .logo img {
        height: 60px !important;    /* 缩小 logo 避免占太大 */
    }

    header .topbox .top .sea {
        /*width: 100%;*/
        margin-top: 10px;
        justify-content: center;    /* 居中搜索框 */
    }

    header .topbox .top .sea input {
        width: 85% !important;      /* 改成百分比，手机完美显示 */
        min-height: 36px;
        height: 36px;
        font-size: 14px;
    }

    header .topbox .top .sea img {
        width: 20px;
        height: 20px;
        margin-left: -35px;
    }
}

header .topbox .top .sea input::placeholder {
  color: #999;
}

header .topbox .top .sea img {
  width: 25px;
  margin-left: 10px;
}

header .nav {
  background-color: #2b2b2b;
  width: 100%;
  position: sticky;
  top: 100px;
  left: 0px;
  height: 50px;
  display: flex;
  justify-content: center;
  z-index: 999;
}

header .nav .navlist {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .nav .navitem {
  color: #ebebeb;
  font-size: 14px;
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .nav .navitem a {
  padding: 0px 30px;
  border-left: 1px solid #6a6a6a;
  color: #fff;
  font-size: 18px;
}

header .nav .navitem:first-child a {
  border-left: 0;
}

header .nav .navitem .child {
  position: absolute;
  top: 50px;
  padding: 0 20px;
  left: 0;
  background: #424242;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}

header .nav .navitem .child .citem {
  text-align: left;
  padding: 30px;
}

header .nav .navitem .child .citem a {
  color: #f0f0f0;
  padding: 6px 0px;
  display: block;
  min-width: 140px;
  border-left: 0;
  text-decoration: none;
  white-space: nowrap;
}

header .nav .navitem .child .citem a:hover {
  text-decoration: underline;
}

header .nav .navitem:hover > .child {
  visibility: visible;
  opacity: 1;
}

a {
  text-decoration: none;
  cursor: pointer;
}

p,
h2 {
  margin: 0;
}

button:hover {
  background: #808080;
  color: #ffffff;
}

main .break {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 20px;
}

main .break a {
  color: #000;
}

main .break i {
  margin: 0 5px;
}

main #selecthomepagetitle {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.05em;
  width: 100%;
  line-height: 28px;
}

main select {
  height: 45px;
  width: 400px;
  border: 0px;
  border-radius: 25px;
  max-width: 700px;
  margin: 0px;
  padding: 5px 40px 5px 10px;
  box-sizing: border-box;
  vertical-align: middle;
  appearance: none;
  outline: 0;
  background-color: #ffffff;
  background-image: url(../mypublic/icon/select.svg);
  background-position: calc(100% - 15px) center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-overflow: ellipsis;
  border-collapse: separate;
  font-size: 14px;
}

main select option {
  padding: 1px 0;
}

main button {
  background-color: #00a1ed;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  height: 45px;
  width: 120px;
  border-radius: 25px;
  transition: 0.2s;
  text-transform: uppercase;
  margin-top: 30px;
}

main .banner {
  background-image: url("../mypublic/img/lever-banner-700.jpg");
  background-color: #000000;
  height: 700px;
  width: auto;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}


/* 手机端（屏幕小于 768px 时）切换 banner */
@media (max-width: 768px) {
  main .banner {
    background-image: url("../mypublic/img/banner.jpg") !important;
    height: 700px; /* 可根据你需要减半更合适 */
    background-position: center;
  }
}
@media screen and (max-width: 768px) {
  main .banner {
    height: 500px;
  }
}

main .banner #formbox {
  position: absolute;
  top: 120px;
  left: 9%;
  z-index: 100;
  padding: 0 40px;
}

main .banner #formbox h2 {
  font-weight: 700;
  text-transform: none;
  font-size: 32px;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 30px;
}

main .product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 50px;
}

main .product .tips {
  color: #2b2b2b;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  text-decoration: none;
}

main .product h1 {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
  text-align: center;
  letter-spacing: -0.05em;
  font-weight: 700;
  font-size: 32px;
  margin-top: 20px;
}

main .product .last {
  line-height: 28px;
  color: #2b2b2b;
}

main .product .list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
}

main .product .list .item {
  width: 20%;
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
  cursor: pointer;
}

main .product .list .item .info {
   border-top: 1px solid black;    /* 上边框黑色 */
    border-right: 1px solid #eee;   /* 右边框 #eee */
    border-bottom: 1px solid black; /* 下边框黑色 */
    border-left: 1px solid #eee;  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

main .product .list .item .info .imgbox {
  width: 300px;
  height: 300px;
}

main .product .list .item .info img {
  max-width: 300px;
  max-height: 300px;
  width: 100%;
  height: auto;
}

main .product .list .item .info .both {
  /*margin: 5px;*/
  /*margin-bottom: 15px;*/
  /*font-weight: bold;*/
  /*line-height: 28px;*/
  margin: 5px;
 margin-bottom: 10px;
 line-height: 20px;
 height: 55px;
 font-size: 14px;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

main .product .list .item .info .both:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

main .product .msg p {
  margin-top: 10px;
}

main .product .searchform {
  margin: 20px 0px;
}

main .product .searchform form {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

main .product .searchform form .form_label {
  color: #2b2b2b;
  font-family: "open sans", sans-serif;
  margin-bottom: 2px;
}

main .product .searchform form .form_label label {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

main .product .searchform form .form_label label span {
  color: #f00;
}

main .product .searchform form .formli {
  padding: 7px 0;
}

main .product .searchform form .btn {
  text-align: center;
}

main .product .searchform form input {
  width: 100%;
  max-width: 700px;
  border: 1px solid #dddddd;
  border-radius: 25px;
  padding: 5px 10px;
  box-sizing: border-box;
  min-height: 43px;
  outline: 0;
}

main .product .searchform form select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url(../public/icon/select.svg);
  background-position: calc(100% - 15px) center;
  background-repeat: no-repeat;
  padding-right: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #dddddd;
  border-radius: 25px;
  width: 100%;
  max-width: 700px;
}

main .product .searchform form textarea {
  margin: 0px;
  height: 91px;
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 25px;
}

main .product .contact {
  width: 85%;
  max-width: 1000px;
  margin: auto;
}

main .product .contact .last {
  margin: 40px 0;
}

main .product .contact span {
   text-wrap: unset !important;
}

main .shop {
  display: flex;
  align-items: flex-start;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 20px;
}

main .shop #shopform {
  line-height: 28px;
  background-color: #e5ecec;
  border-radius: 4px;
  padding: 20px;
  width: 330px;
  margin-top: 50px;
}

main .shop #shopform table {
  width: 100%;
}

main .shop #shopform h2 {
  font-weight: 700;
  text-transform: none;
  font-size: 26px;
  letter-spacing: -1.5px;
  margin-bottom: 30px;
}

main .shop #shopform #selecthomepagetitle {
  color: #000;
  font-weight: normal;
}

main .shop #shopform select {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

main .shop .product {
  /*max-width: auto;*/
  /*padding: 0 40px;*/
  width: calc(100% - 330px);
  padding: 0 0 0 40px;
}

main .shop .product .list {
  padding-bottom: 50px;
}

main .shop .product .list .item {
  display: block;
  color: #000;
}

main .shop .product .list .info .imgbox {
  width: 100%;
  /*height: 200px;*/
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

main .shop .product h1 {
  margin-top: 40px;
}

main .pro-info {
  display: flex;
  align-items: flex-start;
}

main .pro-info .left {
  width: 60%;
  padding-right: 20px;
  box-sizing: border-box;
}

main .pro-info .left .showimg {
  text-align: center;
}

main .pro-info .left .showimg img {
  width: 80%;
  height: 80%;
}

main .pro-info .left .imglist {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: scroll;
  margin-top: 10px;
  padding-bottom: 10px;
}

main .pro-info .left .imglist img {
  max-width: 50px;
  max-height: 50px;
  width: 100%;
  height: auto;
  margin: 0 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

main .pro-info .left .imglist img.on {
  border-bottom: 2px solid #b4b4b4;
}

main .pro-info .right {
  width: 40%;
  padding: 20px 0;
}

main .pro-info .right .price {
  font-weight: bold;
  font-size: 16px;
  color: #2b2b2b;
}

main .pro-info .right .gap {
  margin-top: 15px;
  font-size: 14px;
}

main .pro-info .right .gap span {
  font-size: 16px;
  font-weight: bold;
}

main .pro-nav {
  margin-top: 50px;
  display: flex;
  align-items: center;
  /*border-bottom: 1px solid #b1b1b1;*/
}

main .pro-nav .pro-navitem {
  margin-right: 5px;
  border: 1px solid #b1b1b1;
  /*border-bottom: 0;*/
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 15px 16px;
  font-size: 14px;
  color: #898f94;
  cursor: pointer;
}

main .pro-nav .pro-navitem.active {
  background-color: #00a1ed;
  box-shadow: none;
  border: 1px solid #00a1ed;
  color: #fff;
}

main .pro-content {
  padding: 40px;
}

main .pro-content p {
  line-height: 28px;
  color: #2b2b2b;
}

main .pro-content .pro-table {
  text-align: left;
  border-collapse: collapse;
  width: 100%;
}

main .pro-content .pro-table th,
main .pro-content .pro-table td {
  border: 1px solid #000;
  padding: 5px;
}

main .pro-content .pro-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

footer {
  background: #1f1f1f;
  position: relative;
}

footer .top {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  background-color: #00a1ed;
  color: white;
  cursor: pointer;
  border-radius: 3px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .top i {
  font-weight: bold;
}

footer .line {
  height: 50px;
  width: 100%;
  background: #2b2b2b;
}

footer .foot {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0px auto;
  padding-top: 40px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

footer .foot .footli {
  color: #fff;
  width: 30%;
  margin-top: 34px;
}

footer .foot .footli:first-child {
  margin-top: 0;
}

footer .foot .footli h1 {
  margin: 8px 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

footer .foot .footli a {
  font-size: 14px;
  margin: 8px 0;
  display: block;
  color: #f2f2f2f5;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
}

.pagination a {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 0 5px #eee;
    color: #000;
    margin: 0 5px;
    padding: 5px 8px;
}
.pagination span{
    margin: 0 10px;
}
.page-num-current{
  background: #2b2b2b !important;
  color: #fff !important;
}
@media screen and (max-width: 768px) {
    header .logo img {
        height: 75px !important;
        max-height: 75px !important;
    }
}
@media (max-width: 996px) {
    main .product {
        margin-top: 50px;
    }
}

@media (max-width: 996px) {
  header .topbox .top .sea {
    /*display: none;*/
  }
  main .banner #formbox {
    width: 80%;
    left: 10%;
    box-sizing: border-box;
  }
  main select {
    width: 60vw;
  }
  main .product .list .item .info .imgbox {
    width: 100%;
    height: auto;
  }
  main .product .list .item .info .imgbox img {
    width: 100%;
    height: auto;
  }
  main .product .list .item {
    width: 100%;
  }
  header .nav {
    width: 100%;
    overflow: hidden;
  }
  header .nav .navlist {
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
  }
  header .nav .navlist .navitem {
    width: 33%;
  }
  footer .foot {
    flex-wrap: wrap;
    padding-left: 20px;
    box-sizing: border-box;
  }
  footer .foot .footli {
    width: 100%;
  }
  main .shop {
    flex-direction: column;
  }
  main .shop #shopform {
    width: 100%;
    box-sizing: border-box;
  }
  main .shop .product {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
  main .shop .pro-info {
    flex-direction: column;
  }
  main .shop .pro-info .left, main .shop .pro-info .right {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
    text-align: center;
  }
  main .shop .pro-info .left .imglist img {
    margin: 0 5px;
    max-width: 40px;
    max-height: 40px;
  }
  main .shop .pro-nav {
    flex-wrap: wrap;
    border-bottom: 0;
  }
  main .shop .pro-nav .pro-navitem {
    border: 1px solid #b1b1b1;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  main .shop .pro-content {
    padding: 0 10px;
    padding-bottom: 20px;
  }
}
