/* Wrapper */
.floating-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

/* Floating button */
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #F28C28;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Text */
.floating-text {
  white-space: nowrap;
}

/* Hide text when expanded */
.floating-wrapper.show .floating-text {
  display: none;
}

/* Chat icon */
#floatingChat {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #F28C28;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

/* Close icon (hidden by default) */
#floatingClose {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #F28C28;
  color: #fff;
  display: none;   /* ✅ FIXED — hidden by default */
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

/* Toggle icons */
.floating-wrapper.show #floatingChat { display: none; }
.floating-wrapper.show #floatingClose { display: flex; }

/* Options wrapper */
.floating-options {
  display: flex;
  flex-direction: column;
  align-items: center;    /* ✅ Align with main button */
  gap: 12px;
  position: absolute;
  bottom: 60px;
  right: 50%;
  transform: translateX(50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Show options */
.floating-wrapper.show .floating-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
}

/* Action icons */
.float-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.float-icon.phone { background: #00ff5e; }
.float-icon.whatsapp { background: none !; }

.float-icon:hover { transform: scale(1.1); }



