.page-title{
text-align:center;
padding:70px 20px;
background:#eef2ff;
margin-top:90px;
}

.page-title h1{
font-size:36px;
margin-bottom:8px;
}

.page-title p{
color:#666;
}
.clear-wishlist-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}

.clear-wishlist-btn:hover {
  background-color: #e60000;
}
.wishlist{
padding:60px 10%;
text-align:center;
}

.wishlist-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.wishlist-card{
  position: relative;
  background: white;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
gap:6px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  overflow: hidden;
}

.wishlist-card:hover{
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.wishlist-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
  cursor: pointer;
}
.wishlist-card img:hover {
  transform: scale(1.08);
}

.wishlist-card h3{
  font-size:18px;
  margin:10px 0 8px;
  color:#111;
  line-height:1.3;
  min-height:48px;  
  max-height:48px;
  overflow:hidden;
}

.wishlist-card p{
  color: #2563eb;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
  margin-bottom: 8px;
  min-height: 20px;
}
.rating {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #fbbf24;
  font-size: 18px;
  min-height: 22px;
}

.rating i {
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  cursor: pointer;
}

.rating i:hover {
  transform: scale(1.3) rotate(-10deg);
  color: #f59e0b;
}

.wishlist-card button{
  margin-top: 8px;
  padding: 10px;
  border: none;
  background: #2563eb;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
  transition: 0.25s;

}

.wishlist-card button:first-of-type{
background:#2563eb;
color:white;
}

.wishlist-card button:first-of-type:hover{
background:#1e4ed8;
}

.wishlist-card button:last-of-type{
background:#e53935;
color:white;
}

.wishlist-card button:last-of-type:hover{
background:#c62828;
}

#emptyMessage{
margin-top:40px;
color:#777;
font-size:16px;
}


/* TOAST */

#toast {
position: fixed;
top: 150px;
left: 50%;
transform: translateX(-50%) translateY(-100%);
padding: 14px 22px;
border-radius: 12px;
color: white;
font-weight: 500;
transition: transform 0.5s ease, opacity 0.5s ease;
opacity: 0;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

#toast.show {
transform: translateX(-50%) translateY(0);
opacity: 1;
}

#toast.success {
background: linear-gradient(45deg, #00c853, #64dd17);
}

#toast.error {
background: linear-gradient(45deg, #d50000, #ff1744);
}
#toast.info {
background: linear-gradient(45deg, #065de0, #0166ff);
}

/* MOBILE */

@media(max-width:768px){

.wishlist{
padding:50px 20px;
}

.page-title h1{
font-size:28px;
}

}