
.wishlist-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.wishlist-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.wishlist-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.wishlist-item h4 {
    font-size: 18px;
    color: #80002D;
    margin: 10px 0 5px;
}

.wishlist-item p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.btn-remove-wishlist {
    background-color: #80002D;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

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

.wishlist-btn {
    background: none;
    border: 1px solid #80002D;
    color: #80002D;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.wishlist-btn:hover {
    background: #80002D;
    color: #fff;
}

.wishlist-grid .book-card {
    /* background-color: #f9f9f9; */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    text-align: center;
}

.wishlist-grid .book-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.wishlist-grid .book-card .book-title a {
    color: #80002D; /* Wine red */
    text-decoration: none;
    font-weight: bold;
}

.wishlist-grid .book-card .book-title a:hover {
    text-decoration: underline;
}

.wishlist-grid .book-price {
    font-size: 1rem;
    color: #333;
}

.wishlist-actions .btn-remove-wishlist {
    background: #80002D;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.wishlist-actions .btn-remove-wishlist:hover {
    background: #b03c64;
}
/* Wishlist Button */
.wishlist-btn {
    background: transparent;
    border: 1px solid #80002D;
    color: #80002D;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: #80002D;
    color: #fff;
}

.wishlist-btn.added {
    background: #80002D;
    color: #fff;
}

/* Loading State */
.wishlist-grid.loading {
    opacity: 0.5;
    position: relative;
    pointer-events: none;
}

.wishlist-grid.loading::after {
    content: "Updating...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
    color: #80002D;
}
