.floating-wpp {
  position: fixed;
  bottom: 15px;
  left: 15px;
  font-size: 14px;
  transition: bottom 0.2s;
}

.floating-wpp .floating-wpp-button {
  position: relative;
  border-radius: 50%;
  box-shadow: 1px 1px 4px rgba(60, 60, 60, 0.4);
  transition: box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}

.floating-wpp .floating-wpp-button img,
.floating-wpp .floating-wpp-button svg {
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.floating-wpp:hover {
  bottom: 17px;
}

.floating-wpp:hover .floating-wpp-button {
  box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.4);
}

.floating-wpp .floating-wpp-popup {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 320px;
  padding: 18px;
  background-color: #25d366;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(60, 60, 60, 0.22);
  cursor: pointer;
  animation: floatingWppFadeUp 0.35s ease-out both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wpp .floating-wpp-popup:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(60, 60, 60, 0.28);
}

.floating-wpp .floating-wpp-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-wpp-simple-popup {
  position: relative;
}

.floating-wpp .floating-wpp-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 56px;
  cursor: pointer;
  color: #fff;
  padding: 0;
  z-index: 10001;
  text-align: center;
}

.floating-wpp .floating-wpp-close i {
  pointer-events: none;
  color: #fff;
}

.floating-wpp .floating-wpp-close:hover {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 0 12px 0 12px;
}

.floating-wpp .floating-wpp-question {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 14px;
  padding: 0 42px 0 0;
}

.floating-wpp .floating-wpp-cta {
  width: 100%;
  border: 0;
  background-color: #f5f5f5;
  color: #444;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 18px;
  cursor: pointer;
}

.floating-wpp .floating-wpp-cta:hover {
  background-color: #fff;
}

@keyframes floatingWppFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .floating-wpp {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .floating-wpp:hover {
    bottom: 0;
  }

  .floating-wpp .floating-wpp-button {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 10000;
    display: none;
  }

  .floating-wpp .floating-wpp-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 11px 14px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -6px 18px rgba(60, 60, 60, 0.18);
    transform: translateY(100%);
  }

  .floating-wpp .floating-wpp-popup.active {
    transform: translateY(0);
  }

  .floating-wpp .floating-wpp-popup:hover {
    transform: translateY(0);
    box-shadow: 0 -6px 18px rgba(60, 60, 60, 0.18);
  }

  .floating-wpp .floating-wpp-question {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 9px;
    padding: 0 42px 0 0;
  }

  .floating-wpp .floating-wpp-cta {
    max-width: 420px;
    display: block;
    margin: 0 auto;
    font-size: 14px;
    padding: 10px 14px;
  }

  .floating-wpp .floating-wpp-close {
    width: 58px;
    height: 58px;
    line-height: 58px;
  }
}
