/* Wishlist page — uses the shared about-hero + about-page tokens */
.site-main--wishlist{font-family:'IranSans',Tahoma,Arial,sans-serif;--wl-red:#e5484d;--wl-green:#6ebe45;--wl-green-d:#4c9a2a}
.wl-page{overflow-x:clip;max-width:100%}
.wl-hero__layout{grid-template-columns:minmax(0,1fr)}
.wl-hero .about-hero__lead b{color:var(--wl-green-d);font-weight:700}
html.dark .wl-hero .about-hero__lead b{color:#9be07a}

/* --about-content already subtracts the page gutters (same as the hero, shop and blog bodies): no extra side padding here */
.wl-body{max-width:var(--about-content);margin:0 auto;padding:0 0 3rem;min-width:0}
.wl-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.wl-bar[hidden]{display:none}
.wl-bar__n{font-size:.88rem;font-weight:600;color:var(--about-muted)}
.wl-clear{height:2.3rem;padding:0 .9rem;border-radius:12px;border:1px solid var(--about-surface-border);background:var(--about-surface);color:var(--about-muted);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer;transition:color .2s,border-color .2s,background-color .2s}
.wl-clear:hover{color:var(--wl-red);border-color:rgba(229,72,77,.45);background:rgba(229,72,77,.07)}

/* cards are the shop cards (template-parts/shop/card.php); only the layout glue lives here */
.wl-grid{margin:0;padding:0}
.wl-page .shop-card.shop-reveal{opacity:1;transform:none}
.wl-page .shop-card{transition:opacity .26s,transform .26s,box-shadow .3s,border-color .3s}
.wl-page .shop-card.is-out{opacity:0;transform:scale(.93)}
/* remove heart: always a coloured heart on a white disc, also on out-of-stock cards (their cover is greyed, the heart is not) */
.shop-card .wl-rm{
  -webkit-appearance:none!important;appearance:none!important;position:absolute!important;top:.55rem!important;right:.55rem!important;left:auto!important;bottom:auto!important;inset-inline:auto!important;z-index:8;
  display:grid!important;place-items:center;box-sizing:border-box;width:2.15rem!important;height:2.15rem!important;min-width:0;padding:0!important;margin:0!important;
  border-radius:50%!important;border:0!important;background:#fff!important;color:#e5484d!important;opacity:1!important;filter:none!important;
  box-shadow:0 6px 14px -6px rgba(8,36,66,.45);cursor:pointer;transition:transform .25s cubic-bezier(.34,1.56,.64,1),background-color .2s,color .2s
}
.shop-card .wl-rm svg{display:block!important;width:18px!important;height:18px!important;fill:currentColor!important;stroke:currentColor!important;opacity:1!important}
.shop-card .wl-rm:hover{transform:scale(1.1);background:#e5484d!important;color:#fff!important}
html.dark .shop-card .wl-rm{background:#10263c!important}
html.dark .shop-card .wl-rm:hover{background:#e5484d!important}
.shop-card .wl-rm:focus-visible{outline:2px solid #6ebe45;outline-offset:2px}

.wl-btn{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:2.65rem;padding:0 1rem;border-radius:13px;border:0;font:inherit;font-size:.85rem;font-weight:700;text-decoration:none;cursor:pointer;transition:background-color .2s,transform .2s}
.wl-btn--primary{background:var(--wl-green);color:#fff}.wl-btn--primary:hover{background:#5aab38}
.wl-btn:active{transform:scale(.98)}
.wl-clear:focus-visible,.wl-btn:focus-visible,.wl-toast button:focus-visible{outline:2px solid var(--wl-green);outline-offset:2px}

.wl-skel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.wl-skel[hidden]{display:none}
.wl-skel i{display:block;aspect-ratio:1/1.55;border-radius:20px;background:linear-gradient(100deg,var(--about-surface-soft) 30%,transparent 50%,var(--about-surface-soft) 70%) var(--about-surface);background-size:200% 100%;animation:wlSh 1.2s linear infinite;border:1px solid var(--about-surface-border)}
@keyframes wlSh{to{background-position:-200% 0}}

.wl-empty{display:grid;justify-items:center;gap:.5rem;text-align:center;padding:3rem 1.5rem;border-radius:22px;background:var(--about-surface);border:1px solid var(--about-surface-border)}
.wl-empty[hidden]{display:none}
.wl-empty h2{margin:0;font-size:1.15rem;font-weight:600;color:var(--about-heading)}
.wl-empty p{margin:0 0 .8rem;max-width:28rem;color:var(--about-muted);font-size:.9rem;line-height:1.9}
.wl-empty .wl-btn{width:auto;min-width:11rem}
.wl-error,.wl-noscript{grid-column:1/-1;padding:1rem;color:var(--about-muted);text-align:center;list-style:none}
.wl-error button{border:0;background:none;color:var(--wl-green-d);font:inherit;font-weight:700;cursor:pointer;text-decoration:underline}

.wl-toast{position:fixed;z-index:80;inset-inline:0;bottom:1.2rem;margin-inline:auto;width:max-content;max-width:calc(100vw - 2rem);display:flex;align-items:center;gap:1rem;padding:.65rem .75rem .65rem 1.1rem;border-radius:14px;background:#082442;color:#fff;font-size:.86rem;box-shadow:0 18px 40px -16px rgba(0,0,0,.55);opacity:0;transform:translateY(14px);transition:opacity .22s,transform .22s}
.wl-toast[hidden]{display:none}.wl-toast.is-on{opacity:1;transform:none}
.wl-toast button{height:2rem;padding:0 .9rem;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#9be07a;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}
.wl-toast button[hidden]{display:none}

@media (max-width:960px){.wl-skel{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){
  .wl-skel{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
  .wl-skel i:nth-child(n+5){display:none}
  .wl-toast{bottom:5rem}
}
@media (prefers-reduced-motion:reduce){.wl-skel i{animation:none}}

/* links styled as buttons: global a:hover colours must not win over the button text colour */
.wl-page a.wl-btn,.wl-page a.wl-btn:visited{text-decoration:none}
.wl-page .wl-btn--primary,.wl-page .wl-btn--primary:hover,.wl-page .wl-btn--primary:focus-visible,.wl-page .wl-btn--primary:active{color:#fff}
.wl-page .wl-btn--primary:hover,.wl-page .wl-btn--primary:focus-visible{background:#5aab38}
.wl-page .wl-btn--ghost,.wl-page .wl-btn--ghost:hover{color:var(--about-heading)}
.wl-page .wl-btn--ghost:hover{border-color:rgba(110,190,69,.7)}
.wl-page .wl-btn.is-done,.wl-page .wl-btn.is-done:hover{background:#082442;color:#fff}

/* ===== remove heart v2: glass disc, soft ring, heartbeat on hover ===== */
.shop-card .wl-rm{
  top:.7rem!important;right:.7rem!important;width:2.4rem!important;height:2.4rem!important;
  background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:blur(8px) saturate(1.4);backdrop-filter:blur(8px) saturate(1.4);
  box-shadow:0 0 0 1px rgba(229,72,77,.18),0 10px 20px -10px rgba(229,72,77,.65),inset 0 1px 0 rgba(255,255,255,.9)!important;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),background .25s,color .25s,box-shadow .25s!important
}
.shop-card .wl-rm svg{width:19px!important;height:19px!important;stroke-width:1.2!important;filter:drop-shadow(0 2px 3px rgba(229,72,77,.35))}
@media (hover:hover){
  .shop-card .wl-rm:hover{
    transform:scale(1.12)!important;color:#fff!important;
    background:linear-gradient(145deg,#ff6b6f,#e5484d)!important;
    box-shadow:0 0 0 1px rgba(229,72,77,.5),0 14px 24px -10px rgba(229,72,77,.9)!important
  }
  .shop-card .wl-rm:hover svg{animation:wlRmBeat .7s ease-in-out infinite;filter:none}
}
.shop-card .wl-rm:active{transform:scale(.92)!important}
@keyframes wlRmBeat{0%,100%{transform:scale(1)}30%{transform:scale(1.18)}60%{transform:scale(.96)}}
html.dark .shop-card .wl-rm{background:rgba(16,38,60,.78)!important;box-shadow:0 0 0 1px rgba(255,123,128,.3),0 10px 20px -10px rgba(0,0,0,.8)!important}
html.dark .shop-card .wl-rm{color:#ff7b80!important}
@media (prefers-reduced-motion:reduce){.shop-card .wl-rm:hover svg{animation:none}}
