/* ============================================================
   WISHLIST PAGE
   ============================================================ */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0 5rem;
}
.wishlist-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--t);
  box-shadow: var(--shadow-xs);
}
.wishlist-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.wishlist-card-media {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  overflow: hidden;
}
.wishlist-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.wishlist-card:hover .wishlist-card-media img { transform: scale(1.06); }
.wishlist-remove-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--error);
  transition: all var(--t-fast);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.wishlist-remove-btn:hover { background: var(--error); color: var(--white); transform: scale(1.1); }
.wishlist-card-body { padding: 1rem 1.25rem 1.25rem; }
.wishlist-card-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.25rem; }
.wishlist-card-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; line-height: 1.3; }
.wishlist-card-price { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.wishlist-card-actions { display: flex; gap: 0.5rem; }
.wishlist-to-cart {
  flex: 1;
  padding: 0.65rem;
  background: var(--dark);
  color: var(--white);
  border: none; border-radius: var(--r);
  font-size: 0.8rem; font-weight: 700;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.06em;
  transition: all var(--t-fast);
}
.wishlist-to-cart:hover { background: var(--gold); color: var(--black); }

@media (max-width: 1100px) { .wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .wishlist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; } }

/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--off-white);
}
.auth-visual {
  flex: 1;
  background:
    linear-gradient(135deg, rgba(17,28,48,0.92) 0%, rgba(27,42,74,0.85) 100%),
    url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=800&h=1000&q=80') center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
}
.auth-visual-logo { margin-bottom: 2rem; filter: brightness(0) invert(1); }
.auth-visual-tagline {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.auth-visual-sub { color: rgba(255,255,255,0.6); text-align: center; font-size: 0.95rem; }
.auth-visual-dots {
  position: absolute;
  bottom: 2rem;
  display: flex; gap: 0.5rem;
}
.auth-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.auth-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

.auth-form-panel {
  width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: var(--white);
}
.auth-logo-mobile { display: none; text-align: center; margin-bottom: 2rem; }
.auth-tabs {
  display: flex;
  gap: 0;
  background: var(--gray-100);
  border-radius: var(--r);
  padding: 4px;
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: calc(var(--r) - 2px);
  cursor: pointer;
  color: var(--gray-500);
  transition: all var(--t-fast);
  background: transparent;
  border: none;
}
.auth-tab.active {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.auth-form-section { display: none; }
.auth-form-section.active { display: block; }
.auth-form-panel-wrap { display: flex; flex-direction: column; }
.auth-heading { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.auth-sub { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 2rem; }
.auth-forgot-link { display: block; text-align: right; font-size: 0.8rem; font-weight: 600; color: var(--gold); margin-top: -0.5rem; margin-bottom: 1.25rem; }
.auth-forgot-link:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 600;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.social-auth-btns { display: flex; gap: 1rem; }
.social-auth-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--t-fast);
}
.social-auth-btn:hover { border-color: var(--gold); background: var(--gold-pale); }
.password-field { position: relative; }
.toggle-pwd-btn {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 1rem;
  transition: color var(--t-fast);
}
.toggle-pwd-btn:hover { color: var(--gold); }
.pwd-strength { margin-top: 0.5rem; }
.pwd-strength-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 0.3rem;
}
.pwd-strength-fill {
  height: 100%;
  border-radius: var(--r-full);
  transition: width 0.4s ease, background 0.3s ease;
  width: 0%;
}
.pwd-strength-text { font-size: 0.75rem; color: var(--gray-500); }
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.terms-check a { color: var(--gold); font-weight: 600; }

@media (max-width: 860px) {
  .auth-visual { display: none; }
  .auth-form-panel { width: 100%; padding: 2rem 1.5rem; }
  .auth-logo-mobile { display: block; }
  .auth-page { min-height: 100dvh; }
}
