/*button*/
.tobutton {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #183153;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.tobutton:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #ffd401;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.tobutton:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.tobutton span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 18px 25px;
  color: #fff;
  font-size: 1.125em;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.tobutton:hover span {
  color: #183153;
  animation: scaleUp 0.3s ease-in-out;
}
.sub-menu li a.menu-link {
    color: #363535 !important;
}
.sub-menu li a.menu-link:hover{
	color:var(--ast-global-color-0)!important;
}
.xm-dom{display:none;}
.be_video{display:none;}
@media (max-width: 768px) {
	.xm-hover{display:none;}
  .xm-dom{display:block;}
	.ba_video{display:none;}
	.be_video{display:block;}
}
@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}
/*更多按钮*/
.morebutton {
  align-items: center;
  background-color: transparent;
  color: #000;
  cursor: pointer;
  font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  outline: 0;
  border: 0;
  padding: 1rem;
}

.morebutton:before {
  background-color: #000;
  content: "";
  display: inline-block;
  height: 1px;
  margin-right: 10px;
  transition: all .42s cubic-bezier(.25,.8,.25,1);
  width: 0;
}

.morebutton:hover:before {
  background-color: #000;
  width: 3rem;
}
/*产品图片*/

  .container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }

    .por_image {
      flex: 1;
     padding: 20px 0 20px 0;
     max-width: 600px;
    }

    .por_image img {
      max-width: 100%;
      height: auto;
    }

    .text {
      flex: 1;
      padding: 20px;
    }

    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }

      .por_image,
      .text {
        max-width: 100%;
      }
    }
    
    /*siwper*/
     .swiper {
      width: 100%;
      height: 300px;
      margin-left: auto;
      margin-right: auto;
    }

    .swiper-slide {
      background-size: cover;
      background-position: center;
    }

    .swpclass2 {
      height: 80%;
      width: 100%;
    }

    .swpclass {
      height: 20%;
      box-sizing: border-box;
      padding: 10px 0;
    }

    .swpclass .swiper-slide{
      width: 25%;
      height: 100%;
      opacity: 0.4;
    }

    .swpclass .swiper-slide-thumb-active {
      opacity: 1;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(1.1);
    }
  .swiper-button-next, .swiper-button-prev {
  cursor: pointer;
  color: #f9bb00 !important;
  }
  
 /*右下角社媒*/
.social-floating {
  position: fixed;
  bottom: -60px; /* 初始状态隐藏 */
  right: 20px;
  z-index: 999; /* 确保窗口位于其他内容的上方 */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: bottom 0.3s ease; /* 添加过渡效果 */
  border-radius: 30px;
}

.social-floating.show {
  bottom: 20px; /* 下滑显示 */
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  display: inline-block;
  margin-right: 10px;
}

.social-icons li:last-child {
  margin-right: 0;
}

.social-icons a {
 color: #333;
  text-decoration: none;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
}
.social-icons svg {
  width: 22px;
  height: 22px;
  fill: #30ca10;
  margin-right: 5px;
}

svg.swiper-navigation-icon {
    display: none;
}
