/* ============================================================
   WISHLIST PAGE — wishlist.css
   ============================================================ */


/* ── Page wrapper ────────────────────────────────────────── */
.wishlist-page {
  padding-top: calc(var(--header-h) + clamp(40px, 5vw, 64px));
  padding-bottom: var(--section-gap);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wishlist-page__container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Page header row */
.wishlist-page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.wishlist-page__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  color: var(--c-white);
}

.wishlist-page__count {
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
  white-space: nowrap;
}


/* ── Empty State ─────────────────────────────────────────── */
.wishlist-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 20px;
}

/* Animated heart container */
.wishlist-empty__visual {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulse ring */
.wishlist-empty__visual::before,
.wishlist-empty__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(153, 238, 45, .12);
  border-radius: 50%;
  animation: wishlistPulse 3s ease-in-out infinite;
}

.wishlist-empty__visual::after {
  animation-delay: 1.5s;
  inset: -16px;
  border-color: rgba(153, 238, 45, .06);
}

@keyframes wishlistPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.1); opacity: .6; }
}

.wishlist-empty__icon {
  color: rgba(255, 255, 255, .14);
  position: relative;
  z-index: 1;
  transition: color .3s;
}

.wishlist-empty:hover .wishlist-empty__icon {
  color: rgba(153, 238, 45, .25);
}

.wishlist-empty__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: 14px;
}

.wishlist-empty__text {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, .42);
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 36px;
}

/* Hint chips */
.wishlist-empty__hints {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.wishlist-empty__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.wishlist-empty__hint:hover {
  background: rgba(153, 238, 45, .07);
  border-color: rgba(153, 238, 45, .2);
  color: var(--c-green-light);
}

.wishlist-empty__hint svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}


/* ── PRODUCT CARD — hover panel (wishlist grid) ──────────── */
.product-card__hover-panel {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 30%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  z-index: 6;
}

.product-card:hover .product-card__hover-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-card__micro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.42);
}

.product-card__micro svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--c-green);
}

.product-card__buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background: var(--c-green);
  color: #111;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  clip-path: var(--clip-sm);
  letter-spacing: .04em;
  transition: background .2s;
}

.product-card__buy-btn:hover { background: var(--c-green-light); }


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .wishlist-empty__visual { width: 80px; height: 80px; }
}
