.favorites-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--avs-border-strong, #c8d9e8);
  border-radius: 12px;
  color: #12364e;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  position: relative;
  text-decoration: none;
}
.favorites-header-heart { font-size: 23px; line-height: 1; }
.favorites-count {
  background: #eaf3f9;
  border-radius: 999px;
  font-size: 11px;
  line-height: 20px;
  min-width: 20px;
  padding: 0 4px;
  text-align: center;
}
.favorites-toggle:hover { border-color: #149bd7; background: #f5faff; }
.favorites-toggle:focus-visible,
.favorites-drawer :is(button, a):focus-visible { outline: 3px solid #149bd7; outline-offset: 3px; }
.product-card-wishlist, .wishlist-toggle { transition: color 180ms ease, background 180ms ease; }
.product-card-wishlist.active, .wishlist-toggle.active { color: #075f9d; background: #e5f4fc; }
body.favorites-open { overflow: hidden; }
.favorites-drawer {
  background: #fff;
  border: 0;
  border-left: 1px solid #dce8f2;
  box-shadow: -16px 0 60px #09283d26;
  color: #0f2232;
  height: 100dvh;
  inset: 0 0 0 auto;
  margin: 0;
  max-height: 100dvh;
  max-width: 100vw;
  overflow: hidden;
  padding: 0;
  width: 490px;
}
.favorites-drawer[open] { display: flex; flex-direction: column; }
.favorites-drawer::backdrop { background: #061b2d80; }
.favorites-heading { display: flex; flex-shrink: 0; justify-content: space-between; gap: 12px; padding: 26px 24px 18px; }
.favorites-heading .eyebrow { color: #075f9d; font-size: 10px; letter-spacing: .12em; margin: 0 0 9px; }
.favorites-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 8px; }
.favorites-heading [data-favorites-summary] { color: #586879; font-size: 14px; margin: 0; }
.favorites-close { align-self: flex-start; background: #f0f6fa; border: 1px solid #dce8f2; border-radius: 50%; color: #12364e; cursor: pointer; font-size: 27px; height: 44px; width: 44px; }
.favorites-toolbar { align-items: center; background: #f7fbfe; border-block: 1px solid #e4edf4; display: flex; flex-shrink: 0; font-size: 12px; gap: 12px; justify-content: space-between; padding: 4px 24px; }
.favorites-toolbar span { color: #526779; }
.favorites-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px max(24px, env(safe-area-inset-bottom)); }
.favorite-item { border-bottom: 1px solid #e4edf4; display: grid; gap: 16px; grid-template-columns: 92px minmax(0, 1fr); padding: 22px 0; }
.favorite-image { align-self: start; background: #f5f8fb; border: 1px solid #e4edf4; border-radius: 12px; cursor: pointer; overflow: hidden; padding: 8px; }
.favorite-image img { display: block; height: 110px; object-fit: contain; width: 100%; }
.favorite-info h3 { line-height: 1.4; margin: 0 0 6px; }
.favorite-info h3 button { background: none; border: 0; color: #0f2232; cursor: pointer; font: inherit; font-size: 15px; font-weight: 750; min-height: 44px; padding: 0; text-align: left; }
.favorite-price { color: #0b324e; font-size: 17px; font-weight: 800; margin: 0 0 5px; }
.favorite-stock { color: #237354; font-size: 12px; margin: 0 0 12px; }
.favorite-stock.unavailable { color: #805e37; }
.favorite-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.favorite-actions .btn { font-size: 11px; min-height: 44px; padding: 10px 12px; }
.favorite-actions .btn:disabled { cursor: not-allowed; opacity: .5; }
.favorites-remove { background: none; border: 0; color: #526779; cursor: pointer; font: inherit; font-size: 12px; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.favorite-item-unavailable { grid-template-columns: 1fr; }
.favorite-item-unavailable h3 { font-size: 16px; margin: 0 0 8px; }
.favorite-item-unavailable p { color: #586879; font-size: 14px; }
.favorites-empty { align-items: center; display: flex; flex-direction: column; padding: 54px 8px; text-align: center; }
.favorites-empty > span { background: #eef7fd; border-radius: 50%; color: #075f9d; font-size: 48px; height: 88px; line-height: 88px; margin-bottom: 24px; width: 88px; }
.favorites-empty h3 { font-size: 22px; margin: 0 0 12px; }
.favorites-empty p { color: #586879; font-size: 14px; line-height: 1.7; margin: 0 0 24px; max-width: 270px; }
.favorites-text-link { color: #075f9d; font-size: 13px; min-height: 44px; padding: 14px; }
.favorites-loading { color: #586879; padding: 24px 0; }
.favorites-confirm { background: #f0f7fc; border-bottom: 1px solid #dce8f2; padding: 16px 24px; }
.favorites-confirm p { font-size: 14px; margin: 0 0 12px; }
.favorites-confirm .btn { font-size: 12px; min-height: 44px; margin: 0 6px 6px 0; }
.favorites-drawer [hidden] { display: none !important; }
@media (max-width: 1200px) { .favorites-label { display: none; } }
@media (max-width: 768px) {
  .favorites-toggle { height: 42px; justify-content: center; min-height: 42px; min-width: 42px; padding: 0; width: 42px; }
  .favorites-count { font-size: 10px; line-height: 18px; min-width: 18px; position: absolute; right: -3px; top: -6px; }
}
@media (max-width: 480px) {
  .favorites-toggle { height: 40px; min-height: 40px; min-width: 40px; width: 40px; }
  .favorites-drawer { width: 100%; }
  .favorites-heading { padding: 22px 16px 16px; }
  .favorites-toolbar { padding-inline: 16px; }
  .favorites-list { padding-inline: 16px; }
  .favorite-item { gap: 12px; grid-template-columns: 76px minmax(0, 1fr); }
  .favorite-image img { height: 96px; }
  .favorite-actions { gap: 6px; }
  .favorite-actions .btn { font-size: 10px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .product-card-wishlist, .wishlist-toggle { transition: none; } }
