.fav-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 12, 0.26);
  color: rgba(244, 242, 237, 0.50);
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0.92;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.fav-toggle:hover {
  transform: translateY(-1px) scale(1.015);
  color: rgba(244, 242, 237, 0.74);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(14, 14, 16, 0.40);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.fav-toggle:active {
  transform: scale(0.97);
}

.fav-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(244, 242, 237, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fav-toggle.is-fav,
.fav-toggle[aria-pressed="true"] {
  color: rgba(244, 242, 237, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.10), rgba(18, 18, 20, 0.56) 72%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    0 0 14px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fav-toggle-icon {
  display: block;
  font-size: 18px;
  line-height: 1;
  transform: translateY(1px);
  transition:
    transform 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease;
}

.fav-toggle.is-fav .fav-toggle-icon,
.fav-toggle[aria-pressed="true"] .fav-toggle-icon {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
}

.fav-toggle:not([data-id]),
.fav-toggle[data-id=""] {
  opacity: 0.48;
  pointer-events: none;
}

.card .fav-toggle,
.product-card .fav-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
}

.product-card {
  position: relative;
}

.product-card .product-hit {
  position: relative;
  z-index: 1;
}

.item-actions .fav-toggle {
  position: static;
  flex: 0 0 38px;
}

