@import url("/cv_modules/bootstrap-5.3.2/css/bootstrap.min.css");
@import url('/cv_modules/partials/prtl_header/navbar/css/navbar.css');
@import url('/cv_modules/partials/prtl_footer/css/footer.css');
@import url('/cv_modules/partials/prtl_item/css/item.css');

/* ══════════════════════════════════════════════════════════════
   Wishlist Page
   ══════════════════════════════════════════════════════════════ */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wsh-main {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  min-height: 60vh;
}

/* ── Header ───────────────────────────────────────────────── */
.wsh-header { padding: 24px 0 20px; }
.wsh-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 4px;
}
.wsh-subtitle {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

/* ── Grid ─────────────────────────────────────────────────── */
.wsh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* ── Product card with remove btn ─────────────────────────── */
.wsh-product-card {
  position: relative;
}
.wsh-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #a0aec0;
  font-size: 12px;
  z-index: 5;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.wsh-remove-btn:hover {
  color: #e53e3e;
  background: #fff;
}

/* ── Empty state ──────────────────────────────────────────── */
.wsh-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.wsh-empty-icon {
  font-size: 48px;
  color: #fed7e2;
  display: block;
  margin-bottom: 16px;
}
.wsh-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 6px;
}
.wsh-empty-text {
  font-size: 14px;
  color: #718096;
  margin: 0 0 20px;
}
.wsh-shop-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #667eea;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.wsh-shop-btn:hover { background: #5a67d8; }

/* ── Guest banner ─────────────────────────────────────────── */
.wsh-guest-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ebf4ff;
  border: 1px solid #bee3f8;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 24px;
}
.wsh-guest-banner > i {
  font-size: 24px;
  color: #667eea;
  flex-shrink: 0;
}
.wsh-guest-title {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 2px;
}
.wsh-guest-text {
  font-size: 13px;
  color: #718096;
  margin: 0;
}
.wsh-guest-text a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}
.wsh-guest-text a:hover { text-decoration: underline; }

/* ── Loading skeleton ─────────────────────────────────────── */
.wsh-skeleton {
  background: #f7fafc;
  border-radius: 12px;
  height: 280px;
  animation: wshPulse 1.5s ease-in-out infinite;
}
@keyframes wshPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .wsh-main { padding: 16px 12px 40px; }
  .wsh-title { font-size: 22px; }
  .wsh-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}
