.card{position:relative}
.card>.lm-favorite{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:1px solid #d7e5da;background:#fff;color:#195b3c;border-radius:10px;z-index:3;box-shadow:0 2px 6px #153d3718}
.grid>.card:has(.lm-compare-icon)>.lm-favorite{top:58px}
.lm-favorite svg,.lm-header-favorites svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lm-favorite[aria-pressed=true]{background:#edf5e7;color:#17633c;border-color:#87b46e}
.lm-favorite[aria-pressed=true] svg{fill:#17633c;stroke:#17633c}
.lm-favorite:hover{background:#edf5e7}
.lm-favorite-detail{display:inline-flex;vertical-align:middle;gap:8px;margin:10px 0 10px 12px;padding:10px 14px;background:white;color:#195b3c;border:1px solid #d7e5da;min-height:44px}
.lm-header-favorites{position:relative;min-width:30px;min-height:44px;justify-content:center}
#lm-favorite-count{position:absolute;top:0;right:-10px;border-radius:20px;background:#dcecbf;color:#164b30;padding:1px 5px;font-size:10px;line-height:1.5}
.lm-favorites-page h1{margin-top:14px}
.lm-favorites-page>.grid{margin-top:24px;grid-template-columns:repeat(4,minmax(0,1fr))}
.lm-favorite-unavailable{padding:65px 20px 20px}
.lm-favorites-browse{display:inline-flex;background:#005432;color:white;border-radius:10px;padding:12px 20px}
@media(max-width:1050px){.lm-favorites-page>.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.lm-favorites-page>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header nav{gap:14px}.lm-favorite-detail{margin-left:0}.lm-favorites-page h1{font-size:30px}}
