/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* NAV */
/* NAV */
.nav {
  padding: 28px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E3E3E3;
  background: white;
}

.logo {
  letter-spacing: 3px;
  font-weight: 600;
}

/* LINKS */
.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #6B6E76;
  transition: 0.15s;
}

.nav-links a:hover {
  color: #1C1C1E;
}

/* PAGE WRAPPER */
.page {
  padding: 40px;
}

/* HEADER */
.header h2 {
  font-size: 28px;
  margin-bottom: 5px;
}

.header p {
  color: #666;
  margin-bottom: 30px;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #777;
}

.empty-state h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* FAVORITES GRID */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.fav-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  padding: 15px;
  transition: 0.2s ease;
  text-align: center;
}

.fav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.fav-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.fav-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.fav-card p {
  color: #444;
  margin-bottom: 10px;
}

/* BUTTON */
.remove-btn {
  padding: 8px 12px;
  border: none;
  background: #e74c3c;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.remove-btn:hover {
  background: #c0392b;
}

.add-to-cart-btn {
  padding: 8px 12px;
  border: none;
  background: #1C1C1E;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 8px;
  transition: 0.2s;
}

.add-to-cart-btn:hover {
  background: #1C1C1E;
}
/* DEFAULT (desktop stays same) */
.collection {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
}

/* TABLET */
@media (max-width: 900px) {
  .collection {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PHONE */
@media (max-width: 500px) {
  .collection {
    grid-template-columns: 1fr;
  }
}