
.widget {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1000;
}

/* ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ (ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½) */
.widget-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3b8552;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.widget-button img {
    width: 28px;
    height: 28px;
    display: block;
}

.widget-button.active {
    background-color: #3b8552;
    transform: rotate(135deg);
}

.widget-icons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.widget-icons.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.widget-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-label {
    background: rgb(235 235 235);
    color: #333;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.widget-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s;
}

.widget-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.widget-icon.phone {
    background: #007bff;
}

.widget-icon.form {
    background: #ff9800;
}

.widget-icon.telegram {
    background: #37aee2;
}

.widget-icon.vk {
    background: #0077ff;
}

.widget-icon.max {
    background: #000000;
}

.widget-icon:hover {
    transform: scale(1.05);
}


/* 2) ï¿½ï¿½ï¿½ï¿½ï¿½ + ï¿½ï¿½ï¿½ï¿½ï¿½ */
@keyframes ripple {
    to {
      transform: translate(-50%, -50%) scale(2.5);
      opacity: 0;
    }
  }

@keyframes vibrate {
    0%, 100% {
      transform: translate(0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
      transform: translate(-2px, -2px);
    }
    20%, 40%, 60%, 80% {
      transform: translate(2px, 2px);
    }
  }
  
  .widget-button {
    position: relative;      /* ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½-ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ */
    overflow: visible;       /* ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ */
    z-index: 1;
  
    width: 60px;
    height: 60px;
    background: #00bc3b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
    /* ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ */
    animation: vibrate 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
  }
  
  .widget-button::before,
  .widget-button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;    /* ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ */
    height: 100%;
    background-color: #00bc3b; /* ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;             /* ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ */
    pointer-events: none;     /* ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ */
    animation: ripple 2s infinite ease-out;
  }
  
  .widget-button::after {
    animation-delay: 1s;      /* ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ */
  }
  @media (min-width: 769px) {
    .widget-icon.phone, .widget-label.phone {
        display: none;
    }
}
