@media screen and (max-width: 1450px) {
  .bodyBox {
    width: 960px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1450px) {
  .bodyBox {
    width: 1450px;
    margin: 0 auto;
  }
}
/*滚动条宽 长,滚动条整体部分，其中的属性有width,height,background,border等。*/
::-webkit-scrollbar {
  width: 0;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
/*滚动条的滑轨背景颜色,可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果。*/
::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
/* 滑块颜色 */
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
/*滚动条两端的按钮。可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果。*/
::-webkit-scrollbar-button {
  background-color: #eee;
  display: none;
}
/* 横向滚动条和纵向滚动条相交处尖角的颜色 */
::-webkit-scrollbar-corner {
  background-color: black;
}
body {
  margin: 0;
}
li {
  list-style-type: none;
}
i {
  font-style: normal;
}
a {
  text-decoration: none;
  color: #000;
  display: block;
}
ul,
p {
  margin: 0;
  padding: 0;
}
.nav {
  background-color: #331722;
  color: #fff;
  text-align: center;
  height: 41px;
  line-height: 41px;
  font-size: 14px;
}
.navbar {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  /* 设置固定位置为顶部 */
  background-color: #131313;
  /* 导航栏背景色 */
  z-index: 1000;
  /* 确保导航栏在其他内容之上 */
}
.navbar .logo {
  display: grid;
  grid-template-columns: 0.8fr 5fr 0.5fr;
  align-items: center;
}
.navbar .logo a {
  display: inline-block;
}
.navbar .logo .logoBox {
  position: absolute;
  top: 24px;
  right: -60px;
  width: 126px;
  color: #000;
  background: #fff;
  text-align: left;
  font-size: 14px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  line-height: 38px;
  white-space: nowrap;
  display: none;
}
.navbar .logo .logoBox a {
  display: block;
  height: 44px;
  padding: 0 20px;
}
.navbar .logo .logoBox a:hover {
  background-color: #eeeeee;
}
.navbar .title {
  text-align: center;
}
.navbar .title ul {
  padding: 15px 0;
}
.navbar .title ul li {
  display: inline-block;
  margin-right: 30px;
}
.navbar .title ul li a {
  font-size: 14px;
  color: #fff;
}
.newBox {
  padding: 40px;
}
.newBox .newTxt {
  font-size: 34px;
  color: #212121;
  font-weight: bold;
  padding: 20px 0 45px 0;
  border-bottom: 1px solid #eeeeee;
}
.newBox .sortGoods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 20px;
  column-gap: 20px;
}
.newBox .sortGoods h3 {
  font-weight: normal;
}
.newBox .sortGoods h3,
.newBox .sortGoods p {
  text-align: center;
}
.newBox .sortGoods .sp2 {
  color: #F2C077;
  font-family: 'OpenSans-Bold';
  text-decoration: line-through;
  margin-left: 5px;
}
.logoBox1 {
  width: 480px;
  background-color: #fff;
  margin: 0 auto;
  padding: 25px 30px;
  border-radius: 5px;
}
.logoBox1 h3 {
  line-height: 32px;
  font-size: 24px;
  color: #545454;
  font-weight: normal;
}
.logoBox1 .p1 {
  line-height: 22px;
  font-size: 14px;
  color: #666;
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.logoBox1 .inputBox {
  margin-bottom: 15px;
}
.logoBox1 .inputBox p {
  line-height: 24px;
  font-size: 14px;
  color: #333;
}
.logoBox1 .inputBox input {
  width: 100%;
  height: 44px;
  line-height: 44px;
  box-sizing: border-box;
  border: 1px solid #bbb;
  border-radius: 5px;
  padding: 0 10px;
}
.logoBox1 .p3 {
  color: #666;
  text-align: right;
}
.logoBox1 .p4 {
  color: #666;
  text-align: center;
  margin-top: 10px;
}
.logoBox1 a {
  text-decoration: underline;
  color: #000;
}
.logoBox1 button {
  background-color: #4D79FF;
  border: none;
  width: 100%;
  height: 50px;
  line-height: 50px;
  margin-top: 14px;
  font-size: 18px;
  color: #fff;
  border-radius: 5px;
  margin: 29px 0 24px 0;
}
.logoBox1 .code {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 20px;
}
.logoBox1 .code button {
  height: 44px;
  line-height: 44px;
  margin: 0;
}
.searchBox .searchBtn {
  display: grid;
  grid-template-columns: 1fr 120px;
  column-gap: 10px;
}
.searchBox .searchBtn input {
  height: 48px;
  border: 1px solid #e4e4e4;
  padding: 0 12px;
}
.searchBox .searchBtn button {
  height: 50px;
  background-color: #4D79FF;
  color: #fff;
  text-align: center;
  line-height: 50px;
  border: none;
  cursor: pointer;
}
.searchBox .p1 {
  color: #312027;
  text-align: center;
  margin: 25px 0 56px 0;
}
.titleBox {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}
.footer {
  background: #181818;
  color: #9E9E9E;
  height: 193px;
  position: relative;
}
.footer .bodyBox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding-top: 20px;
}
.footer .bodyBox h2 {
  font-size: 18px;
}
.footer .bodyBox .newButton a {
  display: block;
  color: #B1B1B1;
}
.footer .bodyBox p,
.footer .bodyBox a {
  font-size: 14px;
  color: #fff;
  margin: 10px 0;
}
.footer .bodyBox a {
  display: inline-block;
}
.footer .bodyBox .p1 {
  display: grid;
  grid-template-columns: 158px 53px;
}
.footer .bodyBox .p1 input {
  height: 38px;
}
.footer .bodyBox .p1 span {
  display: grid;
  height: 44px;
  align-items: center;
  justify-items: center;
  background-color: #4D79FF;
  cursor: pointer;
}
.footer .bodyBox .p2 img {
  margin-right: 5px;
}
.footer .p3 {
  width: 100%;
  font-size: 14px;
  text-align: center;
  position: absolute;
  bottom: 15px;
}
.detailBox {
  display: grid;
  grid-template-columns: 105px 439px 1fr;
  gap: 50px;
  padding-top: 56px;
}
.detailBox .imgLi {
  margin-bottom: 5px;
  cursor: pointer;
}
.detailBox h2 {
  margin: 0 0 12px 0;
  font-size: 30px;
}
.detailBox .title {
  font-size: 14px;
  margin-bottom: 20px;
  color: #312027;
}
.detailBox .price .sp1 {
  color: #000;
  font-size: 1.375rem;
  font-weight: bold;
}
.detailBox .price .sp2 {
  color: #82888f;
  font-family: 'OpenSans-Bold';
  text-decoration: line-through;
  margin-left: 5px;
}
.detailBox .inputBox {
  display: grid;
  height: 32px;
  grid-template-columns: 32px 40px 32px;
  grid-column-gap: 10px;
}
.detailBox .inputBox span {
  cursor: pointer;
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
}
.detailBox .inputBox input {
  width: 100%;
  text-align: center;
  padding: 0;
  border: 1px solid #e2e2e2;
}
.detailBox .inputBox .span1,
.detailBox .inputBox .span2 {
  border: 1px solid #e2e2e2;
  font-size: 12px;
  font-weight: 900;
  color: #8e9299;
}
.detailBox .button {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
  margin: 54px 0 40px 0;
}
.detailBox .button button {
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
}
.detailBox .button .btn1 {
  color: #4D79FF;
  border: 1px solid #4D79FF;
  background: #fff;
}
.detailBox .button .btn2 {
  color: #fff;
  background: #4D79FF;
  border: 1px solid #4D79FF;
}
.detailBox .imgBox {
  margin-top: 15px;
}
.detailBox .imgBox a {
  width: 30px;
  height: 30px;
  display: inline-block;
  background: #f7f7f7;
  margin-right: 5px;
}
.detailBox .imgBox a img {
  width: 21px;
  height: 21px;
  margin: 4.5px 0 0 4.5px;
}
.detailContent {
  margin-top: 26px;
}
.detailContent .title {
  border-bottom: 1px solid rgba(32, 32, 32, 0.07);
}
.detailContent .title span {
  height: 42px;
  line-height: 42px;
  font-size: 16px;
  cursor: pointer;
}
.cartBox {
  background-color: #fff;
}
.cartBox .empty {
  border: 1px #e7e7e7 solid;
  text-align: center;
  padding-bottom: 110px;
}
.cartBox .empty img {
  margin-top: 50px;
  margin-bottom: 30px;
}
.cartBox .empty p {
  font-size: 27px;
  font-weight: 300;
}
.cartBox .empty a {
  height: 42px;
  line-height: 42px;
  overflow: hidden;
  margin-top: 47px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  outline: 0;
  background-color: #e53935;
  border-radius: 5px;
  display: inline-block;
}
.cartBox .shoppingCart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 90px;
}
.cartBox .shoppingCart h3 {
  padding: 15px 0;
  margin-bottom: 24px;
  text-transform: capitalize;
  font-size: 22px;
  border-bottom: 1px #e1e1e1 solid;
  font-weight: bold;
}
.cartBox .shoppingCart .d1 .p1 {
  display: grid;
  grid-template-columns: 38px 140px 2fr 1fr 1.5fr 1fr;
  grid-column-gap: 10px;
  padding: 10px 0;
  line-height: 28px;
  background-color: #f7f7f7;
  color: #999;
}
.cartBox .shoppingCart .d1 ul {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 20px;
}
.cartBox .shoppingCart .d1 li {
  display: grid;
  grid-template-columns: 38px 140px 2fr 1fr 1.5fr 1fr;
  grid-column-gap: 10px;
  align-items: center;
  padding-top: 20px;
}
.cartBox .shoppingCart .d1 li a:hover {
  text-decoration: underline;
}
.cartBox .shoppingCart .d1 li .item {
  cursor: pointer;
}
.cartBox .shoppingCart .d1 li .p2 a {
  color: #252d4b;
  font-size: 14px;
}
.cartBox .shoppingCart .d1 li .p3 {
  display: grid;
  height: 32px;
  grid-template-columns: 32px 40px 32px;
  grid-column-gap: 10px;
}
.cartBox .shoppingCart .d1 li .p3 button {
  cursor: pointer;
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  background-color: #fff;
}
.cartBox .shoppingCart .d1 li .p3 input {
  width: 100%;
  text-align: center;
  padding: 0;
  border: 1px solid #e2e2e2;
}
.cartBox .shoppingCart .d1 li .p3 #minus,
.cartBox .shoppingCart .d1 li .p3 #add {
  border: 1px solid #e2e2e2;
  font-size: 12px;
  font-weight: 900;
  color: #8e9299;
}
.cartBox .shoppingCart .d1 .p4 {
  padding: 20px 0 20px 13px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #f5f5f5;
}
.cartBox .shoppingCart .d1 .p4 input {
  margin-right: 10px;
  cursor: pointer;
}
.cartBox .shoppingCart .d1 .p4 p {
  color: #4d5264;
  font-size: 14px;
}
.cartBox .shoppingCart .d1 .p4 span {
  color: #c00000;
  font-size: 14px;
}
.cartBox .shoppingCart .d1 .p4 button {
  width: 120px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background: #4D79FF;
  border: none;
  border-radius: 5px;
  margin-right: 20px;
  cursor: pointer;
}
.bgBox {
  position: relative;
  top: -64px;
}
.bgBox .nowBox {
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -25%);
  text-align: center;
}
.bgBox .nowBox h3 {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}
.bgBox .nowBox p {
  color: #fff;
}
.bgBox .nowBox button {
  margin-top: 20px;
  background-color: #4D79FF;
  width: 135px;
  height: 42px;
  line-height: 42px;
  border: none;
  text-align: center;
}
.bgBox .nowBox button a {
  color: #fff;
}
.categoryBox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 20px;
  column-gap: 20px;
}
.categoryBox a {
  display: block;
  overflow: hidden;
}
.categoryBox a .category {
  height: 400px;
  color: #fff;
  font-size: 30px;
  text-align: center;
  line-height: 400px;
}
.categoryBox a .category1 {
  background-image: url('../img/box1.webp');
  /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  /* 平滑过渡效果 */
}
.categoryBox a .category2 {
  background-image: url('../img/box2.webp');
  /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  /* 平滑过渡效果 */
}
.categoryBox a .category3 {
  background-image: url('../img/box3.webp');
  /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  /* 平滑过渡效果 */
}
.categoryBox a .category4 {
  background-image: url('../img/box4.webp');
  /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  /* 平滑过渡效果 */
}
.categoryBox a .category5 {
  background-image: url('../img/box5.webp');
  /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  /* 平滑过渡效果 */
}
.categoryBox a .category6 {
  background-image: url('../img/box6.webp');
  /* 替换为你的图片路径 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  /* 平滑过渡效果 */
}
.categoryBox a .category:hover {
  transform: scale(1.1);
  /* 放大10% */
}
.viewAll {
  text-align: center;
  margin-bottom: 56px;
}
.viewAll a {
  display: block;
}
.viewAll a button {
  width: 120px;
  height: 49px;
  line-height: 49px;
  text-align: center;
  color: #fff;
  background-color: #4D79FF;
  border: none;
  border-radius: 2px;
}
.viewBox {
  height: 480px;
  text-align: center;
}
.viewBox h3 {
  width: 750px;
  color: #fff;
  font-size: 35px;
  transform: translateY(100px);
  margin: 0 auto;
}
.viewBox p {
  width: 750px;
  color: #fff;
  transform: translateY(120px);
  margin: 0 auto;
}
.viewBox1 {
  background: url('../img/view1.webp') no-repeat;
  background-size: 100% 200%;
  background-position: 0 -220px;
}
.viewBox2 {
  background: url('../img/view3.webp') no-repeat;
  background-size: 100% 200%;
  background-position: 0 -220px;
}
.leftImg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 125px;
  align-items: center;
  padding: 56px 0;
}
.leftImg h2 {
  font-size: 38px;
}
.leftImg .price {
  font-size: 24px;
  margin-top: 60px;
  margin-bottom: 40px;
}
.leftImg .price .sp1 {
  color: #000;
}
.leftImg .price .sp2 {
  color: #F2C077;
  font-family: 'OpenSans-Bold';
  text-decoration: line-through;
  margin-left: 5px;
}
.leftImg .button a {
  display: block;
  width: 125px;
  height: 42px;
  line-height: 42px;
  color: #fff;
  text-align: center;
  background-color: #4D79FF;
}
