/* favorites.css - the Favorites page (/favorites.html) */

.favs { padding: 14px 9px 0; }
.favs__title { margin: 0 0 14px; font-size: 24px; font-weight: 600; color: #111; }
.favs__count { font-size: 16px; font-weight: 500; color: var(--grey); }
.favs .products__grid { margin-top: 4px; }

.fav-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fav-card .card { flex: 1; }
.fav-card__rm {
  height: 38px;
  border: 1.5px solid #e7dfd0;
  border-radius: 10px;
  background: transparent;
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
}
.fav-card__rm:disabled { opacity: 0.5; }
.fav-card__rm:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.favs__empty, .favs__msg { padding: 56px 12px; text-align: center; color: var(--grey); font-size: 15px; line-height: 1.5; }
.favs__empty svg { width: 56px; height: 56px; margin-bottom: 12px; fill: none; stroke: #c9bfae; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.favs__btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.favs__btn:active { opacity: 0.85; }

html[data-theme="dark"] .favs__title { color: #f5f5f5; }
html[data-theme="dark"] .fav-card__rm { border-color: #3a3836; color: #ff9c94; }
html[data-theme="dark"] .favs__empty svg { stroke: #5a554f; }

/* desktop (also "Desktop site" mode on phones) */
@media (min-width: 900px) {
  .favs { padding: 0; }
  .favs__title { margin-bottom: 20px; font-size: 30px; }
  .fav-card__rm, .favs__btn { cursor: pointer; }
  .fav-card__rm:hover { background: rgba(179, 38, 30, 0.08); }
  .favs__btn:hover { opacity: 0.9; }
}
