* {
  scroll-behavior: smooth;
  box-sizing: border-box;
  white-space: wrap;
}
img {
  display: inline-block !important;
}
body {
  overflow-x: hidden;
  --swiper-theme-color: #ffffff;
}

.custom-scrollbar {
  /* Webkit样式 - 滚动条主体 */
  &::-webkit-scrollbar {
    width: 16px;      /* 增加宽度以容纳箭头 */
    height: 16px;     /* 增加高度以容纳箭头 */
  }

  &::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0;
  }

  &::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  /* 自定义箭头按钮 */
  &::-webkit-scrollbar-button {
    display: block;  /* 确保显示箭头 */
    height: 0px;    /* 箭头高度 */
    width: 0px;     /* 箭头宽度 */
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-position: center;
    border: 0px solid #d0d0d0;
  }

  /* 垂直滚动条的上箭头 */
  &::-webkit-scrollbar-button:vertical:start {
    background-image: none;
  }

  /* 垂直滚动条的下箭头 */
  &::-webkit-scrollbar-button:vertical:end {
    background-image: none;
  }

  /* 水平滚动条的左箭头 */
  &::-webkit-scrollbar-button:horizontal:start {
    background-image: none;
  }

  /* 水平滚动条的右箭头 */
  &::-webkit-scrollbar-button:horizontal:end {
    background-image:none;
  }

  /* Firefox样式 - 注意Firefox不支持自定义箭头 */
  scrollbar-width: thin;
  scrollbar-color: #d0cfcf #ffffff;
}

@media screen and (max-width: 768px) {
  body {
    --swiper-navigation-size: 25px;
  }
}
.page .active {
  color: #fff;
  background-color: #1e69d4;
}
.active {
  color: #1e69d4;
}
.theme-color {
  color: #1e69d4;
}
.active-title {
  color: #1e69d4 !important;
  font-weight: bold;
}
.theme-color-bg {
  background-color: #1e69d4;
}
a {
  cursor: pointer;
  white-space: nowrap;
}

.elli1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.indexTitle {
  font-size: 28px;
}

.container {
  padding: 0 12.5vw;
  max-width: none !important;
}

.pr {
  padding-right: 12.5vw;
}

.pl {
  padding-left: 12.5vw;
}

@media (max-width: 1536px) {
  .container {
    padding: 0 6.25vw;
  }

  .pr {
    padding-right: 6.25vw;
  }

  .pl {
    padding-left: 6.25vw;
  }

  .indexTitle {
    font-size: 24px;
  }
}

@media (max-width: 1280px) {
  .container {
    padding: 0 5.208vw;
  }

  .pr {
    padding-right: 5.208vw;
  }

  .pl {
    padding-left: 5.208vw;
  }

  .indexTitle {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 4.166vw;
  }

  .indexTitle {
    font-size: 20px;
  }

  .pr {
    padding-right: 4.166vw;
  }

  .pl {
    padding-left: 4.166vw;
  }
}

@media (min-width: 769px) {
  [pc="hide"] {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 2.604vw;
  }

  .pr {
    padding-right: 2.604vw;
  }

  .pl {
    padding-left: 2.604vw;
  }

  [wap="hide"] {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .pr {
    padding-right: 20px;
  }

  .pl {
    padding-left: 20px;
  }

  .indexTitle {
    font-size: 18px;
  }
}

/* 手机菜单按钮 -开始 */
.menu-icon {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  /* background: rgb(0, 0, 0); */
  padding: 5px;
  cursor: pointer;
}
.menu-icon input {
  display: none;
}
.menu-icon span {
  display: block;
  position: relative;
  height: 2px;
  width: 100%;
  background: #1e69d4;
  border-radius: 10px;
  opacity: 1;
  left: 0;
  margin-bottom: 24%;
  transition: 0.3s ease-in-out;
}
.menu-icon span {
  transform-origin: left center;
}
.menu-icon input:checked ~ span {
  background: #1e69d4;
  left: 5px;
  margin-bottom: 30%;
}
.menu-icon input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
}
.menu-icon input:checked ~ span:nth-of-type(2) {
  opacity: 0;
}
.menu-icon input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    padding-top: 9px;
  }
}
/* 手机菜单结束 */

header .nav-wap-content {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000000fa;
  color: #fff;
  text-align: left;
  font-size: 16px;
  display: none;
  padding: 0 20px;
  box-sizing: border-box;
  /* padding-top: 60px; */
}
header .nav-wap-content .nav-wap-box {
  overflow-y: auto;
  height: 100%;
}
header .nav-wap-content .box-ul {
  padding-top: 40px;
}
header .nav-wap-content .box-ul .box-li {
  opacity: 1;
  /* transform: translateY(-50%); */
  padding: 15px 0;
  border-bottom: 1px solid #eeeeee36;
}
header .nav-wap-content .box-ul .box-li .box-li-title {
  cursor: pointer;
}

.product::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0%;
  height: 1px;
  background-color: #1e69d4;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
}
.product:hover:after,
.product.active::after {
  left: 0%;
  width: 100%;
}
.product.active {
  font-weight: bold;
}

button:focus,
textarea:focus,
a:focus,
input:focus {
  outline: none;
}
