.yn-right-tool .item-box {
  position: fixed;
  right: 20px;
  
  z-index: 9;
}

.yn-right-tool .item-box .item-btn {
  font-size: 20px;
  color: var(--yn-form-submit-color);
  background-color: var(--yn-form-submit-bg-color);
  border-radius: 8px;
  text-align: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  cursor: pointer;
  -webkit-box-shadow: 0 7px 16px 0 rgb(9 28 58 / .07);
  box-shadow: 0 7px 16px 0 rgb(9 28 58 / .07);
  -webkit-transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 0.25s ease-in-out, color 0.25s ease-in-out;
  transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 0.25s ease-in-out, color 0.25s ease-in-out;
}

.yn-right-tool-contactus-tel {
  bottom: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yn-right-tool-contactus-tel img {
  width: 30px;
  height: 30px;
}

.yn-right-tool-contactus-tel font {
  font-size: 8px;
}

.yn-right-tool-contactus-msg {
  bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yn-right-tool-contactus-msg img {
  width: 30px;
  height: 30px;
}

@media (min-width:576px) {
  .right-contact-us-tabr {}
}

@media (min-width:768px) {}



/* Back To Top */
.back-to-top {
  display: inline-block;
  bottom: 30px;
}

.back-to-top:hover {
  color: var(--yn-form-submit-color);
  -webkit-transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
  transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
}

.back-to-top:hover:before {
  -webkit-animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
  animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.back-to-top:hover:after {
  -webkit-animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
  animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.back-to-top:before {
  position: absolute;
  display: inline-block;
  content: "";
  background: var(--yn-form-submit-color);
  width: 3px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -2px;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
}

.back-to-top:after {
  position: absolute;
  display: inline-block;
  content: "";
  width: 15px;
  height: 15px;
  color: var(--yn-form-submit-color);
  border-top: 3px solid;
  border-left: 3px solid;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -8px;
  -webkit-transform: translateY(50px) rotateZ(45deg);
  transform: translateY(50px) rotateZ(45deg);
}

.back-to-top a {
  color: var(--yn-form-submit-color);
}

.back-to-top:hover a {
  color: transparent;
}

.back-to-top.auto {
  color: var(--yn-form-submit-color);
  -webkit-transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
  transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
}

.back-to-top.auto:before {
  -webkit-animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
  animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.back-to-top.auto:after {
  -webkit-animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
  animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

@-webkit-keyframes tipUp {
  0% {
    -webkit-transform: translateY(50px) rotateZ(45deg);
    transform: translateY(50px) rotateZ(45deg);
  }

  100% {
    -webkit-transform: translateY(-70px) rotateZ(45deg);
    transform: translateY(-70px) rotateZ(45deg);
  }
}

@keyframes tipUp {
  0% {
    -webkit-transform: translateY(50px) rotateZ(45deg);
    transform: translateY(50px) rotateZ(45deg);
  }

  100% {
    -webkit-transform: translateY(-70px) rotateZ(45deg);
    transform: translateY(-70px) rotateZ(45deg);
  }
}

@-webkit-keyframes lineUp {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }

  100% {
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px);
  }
}

@keyframes lineUp {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }

  100% {
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px);
  }
}


/**==========================多语言切换=========================*/

.yn-right-tool {
  position: relative;
  display: inline-block;
}

.yn-right-lang-box {
  bottom: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yn-right-tool .yn-lang-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-align: center;
  background-color: #FF9C01;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yn-right-tool .yn-lang-btn:hover {
  background-color: #e68a00;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.yn-right-tool .yn-lang-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.yn-right-tool .yn-lang-dropdown {
  position: absolute;
  left: -120px;
  top: -20px;
  /* 调整为紧贴按钮下方 */
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  z-index: 1000;
  width: 80px;
  border: 1px solid #f0f0f0;
}

.yn-right-tool .yn-lang-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yn-right-tool .yn-lang-option {
  padding: 8px 12px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.yn-right-tool .yn-lang-option:hover {
  background-color: #f5f5f5;
}

.yn-right-tool .yn-lang-option.active {
  background-color: #FF9C01;
  color: white;
}