.sw-widget {
  position: fixed;
  left: 16px;
  bottom: 120px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.sw-widget[data-side="right"] {
  left: auto;
  right: 16px;
  align-items: flex-end;
}

.sw-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;
  cursor: pointer;
  text-decoration: none;
}

.sw-widget[data-side="right"] .sw-item {
  flex-direction: row-reverse;
}

.sw-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  animation: sw-pulse 2s infinite;
}

.sw-item:hover .sw-icon {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  animation: none;
}

.sw-label {
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.sw-widget[data-side="right"] .sw-label {
  transform: translateX(8px);
}

.sw-item:hover .sw-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes sw-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
  50%       { box-shadow: 0 2px 18px rgba(0,0,0,0.38); }
}

@media (max-width: 576px) {
  .sw-widget { left: 10px; bottom: 80px; }
  .sw-widget[data-side="right"] { left: auto; right: 10px; }
  .sw-icon { width: 40px; height: 40px; font-size: 17px; }
  .sw-label { display: none; }
}
