/* ===== Wishlist Page Styles ===== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 100%);
    padding: 30px 0;
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb span {
    color: #D4AF37;
    font-size: 13px;
}

.page-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header h1 i {
    color: #e74c3c;
}

.item-count {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

/* Main */
.wishlist-main {
    padding: 0 0 60px;
    min-height: 60vh;
}

/* Actions */
.wishlist-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
}

.btn-clear-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: white;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-all:hover {
    background: #e74c3c;
    color: white;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.wishlist-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.wishlist-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.wishlist-item .remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-item .remove-btn:hover {
    background: #e74c3c;
    color: white;
}

.wishlist-item .remove-btn i {
    color: #e74c3c;
}

.wishlist-item .remove-btn:hover i {
    color: white;
}

.wishlist-item .book-image {
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}

.wishlist-item .book-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.wishlist-item:hover .book-image img {
    transform: scale(1.05);
}

.wishlist-item .book-info {
    padding: 20px;
}

.wishlist-item .book-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
    cursor: pointer;
}

.wishlist-item .book-title:hover {
    color: #e42b26;
}

.wishlist-item .book-author {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.wishlist-item .book-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.wishlist-item .current-price {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
}

.wishlist-item .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.wishlist-item .discount-badge {
    font-size: 11px;
    background: #fff3e0;
    color: #f39c12;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
}

.wishlist-item .btn-add-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #e42b26 0%, #ff6b35 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-item .btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(228, 43, 38, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.empty-icon i {
    font-size: 50px;
    color: #e74c3c;
}

.empty-state h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c1810;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    margin-bottom: 25px;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #e42b26 0%, #ff6b35 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(228, 43, 38, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-actions {
        flex-direction: column;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .wishlist-item .book-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
}