@media (hover: hover) {
  .phones-widget {
    display: none !important;
  }
}
.phones-widget {
  position: fixed;
  z-index: 810;
  right: 15px;
  bottom: 70px;
  -webkit-user-select: none;
          user-select: none;
}
.phones-widget.active .phones-widget__modal {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0) scale(1, 1);
}
.phones-widget.active .phones-widget__rings {
  display: none;
}
.phones-widget.active .phones-widget__phone {
  display: none;
}
.phones-widget.active .phones-widget__x {
  display: block;
}

.phones-widget__x {
  display: none;
}

.phones-widget__button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #008aff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
  position: relative;
  z-index: 2;
}
.phones-widget__button svg {
  width: 23px;
  height: 23px;
  transform: scale(-1, 1);
}
.phones-widget__button .phones-widget__x {
  width: 30px;
  height: 30px;
}

.phones-widget__modal {
  width: 260px;
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  padding: 30px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  color: #444444;
  text-align: center;
  font-weight: 600;
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
  transform-origin: right bottom;
  transform: translate(0, 60px) scale(0.5);
  z-index: 1;
}

.phones-widget__title {
  max-width: 165px;
  margin: 0 auto 13px;
}

.phones-widget__list li {
  margin-bottom: 10px;
}
.phones-widget__list li:last-child {
  margin-bottom: 0;
}
.phones-widget__list li a {
  color: #444444;
  height: 30px;
  background: #e5f3ff;
  display: flex;
  align-items: center;
  border-radius: 30px;
  white-space: nowrap;
  padding: 0 12px;
}
.phones-widget__list li a svg {
  transform: scale(-1, 1);
  width: 15px;
  height: 15px;
  margin-right: 15px;
}

.phones-widget__rings {
  border: 1px solid #008aff;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: auto;
  width: auto;
  border-radius: 50%;
  animation-duration: 2s;
  animation-name: pulse_1;
  animation-iteration-count: infinite;
  z-index: -1;
}

.phones-widget__rings:nth-child(2) {
  animation-name: pulse_2;
}

.phones-widget__rings:nth-child(3) {
  animation-name: pulse_3;
}

@keyframes pulse_1 {
  from {
    opacity: 1;
    transform: scale(0.9, 0.9);
  }
  to {
    opacity: 0;
    transform: scale(1.3, 1.3);
  }
}
@keyframes pulse_2 {
  from {
    opacity: 1;
    transform: scale(0.8, 0.8);
  }
  to {
    opacity: 0;
    transform: scale(1.5, 1.5);
  }
}
@keyframes pulse_3 {
  from {
    opacity: 1;
    transform: scale(0.8, 0.8);
  }
  to {
    opacity: 0;
    transform: scale(1.7, 1.7);
  }
}