.favorite-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #eae2d0; color: #211e18; background: #fff;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}
.favorite-toggle-card {
  position: absolute; top: 10px; right: 10px; z-index: 35;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 20px; box-shadow: 0 2px 8px #211e1812;
}
.favorite-toggle-detail { border-radius: 999px; padding: 9px 16px; font-size: 12px; }
.favorite-toggle-detail i { font-size: 19px; }
.favorite-toggle:hover, .favorite-toggle[aria-pressed="true"] { color: #b93b48; border-color: #e6b6bc; }
.favorite-toggle[aria-pressed="true"] { background: #fff6f6; }
.favorite-toggle:disabled, [data-favorite-remove]:disabled { opacity: .55; cursor: wait; }
.favorite-toggle:focus-visible, #favoriteButton:focus-visible, #favoriteDrawer button:focus-visible, #favoriteDrawer a:focus-visible {
  outline: 2px solid #a9853f; outline-offset: 3px;
}
.favorite-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(33,30,24,.5); backdrop-filter: blur(2px); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.favorite-overlay.is-open { visibility: visible; opacity: 1; }
.favorite-drawer { position: fixed; inset: 0 0 0 auto; width: 100%; max-width: 28rem; height: 100%; height: 100dvh; z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.favorite-drawer.is-open { transform: translateX(0); visibility: visible; }
body.favorites-open { overflow: hidden; }
.favorite-item-image { width: 80px; height: 96px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
@media (max-width: 639px) {
  .favorite-header-actions { gap: 12px; }
  #siteHeader .header-main { gap: 12px; }
  #siteHeader .header-main > a > span > span:first-child { font-size: 23px; }
  .favorite-toggle-card { top: 8px; right: 8px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .favorite-toggle, .favorite-overlay, .favorite-drawer { transition: none; } }
