.share-widget {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
}

.share-btn-icon {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-dropdown {
  position: absolute;
  top: 52px; /* чуть ниже кнопки */
  right: -12px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  border: 1px solid #eee;
}

.share-widget.active .share-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.share-option {
  display: block;
  text-align: left;
  padding: 8px 12px;
  text-decoration: none;
  color: #222;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}

.share-option:hover {
  background: #f5f5f5;
}

/* Цвета соцсетей */
.share-vk { color: #0077FF; }
.share-tg { color: #2481cc; }
.share-wa { color: #25D366; }

.share-copy {
  margin-top: 6px;
  border-top: 1px solid #eee;
  color: #555;
}
.share-copy:hover { background: transparent; color: #000; }

/* Адаптив: на очень узких экранах немного уменьшим отступы */
@media (max-width: 360px) {
  .share-widget { top: 12px; right: 12px; }
  .share-btn-icon { width: 36px; height: 36px; }
}
.share-widget {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
}

.share-btn-icon {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-dropdown {
  position: absolute;
  top: 52px;
  right: -12px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  border: 1px solid #eee;
}

.share-widget.active .share-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.share-option {
  display: block;
  text-align: left;
  padding: 8px 12px;
  text-decoration: none;
  color: #222;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}

.share-option:hover {
  background: #f5f5f5;
}

.share-vk { color: #0077FF; }

.share-sms, .share-copy {
  margin-top: 6px;
  border-top: 1px solid #eee;
  color: #555;
}

.share-sms:hover, .share-copy:hover {
  background: transparent;
  color: #000;
}

@media (max-width: 360px) {
  .share-widget { top: 12px; right: 12px; }
  .share-btn-icon { width: 36px; height: 36px; }
}
.share-copy {
  margin-top: 6px;
  border-top: 1px solid #eee;
  color: #555;
  text-align: left; /* чтобы текст не «прыгал» */
}
.share-copy:hover {
  background: transparent;
  color: #000;
}
.share-header {
  font-weight: bold;
  font-size: 15px;
  color: #333;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 6px;
}


