/* ====================================
   WISHLIST PAGE STYLES
   ==================================== */

.pigee-wishlist-page {
  background: #f9fafb;
  min-height: 100vh;
  padding: 40px 0;
}

.pigee-wishlist-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Back Button */
.pigee-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.pigee-back-btn:hover {
  color: #111827;
}

.pigee-back-btn svg {
  transition: transform 0.2s;
}

.pigee-back-btn:hover svg {
  transform: translateX(-4px);
}

/* Wishlist Header */
.pigee-wishlist-header {
  margin-bottom: 40px;
}

.pigee-wishlist-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
}

/* Section Title */
.pigee-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
}

/* Wishlist Section */
.pigee-wishlist-section {
  margin-bottom: 60px;
}

/* Wishlist Grid (Items) */
.pigee-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Wishlist Item Card */
.pigee-wishlist-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}

.pigee-wishlist-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.pigee-wishlist-item-image {
  position: relative;
  width: 100%;
  height: 280px;
  background: #f3f4f6;
  overflow: hidden;
}

.pigee-wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pigee-share-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7280;
}

.pigee-share-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.pigee-wishlist-item-details {
  padding: 16px;
}

.pigee-wishlist-item-info {
  margin-bottom: 12px;
}

.pigee-wishlist-item-name {
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pigee-wishlist-item-price {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.pigee-wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pigee-wishlist-heart {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #d1d5db;
  transition: all 0.2s;
  border-radius: 4px;
}

.pigee-wishlist-heart.active {
  color: #dc2626;
}

.pigee-wishlist-heart:hover {
  background: #fee2e2;
}

.pigee-view-btn {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
}

.pigee-view-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.pigee-add-to-cart-btn {
  padding: 8px 12px;
  background: #0064A8;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.pigee-add-to-cart-btn:hover {
  background: #00539a;
}

/* Wishlist Stores Grid */
.pigee-wishlist-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Wishlist Store Card */
.pigee-wishlist-store {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}

.pigee-wishlist-store:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.pigee-wishlist-store-image {
  width: 100%;
  height: 180px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pigee-wishlist-store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pigee-wishlist-store-details {
  padding: 20px;
}

.pigee-wishlist-store-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.pigee-wishlist-store-location {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 16px 0;
}

.pigee-view-store-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #0064A8;
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.pigee-view-store-btn:hover {
  background: #00539a;
}

/* Empty Wishlist */
.pigee-empty-wishlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.pigee-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.pigee-empty-wishlist p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.pigee-btn-primary {
  padding: 12px 24px;
  background: #0064A8;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
}

.pigee-btn-primary:hover {
  background: #00539a;
}

/* Responsive */
@media (max-width: 1024px) {
  .pigee-wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .pigee-wishlist-stores-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .pigee-wishlist-header h1 {
    font-size: 1.5rem;
  }

  .pigee-section-title {
    font-size: 1.125rem;
  }

  .pigee-wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  .pigee-wishlist-stores-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pigee-wishlist-item-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .pigee-wishlist-page {
    padding: 20px 0;
  }

  .pigee-wishlist-grid {
    grid-template-columns: 1fr;
  }

  .pigee-wishlist-item-actions {
    flex-wrap: wrap;
  }

  .pigee-view-btn,
  .pigee-add-to-cart-btn {
    flex: 1 1 100%;
  }
}