/* Woow Mode favourites, every page: the heart toggle, the header heart with its count, the toast, the flying heart.
   Colours are the v2 tokens (terra heart, cream disc, wine toast; no green). Motion only on a tap and only transform/opacity; reduced motion = colour change only. */
.na-fav{--fav-on:var(--na-terra,#B04A30);position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(247,240,225,.92);color:var(--na-ink,#15171A);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform .16s var(--na-ease,cubic-bezier(.23,1,.32,1)),background-color .2s,opacity .25s}
html:not(.na-fav-js) .na-fav{opacity:0;pointer-events:none}
.na-fav:active{transform:scale(.88)}
.na-fav:focus-visible{outline:2px solid var(--na-accent,#A02812);outline-offset:3px}
.na-fav__svg{width:22px;height:22px;overflow:visible;transform-origin:50% 55%}
.na-fav__line{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.na-fav__fill{fill:var(--fav-on);transform-origin:12px 12.5px;transform:scale(.35);opacity:0}
.na-fav.is-on .na-fav__fill{transform:scale(1);opacity:1}
.na-fav.is-on .na-fav__line{stroke:var(--fav-on)}
.na-fav.is-pop .na-fav__fill{transition:transform .42s cubic-bezier(.34,1.56,.64,1),opacity .12s}
.na-fav.is-pop .na-fav__svg{animation:na-fav-pop .52s cubic-bezier(.34,1.56,.64,1)}
@keyframes na-fav-pop{0%{transform:scale(.72)}42%{transform:scale(1.34)}100%{transform:scale(1)}}
@media (hover:hover) and (pointer:fine){.na-fav:hover{background:var(--na-cream,#F7F0E1);transform:scale(1.07)}.na-fav:hover .na-fav__line{stroke:var(--fav-on)}.na-fav:active{transform:scale(.9)}}

/* spark burst + ring (created on the tap, removed after .7 s) */
.na-fav__burst{position:absolute;inset:0;pointer-events:none}
.na-fav__burst i{position:absolute;left:50%;top:50%;width:4px;height:10px;margin:-5px 0 0 -2px;border-radius:4px;background:var(--c);opacity:0;animation:na-fav-spark .7s cubic-bezier(.23,1,.32,1) forwards}
@keyframes na-fav-spark{0%{opacity:1;transform:rotate(var(--a)) translateY(-12px) scaleY(.7)}60%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateY(-34px) scaleY(.25)}}
.na-fav__burst b{position:absolute;inset:4px;border:2.5px solid var(--fav-on);border-radius:50%;opacity:0;animation:na-fav-ring .55s cubic-bezier(.23,1,.32,1) forwards}
@keyframes na-fav-ring{0%{opacity:.85;transform:scale(.5)}100%{opacity:0;transform:scale(1.6)}}

/* on a card: top right of the photo (the quick-add "+" sits bottom right) */
.na-fav--card{position:absolute;top:10px;right:10px;z-index:7}
li.product .na-badge--sale~.na-badge--new{left:10px;right:auto;top:44px}
@media (max-width:399.98px){li.product .na-badge{left:8px;top:8px;min-height:24px;padding:0 8px;font-size:.6875rem}li.product .na-badge--sale~.na-badge--new{left:8px;top:40px}.na-fav--card{top:8px;right:8px}} /* 360 px cards are 154 px wide: badge + heart must not touch */ /* the "Nieuw" badge used to move to the top right when a sale badge was there: that corner is the heart's */
.wc-block-grid__product{position:relative}
.wc-block-grid__product .na-fav--card{top:10px;right:10px}

/* product page: next to the title */
.na-pdp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.na-pdp-head>.product_title{flex:1;min-width:0}
.na-fav--pdp{width:48px;height:48px;margin-top:2px;border:1.5px solid var(--na-ink,#15171A);background:transparent}
.na-fav--pdp .na-fav__svg{width:24px;height:24px}
@media (hover:hover) and (pointer:fine){.na-fav--pdp:hover{background:var(--na-blush,#F3C6BC)}}

/* header heart */
.na-fav-link{position:relative}
.na-fav-link svg path{transition:fill .25s var(--na-ease,cubic-bezier(.23,1,.32,1)),stroke .25s}
.na-fav-link.has-items svg path{fill:var(--na-terra,#B04A30);stroke:var(--na-terra,#B04A30)}
.na-fav-count{position:absolute;top:4px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--na-terra,#B04A30);color:var(--na-cream,#F7F0E1);font:600 .6875rem/18px var(--na-font-body,inherit);text-align:center;pointer-events:none}
.na-fav-count[data-count="0"]{display:none}
.na-fav-link.is-bump svg{animation:na-fav-bump .55s cubic-bezier(.34,1.56,.64,1)}
.na-fav-link.is-bump .na-fav-count{animation:na-fav-bump .55s cubic-bezier(.34,1.56,.64,1)}
@keyframes na-fav-bump{0%{transform:scale(1)}40%{transform:scale(1.32)}100%{transform:scale(1)}}

/* the heart that flies from the tapped card to the header */
.na-fav-fly{position:fixed;z-index:130;width:22px;height:22px;pointer-events:none;will-change:transform}
.na-fav-fly svg{display:block;width:22px;height:22px;fill:var(--na-terra,#B04A30)}

/* toast */
.na-fav-toast{position:fixed;left:50%;width:max-content;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:125;display:flex;align-items:center;gap:14px;max-width:min(92vw,440px);box-sizing:border-box;padding:8px 8px 8px 20px;border-radius:99px;background:var(--na-wine,#3B1020);color:var(--na-cream,#F7F0E1);font:500 .875rem/1.3 var(--na-font-body,inherit);box-shadow:0 12px 32px rgba(21,23,26,.28);opacity:0;visibility:hidden;transform:translate(-50%,14px) scale(.97);transition:transform .32s var(--na-ease,cubic-bezier(.23,1,.32,1)),opacity .22s,visibility 0s .32s;pointer-events:none}
.na-fav-toast.is-in{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1);transition-delay:0s;pointer-events:auto}
.na-fav-toast.is-hide{transition-duration:.2s}
.na-fav-toast__act{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:0;border-radius:99px;background:var(--na-apricot,#F2A865);color:var(--na-ink,#15171A);font:700 .8125rem/1 var(--na-font-body,inherit);text-decoration:none;cursor:pointer;white-space:nowrap;transition:transform .16s var(--na-ease,cubic-bezier(.23,1,.32,1))}
.na-fav-toast__act:active{transform:scale(.95)}
.na-fav-toast__act:focus-visible{outline:2px solid var(--na-cream,#F7F0E1);outline-offset:2px}
@media (max-width:767.98px){body.single-product .na-fav-toast{bottom:calc(92px + env(safe-area-inset-bottom,0px))}}

@media (prefers-reduced-motion:reduce){
  .na-fav,.na-fav-toast{transition:opacity .2s,background-color .2s}
  .na-fav__fill{transition:none}
  .na-fav.is-pop .na-fav__svg,.na-fav-link.is-bump svg,.na-fav-link.is-bump .na-fav-count{animation:none}
  .na-fav-toast{transform:translate(-50%,0)}
}
