/* Favourites: the ♡ on product cards and the product page, and /favourites. */
.fav-host { position: relative; }
.fav-heart {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .94); color: #1d2521;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  transition: transform .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.fav-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav-heart:hover { transform: scale(1.08); }
.fav-heart:focus-visible { outline: 3px solid rgba(8, 116, 67, .45); outline-offset: 2px; }
.fav-heart[aria-pressed="true"] { color: #e0245e; }
.fav-heart[aria-pressed="true"] svg { fill: currentColor; }
.fav-heart.pop { animation: fav-pop .38s ease; }
@keyframes fav-pop { 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.fav-heart--pd { position: relative; top: auto; right: auto; display: inline-grid; vertical-align: middle; margin-left: 10px; box-shadow: 0 1px 6px rgba(0, 0, 0, .14); }
@media (max-width: 600px) { .fav-heart { width: 34px; height: 34px; top: 6px; right: 6px; } .fav-heart svg { width: 18px; height: 18px; } }

.fav-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 9300; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 999px; background: #121416; color: #fff;
  font: 600 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.fav-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fav-toast a { color: #7EE8A8; font-weight: 800; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
html.uwvc-on .fav-toast { bottom: 96px; }

.fav-page { max-width: 1280px; margin: 0 auto; padding: 28px 20px 72px; }
.fav-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.fav-head h1 { margin: 0 0 4px; font-size: clamp(26px, 4vw, 36px); font-weight: 900; }
.fav-sub { margin: 0; color: #5f6b64; }
.fav-notify { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #26302b; cursor: pointer; }
.fav-notify input { width: 18px; height: 18px; accent-color: #087443; }
.fav-guest { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; background: #f3f7f4; border: 1px solid #dfe8e2; }
.fav-guest p { margin: 0; flex: 1 1 320px; line-height: 1.5; }
.fav-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #087443; color: #fff !important; font-weight: 800; text-decoration: none; }
.fav-link { color: #087443; font-weight: 700; }
.fav-loading { color: #5f6b64; }
.fav-grid .product-card { transition: opacity .25s, transform .25s; }
.fav-grid .product-card.fav-out { opacity: 0; transform: scale(.96); }
.fav-elsewhere .card-body { padding: 18px; }
.fav-elsewhere-note { margin: 8px 0 0; color: #5f6b64; font-size: 13.5px; line-height: 1.5; }
.fav-empty { text-align: center; padding: 56px 16px; }
.fav-empty-heart { font-size: 54px; color: #e0245e; line-height: 1; }
.fav-empty h2 { margin: 12px 0 6px; font-size: 22px; }
.fav-empty p { margin: 0 0 20px; color: #5f6b64; }

/* Favourites inside the account page (account.php). */
.fav-acct-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; }
.fav-acct-head h2 { margin: 0; }
.fav-acct .fav-sub { margin: 4px 0 16px; }
.fav-acct .fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.fav-acct .fav-grid .product-card { width: auto; min-width: 0; }
.fav-acct .fav-empty { padding: 28px 10px; }
@media (max-width: 420px) { .fav-acct .fav-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
