.chatBtn {
  position: relative;
}

.chatBtn .tip-msg {
  position: absolute;
  left: -215px;
  width: 200px;
  padding: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  box-shadow: 0 7px 6px 1px rgba(0, 0, 0, 16%);
  display: none;
}

.icon-group #right_contact>li .chat_num {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  right: 10px;
  top: 10px;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #fff;
  background-color: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.chatBtn .tip-msg .msg-close {
  background-color: #687882;
  border-radius: 50%;
  padding: 4px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -25px;
  top: 0;
  cursor: pointer;
}

.chatBtn .tip-msg:after {
  bottom: 12px;
  right: -10px;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border: 10px solid transparent;
  border-left-color: #fff;
  border-right: 0;
}

.icon-group #right_contact {
  width: 65px;
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 100;
}

.icon-group #right_contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  opacity: .7;
}

.icon-group #right_contact>li {
  position: relative;
}

.icon-group #right_contact>li i {
  font-size: inherit;
}

.icon-group #right_contact>li>.cart_show>i {
  position: relative;
}

.icon-group #right_contact>li>.cart_show>i>.cart_num {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  right: -10px;
  font-size: 12px;
  top: 0;
  color: #fff;
  background-color: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-group #right_contact li a,
.icon-group #right_contact li .cart_show,
.icon-group #right_contact li .chat_wrap {
  font-size: 2rem;
  color: #fff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-group #right_contact li .cart_show:hover,
.icon-group #right_contact li .chat_wrap:hover,
.icon-group #right_contact li a:hover {
  color: var(--style-color);
  background: #fff;
}

.icon-group #right_contact li .chat_wrap:hover path {
  fill: var(--style-color);
}

.chatContainer,
.chatContainer div,
.chatContainer ul,
.chatContainer li,
.chatContainer p {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.chatContainer {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.chatBox {
  width: 370px;
  min-width: 320px;
  height: 500px;
  border-radius: 10px;
  background: #f5ecff;
  position: fixed;
  bottom: 5%;
  right: 5%;
  overflow: hidden;
  border: solid 1px #d5d5d5;
  box-shadow: 1px 1px 2px #c0c0c0;
  z-index: 1005;
  display: none;
}

.chatBox-head {
  width: 100%;
  height: 48px;
  background: var(--style-color);
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  text-transform: uppercase;
}

.chat-close {
  cursor: pointer;
}

.chatBox-head-one {
  width: 100%;
  height: 75px;
  line-height: 75px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

.chat-return:hover {
  background: #0188b7;
}


.chatBox-info {
  width: 100%;
  height: 100%;
  background: #fff;
  text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 48px;
}

.chatBox-kuang {
  width: 100%;
  height: 100%;
  display: block;
}

.chatBox-content {
  width: 100%;
  height: 100%;
}

.chatBox-content-demo {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

.clearfloat:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0
}

.clearfloat {
  zoom: 1;
  margin: 10px 10px;
}

.clearfloat .right {
  float: right;
}

.author-name {
  text-align: center;
  margin: 15px 0 5px 0;
  color: #888;
}

.clearfloat .chat-message {
  max-width: 252px;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  word-wrap: break-word;
  display: inline-block;
  position: relative;
}


.clearfloat .left .chat-message {
  background: rgb(245, 248, 250);
  color: rgb(65, 65, 65);
  min-height: 36px;
}

.clearfloat .left .chat-message .inquiry {
  color: #007AFF;
  text-decoration: underline;
}

.clearfloat .left .chat-message:before {
  position: absolute;
  content: "";
  top: 8px;
  left: -6px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid rgb(245, 248, 250);
}

.clearfloat .right {
  text-align: right;
}

.clearfloat .right .chat-message {
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  border-color: rgb(0, 0, 0);
  border: 1px solid #212021;
  text-align: left;
  min-height: 36px;
  cursor: pointer;
}

.clearfloat .right .chat-message:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.clearfloat .chat-avatars {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: top;
  overflow: hidden;
}

.clearfloat .chat-avatars>i {
  font-size: 30px;
  line-height: 1;
}

.clearfloat .left .chat-avatars {
  margin-right: 10px;
}

.clearfloat .right .chat-avatars {
  margin-left: 10px;
}

.hidden {
  display: none;
}

@media (max-width: 1023px) {
  .hover-icon {
    display: none;
  }
}


/* 返回上一步 */
.go-back {
  position: fixed;
  left: 15px;
  bottom: 55px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(242, 92, 25, .7);
  box-shadow: 3px 3px 6px 1px rgba(0, 0, 0, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}

.go-back i {
  color: #fff;
  font-size: 20px;
}

@media (min-width: 768px) {
  .go-back {
    bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .go-back {
    left: 30px;
    width: 65px;
    height: 65px;
  }

  .go-back i {
    font-size: 30px;
  }
}


/* 回到顶部 */
.reback-btn {
  position: fixed;
  right: 15px;
  bottom: 55px;
  z-index: 100;
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: #333;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  display: none;
}

.reback-btn.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reback-btn i {
  color: var(--style-color);
  font-size: inherit;
}

@media (min-width: 768px) {
  .reback-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    right: 30px;
    bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .reback-btn {
    width: 60px;
    height: 60px;
    font-size: 30px;
    right: calc((100vw - 5px - 1140px) / 2 + 15px);
    bottom: 35px;
  }
}

@media (min-width: 1440px) {
  .reback-btn {
    right: calc((100vw - 5px - 1400px) / 2 + 15px);
  }
}

@media (min-width: 1640px) {
  .reback-btn {
    width: 70px;
    height: 70px;
    font-size: 40px;
    right: calc((100vw - 5px - 1600px) / 2 + 15px);
  }
}


/* 询盘 */
.inquiry {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  display: none;
}

.inquiry .container {
  max-width: 40rem;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.inquiry .back {
  width: 100%;
  max-height: 90%;
  background: #fff;
  border-radius: .25rem;
  padding: 1rem 2rem;
  position: relative;
  overflow: auto;
}

.inquiry .back .h3 {
  border-bottom: 1px solid #ccc;
  padding-bottom: .5rem;
  margin-top: .5rem;
  margin-bottom: 10px;
}

.inquiry .back .close {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--style-color);
  padding: 0 .5rem;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 1;
}

.inquiry .back .submit {
  text-align: right;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.inquiry .back .submit .btn {
  color: #fff;
  background: var(--style-color);
}

.inquiry .back .submit .c-btn {
  margin-right: 1rem;
}

.inquiry input::-webkit-input-placeholder,
.inquiry textarea::-webkit-input-placeholder {
  color: #999;
}

.inquiry input:-moz-placeholder,
.inquiry textarea:-moz-placeholder {
  color: #999;
}

.inquiry input::-moz-placeholder,
.inquiry textarea::-moz-placeholder {
  color: #999;
}

.inquiry input:-ms-input-placeholder,
.inquiry textarea:-ms-input-placeholder {
  color: #999;
}