.bswco-button {
  position: fixed;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  background: var(--bswco-bg, #25D366);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  z-index: 99998;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.25s ease;
  opacity: 0;
  visibility: hidden;
}

.bswco-button.is-visible {
  opacity: 1;
  visibility: visible;
}

.bswco-button:hover,
.bswco-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  color: #fff;
  text-decoration: none;
}

.bswco-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.bswco-pos-right { right: 24px; }
.bswco-pos-left  { left: 24px; }

.bswco-icon {
  flex-shrink: 0;
  display: block;
}

.bswco-label {
  white-space: nowrap;
}

.bswco-inline {
  display: inline-block;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.bswco-inline:hover,
.bswco-inline:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

@media (max-width: 600px) {
  .bswco-button {
    bottom: 16px;
    padding: 10px 16px 10px 12px;
    font-size: 14px;
  }
  .bswco-pos-right { right: 16px; }
  .bswco-pos-left  { left: 16px; }
  .bswco-hide-mobile { display: none !important; }
}

@media (min-width: 601px) {
  .bswco-hide-desktop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bswco-button {
    transition: opacity 0.25s ease;
  }
  .bswco-button:hover,
  .bswco-button:focus {
    transform: none;
  }
}
