/* LTV Yêu thích. Màu theo --an-heart / --an-primary của theme. */
.ltv-wl { --h: var(--an-heart, #e11d48); display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #475569; text-decoration: none; cursor: pointer; }
.ltv-wl svg { fill: transparent; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; transition: transform .15s, fill .15s; }
.ltv-wl:hover { color: var(--h); }
.ltv-wl.is-on { color: var(--h); }
.ltv-wl.is-on svg { fill: var(--h); }
.ltv-wl.is-busy { opacity: .6; pointer-events: none; }
.ltv-wl:active svg { transform: scale(.85); }

/* Nút tròn góc ảnh trên thẻ sản phẩm */
li.product { position: relative; }
.ltv-wl--icon { position: absolute; z-index: 3; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 10px rgba(15, 23, 42, .15); }
.ltv-wl-list .ltv-wl--icon, .ltv-wl--inline { position: static; box-shadow: none; }

/* Nút chữ trên trang sản phẩm */
.ltv-wl-single { margin: 12px 0; }
.ltv-wl--full { min-height: 42px; padding: 0 16px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; }
.ltv-wl--full:hover, .ltv-wl--full.is-on { border-color: var(--h); }

.ltv-wl-empty { max-width: 420px; margin: 24px auto; padding: 32px 20px; text-align: center; }
.ltv-wl-empty svg { fill: #fee2e2; stroke: #e11d48; stroke-width: 1.5; }
.ltv-wl-empty h3 { margin: 12px 0 6px; }
.ltv-wl-empty p { color: #64748b; }
.ltv-wl-note { padding: 10px 14px; background: #f8fafc; border-radius: 10px; color: #475569; font-size: 14px; }
.ltv-wl-list { margin: 0; padding: 0; list-style: none; }
.ltv-wl-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f7; }

.ltv-wl-toast { position: fixed; z-index: 99999; left: 50%; bottom: 24px; padding: 12px 18px; background: #0f172a; border-radius: 12px; color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: translate(-50%, 20px); opacity: 0; transition: transform .25s, opacity .25s; max-width: calc(100% - 32px); }
.ltv-wl-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.ltv-wl-toast a { color: #fde68a; font-weight: 600; }
