.btn-wishlist {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: visible;
    outline: none !important;
}

.btn-wishlist:hover {
    background-color: transparent !important;
    transform: scale(1.15);
}

.btn-wishlist:focus,
.btn-wishlist:active,
.btn-wishlist:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.btn-wishlist i.ci-heart {
    color: #374151 !important;
font-size: 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.btn-wishlist:hover i.ci-heart {
    color: #ef4444 !important;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.3));
 transform: scale(1.1);
}

.btn-wishlist i.ci-heart-filled {
 color: #ef4444 !important;
    font-size: 1.25rem !important;
    animation: likeAnimation 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.4));
}

.btn-wishlist:hover i.ci-heart-filled {
    color: #dc2626 !important;
    transform: scale(1.1);
}

@keyframes likeAnimation {
  0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.15);
    }
    100% {
  transform: scale(1);
    }
}

.btn-wishlist::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.btn-wishlist:active::after {
    width: 200%;
  height: 200%;
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
 height: 0;
      opacity: 0.5;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.btn-wishlist.liked::before {
content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ef4444 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: particles 0.6s ease-out;
    pointer-events: none;
}

@keyframes particles {
    0% {
      transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
  }
}

.btn-wishlist.btn-icon {
    width: 2.75rem !important;
    height: 2.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .btn-wishlist.btn-icon {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }
    
    .btn-wishlist i {
        font-size: 1.15rem !important;
    }
}

[data-bs-theme="dark"] .btn-wishlist i.ci-heart {
    color: #e5e7eb !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

[data-bs-theme="dark"] .btn-wishlist:hover i.ci-heart {
    color: #fca5a5 !important;
    filter: drop-shadow(0 4px 8px rgba(252, 165, 165, 0.4));
}

[data-bs-theme="dark"] .btn-wishlist i.ci-heart-filled {
    color: #fca5a5 !important;
    filter: drop-shadow(0 4px 8px rgba(252, 165, 165, 0.5));
}

.btn-wishlist i {
    position: relative;
    z-index: 1;
    line-height: 1;
    display: block;
    outline: none !important;
}

.btn-wishlist i {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
       transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
    0%, 100% {
  opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.btn-wishlist:has(i.ci-heart-filled):hover i {
    animation: pulse 1s ease-in-out infinite;
}
