/* Global Wishlist Button Styles */
.wishlist-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn i {
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.15s ease;
    color: #ddd;
    font-size: inherit;
}

.wishlist-btn:hover i {
    color: #ff6b6b;
    transform: scale(1.1);
}

/* Active/Favorited state */
.wishlist-btn.favorited i,
.wishlist-btn.active i {
    color: #ff6b6b !important;
}

/* Loading state */
.wishlist-btn.loading i {
    color: #ffc107;
    animation: pulse 1s infinite;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Overlay button specific styles */
.overlay-btn.wishlist-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-btn.wishlist-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.overlay-btn.wishlist-btn.active,
.overlay-btn.wishlist-btn.favorited {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wishlist-btn {
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .overlay-btn.wishlist-btn {
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .wishlist-btn {
        font-size: 0.9rem;
        padding: 0.3rem;
    }
}
