/* Custom Social Share Buttons */
/* Always show for now - for testing */
.custom-share {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.custom-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
}

.custom-share-btn:hover {
  transform: translateY(-3px);
}

.custom-share-btn .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: box-shadow 0.2s ease;
}

.custom-share-btn:hover .icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-share-btn .label {
  font-size: 0.75rem;
  color: #666;
}

/* Instagram - gradient */
.custom-share-btn.instagram .icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* WhatsApp - green */
.custom-share-btn.whatsapp .icon {
  background: #25D366;
}

/* WeChat - green */
.custom-share-btn.wechat .icon {
  background: #07C160;
}

/* QR Code Popup */
.share-popup {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.custom-share-btn:hover .share-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.share-popup img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.share-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

/* WeChat ID tooltip */
.wechat-id {
  font-size: 0.85rem;
  color: #333;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  background: #fff;
  border-radius: 8px;
}
