.nxt-wishlist-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
}

.nxt-wishlist-button .nxt-wishlist-icon,
.nxt-wishlist-button .nxt-wishlist-icon-filled {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nxt-wishlist-button .nxt-wishlist-icon svg,
.nxt-wishlist-button .nxt-wishlist-icon-filled svg {
  display: block;
}

.nxt-wishlist-button .nxt-wishlist-icon-filled {
  display: none;
}

.nxt-wishlist-button.is-added .nxt-wishlist-icon {
  display: none;
}

.nxt-wishlist-button.is-added .nxt-wishlist-icon-filled {
  display: inline-flex;
}

.nxt-wishlist-loader {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: none;
  animation: nxt-wishlist-spin 0.8s linear infinite;
}

.nxt-wishlist-button.is-loading .nxt-wishlist-loader {
  display: inline-block;
}

.nxt-wishlist-button.is-loading .nxt-wishlist-icon,
.nxt-wishlist-button.is-loading .nxt-wishlist-icon-filled {
  display: none;
}

@keyframes nxt-wishlist-spin {
  to {
    transform: rotate(360deg);
  }
}

.nxt-wishlist-remove {
  border: none;
  background: transparent;
  color: #d33;
  padding: 4px;
  cursor: pointer;
}

.nxt-wishlist-remove-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nxt-wishlist-remove .nxt-wishlist-loader {
  margin-left: 6px;
  display: none;
}

.nxt-wishlist-remove.is-loading .nxt-wishlist-loader {
  display: inline-block;
}

.nxt-wishlist-remove.is-loading .nxt-wishlist-remove-icon {
  display: none;
}

.nxt-wishlist-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.nxt-wishlist-table th,
.nxt-wishlist-table td {
  padding: 10px;
  border-bottom: 1px solid #e5e5e5;
}

.nxt-wishlist-product a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nxt-wishlist-actions button {
  margin-right: 6px;
}

.wishlistCount span {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wishlistCount span.is-visible {
  opacity: 1;
  transform: translateY(0);
}



