/* ============================================================
   商品收藏红心按钮（桌面 .waterfall-item / 移动 .fall-card）
   ============================================================ */
.gg-fav-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 20;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, background 0.15s ease;
  padding: 0;
}
.gg-fav-btn:active { transform: scale(0.88); }
.gg-fav-btn svg { width: 17px; height: 17px; display: block; }
.gg-fav-btn .gg-heart { fill: #bbb; stroke: #fff; stroke-width: 1; transition: fill 0.15s ease; }
.gg-fav-btn.active { background: rgba(255, 255, 255, 0.95); }
.gg-fav-btn.active .gg-heart { fill: #ff3860; }
.gg-fav-btn.gg-loading { opacity: 0.6; pointer-events: none; }

/* 需要相对定位作为红心容器（不改变原有布局） */
.waterfall-item, .fall-card, .seckill-card { position: relative; }

/* 收藏列表（个人主页） */
.gg-fav-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gg-fav-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,0.05); position: relative; }
.gg-fav-card img { width: 100%; height: 160px; object-fit: cover; display: block; background: #f5f5f5; }
.gg-fav-card .gg-fc-body { padding: 8px 10px 10px; }
.gg-fav-card .gg-fc-title { font-size: 13px; color: #333; line-height: 1.4; height: 36px; overflow: hidden; }
.gg-fav-card .gg-fc-price { color: #ff5000; font-weight: 700; font-size: 16px; margin-top: 6px; }
.gg-fav-card .gg-fc-del {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  background: rgba(0,0,0,0.55); color: #fff; border: none; border-radius: 12px;
  font-size: 11px; padding: 3px 9px; cursor: pointer;
}
.gg-fav-card .gg-fc-del:active { background: rgba(0,0,0,0.75); }
.gg-fav-empty { text-align: center; color: #bbb; font-size: 13px; padding: 40px 0; }
