.wfs-container {
  position: fixed;
  bottom: 90px;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column-reverse; /* Toggle at bottom, list opens upward */
  align-items: center;
  gap: 8px;
  z-index: 9999;
}

.wfs-right { right: 35px; }
.wfs-left { left: 35px; }

.wfs-hide-mobile { display: none; }

@media (min-width: 640px) {
  .wfs-hide-mobile { display: flex; }
}

.wfs-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #222222;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wfs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* Toggle button */
.wfs-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--wfs-primary, #0ea5e9);
  color: #fff;
  box-shadow: 0 6px 16px var(--wfs-primary-shadow, rgba(14,165,233,0.4));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.wfs-open .wfs-toggle .wfs-toggle-icon { transform: rotate(45deg); transition: transform 0.2s ease; }

/* Ensure hidden state is respected even if themes override */
[hidden] { display: none !important; }

/* Hide list by default; show only when open */
.wfs-list {
  display: none;
  position: absolute;
  bottom: 56px; /* 48px toggle + 8px spacing */
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wfs-open .wfs-list {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Subtle stagger */
.wfs-open .wfs-list .wfs-btn { transition: transform 0.2s ease, box-shadow 0.15s ease; }
.wfs-open .wfs-list .wfs-btn:nth-child(1) { transition-delay: 0.02s; }
.wfs-open .wfs-list .wfs-btn:nth-child(2) { transition-delay: 0.04s; }
.wfs-open .wfs-list .wfs-btn:nth-child(3) { transition-delay: 0.06s; }
.wfs-open .wfs-list .wfs-btn:nth-child(4) { transition-delay: 0.08s; }
.wfs-open .wfs-list .wfs-btn:nth-child(5) { transition-delay: 0.10s; }
.wfs-open .wfs-list .wfs-btn:nth-child(6) { transition-delay: 0.12s; }

/* Brand accent colors */
.wfs-whatsapp { background: #25D366; color: #fff; }
.wfs-facebook { background: #1877F2; color: #fff; }
.wfs-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.wfs-twitter { background: #000000; color: #fff; }
.wfs-linkedin { background: #0A66C2; color: #fff; }
.wfs-tiktok { background: #111; color: #fff; }

.wfs-btn svg { width: 20px; height: 20px; display: block; }


