/* Nexora Wishlist — uses Nexora Commerce design tokens with fallbacks. */
.nxc-wish {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	border: 0;
	background: transparent;
	color: var(--nxc-color-ink, #011933);
	cursor: pointer;
}
.nxc-wish .nxc-icon { width: 18px; height: 18px; transition: transform .2s ease, fill .2s ease; }
.nxc-wish[aria-pressed="true"] .nxc-icon { fill: var(--nxc-color-sale, #d6293e); color: var(--nxc-color-sale, #d6293e); }
.nxc-wish.is-pop .nxc-icon { animation: nxc-wish-pop .35s ease; }
@keyframes nxc-wish-pop { 50% { transform: scale(1.3); } }

/* On product cards (top-left of the image tile) */
.nxc-wish--icon { position: absolute; top: 10px; left: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(16, 24, 40, .1); }
.nxc-wish--icon:hover { background: #fff; }
.nxc-wish--icon:hover .nxc-icon { transform: scale(1.1); }

/* On product pages */
.nxc-wish-row { margin-top: var(--nxc-space-4, 1rem); padding-top: var(--nxc-space-4, 1rem); border-top: 1px solid #edf0f4; }
.nxc-wish--text { padding: .35rem 0; font-size: var(--nxc-fs-sm, .8125rem); font-weight: 600; }
.nxc-wish--text:hover { color: var(--nxc-color-primary, #0068cd); }

/* Header counter */
.nxc-header__wish { position: relative; }
.nxc-wish-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--nxc-color-sale, #d6293e); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }
.nxc-wish-count.is-empty { display: none; }
@media (max-width: 600px) { .nxc-header__wish { display: none; } }

/* Wishlist page */
.nxc-wishlist__count { margin: 0 0 var(--nxc-space-4, 1rem); color: var(--nxc-color-muted, #56637a); font-size: var(--nxc-fs-sm, .8125rem); }
.nxc-wishlist__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--nxc-space-5, 1.25rem); margin: 0; padding: 0; list-style: none; }
.nxc-wishlist__empty[hidden] { display: none; }
@media (max-width: 1024px) { .nxc-wishlist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .nxc-wishlist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
@media (prefers-reduced-motion: reduce) { .nxc-wish.is-pop .nxc-icon { animation: none; } }
