/* Wishlist Styles for Product Cards and Global */

/* Wishlist Heart Icon on Product Cards */
.wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.wishlist-heart:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.wishlist-heart i {
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.wishlist-heart:hover i {
    color: var(--qpick-pink);
}

.wishlist-heart.active {
    background: #fff0f5;
}

.wishlist-heart.active i {
    color: var(--qpick-pink);
}

/* Make product-thumb position relative for wishlist icon */
.product-thumb {
    position: relative;
}

/* Header Wishlist Badge */
.wishlist-link {
    position: relative;
}

.wishlist-link .badge {
    background: var(--qpick-pink);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Mobile Wishlist Icon in Bottom Nav */
.mobile-bottom-nav .nav-item .fa-heart {
    color: inherit;
}

.mobile-bottom-nav .nav-item.active .fa-heart {
    color: var(--qpick-pink);
}

/* Wishlist heart animation */
@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.wishlist-heart.animate i {
    animation: heartPop 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .wishlist-heart {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }

    .wishlist-heart i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wishlist-heart {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .wishlist-heart i {
        font-size: 13px;
    }
}
