/* === Кнопка "Поделиться" для страницы рецепта (blog) === */
.pb-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* Скрываем старый sharethis на странице блога */
.node-blog .sharethis-container {
  display: none !important;
}

.pb-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid #aaa;
  background: transparent;
  color: #555;
  font-size: 0.9em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.pb-share__btn:hover {
  border-color: #888;
  color: #333;
}
.pb-share__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pb-share__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}
.pb-share__icons.is-open {
  max-width: 300px;
  opacity: 1;
}

.pb-share__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #aaa;
  color: #555;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pb-share__icon:hover {
  border-color: #555;
  color: #333;
  background: #f5f5f5;
}
.pb-share__icon svg {
  width: 18px;
  height: 18px;
}

/* Выравнивание в ряд с лайками */
.fivestar-wrapper.fb-block ~ .pb-share {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  vertical-align: middle;
}
