.fav-page {
  padding: 32px 0 64px;
  min-height: 60vh;
}

.fav-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.fav-header h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
}

.fav-count {
  font-size: 14px;
  color: #999;
}

.fav-empty {
  text-align: center;
  padding: 80px 20px;
}

.fav-empty p {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #555;
}

.fav-empty-sub {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #999 !important;
}

.fav-empty .btn {
  margin-top: 24px;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fav-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.fav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.07);
}

.fav-card.removing {
  opacity: 0;
  transform: scale(.95);
  transition: all .3s;
}

.fav-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #666;
  transition: background .15s, color .15s;
}

.fav-remove:hover {
  background: #fee;
  color: #e33;
}

.fav-card-link {
  text-decoration: none;
  color: inherit;
}

.fav-card-img {
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fav-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fav-card-body {
  padding: 14px 16px 8px;
}

.fav-card-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fav-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fav-card-price .price {
  font-weight: 800;
  font-size: 16px;
}

.fav-card-price .old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

.fav-buy {
  margin: 8px 16px 14px;
  width: calc(100% - 32px);
}

@media (max-width: 992px) {
  .fav-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .fav-grid { grid-template-columns: 1fr; }
}
