.wishlist-btn { 
    color: #ccc;
  cursor: pointer;
  font-size: 1rem;
  position: absolute;
left: 10px;
  top: 10px;
  transition: color .2s;
  height:50px;
  width: 50px;
  background-color: white;
  border-radius: 50%;
  border: 2px solid #DDDD;
  display: flex !important  ;
    justify-content: center;
    align-items: center;
}
.wishlist-btn:hover { 
background-color: red;
color:white !important;
}
.wishlist-btn:hover img { 
    filter:
    grayscale(1)        /* remove original color */
    sepia(1)            /* give a warm base */
   /* rotate toward orange */
    saturate(5)         /* pump up color */
    brightness(100);    /* lighten a bit */
}
.wishlist-badge { background: #e74c3c; color: #fff; padding: 0 6px; border-radius: 12px; font-size: 0.9em; }

.wishlist-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    width:96%;
  }
  
  .wishlist-item {
    display: grid;
    grid-template-columns: 10% 90%;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .wishlist-thumb {
   height: 150px;
    overflow: hidden;
  }
   
  .wishlist-thumb img {
   
    display: flex;
    object-fit: cover;
    height: 100% !important;
    width: 100% !important;
  }
  
  .wishlist-details {
    flex: 1;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .wishlist-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
  }
  
  .wishlist-title a {
    color: #333;
    text-decoration: none;
  }
  
  .wishlist-title a:hover {
    color: #007cba;
  }
  
  .wishlist-price {
    font-size: 1rem;
    color: #007cba;
    margin-bottom: 1rem;
  }
  
  .remove-wishlist {
    align-self: flex-start;
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .remove-wishlist:hover {
    background: #c0392b;
  }

  /*** start **/

  .wishlist-details {
    /* ... existing styles ... */
    gap: 0.5rem; /* ensure some breathing room between elements */
  }
  .wishlist-rating {
    position: relative;
    font-size: 1rem;      /* adjust star size */
    line-height: 1;
    color: #ccc;          /* empty‐star color */
  }
  
  .wishlist-rating::before {
    content: '★★★★★';
    display: block;
  }
  
  .wishlist-rating .star-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
  }
  
  .wishlist-rating .star-fill::before {
    content: '★★★★★';
    color: #f1c40f;       /* filled‐star color */
    display: block;
    /* no text needed inside span; width masks it */
  }
  

  /** Ad share button **/

.products   .share-list{
    display: none !important;
}
  .share-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: absolute;
    left: 1rem;
    top: 70px;
}

.share-list li a {
  display: block;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
}

.share-list .share-fb { background: #3b5998; }
.share-list .share-tw { background: #1da1f2; }
.share-list .share-pn { background: #bd081c; }

.share-list li a:hover {
  opacity: 0.9;
}



/* Base table reset */
#wishlist-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

/* Header styling */
#wishlist-container table thead th {
  background-color: #343a40;
  color: #fff;
  text-align: left;
  padding: 0.75rem;
  border-bottom: 2px solid #23272b;
}

/* Cell padding & border */
#wishlist-container table tbody td {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}

/* Zebra striping: light gray on odd rows */
#wishlist-container table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

/* Even rows stay white (optional) */
/* .wishlist-container table tbody tr:nth-child(even) {
  background-color: #fff;
} */

/* Hover effect (slightly darker gray) */
#wishlist-container table tbody tr:hover {
  background-color: #eceeef;
}

/* Optional: style the “Delete Selected” button */
#wishlist-container #delete-selected {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: #dc3545;
  color: #fff;
  border: none;
  cursor: pointer;
}
#wishlist-container #delete-selected:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


#wishlist-container img {
 
  max-width: 100%;
  width: 150px !important;
  height: 130px !important;
  object-fit: cover ;
}