/* ==========================================================================
   WISHLIST PAGE HORIZONTAL CARD LAYOUT
   ========================================================================== */

.custom-wishlist-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Breadcrumb Styling */
.wishlist-breadcrumbs {
  font-size: 16px;
  margin-bottom: 24px;
  color: #6c757d;
}

.wishlist-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.wishlist-breadcrumbs span {
  margin: 0 6px;
}

/* Reset Theme List Styles */
ul.custom-wishlist-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Single Horizontal Item Card */
ul.custom-wishlist-list li.wishlist-item-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 16px 24px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  margin: 0 !important;
  list-style: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

ul.custom-wishlist-list li.wishlist-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Thumbnail Column */
.wishlist-item-thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Details Column (Title) */
.wishlist-item-details {
  flex-grow: 1;
  padding-right: 20px;
}

.wishlist-item-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.wishlist-item-title a {
  color: inherit;
  text-decoration: none;
}

.wishlist-item-title a:hover {
  color: var(--ast-global-color-0, #e5456d);
}

/* Right Action Section (Price + Cart + Delete) */
.wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Price Label */
.wishlist-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #4a4a4a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wishlist-item-price del {
  opacity: 0.6;
  font-weight: normal;
}

.wishlist-item-price ins {
  text-decoration: none;
}

/* Add to Cart Button */
.wishlist-add-to-cart-btn {
  display: inline-block;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #2d2b3a;
  color: #2d2b3a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wishlist-add-to-cart-btn:hover {
  background: #2d2b3a;
  color: #ffffff;
}

/* Delete Button */
.wishlist-remove-btn {
  background: #fff0f2;
  color: #e5456d;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.wishlist-remove-btn:hover {
  background: #ffe0e5;
}

/* Empty State */
.wishlist-empty-state {
  text-align: center;
  background: #ffffff;
  padding: 60px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wishlist-empty-state h3 {
  margin-bottom: 12px;
  font-size: 18px;
}
