/* ── Favourites Page ──────────────────────────────────────── */

.fav-sec {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--side-pad) 80px;
}

/* ── Page toolbar: title + action links + share ──────────── */
.fav-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.fav-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
  margin-right: auto; /* push actions to the right */
}

.fav-title span {
  font-size: 0.7em;
  font-weight: 300;
  color: var(--ink-muted);
}

.fav-action-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.fav-action-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.fav-action-link:hover {
  border-bottom-color: var(--ink);
}

.fav-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink, #2b2320);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.fav-share-btn:hover {
  opacity: 0.82;
}

/* ── Product grid (reuses prod-grid / prod-card from styles.css) ── */

/* VIEW DETAILS button inside each card */
.fav-view-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  margin-top: 4px;
  background: transparent;
  border: 1px solid #c8c3bb;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fav-view-btn:hover {
  background: var(--ink, #2b2320);
  color: #fff;
  border-color: var(--ink, #2b2320);
}

/* ── Empty state ─────────────────────────────────────────── */
.fav-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-muted);
}

.fav-empty svg {
  display: block;
  margin: 0 auto 20px;
  opacity: 0.25;
}

.fav-empty p {
  font-size: 15px;
  margin-bottom: 24px;
}

.fav-empty a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .fav-sec {
    padding: 32px var(--side-pad) 60px;
  }

  .fav-action-links {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .fav-toolbar {
    gap: 16px;
  }

  .fav-title {
    width: 100%;
  }

  .fav-action-links {
    gap: 16px;
  }

  /* 2-column grid on mobile */
  .fav-sec .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
