
.gradient-btn {
  background: radial-gradient( #FFB1BD, #f24d68);
  background-size: 400% 400%;
	animation: gradient 3s ease infinite alternate;
  position: relative;
}

.gradient-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  border-radius: 29px;
  z-index: 0;
}
.gradient-btn.red::before {
  background: #f24d68;
}
.gradient-btn.grey::before {
  background: #f3f5f7;
  border: 1px solid #f3f5f7;
}
.gradient-btn.blue::before {
  background: #65befe;
}
.gradient-btn.violet::before {
  background: #8d4ae5;
}
.gradient-btn:hover::before {
  opacity: 1;
}
.gradient-btn > * {
  position: relative;
  z-index: 1;
}

.fixed-buttons {
  position: fixed;
  left: 0;
  bottom: 35px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
  z-index:9999;
}
.fixed-button,
.multisocial-link {
  border-radius: 30px;
  width: 60px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  outline: none;
}

.fixed-button.chat {
  box-shadow: 0px 4px 13px #0000000d;
  width: 101px;
  height: 60px;
}

.button-chat-text {
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s ease-in-out;;
}

@media screen and (min-width: 769px) {
  .fixed-button.chat:hover .button-chat-text  {
    color: #F24D68;
  }
  
  .fixed-button.chat:hover .open-chat-svg path {
    fill: #F24D68;
  }
}


.fixed-button.chat.active::before {
  opacity: 1;
}

.fixed-button.chat.active .button-chat-text {
  color: #5A688E;
}

.fixed-button.chat .svg-container {
  width: 32px;
  aspect-ratio: 1/1;
  display: block;
  position: relative;
}
.fixed-button.chat .svg-container svg {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease-in-out;
}

.fixed-button.chat .close-chat-svg {
  opacity: 0;
}
.fixed-button.chat.active .close-chat-svg {
  opacity: 1;
}

.fixed-button.chat.active .open-chat-svg {
  opacity: 0;
}

.multisocial {
  position: relative;
}
.multisocial .fixed-button svg,
.multisocial .fixed-button svg path {
  transition: fill 0.2s ease-in-out;
}
.multisocial:hover .fixed-button::before {
  opacity: 1;
}
.multisocial:hover .fixed-button svg path {
  fill: #5a688e;
}
.multisocial .fixed-button svg {
  transition: transform 0.2s ease-in-out;
}
.multisocial:hover .fixed-button svg {
  transform: rotate(45deg);
  fill: #5a688e;
}

.multisocial-container {
  position: absolute;
  bottom: 60px;
  padding-bottom: 16px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}
.multisocial:hover .multisocial-container {
  opacity: 1;
  pointer-events: all;
}
.multisocial-link {
  transition: all 0.2s ease-in-out;
}
.multisocial-link.vk {
  background-color: #0077ff;
}
.multisocial-link.vk:hover {
  background-color: #0062d2;
}
.multisocial-link.tg {
  background: radial-gradient(circle at bottom left, #43a0d8, #65befe);
}

.multisocial-link.max {
  background: radial-gradient(circle at bottom left, #4bc3fd, #8d4ae5);
}

@media screen and (max-width: 768px) {
  .multisocial {
    display: none;
  }
  .fixed-button, .fixed-button.chat,
  .multisocial-link {
    width: 56px;
    height: 56px;
  }
  .button-chat-text {
    display: none;
  }
  .fixed-button.chat:hover::before {
    opacity: 0;
  }
}

.b24-widget-button-position-bottom-left.b24-widget-button-wrapper, .bx-livechat-control-box-active {
  display: none;
}

.bx-livechat-position-bottom-left.bx-livechat-wrapper {
  bottom: 90px;
  left: 135px;
}

@media screen and (max-width: 768px) {
  .bx-livechat-position-bottom-left.bx-livechat-wrapper {
    bottom: 0;
    left: 0;
    width: 100dvw !important;
    height: 100dvh !important;
  }
  .bx-livechat-position-bottom-left.bx-livechat-wrapper .bx-livechat-box {
    border-radius: 0;
  }
}


@keyframes gradient {
	 0% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0%, 100%;
  }
}