/* Slick Floating Share Styles */
:root {
  --sfs-accent: #111827;
  --sfs-offset-x: 24px;
  --sfs-offset-y: 24px;
}

.sfs-widget {
  position: fixed;
  bottom: var(--sfs-offset-y);
  z-index: -2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sfs-pos-bottom-right {
  right: var(--sfs-offset-x);
  align-items: flex-end;
}
.sfs-widget.is-open {
    z-index: 2333333;
}
.sfs-pos-bottom-left {
  left: var(--sfs-offset-x);
  align-items: flex-start;
}

/* Floating Action Button */
.sfs-trigger {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sfs-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  padding: 0;
}

.sfs-trigger:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.3), 0 10px 15px -6px rgba(0, 0, 0, 0.2);
}

.sfs-trigger:active {
  transform: scale(0.96);
}

.sfs-trigger svg {
  width: 22px;
  height: 22px;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sfs-trigger .sfs-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.sfs-widget.is-open .sfs-trigger .sfs-icon-share {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.sfs-widget.is-open .sfs-trigger .sfs-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Popover Menu */
.sfs-menu {
  width: 230px;
  border-radius: 18px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -2;
}

.sfs-pos-bottom-right .sfs-menu {
  transform-origin: bottom right;
}

.sfs-pos-bottom-left .sfs-menu {
  transform-origin: bottom left;
}

.sfs-widget.is-open .sfs-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 2;
}

/* Themes */
.sfs-theme-glass-light .sfs-menu {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  color: #1f2937;
}

.sfs-theme-glass-dark .sfs-menu {
  background: rgba(24, 24, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.45);
  color: #f4f4f5;
}

.sfs-menu-header {
  padding: 6px 10px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.sfs-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sfs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  text-align: left;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.sfs-theme-glass-light .sfs-item:hover {
  background: rgba(0, 0, 0, 0.055);
}

.sfs-theme-glass-dark .sfs-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sfs-item:active {
  transform: scale(0.98);
}

.sfs-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.sfs-icon svg {
  width: 16px;
  height: 16px;
}

/* Brand Colors */
.sfs-bg-whatsapp { background: #25D366; }
.sfs-bg-facebook { background: #1877F2; }
.sfs-bg-x        { background: #0f1419; }
.sfs-bg-sms      { background: #10B981; }
.sfs-bg-email    { background: #6366F1; }
.sfs-bg-native   { background: #EC4899; }
.sfs-bg-copy     { background: #64748B; }
