/* The heart shares the search modal; its controls stay separate from product links. */
.header-favorites-trigger[hidden]{display:none!important}
html body #topbar .header-favorites-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;margin:0;padding:6px;border:1px solid #efc9dc;border-radius:12px;background:#fff4f8;color:#cc3b78;cursor:pointer;box-shadow:0 2px 8px #cc3b7809;transition:background .18s,box-shadow .18s}
.header-favorites-trigger>.ui-symbol{width:23px;height:23px}
.favorites-count{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid var(--compact-surface,#fff);border-radius:20px;background:#c22f6c;color:white;font:700 9px/1 system-ui,sans-serif}
.favorites-nav-count{margin-left:auto;padding:1px 6px;border-radius:8px;background:#fce9f1;color:#ad255c;font:700 10px/1.6 system-ui,sans-serif}
html body.public-ui #sidebar .sb-item-favorites{display:flex;align-items:center;width:100%;text-align:left;cursor:pointer;font:inherit}
.sb-item-favorites [data-nav-tone]{color:#c43b78!important}
.favorite-toggle{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:10px;border:1px solid #e6d6df;border-radius:14px;background:#fff;color:#755a69;box-shadow:0 3px 14px #24324015;cursor:pointer;touch-action:manipulation;transition:color .18s,background .18s,border-color .18s;isolation:isolate}
.favorite-toggle>svg{display:block;width:23px;height:23px;pointer-events:none}
.favorite-toggle[aria-pressed=true]{color:#ce3574;background:#fff0f6;border-color:#f2b5cf}
.favorite-toggle[aria-pressed=true]>svg{fill:#e54c89;stroke:#d33776}
.favorite-toggle[aria-pressed=true] .ui-symbol-lines{fill:#e54c89}
.favorite-toggle--image{position:absolute!important;top:10px;left:10px;z-index:12;}
:is(.sp-card,.sc-catalog-card,.pd-hero){position:relative}
.nex-product-shell{position:relative;min-width:0;display:flex;flex-direction:column}
.nex-product-shell>.nex-product{flex:1;width:100%;min-width:0}
.nex-product-shell>.favorite-toggle{position:absolute;top:8px;right:0;z-index:1;box-shadow:none;background:var(--nex-bg,#fff);}
.navigation-explorer[data-mode=search] .nex-product-shell>.nex-product{padding-right:52px}
.navigation-explorer[data-mode=catalog] .nex-product-shell>.favorite-toggle{right:6px;top:6px;width:36px;height:36px;min-width:36px;padding:8px;border-radius:11px}
.navigation-explorer[data-mode=catalog] .nex-product-shell>.nex-product{padding-right:52px}
.navigation-explorer[data-mode=catalog] .nex-product-shell>.nex-product::after{display:none}
dialog.navigation-explorer[data-favorites=true]{--nex-blue:#c53573;--nex-tint:#fff0f6}
.navigation-explorer[data-favorites=true] .nex-heading-icon{border-color:#f1c5d8}
.navigation-explorer[data-favorites=true] .nex-search{border-color:#edb0cb;box-shadow:0 0 0 2px #d3498105}
.navigation-explorer[data-favorites=true] .nex-heading-icon>svg{fill:#e54c8926}
.favorites-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border:1px solid #f3cedf;border-radius:22px;background:#fff1f7;color:#cb3c7a}
.favorites-empty-icon>svg{width:32px;height:32px;fill:#ed6fa12b}
.favorites-empty{padding:46px 12px;line-height:1.7}
.favorites-empty>a{display:inline-flex;margin-top:15px;min-height:40px;padding:8px 15px;border-radius:10px;background:var(--nex-tint);color:var(--nex-blue);font-weight:650;text-decoration:none}
.favorite-pop{animation:favorite-heart-pop .5s cubic-bezier(.2,.8,.2,1)}
.favorite-pop::after{content:'';position:absolute;inset:-5px;border:2px solid #ec72a2;border-radius:inherit;pointer-events:none;animation:favorite-heart-ring .5s ease-out both}
.favorites-status{position:fixed!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.navigation-explorer[data-favorites=true] .nex-heading-icon{display:grid}
.navigation-explorer[data-mode=search] .nex-product-shell:last-child>.nex-product{border-bottom:0}
.favorite-toggle--detail{float:right;margin:0 0 12px 12px}
.nav-language-control{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 9px;border-top:1px solid var(--compact-line,#e8edf2);color:var(--compact-muted,#66788a);font-size:11px}
.favorites-nav-icon{color:#c53573!important}
:is(.favorite-toggle,.header-favorites-trigger,.sb-item-favorites):focus-visible{outline:3px solid #ce4a84;outline-offset:3px}
@media(hover:hover){.favorite-toggle:hover,.header-favorites-trigger:hover{color:#c22f6c!important;background:#fff0f6!important;border-color:#edb0cb!important}}
html.site-dark .favorite-toggle,html.site-dark #topbar .header-favorites-trigger{background:#302337;color:#efafd0;border-color:#62405a}
html.site-dark .favorite-toggle[aria-pressed=true]{background:#45253b;color:#ff91bf}
html.site-dark dialog.navigation-explorer[data-favorites=true]{--nex-blue:#ff9bc4;--nex-tint:#3a2638}
html.site-dark .favorites-empty-icon{background:#3a2638;border-color:#62405a;color:#ff9bc4}
@media(max-width:760px){html body #topbar .header-favorites-trigger{width:32px;height:32px;min-width:32px;flex-basis:32px;border-radius:10px;padding:5px}.favorite-toggle--image{top:7px;left:7px;width:38px;height:38px;min-width:38px;padding:8px;border-radius:12px}}
@keyframes favorite-heart-pop{0%,100%{transform:scale(1)}35%{transform:scale(1.17)}65%{transform:scale(.94)}}
@keyframes favorite-heart-ring{from{opacity:.7;transform:scale(.8)}to{opacity:0;transform:scale(1.5)}}
@media(prefers-reduced-motion:reduce){.favorite-pop,.favorite-pop::after{animation:none!important}.favorite-toggle,.header-favorites-trigger{transition:none!important}}
