/* Favoritos — recetas, blog y Mi panel */
.cg-favorite-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 20, 0.14);
  background: rgba(255, 253, 248, 0.96);
  color: #174c36;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(9, 39, 26, 0.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.cg-favorite-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 87, 0.35);
}

.cg-favorite-toggle.is-saved {
  background: #123f2d;
  color: #fffdf8;
  border-color: rgba(255, 255, 255, 0.12);
}

.cg-favorite-toggle .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  pointer-events: none;
}

.cg-favorite-toggle.is-saved .icon path {
  fill: currentColor;
}

.cg-favorite-toggle--card {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 12;
  width: 44px;
  height: 44px;
}

.cg-content-save-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 16px;
}

.cg-favorite-toggle--detail {
  position: static;
}

.blog-article-shell > .cg-content-save-bar {
  margin-top: -4px;
  margin-bottom: 20px;
}

.detail-card .cg-content-save-bar {
  margin-bottom: 14px;
}

.recipe-card,
.blog-card-wrap,
.article-card-wrap,
.editorial-feature-card,
.recipe-spotlight-card {
  position: relative;
}

.recipe-card {
  overflow: visible !important;
}

.recipe-card > a {
  border-radius: inherit;
}

.cg-favorites-empty {
  margin: 0;
  color: #627266;
  line-height: 1.55;
}
