.compatibility-panel-header {
    transition: background-color 0.2s ease;
}

.compatibility-panel-header:hover {
    background-color: #f8f9fa !important;
}

.compatibility-panel-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cursor-pointer {
    cursor: pointer;
}

.btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Wishlist Heart Button in Cart */
.cart-items .wishlist-heart-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-items .wishlist-heart-btn:hover {
    background: #fff;
    color: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cart-items .wishlist-heart-btn.in-wishlist {
    background: #dc3545;
    color: #fff;
}

.cart-items .wishlist-heart-btn.in-wishlist:hover {
    background: #c82333;
    color: #fff;
}

.cart-items .wishlist-heart-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.cart-items .wishlist-heart-btn:hover i {
    transform: scale(1.1);
}

/* Ensure the image container is positioned relative */
.cart-items .position-relative {
    position: relative;
}