/* Statbo wishlist */

/* Heart toggle on product cards (sits over the image) */
.sb-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  color: #6b7280;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.sb-wish-btn:hover { color: #e11d48; }
.sb-wish-btn .sb-ico-heart { display: block; }
.sb-wish-btn.is-active { color: #e11d48; }
.sb-wish-btn.is-active .sb-ico-heart { fill: #e11d48; stroke: #e11d48; }
.sb-wish-btn.sb-wish-pulse { transform: scale(1.25); }

/* Single product: pill button with label */
.sb-wish-btn.sb-wish-single {
  position: static;
  width: auto;
  height: auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  gap: 8px;
  padding: 11px 16px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}
.sb-wish-btn.sb-wish-single .sb-wish-label { white-space: nowrap; }
.sb-wish-btn.sb-wish-single.is-active { border-color: #e11d48; color: #e11d48; }

/* Header wishlist link + badge */
.sb-wishlist-link {
  grid-area: wishlist;
  position: relative;
  display: flex;
  align-items: center;
  color: inherit;
}
.sb-wish-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}

/* Wishlist page */
.sb-wishlist-title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.sb-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .sb-wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .sb-wishlist-grid { grid-template-columns: repeat(5, 1fr); } }
.sb-wishlist-loading { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: #6b7280; }
.sb-wishlist-empty { padding: 48px 16px; text-align: center; color: #6b7280; }
.sb-wishlist-empty .sb-add-btn { display: inline-block; margin-top: 12px; }
