.share-fab {
  position: fixed;
  right: 34px;
  bottom: 98px;
  z-index: 998;
}
 
.share-fab-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: white;
  color: #667eea;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.share-fab-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-3px);
}
 
.share-menu {
  position: absolute;
  right: 0;
  bottom: 54px;
  min-width: 180px;
  background: white;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}
.share-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
 
.share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.share-item:hover { background: #f3f4f6; }
.share-item i { font-size: 18px; width: 20px; }
 
/* Điện thoại: nút chia sẻ dính sát mép phải, nằm ngay trên nút AI */
@media (max-width: 767px) {
  .share-fab {
    right: env(safe-area-inset-right, 0px);
    /* 24px (cách đáy) + 52px (nút AI) + 10px (khe hở giữa hai nút) */
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
 
  .share-fab-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px 0 0 22px;
    box-shadow: -3px 4px 14px rgba(0, 0, 0, 0.2);
  }
 
  .share-fab-btn:hover { transform: none; }
  .share-menu { right: 8px; }
}
 